ETH Price: $3,325.01 (-4.11%)

Token

CryptoFoxesOrigins (CFXSO)
 

Overview

Max Total Supply

898 CFXSO

Holders

310

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
4 CFXSO
0xbc7c10884045ba372ff5ff6f2312024385afcb57
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Collection of 1,000 generated and unique in #pixelart and minted in #NFT single edition (1/1) on Ethereum Blockchain. If you purchase a CryptoFox Origin from the OLD collection, you will need to migrate it to this one!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
CryptoFoxesOrigins

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : CryptoFoxesOrigins.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "./ICryptoFoxesCalculationOrigin.sol";
import "./CryptoFoxesUtility.sol";
import "./ICryptoFoxesOrigins.sol";

// @author: miinded.com

/////////////////////////////////////////////////////////////////////////////////////                                                                                                                                                          
//                                                                                 //
//                                                                                 //
//                    ((((((((.                (((((                               //
//                    @@@@@@@@.                @@@@@                               //
//                    @@@&&&%%@@@              @@@&&@@@                            //
//                    @@@%%%@@#((@@@        @@@&&&&&%%%@@@                         //
//                    @@@(((%%,..(((@@&     @@@&&&%%///@@@                         //
//                 %@@(((@@@..   ...@@&     @@@%%%/////(((@@%                      //
//                 %@@///@@&        ///@@@@@%%%%%%((//////@@%                      //
//                 (%%///@@&        @@@/////(((@@@%%%%%///@@%                      //
//                 (%%///@@&     %%%(((///////////((@@@(((%%#                      //
//                 (%%///...  #%%/////////////////////////%%#                      //
//                 %@@///@@@@@#((/////////////////////////@@%                      //
//                 %@@///%%%%%(((////////((((((/////((((((%%#//                    //
//                 %@@///(((/////////////((((((/////((((((((#@@                    //
//               @@#((//////////////////////////////////////(%%                    //
//               @@#((//////////////&&&&&&&&&&&////////&&&&&&%%                    //
//               @@(/////////////&&&     (((   ////////(((  ,&&                    //
//            @@@((///////////(((&&&     ###   ///(((((###  ,&&%%%                 //
//            @@@/////......     (((///////////((#&&&&&&&&..,((%%%                 //
//            @@@((.                ..,//,.....     &&&     .//@@@                 //
//               @@#((...                      &&&&&...&&&     @@@                 //
//    @@@@@      @@#((                                       ..@@@                 //
// @@@..(%%        %@@%%%%%%.....                         ..*%%                    //
// (((../((***     /((///////////*************************/////                    //
//      ...%%%              @@&%%%%%%%%%%%%%%%%%%%%%@@@@@@%%#                      //
//         ...%%%        &&%##(((.................**@@@                            //
//            ...@@,     %%%/////...              ..(((@@@                         //
// ...        ///((&@@@@@////////%%%             .%%(((@@@              Miinded    //
// ...     ////////(((@@@/////(((%%%             .%%((((((%%#                      //
/////////////////////////////////////////////////////////////////////////////////////

contract CryptoFoxesOrigins is ERC721, Ownable, ICryptoFoxesOrigins, CryptoFoxesUtility {
    using SafeMath for uint256;

    IERC1155 public constant OPENSEA_STORE = IERC1155(0x495f947276749Ce646f68AC8c248420045cb7b5e);
    uint256 public constant MAX_ELEMENTS = 1000;
    uint256 internal _foxIdTracker;

    struct ExtraMint{
        uint256 startId;
        uint256 endId;
        uint256 trackerId;
        uint256 isBurnable;
        uint256 limitTime;
    }

    ExtraMint[] public extraMint;
    mapping(uint256 => uint256) public stackingOrigins;
    mapping(address => mapping(uint256 => uint256)) public ownerOrigins;
    mapping(uint256 => uint256) private ownerOriginsIndex;

    string public baseTokenURI;

    ICryptoFoxesCalculationOrigin public calculationContract;
    constructor(string memory baseURI) ERC721("CryptoFoxesOrigins", "CFXSO") {
        setBaseURI(baseURI);
        setAllowedContract(address(this), true);
    }

    modifier extraMintTimeLimit(uint256 _extraMintId){
        require(extraMint[_extraMintId].limitTime == 0 || block.timestamp < extraMint[_extraMintId].limitTime, "Time limit");
        _;
    }

    modifier extraMintRange(uint256 _extraMintId,uint256 _tokenId){
        require(_tokenId >= extraMint[_extraMintId].startId && _tokenId <= extraMint[_extraMintId].endId, "Not in range");
        _;
    }

    function totalSupply() public view returns (uint256) {
        uint256 total = _foxIdTracker;
        for(uint256 i; i < extraMint.length; i++){
            total = total.add(extraMint[i].trackerId);
        }
        return total;
    }

    function totalMintFox() public view returns (uint256) {
        return _foxIdTracker;
    }

    function getUnmintedExtraToken(uint256 _extraMintId) public view extraMintTimeLimit(_extraMintId) returns(uint256[] memory) {
        uint256[] memory result = new uint256[](extraMint[_extraMintId].endId.sub(extraMint[_extraMintId].startId).sub(extraMint[_extraMintId].trackerId).add(1));
        uint256 _index = 0;
        for(uint256 i = extraMint[_extraMintId].startId; i <= extraMint[_extraMintId].endId; i++){
            if(!_exists(i)){
                result[_index] = i;
                _index += 1;
            }
        }
        return result;
    }

    function mintExtraToken(uint256 _extraMintId, address _to, uint256 _id) public isFoxContract extraMintRange(_extraMintId, _id) extraMintTimeLimit(_extraMintId) {
        require(extraMint[_extraMintId].trackerId <= extraMint[_extraMintId].endId.sub(extraMint[_extraMintId].startId) && !isPaused(), "Max supply or paused");
         
        extraMint[_extraMintId].trackerId += 1;

        _safeMint(_to, _id);
    }

    function burnExtraToken(uint256 _extraMintId,uint256 _tokenId) public isFoxContract extraMintRange(_extraMintId, _tokenId) {
        require(extraMint[_extraMintId].isBurnable > 0 && !isPaused() && _tokenId > MAX_ELEMENTS, "Not burnable or paused or > 1000");

        require(_isApprovedOrOwner(_msgSender(), _tokenId));

        extraMint[_extraMintId].trackerId -= 1;

        _burn(_tokenId);
    }

    function setExtraMintData(ExtraMint memory _extraMint) public isFoxContractOrOwner {
        extraMint.push(_extraMint);
    }

    function editExtraMintData(uint256 _extraMintId, ExtraMint memory _extraMint) public isFoxContractOrOwner {
        extraMint[_extraMintId] = _extraMint;
    }

    function _stack(uint256 _tokenId) private {
        stackingOrigins[_tokenId] = block.timestamp;
    }
    
    function migrateOrigins(uint256 _tokenId) public virtual{
        uint256 total = totalMintFox();
        require(total + 1 <= MAX_ELEMENTS && isValidFox(_tokenId), "Max limit or invalid");
        uint256 originId = returnCorrectId(_tokenId);
        _foxIdTracker += 1;
        _safeMint(_msgSender(), originId);

        OPENSEA_STORE.safeTransferFrom(_msgSender(), 0x000000000000000000000000000000000000dEaD, _tokenId, 1, "");

        _stack(originId);
        _addRewards(_msgSender(), 30 * 10**18);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721) {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addOwnerOrigins(tokenId, to);
        } else if (from != to) {
            _deleteOwnerOrigins(tokenId, from);
        }
        
        if (to == address(0)) {
            _deleteOwnerOrigins(tokenId, from);

        } else if (to != from && from != address(0)) {
            _addOwnerOrigins(tokenId, to);
        }

        if(from != address(0) && tokenId <= MAX_ELEMENTS){
            uint256[] memory array = new uint256[](1);
            array[0] = tokenId;
            _addRewards(from, calculateRewardsOrigins(array, block.timestamp));
            _stack(tokenId);
        }
    }

    function _addOwnerOrigins(uint256 _tokenId, address _to) private{

        uint256 length = balanceOf(_to);

        ownerOrigins[_to][length] = _tokenId;
        ownerOriginsIndex[_tokenId] = length;
    }

    function _deleteOwnerOrigins(uint256 _tokenId, address _to) private{

        uint256 length = balanceOf(_to);
        uint256 index = ownerOriginsIndex[_tokenId];
        uint256 lastTokenId = ownerOrigins[_to][length - 1];

        if(_tokenId != lastTokenId){
            ownerOrigins[_to][index] = lastTokenId;
            ownerOriginsIndex[lastTokenId] = index;
        }

        delete ownerOrigins[_to][_tokenId];
    }

    function walletOfOwner(address _owner) external view returns (uint256[] memory) {
        uint256 length = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](length);
        for(uint256 i = 0; i < length; i++){
            tokenIds[i] = ownerOrigins[_owner][i];
        }
        return tokenIds;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return baseTokenURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        baseTokenURI = baseURI;
    }

    function isValidFox(uint256 _id) public pure virtual returns (bool) {
        if (_id >> 96 != 0x0000000000000000000000001b6284B63ad8e0b0E254500869896153A2260D1c) return false;
        if (_id & 0x000000000000000000000000000000000000000000000000000000ffffffffff != 1) return false;
        uint256 id = returnCorrectId(_id);
        if (id < 1 && id > 1000) return false;
        return true;
    }

    function returnCorrectId(uint256 _id) public pure virtual returns (uint256) {

        _id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40;
        if (_id == 200) return _id - 52;
        if (_id == 205) return _id - 56;
        if (_id == 214) return _id - 67;
        if (_id == 80) return _id - 79;
        if (_id == 232) return _id - 86;
        if (_id == 244) return _id - 110;
        if (_id == 245) return _id - 129;
        if (_id == 247) return _id - 140;
        if (_id == 246) return _id - 144;
        if (_id < 250) return _id - 98;
        if (_id < 400) return _id - 99;
        if (_id < 570) return _id - 119;
        if (_id < 771) return _id - 120;
        if (_id < 840) return _id - 123;
        if (_id < 1125) return _id - 124;
        return _id;
    }

    function setCalculationContract(address _contract) public isFoxContractOrOwner {
        calculationContract = ICryptoFoxesCalculationOrigin(_contract);
        setAllowedContract(_contract, true);
    }

    function calculateRewardsOrigins(uint256[] memory _tokenIds, uint256 _currentTimestamp) public view returns (uint256) {
        return calculationContract.calculationRewards(address(this), _tokenIds, _currentTimestamp);
    }

    function claimRewardsOrigins(uint256[] memory _tokenIds) public {

        require(_tokenIds.length > 0 && !isPaused(), "Tokens empty");

        for(uint256 i = 0; i < _tokenIds.length; i++){
            require(ownerOf(_tokenIds[i]) == _msgSender(), "Bad owner");
        }
        calculationContract.claimRewards(address(this), _tokenIds, _msgSender());
        for(uint256 i = 0; i < _tokenIds.length; i++){
            _stack(_tokenIds[i]);
        }
    }

    function getExtraMintCollection() public view returns(uint256) {
        return extraMint.length;
    }

    function getStackingToken(uint256 _tokenId) public override view returns(uint256) {
        return stackingOrigins[_tokenId];
    }

    function _currentTime(uint256 _currentTimestamp) public override(ICryptoFoxesOrigins, CryptoFoxesUtility) view returns (uint256) {
        return super._currentTime(_currentTimestamp);
    }
}

File 2 of 18 : ICryptoFoxesSteak.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// @author: miinded.com

interface ICryptoFoxesSteak {
    function addRewards(address _to, uint256 _amount) external;
    function withdrawRewards(address _to) external;
    function isPaused() external view returns(bool);
    function dateEndRewards() external view returns(uint256);
}

File 3 of 18 : ICryptoFoxesOrigins.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// @author: miinded.com

interface ICryptoFoxesOrigins {
    function getStackingToken(uint256 tokenId) external view returns(uint256);
    function _currentTime(uint256 _currentTimestamp) external view returns(uint256);
}

File 4 of 18 : ICryptoFoxesCalculationOrigin.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

// @author: miinded.com

interface ICryptoFoxesCalculationOrigin {
    function calculationRewards(address _contract, uint256[] calldata _tokenIds, uint256 _currentTimestamp) external view returns(uint256);
    function claimRewards(address _contract, uint256[] calldata _tokenIds, address _owner) external;
}

File 5 of 18 : CryptoFoxesUtility.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ICryptoFoxesSteak.sol";
import "./CryptoFoxesAllowed.sol";

// @author: miinded.com

abstract contract CryptoFoxesUtility is Ownable,CryptoFoxesAllowed, ICryptoFoxesSteak {
    using SafeMath for uint256;

    uint256 public endRewards = 0;
    ICryptoFoxesSteak public cryptofoxesSteak;

    function setCryptoFoxesSteak(address _contract) public onlyOwner {
        cryptofoxesSteak = ICryptoFoxesSteak(_contract);
        setAllowedContract(_contract, true);
        synchroEndRewards();
    }
    function _addRewards(address _to, uint256 _amount) internal {
        cryptofoxesSteak.addRewards(_to, _amount);
    }
    function addRewards(address _to, uint256 _amount) public override isFoxContract  {
        _addRewards(_to, _amount);
    }
    function withdrawRewards(address _to) public override isFoxContract {
        cryptofoxesSteak.withdrawRewards(_to);
    }
    function _withdrawRewards(address _to) internal {
        cryptofoxesSteak.withdrawRewards(_to);
    }
    function isPaused() public view override returns(bool){
        return cryptofoxesSteak.isPaused();
    }
    function synchroEndRewards() public {
        endRewards = cryptofoxesSteak.dateEndRewards();
    }
    function dateEndRewards() public view override returns(uint256){
        require(endRewards > 0, "End Rewards error");
        return endRewards;
    }
    function _currentTime(uint256 _currentTimestamp) public view virtual returns (uint256) {
        return min(_currentTimestamp, dateEndRewards());
    }
    function min(uint256 a, uint256 b) public pure returns (uint256){
        return a > b ? b : a;
    }
}

File 6 of 18 : CryptoFoxesAllowed.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ICryptoFoxesSteak.sol";

// @author: miinded.com

abstract contract CryptoFoxesAllowed is Ownable {

    mapping (address => bool) public allowedContracts;

    modifier isFoxContract() {
        require(allowedContracts[_msgSender()] == true, "Not allowed");
        _;
    }
    
    modifier isFoxContractOrOwner() {
        require(allowedContracts[_msgSender()] == true || _msgSender() == owner(), "Not allowed");
        _;
    }

    function setAllowedContract(address _contract, bool _allowed) public onlyOwner {
        allowedContracts[_contract] = _allowed;
    }

}

File 7 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 18 : 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 9 of 18 : 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 10 of 18 : 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 11 of 18 : 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 12 of 18 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 18 : 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 14 of 18 : 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 15 of 18 : 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 16 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 17 of 18 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_ELEMENTS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPENSEA_STORE","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_currentTimestamp","type":"uint256"}],"name":"_currentTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"addRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowedContracts","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_extraMintId","type":"uint256"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burnExtraToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"uint256","name":"_currentTimestamp","type":"uint256"}],"name":"calculateRewardsOrigins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"calculationContract","outputs":[{"internalType":"contract ICryptoFoxesCalculationOrigin","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimRewardsOrigins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cryptofoxesSteak","outputs":[{"internalType":"contract ICryptoFoxesSteak","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dateEndRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_extraMintId","type":"uint256"},{"components":[{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"},{"internalType":"uint256","name":"trackerId","type":"uint256"},{"internalType":"uint256","name":"isBurnable","type":"uint256"},{"internalType":"uint256","name":"limitTime","type":"uint256"}],"internalType":"struct CryptoFoxesOrigins.ExtraMint","name":"_extraMint","type":"tuple"}],"name":"editExtraMintData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endRewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"extraMint","outputs":[{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"},{"internalType":"uint256","name":"trackerId","type":"uint256"},{"internalType":"uint256","name":"isBurnable","type":"uint256"},{"internalType":"uint256","name":"limitTime","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":[],"name":"getExtraMintCollection","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getStackingToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_extraMintId","type":"uint256"}],"name":"getUnmintedExtraToken","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"isValidFox","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"migrateOrigins","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"a","type":"uint256"},{"internalType":"uint256","name":"b","type":"uint256"}],"name":"min","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"_extraMintId","type":"uint256"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"mintExtraToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"ownerOrigins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"returnCorrectId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":"_contract","type":"address"},{"internalType":"bool","name":"_allowed","type":"bool"}],"name":"setAllowedContract","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":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setCalculationContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contract","type":"address"}],"name":"setCryptoFoxesSteak","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"components":[{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"},{"internalType":"uint256","name":"trackerId","type":"uint256"},{"internalType":"uint256","name":"isBurnable","type":"uint256"},{"internalType":"uint256","name":"limitTime","type":"uint256"}],"internalType":"struct CryptoFoxesOrigins.ExtraMint","name":"_extraMint","type":"tuple"}],"name":"setExtraMintData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"stackingOrigins","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"synchroEndRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalMintFox","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"withdrawRewards","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006008553480156200001657600080fd5b506040516200663f3803806200663f83398181016040528101906200003c919062000601565b6040518060400160405280601281526020017f43727970746f466f7865734f726967696e7300000000000000000000000000008152506040518060400160405280600581526020017f434658534f0000000000000000000000000000000000000000000000000000008152508160009080519060200190620000c0929190620003b4565b508060019080519060200190620000d9929190620003b4565b505050620000fc620000f06200012760201b60201c565b6200012f60201b60201c565b6200010d81620001f560201b60201c565b62000120306001620002a060201b60201c565b506200073a565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002056200012760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200022b6200038a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000284576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200027b90620006b3565b60405180910390fd5b80600f90805190602001906200029c929190620003b4565b5050565b620002b06200012760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620002d66200038a60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200032f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200032690620006b3565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003c29062000704565b90600052602060002090601f016020900481019282620003e6576000855562000432565b82601f106200040157805160ff191683800117855562000432565b8280016001018555821562000432579182015b828111156200043157825182559160200191906001019062000414565b5b50905062000441919062000445565b5090565b5b808211156200046057600081600090555060010162000446565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004cd8262000482565b810181811067ffffffffffffffff82111715620004ef57620004ee62000493565b5b80604052505050565b60006200050462000464565b9050620005128282620004c2565b919050565b600067ffffffffffffffff82111562000535576200053462000493565b5b620005408262000482565b9050602081019050919050565b60005b838110156200056d57808201518184015260208101905062000550565b838111156200057d576000848401525b50505050565b60006200059a620005948462000517565b620004f8565b905082815260208101848484011115620005b957620005b86200047d565b5b620005c68482856200054d565b509392505050565b600082601f830112620005e657620005e562000478565b5b8151620005f884826020860162000583565b91505092915050565b6000602082840312156200061a57620006196200046e565b5b600082015167ffffffffffffffff8111156200063b576200063a62000473565b5b6200064984828501620005ce565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200069b60208362000652565b9150620006a88262000663565b602082019050919050565b60006020820190508181036000830152620006ce816200068c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200071d57607f821691505b60208210811415620007345762000733620006d5565b5b50919050565b615ef5806200074a6000396000f3fe608060405234801561001057600080fd5b506004361061030c5760003560e01c806394d3ded21161019d578063d547cfb7116100e9578063e985e9c5116100a2578063f27620f71161007c578063f27620f71461099b578063f2fde38b146109b9578063f4d8febb146109d5578063fd4a343d146109f15761030c565b8063e985e9c51461092f578063e98e42961461095f578063ecb0c3171461097d5761030c565b8063d547cfb71461086f578063d65ccdd61461088d578063d9cd1ca0146108a9578063dc707e3b146108c7578063e026615b146108f7578063e350f43d146109135761030c565b8063b88d4fde11610156578063cfbf6d6b11610130578063cfbf6d6b146107c3578063d1839924146107f3578063d4f46ea614610823578063d542676b146108535761030c565b8063b88d4fde1461075b578063c87b56dd14610777578063cfabc274146107a75761030c565b806394d3ded2146106bf57806395d89b41146106dd5780639c1c3a8f146106fb578063a22cb46514610705578063a9fc507b14610721578063b187bd261461073d5761030c565b8063438b63001161025c57806369babd3b116102155780637ae2b5c7116101ef5780637ae2b5c71461062557806382640332146106555780638b0a5da6146106715780638da5cb5b146106a15761030c565b806369babd3b146105cd57806370a08231146105eb578063715018a61461061b5761030c565b8063438b6300146104d557806348bee58c1461050557806351e0e26b1461053557806355de1faf1461056557806355f804b3146105815780636352211e1461059d5761030c565b806319f6a703116102c9578063319c9dd0116102a3578063319c9dd01461044f5780633502a7161461047f57806342842e0e1461049d57806342d86693146104b95761030c565b806319f6a703146103e757806323b872dd146104035780632bfe2fbb1461041f5761030c565b806301ffc9a71461031157806306fdde0314610341578063081812fc1461035f578063095ea7b31461038f578063101ce36c146103ab57806318160ddd146103c9575b600080fd5b61032b600480360381019061032691906141bf565b610a25565b6040516103389190614207565b60405180910390f35b610349610b07565b60405161035691906142bb565b60405180910390f35b61037960048036038101906103749190614313565b610b99565b6040516103869190614381565b60405180910390f35b6103a960048036038101906103a491906143c8565b610c1e565b005b6103b3610d36565b6040516103c09190614467565b60405180910390f35b6103d1610d5c565b6040516103de9190614491565b60405180910390f35b61040160048036038101906103fc9190614313565b610dc9565b005b61041d600480360381019061041891906144ac565b610f26565b005b61043960048036038101906104349190614647565b610f86565b6040516104469190614491565b60405180910390f35b61046960048036038101906104649190614313565b61103f565b6040516104769190614491565b60405180910390f35b61048761105c565b6040516104949190614491565b60405180910390f35b6104b760048036038101906104b291906144ac565b611062565b005b6104d360048036038101906104ce91906146a3565b611082565b005b6104ef60048036038101906104ea91906146a3565b6111ac565b6040516104fc919061478e565b60405180910390f35b61051f600480360381019061051a9190614313565b6112a1565b60405161052c919061478e565b60405180910390f35b61054f600480360381019061054a91906146a3565b6114e2565b60405161055c9190614207565b60405180910390f35b61057f600480360381019061057a91906147dc565b611502565b005b61059b600480360381019061059691906148d1565b6115d9565b005b6105b760048036038101906105b29190614313565b61166f565b6040516105c49190614381565b60405180910390f35b6105d5611721565b6040516105e29190614491565b60405180910390f35b610605600480360381019061060091906146a3565b61176f565b6040516106129190614491565b60405180910390f35b610623611827565b005b61063f600480360381019061063a919061491a565b6118af565b60405161064c9190614491565b60405180910390f35b61066f600480360381019061066a919061495a565b6118c8565b005b61068b60048036038101906106869190614313565b611bb9565b6040516106989190614207565b60405180910390f35b6106a9611c33565b6040516106b69190614381565b60405180910390f35b6106c7611c5d565b6040516106d49190614491565b60405180910390f35b6106e5611c6a565b6040516106f291906142bb565b60405180910390f35b610703611cfc565b005b61071f600480360381019061071a91906147dc565b611da4565b005b61073b600480360381019061073691906143c8565b611f25565b005b610745611fcd565b6040516107529190614207565b60405180910390f35b61077560048036038101906107709190614a4e565b612074565b005b610791600480360381019061078c9190614313565b6120d6565b60405161079e91906142bb565b60405180910390f35b6107c160048036038101906107bc91906146a3565b61217d565b005b6107dd60048036038101906107d89190614313565b612250565b6040516107ea9190614491565b60405180910390f35b61080d60048036038101906108089190614313565b612268565b60405161081a9190614491565b60405180910390f35b61083d600480360381019061083891906143c8565b612440565b60405161084a9190614491565b60405180910390f35b61086d6004803603810190610868919061491a565b612465565b005b610877612686565b60405161088491906142bb565b60405180910390f35b6108a760048036038101906108a29190614b62565b612714565b005b6108b161284e565b6040516108be9190614491565b60405180910390f35b6108e160048036038101906108dc9190614313565b612854565b6040516108ee9190614491565b60405180910390f35b610911600480360381019061090c91906146a3565b612866565b005b61092d60048036038101906109289190614ba2565b612993565b005b61094960048036038101906109449190614bcf565b612ad4565b6040516109569190614207565b60405180910390f35b610967612b68565b6040516109749190614491565b60405180910390f35b610985612b72565b6040516109929190614c30565b60405180910390f35b6109a3612b98565b6040516109b09190614c6c565b60405180910390f35b6109d360048036038101906109ce91906146a3565b612bb0565b005b6109ef60048036038101906109ea9190614c87565b612ca8565b005b610a0b6004803603810190610a069190614313565b612e92565b604051610a1c959493929190614cd0565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610af057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b005750610aff82612ed8565b5b9050919050565b606060008054610b1690614d52565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4290614d52565b8015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b820191906000526020600020905b815481529060010190602001808311610b7257829003601f168201915b5050505050905090565b6000610ba482612f42565b610be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bda90614df6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c298261166f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9190614e88565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb9612fae565b73ffffffffffffffffffffffffffffffffffffffff161480610ce85750610ce781610ce2612fae565b612ad4565b5b610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e90614f1a565b60405180910390fd5b610d318383612fb6565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600a54905060005b600b80549050811015610dc157610dac600b8281548110610d8b57610d8a614f3a565b5b9060005260206000209060050201600201548361306f90919063ffffffff16565b91508080610db990614f98565b915050610d67565b508091505090565b6000610dd3612b68565b90506103e8600182610de59190614fe1565b11158015610df85750610df782611bb9565b5b610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e90615083565b60405180910390fd5b6000610e4283612268565b90506001600a6000828254610e579190614fe1565b92505081905550610e6f610e69612fae565b82613085565b73495f947276749ce646f68ac8c248420045cb7b5e73ffffffffffffffffffffffffffffffffffffffff1663f242432a610ea7612fae565b61dead8660016040518563ffffffff1660e01b8152600401610ecc9493929190615115565b600060405180830381600087803b158015610ee657600080fd5b505af1158015610efa573d6000803e3d6000fd5b50505050610f07816130a3565b610f21610f12612fae565b6801a055690d9db800006130be565b505050565b610f37610f31612fae565b82613151565b610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d906151df565b60405180910390fd5b610f8183838361322f565b505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c7e12fe73085856040518463ffffffff1660e01b8152600401610fe7939291906151ff565b60206040518083038186803b158015610fff57600080fd5b505afa158015611013573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110379190615252565b905092915050565b6000600c6000838152602001908152602001600020549050919050565b6103e881565b61107d83838360405180602001604052806000815250612074565b505050565b6001151560076000611092612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461111c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611113906152cb565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342d86693826040518263ffffffff1660e01b81526004016111779190614381565b600060405180830381600087803b15801561119157600080fd5b505af11580156111a5573d6000803e3d6000fd5b5050505050565b606060006111b98361176f565b905060008167ffffffffffffffff8111156111d7576111d6614504565b5b6040519080825280602002602001820160405280156112055781602001602082028036833780820191505090505b50905060005b8281101561129657600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008281526020019081526020016000205482828151811061127757611276614f3a565b5b602002602001018181525050808061128e90614f98565b91505061120b565b508092505050919050565b6060816000600b82815481106112ba576112b9614f3a565b5b90600052602060002090600502016004015414806112fc5750600b81815481106112e7576112e6614f3a565b5b90600052602060002090600502016004015442105b61133b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133290615337565b60405180910390fd5b60006113e460016113d6600b878154811061135957611358614f3a565b5b9060005260206000209060050201600201546113c8600b898154811061138257611381614f3a565b5b906000526020600020906005020160000154600b8a815481106113a8576113a7614f3a565b5b90600052602060002090600502016001015461348b90919063ffffffff16565b61348b90919063ffffffff16565b61306f90919063ffffffff16565b67ffffffffffffffff8111156113fd576113fc614504565b5b60405190808252806020026020018201604052801561142b5781602001602082028036833780820191505090505b509050600080600b868154811061144557611444614f3a565b5b90600052602060002090600502016000015490505b600b868154811061146e5761146d614f3a565b5b90600052602060002090600502016001015481116114d65761148f81612f42565b6114c357808383815181106114a7576114a6614f3a565b5b6020026020010181815250506001826114c09190614fe1565b91505b80806114ce90614f98565b91505061145a565b50819350505050919050565b60076020528060005260406000206000915054906101000a900460ff1681565b61150a612fae565b73ffffffffffffffffffffffffffffffffffffffff16611528611c33565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906153a3565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6115e1612fae565b73ffffffffffffffffffffffffffffffffffffffff166115ff611c33565b73ffffffffffffffffffffffffffffffffffffffff1614611655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164c906153a3565b60405180910390fd5b80600f908051906020019061166b9291906140b0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90615435565b60405180910390fd5b80915050919050565b60008060085411611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e906154a1565b60405180910390fd5b600854905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d790615533565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61182f612fae565b73ffffffffffffffffffffffffffffffffffffffff1661184d611c33565b73ffffffffffffffffffffffffffffffffffffffff16146118a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189a906153a3565b60405180910390fd5b6118ad60006134a1565b565b60008183116118be57826118c0565b815b905092915050565b60011515600760006118d8612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611962576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611959906152cb565b60405180910390fd5b8281600b828154811061197857611977614f3a565b5b90600052602060002090600502016000015481101580156119be5750600b82815481106119a8576119a7614f3a565b5b9060005260206000209060050201600101548111155b6119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f49061559f565b60405180910390fd5b846000600b8281548110611a1457611a13614f3a565b5b9060005260206000209060050201600401541480611a565750600b8181548110611a4157611a40614f3a565b5b90600052602060002090600502016004015442105b611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c90615337565b60405180910390fd5b611af2600b8781548110611aac57611aab614f3a565b5b906000526020600020906005020160000154600b8881548110611ad257611ad1614f3a565b5b90600052602060002090600502016001015461348b90919063ffffffff16565b600b8781548110611b0657611b05614f3a565b5b90600052602060002090600502016002015411158015611b2b5750611b29611fcd565b155b611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b619061560b565b60405180910390fd5b6001600b8781548110611b8057611b7f614f3a565b5b90600052602060002090600502016002016000828254611ba09190614fe1565b92505081905550611bb18585613085565b505050505050565b6000731b6284b63ad8e0b0e254500869896153a2260d1c606083901c14611be35760009050611c2e565b600164ffffffffff831614611bfb5760009050611c2e565b6000611c0683612268565b9050600181108015611c1957506103e881115b15611c28576000915050611c2e565b60019150505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b80549050905090565b606060018054611c7990614d52565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca590614d52565b8015611cf25780601f10611cc757610100808354040283529160200191611cf2565b820191906000526020600020905b815481529060010190602001808311611cd557829003601f168201915b5050505050905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369babd3b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d6457600080fd5b505afa158015611d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9c9190615252565b600881905550565b611dac612fae565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1190615677565b60405180910390fd5b8060056000611e27612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ed4612fae565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f199190614207565b60405180910390a35050565b6001151560076000611f35612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb6906152cb565b60405180910390fd5b611fc982826130be565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b187bd266040518163ffffffff1660e01b815260040160206040518083038186803b15801561203757600080fd5b505afa15801561204b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206f91906156ac565b905090565b61208561207f612fae565b83613151565b6120c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bb906151df565b60405180910390fd5b6120d084848484613567565b50505050565b60606120e182612f42565b612120576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121179061574b565b60405180910390fd5b600061212a6135c3565b9050600081511161214a5760405180602001604052806000815250612175565b8061215484613655565b6040516020016121659291906157a7565b6040516020818303038152906040525b915050919050565b612185612fae565b73ffffffffffffffffffffffffffffffffffffffff166121a3611c33565b73ffffffffffffffffffffffffffffffffffffffff16146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f0906153a3565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612245816001611502565b61224d611cfc565b50565b600c6020528060005260406000206000915090505481565b600060286bffffffffffffff00000000008316901c915060c882141561229c5760348261229591906157cb565b905061243b565b60cd8214156122b9576038826122b291906157cb565b905061243b565b60d68214156122d6576043826122cf91906157cb565b905061243b565b60508214156122f357604f826122ec91906157cb565b905061243b565b60e88214156123105760568261230991906157cb565b905061243b565b60f482141561232d57606e8261232691906157cb565b905061243b565b60f582141561234a5760818261234391906157cb565b905061243b565b60f782141561236757608c8261236091906157cb565b905061243b565b60f68214156123845760908261237d91906157cb565b905061243b565b60fa8210156123a15760628261239a91906157cb565b905061243b565b6101908210156123bf576063826123b891906157cb565b905061243b565b61023a8210156123dd576077826123d691906157cb565b905061243b565b6103038210156123fb576078826123f491906157cb565b905061243b565b61034882101561241957607b8261241291906157cb565b905061243b565b61046582101561243757607c8261243091906157cb565b905061243b565b8190505b919050565b600d602052816000526040600020602052806000526040600020600091509150505481565b6001151560076000612475612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f6906152cb565b60405180910390fd5b8181600b828154811061251557612514614f3a565b5b906000526020600020906005020160000154811015801561255b5750600b828154811061254557612544614f3a565b5b9060005260206000209060050201600101548111155b61259a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125919061559f565b60405180910390fd5b6000600b85815481106125b0576125af614f3a565b5b9060005260206000209060050201600301541180156125d457506125d2611fcd565b155b80156125e157506103e883115b612620576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126179061584b565b60405180910390fd5b61263161262b612fae565b84613151565b61263a57600080fd5b6001600b85815481106126505761264f614f3a565b5b9060005260206000209060050201600201600082825461267091906157cb565b92505081905550612680836137b6565b50505050565b600f805461269390614d52565b80601f01602080910402602001604051908101604052809291908181526020018280546126bf90614d52565b801561270c5780601f106126e15761010080835404028352916020019161270c565b820191906000526020600020905b8154815290600101906020018083116126ef57829003601f168201915b505050505081565b6001151560076000612724612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514806127b3575061277d611c33565b73ffffffffffffffffffffffffffffffffffffffff1661279b612fae565b73ffffffffffffffffffffffffffffffffffffffff16145b6127f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e9906152cb565b60405180910390fd5b80600b838154811061280757612806614f3a565b5b906000526020600020906005020160008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050505050565b60085481565b600061285f826138c7565b9050919050565b6001151560076000612876612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148061290557506128cf611c33565b73ffffffffffffffffffffffffffffffffffffffff166128ed612fae565b73ffffffffffffffffffffffffffffffffffffffff16145b612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b906152cb565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612990816001611502565b50565b60011515600760006129a3612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480612a3257506129fc611c33565b73ffffffffffffffffffffffffffffffffffffffff16612a1a612fae565b73ffffffffffffffffffffffffffffffffffffffff16145b612a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a68906152cb565b60405180910390fd5b600b8190806001815401808255809150506001900390600052602060002090600502016000909190919091506000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600a54905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73495f947276749ce646f68ac8c248420045cb7b5e81565b612bb8612fae565b73ffffffffffffffffffffffffffffffffffffffff16612bd6611c33565b73ffffffffffffffffffffffffffffffffffffffff1614612c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c23906153a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c93906158dd565b60405180910390fd5b612ca5816134a1565b50565b60008151118015612cbe5750612cbc611fcd565b155b612cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf490615949565b60405180910390fd5b60005b8151811015612db357612d11612fae565b73ffffffffffffffffffffffffffffffffffffffff16612d4a838381518110612d3d57612d3c614f3a565b5b602002602001015161166f565b73ffffffffffffffffffffffffffffffffffffffff1614612da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d97906159b5565b60405180910390fd5b8080612dab90614f98565b915050612d00565b50601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663706be11f3083612dfc612fae565b6040518463ffffffff1660e01b8152600401612e1a939291906159d5565b600060405180830381600087803b158015612e3457600080fd5b505af1158015612e48573d6000803e3d6000fd5b5050505060005b8151811015612e8e57612e7b828281518110612e6e57612e6d614f3a565b5b60200260200101516130a3565b8080612e8690614f98565b915050612e4f565b5050565b600b8181548110612ea257600080fd5b90600052602060002090600502016000915090508060000154908060010154908060020154908060030154908060040154905085565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166130298361166f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818361307d9190614fe1565b905092915050565b61309f8282604051806020016040528060008152506138e1565b5050565b42600c60008381526020019081526020016000208190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9fc507b83836040518363ffffffff1660e01b815260040161311b929190615a13565b600060405180830381600087803b15801561313557600080fd5b505af1158015613149573d6000803e3d6000fd5b505050505050565b600061315c82612f42565b61319b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319290615aae565b60405180910390fd5b60006131a68361166f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061321557508373ffffffffffffffffffffffffffffffffffffffff166131fd84610b99565b73ffffffffffffffffffffffffffffffffffffffff16145b8061322657506132258185612ad4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661324f8261166f565b73ffffffffffffffffffffffffffffffffffffffff16146132a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329c90615b40565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330c90615bd2565b60405180910390fd5b61332083838361393c565b61332b600082612fb6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461337b91906157cb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133d29190614fe1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361349991906157cb565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61357284848461322f565b61357e84848484613b5e565b6135bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b490615c64565b60405180910390fd5b50505050565b6060600f80546135d290614d52565b80601f01602080910402602001604051908101604052809291908181526020018280546135fe90614d52565b801561364b5780601f106136205761010080835404028352916020019161364b565b820191906000526020600020905b81548152906001019060200180831161362e57829003601f168201915b5050505050905090565b6060600082141561369d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137b1565b600082905060005b600082146136cf5780806136b890614f98565b915050600a826136c89190615cb3565b91506136a5565b60008167ffffffffffffffff8111156136eb576136ea614504565b5b6040519080825280601f01601f19166020018201604052801561371d5781602001600182028036833780820191505090505b5090505b600085146137aa5760018261373691906157cb565b9150600a856137459190615ce4565b60306137519190614fe1565b60f81b81838151811061376757613766614f3a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137a39190615cb3565b9450613721565b8093505050505b919050565b60006137c18261166f565b90506137cf8160008461393c565b6137da600083612fb6565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461382a91906157cb565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006138da826138d5611721565b6118af565b9050919050565b6138eb8383613cf5565b6138f86000848484613b5e565b613937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392e90615c64565b60405180910390fd5b505050565b613947838383613ec3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561398b576139868183613ec8565b6139ca565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139c9576139c88184613f47565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a0e57613a098184613f47565b613a88565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015613a775750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15613a8757613a868183613ec8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015613ac757506103e88111155b15613b59576000600167ffffffffffffffff811115613ae957613ae8614504565b5b604051908082528060200260200182016040528015613b175781602001602082028036833780820191505090505b5090508181600081518110613b2f57613b2e614f3a565b5b602002602001018181525050613b4e84613b498342610f86565b6130be565b613b57826130a3565b505b505050565b6000613b7f8473ffffffffffffffffffffffffffffffffffffffff1661409d565b15613ce8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ba8612fae565b8786866040518563ffffffff1660e01b8152600401613bca9493929190615d59565b602060405180830381600087803b158015613be457600080fd5b505af1925050508015613c1557506040513d601f19601f82011682018060405250810190613c129190615dba565b60015b613c98573d8060008114613c45576040519150601f19603f3d011682016040523d82523d6000602084013e613c4a565b606091505b50600081511415613c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8790615c64565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ced565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5c90615e33565b60405180910390fd5b613d6e81612f42565b15613dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613da590615e9f565b60405180910390fd5b613dba6000838361393c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e0a9190614fe1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6000613ed38261176f565b905082600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600e600085815260200190815260200160002081905550505050565b6000613f528261176f565b90506000600e60008581526020019081526020016000205490506000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600185613fbc91906157cb565b81526020019081526020016000205490508085146140425780600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600e6000838152602001908152602001600020819055505b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020600090555050505050565b600080823b905060008111915050919050565b8280546140bc90614d52565b90600052602060002090601f0160209004810192826140de5760008555614125565b82601f106140f757805160ff1916838001178555614125565b82800160010185558215614125579182015b82811115614124578251825591602001919060010190614109565b5b5090506141329190614136565b5090565b5b8082111561414f576000816000905550600101614137565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61419c81614167565b81146141a757600080fd5b50565b6000813590506141b981614193565b92915050565b6000602082840312156141d5576141d461415d565b5b60006141e3848285016141aa565b91505092915050565b60008115159050919050565b614201816141ec565b82525050565b600060208201905061421c60008301846141f8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561425c578082015181840152602081019050614241565b8381111561426b576000848401525b50505050565b6000601f19601f8301169050919050565b600061428d82614222565b614297818561422d565b93506142a781856020860161423e565b6142b081614271565b840191505092915050565b600060208201905081810360008301526142d58184614282565b905092915050565b6000819050919050565b6142f0816142dd565b81146142fb57600080fd5b50565b60008135905061430d816142e7565b92915050565b6000602082840312156143295761432861415d565b5b6000614337848285016142fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061436b82614340565b9050919050565b61437b81614360565b82525050565b60006020820190506143966000830184614372565b92915050565b6143a581614360565b81146143b057600080fd5b50565b6000813590506143c28161439c565b92915050565b600080604083850312156143df576143de61415d565b5b60006143ed858286016143b3565b92505060206143fe858286016142fe565b9150509250929050565b6000819050919050565b600061442d61442861442384614340565b614408565b614340565b9050919050565b600061443f82614412565b9050919050565b600061445182614434565b9050919050565b61446181614446565b82525050565b600060208201905061447c6000830184614458565b92915050565b61448b816142dd565b82525050565b60006020820190506144a66000830184614482565b92915050565b6000806000606084860312156144c5576144c461415d565b5b60006144d3868287016143b3565b93505060206144e4868287016143b3565b92505060406144f5868287016142fe565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61453c82614271565b810181811067ffffffffffffffff8211171561455b5761455a614504565b5b80604052505050565b600061456e614153565b905061457a8282614533565b919050565b600067ffffffffffffffff82111561459a57614599614504565b5b602082029050602081019050919050565b600080fd5b60006145c36145be8461457f565b614564565b905080838252602082019050602084028301858111156145e6576145e56145ab565b5b835b8181101561460f57806145fb88826142fe565b8452602084019350506020810190506145e8565b5050509392505050565b600082601f83011261462e5761462d6144ff565b5b813561463e8482602086016145b0565b91505092915050565b6000806040838503121561465e5761465d61415d565b5b600083013567ffffffffffffffff81111561467c5761467b614162565b5b61468885828601614619565b9250506020614699858286016142fe565b9150509250929050565b6000602082840312156146b9576146b861415d565b5b60006146c7848285016143b3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614705816142dd565b82525050565b600061471783836146fc565b60208301905092915050565b6000602082019050919050565b600061473b826146d0565b61474581856146db565b9350614750836146ec565b8060005b83811015614781578151614768888261470b565b975061477383614723565b925050600181019050614754565b5085935050505092915050565b600060208201905081810360008301526147a88184614730565b905092915050565b6147b9816141ec565b81146147c457600080fd5b50565b6000813590506147d6816147b0565b92915050565b600080604083850312156147f3576147f261415d565b5b6000614801858286016143b3565b9250506020614812858286016147c7565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561483c5761483b614504565b5b61484582614271565b9050602081019050919050565b82818337600083830152505050565b600061487461486f84614821565b614564565b9050828152602081018484840111156148905761488f61481c565b5b61489b848285614852565b509392505050565b600082601f8301126148b8576148b76144ff565b5b81356148c8848260208601614861565b91505092915050565b6000602082840312156148e7576148e661415d565b5b600082013567ffffffffffffffff81111561490557614904614162565b5b614911848285016148a3565b91505092915050565b600080604083850312156149315761493061415d565b5b600061493f858286016142fe565b9250506020614950858286016142fe565b9150509250929050565b6000806000606084860312156149735761497261415d565b5b6000614981868287016142fe565b9350506020614992868287016143b3565b92505060406149a3868287016142fe565b9150509250925092565b600067ffffffffffffffff8211156149c8576149c7614504565b5b6149d182614271565b9050602081019050919050565b60006149f16149ec846149ad565b614564565b905082815260208101848484011115614a0d57614a0c61481c565b5b614a18848285614852565b509392505050565b600082601f830112614a3557614a346144ff565b5b8135614a458482602086016149de565b91505092915050565b60008060008060808587031215614a6857614a6761415d565b5b6000614a76878288016143b3565b9450506020614a87878288016143b3565b9350506040614a98878288016142fe565b925050606085013567ffffffffffffffff811115614ab957614ab8614162565b5b614ac587828801614a20565b91505092959194509250565b600080fd5b600060a08284031215614aec57614aeb614ad1565b5b614af660a0614564565b90506000614b06848285016142fe565b6000830152506020614b1a848285016142fe565b6020830152506040614b2e848285016142fe565b6040830152506060614b42848285016142fe565b6060830152506080614b56848285016142fe565b60808301525092915050565b60008060c08385031215614b7957614b7861415d565b5b6000614b87858286016142fe565b9250506020614b9885828601614ad6565b9150509250929050565b600060a08284031215614bb857614bb761415d565b5b6000614bc684828501614ad6565b91505092915050565b60008060408385031215614be657614be561415d565b5b6000614bf4858286016143b3565b9250506020614c05858286016143b3565b9150509250929050565b6000614c1a82614434565b9050919050565b614c2a81614c0f565b82525050565b6000602082019050614c456000830184614c21565b92915050565b6000614c5682614434565b9050919050565b614c6681614c4b565b82525050565b6000602082019050614c816000830184614c5d565b92915050565b600060208284031215614c9d57614c9c61415d565b5b600082013567ffffffffffffffff811115614cbb57614cba614162565b5b614cc784828501614619565b91505092915050565b600060a082019050614ce56000830188614482565b614cf26020830187614482565b614cff6040830186614482565b614d0c6060830185614482565b614d196080830184614482565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d6a57607f821691505b60208210811415614d7e57614d7d614d23565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614de0602c8361422d565b9150614deb82614d84565b604082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e7260218361422d565b9150614e7d82614e16565b604082019050919050565b60006020820190508181036000830152614ea181614e65565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614f0460388361422d565b9150614f0f82614ea8565b604082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614fa3826142dd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd657614fd5614f69565b5b600182019050919050565b6000614fec826142dd565b9150614ff7836142dd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561502c5761502b614f69565b5b828201905092915050565b7f4d6178206c696d6974206f7220696e76616c6964000000000000000000000000600082015250565b600061506d60148361422d565b915061507882615037565b602082019050919050565b6000602082019050818103600083015261509c81615060565b9050919050565b6000819050919050565b60006150c86150c36150be846150a3565b614408565b6142dd565b9050919050565b6150d8816150ad565b82525050565b600082825260208201905092915050565b50565b60006150ff6000836150de565b915061510a826150ef565b600082019050919050565b600060a08201905061512a6000830187614372565b6151376020830186614372565b6151446040830185614482565b61515160608301846150cf565b8181036080830152615162816150f2565b905095945050505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006151c960318361422d565b91506151d48261516d565b604082019050919050565b600060208201905081810360008301526151f8816151bc565b9050919050565b60006060820190506152146000830186614372565b81810360208301526152268185614730565b90506152356040830184614482565b949350505050565b60008151905061524c816142e7565b92915050565b6000602082840312156152685761526761415d565b5b60006152768482850161523d565b91505092915050565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b60006152b5600b8361422d565b91506152c08261527f565b602082019050919050565b600060208201905081810360008301526152e4816152a8565b9050919050565b7f54696d65206c696d697400000000000000000000000000000000000000000000600082015250565b6000615321600a8361422d565b915061532c826152eb565b602082019050919050565b6000602082019050818103600083015261535081615314565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061538d60208361422d565b915061539882615357565b602082019050919050565b600060208201905081810360008301526153bc81615380565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061541f60298361422d565b915061542a826153c3565b604082019050919050565b6000602082019050818103600083015261544e81615412565b9050919050565b7f456e642052657761726473206572726f72000000000000000000000000000000600082015250565b600061548b60118361422d565b915061549682615455565b602082019050919050565b600060208201905081810360008301526154ba8161547e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061551d602a8361422d565b9150615528826154c1565b604082019050919050565b6000602082019050818103600083015261554c81615510565b9050919050565b7f4e6f7420696e2072616e67650000000000000000000000000000000000000000600082015250565b6000615589600c8361422d565b915061559482615553565b602082019050919050565b600060208201905081810360008301526155b88161557c565b9050919050565b7f4d617820737570706c79206f7220706175736564000000000000000000000000600082015250565b60006155f560148361422d565b9150615600826155bf565b602082019050919050565b60006020820190508181036000830152615624816155e8565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061566160198361422d565b915061566c8261562b565b602082019050919050565b6000602082019050818103600083015261569081615654565b9050919050565b6000815190506156a6816147b0565b92915050565b6000602082840312156156c2576156c161415d565b5b60006156d084828501615697565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615735602f8361422d565b9150615740826156d9565b604082019050919050565b6000602082019050818103600083015261576481615728565b9050919050565b600081905092915050565b600061578182614222565b61578b818561576b565b935061579b81856020860161423e565b80840191505092915050565b60006157b38285615776565b91506157bf8284615776565b91508190509392505050565b60006157d6826142dd565b91506157e1836142dd565b9250828210156157f4576157f3614f69565b5b828203905092915050565b7f4e6f74206275726e61626c65206f7220706175736564206f72203e2031303030600082015250565b600061583560208361422d565b9150615840826157ff565b602082019050919050565b6000602082019050818103600083015261586481615828565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006158c760268361422d565b91506158d28261586b565b604082019050919050565b600060208201905081810360008301526158f6816158ba565b9050919050565b7f546f6b656e7320656d7074790000000000000000000000000000000000000000600082015250565b6000615933600c8361422d565b915061593e826158fd565b602082019050919050565b6000602082019050818103600083015261596281615926565b9050919050565b7f426164206f776e65720000000000000000000000000000000000000000000000600082015250565b600061599f60098361422d565b91506159aa82615969565b602082019050919050565b600060208201905081810360008301526159ce81615992565b9050919050565b60006060820190506159ea6000830186614372565b81810360208301526159fc8185614730565b9050615a0b6040830184614372565b949350505050565b6000604082019050615a286000830185614372565b615a356020830184614482565b9392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615a98602c8361422d565b9150615aa382615a3c565b604082019050919050565b60006020820190508181036000830152615ac781615a8b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615b2a60298361422d565b9150615b3582615ace565b604082019050919050565b60006020820190508181036000830152615b5981615b1d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615bbc60248361422d565b9150615bc782615b60565b604082019050919050565b60006020820190508181036000830152615beb81615baf565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615c4e60328361422d565b9150615c5982615bf2565b604082019050919050565b60006020820190508181036000830152615c7d81615c41565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615cbe826142dd565b9150615cc9836142dd565b925082615cd957615cd8615c84565b5b828204905092915050565b6000615cef826142dd565b9150615cfa836142dd565b925082615d0a57615d09615c84565b5b828206905092915050565b600081519050919050565b6000615d2b82615d15565b615d3581856150de565b9350615d4581856020860161423e565b615d4e81614271565b840191505092915050565b6000608082019050615d6e6000830187614372565b615d7b6020830186614372565b615d886040830185614482565b8181036060830152615d9a8184615d20565b905095945050505050565b600081519050615db481614193565b92915050565b600060208284031215615dd057615dcf61415d565b5b6000615dde84828501615da5565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e1d60208361422d565b9150615e2882615de7565b602082019050919050565b60006020820190508181036000830152615e4c81615e10565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e89601c8361422d565b9150615e9482615e53565b602082019050919050565b60006020820190508181036000830152615eb881615e7c565b905091905056fea2646970667358221220348511a90b0eafa983565861fa796e355502649e98c09b8eebf283c2efb2821c64736f6c634300080900330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f6170692e63727970746f666f7865732e696f2f6f726967696e2f000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061030c5760003560e01c806394d3ded21161019d578063d547cfb7116100e9578063e985e9c5116100a2578063f27620f71161007c578063f27620f71461099b578063f2fde38b146109b9578063f4d8febb146109d5578063fd4a343d146109f15761030c565b8063e985e9c51461092f578063e98e42961461095f578063ecb0c3171461097d5761030c565b8063d547cfb71461086f578063d65ccdd61461088d578063d9cd1ca0146108a9578063dc707e3b146108c7578063e026615b146108f7578063e350f43d146109135761030c565b8063b88d4fde11610156578063cfbf6d6b11610130578063cfbf6d6b146107c3578063d1839924146107f3578063d4f46ea614610823578063d542676b146108535761030c565b8063b88d4fde1461075b578063c87b56dd14610777578063cfabc274146107a75761030c565b806394d3ded2146106bf57806395d89b41146106dd5780639c1c3a8f146106fb578063a22cb46514610705578063a9fc507b14610721578063b187bd261461073d5761030c565b8063438b63001161025c57806369babd3b116102155780637ae2b5c7116101ef5780637ae2b5c71461062557806382640332146106555780638b0a5da6146106715780638da5cb5b146106a15761030c565b806369babd3b146105cd57806370a08231146105eb578063715018a61461061b5761030c565b8063438b6300146104d557806348bee58c1461050557806351e0e26b1461053557806355de1faf1461056557806355f804b3146105815780636352211e1461059d5761030c565b806319f6a703116102c9578063319c9dd0116102a3578063319c9dd01461044f5780633502a7161461047f57806342842e0e1461049d57806342d86693146104b95761030c565b806319f6a703146103e757806323b872dd146104035780632bfe2fbb1461041f5761030c565b806301ffc9a71461031157806306fdde0314610341578063081812fc1461035f578063095ea7b31461038f578063101ce36c146103ab57806318160ddd146103c9575b600080fd5b61032b600480360381019061032691906141bf565b610a25565b6040516103389190614207565b60405180910390f35b610349610b07565b60405161035691906142bb565b60405180910390f35b61037960048036038101906103749190614313565b610b99565b6040516103869190614381565b60405180910390f35b6103a960048036038101906103a491906143c8565b610c1e565b005b6103b3610d36565b6040516103c09190614467565b60405180910390f35b6103d1610d5c565b6040516103de9190614491565b60405180910390f35b61040160048036038101906103fc9190614313565b610dc9565b005b61041d600480360381019061041891906144ac565b610f26565b005b61043960048036038101906104349190614647565b610f86565b6040516104469190614491565b60405180910390f35b61046960048036038101906104649190614313565b61103f565b6040516104769190614491565b60405180910390f35b61048761105c565b6040516104949190614491565b60405180910390f35b6104b760048036038101906104b291906144ac565b611062565b005b6104d360048036038101906104ce91906146a3565b611082565b005b6104ef60048036038101906104ea91906146a3565b6111ac565b6040516104fc919061478e565b60405180910390f35b61051f600480360381019061051a9190614313565b6112a1565b60405161052c919061478e565b60405180910390f35b61054f600480360381019061054a91906146a3565b6114e2565b60405161055c9190614207565b60405180910390f35b61057f600480360381019061057a91906147dc565b611502565b005b61059b600480360381019061059691906148d1565b6115d9565b005b6105b760048036038101906105b29190614313565b61166f565b6040516105c49190614381565b60405180910390f35b6105d5611721565b6040516105e29190614491565b60405180910390f35b610605600480360381019061060091906146a3565b61176f565b6040516106129190614491565b60405180910390f35b610623611827565b005b61063f600480360381019061063a919061491a565b6118af565b60405161064c9190614491565b60405180910390f35b61066f600480360381019061066a919061495a565b6118c8565b005b61068b60048036038101906106869190614313565b611bb9565b6040516106989190614207565b60405180910390f35b6106a9611c33565b6040516106b69190614381565b60405180910390f35b6106c7611c5d565b6040516106d49190614491565b60405180910390f35b6106e5611c6a565b6040516106f291906142bb565b60405180910390f35b610703611cfc565b005b61071f600480360381019061071a91906147dc565b611da4565b005b61073b600480360381019061073691906143c8565b611f25565b005b610745611fcd565b6040516107529190614207565b60405180910390f35b61077560048036038101906107709190614a4e565b612074565b005b610791600480360381019061078c9190614313565b6120d6565b60405161079e91906142bb565b60405180910390f35b6107c160048036038101906107bc91906146a3565b61217d565b005b6107dd60048036038101906107d89190614313565b612250565b6040516107ea9190614491565b60405180910390f35b61080d60048036038101906108089190614313565b612268565b60405161081a9190614491565b60405180910390f35b61083d600480360381019061083891906143c8565b612440565b60405161084a9190614491565b60405180910390f35b61086d6004803603810190610868919061491a565b612465565b005b610877612686565b60405161088491906142bb565b60405180910390f35b6108a760048036038101906108a29190614b62565b612714565b005b6108b161284e565b6040516108be9190614491565b60405180910390f35b6108e160048036038101906108dc9190614313565b612854565b6040516108ee9190614491565b60405180910390f35b610911600480360381019061090c91906146a3565b612866565b005b61092d60048036038101906109289190614ba2565b612993565b005b61094960048036038101906109449190614bcf565b612ad4565b6040516109569190614207565b60405180910390f35b610967612b68565b6040516109749190614491565b60405180910390f35b610985612b72565b6040516109929190614c30565b60405180910390f35b6109a3612b98565b6040516109b09190614c6c565b60405180910390f35b6109d360048036038101906109ce91906146a3565b612bb0565b005b6109ef60048036038101906109ea9190614c87565b612ca8565b005b610a0b6004803603810190610a069190614313565b612e92565b604051610a1c959493929190614cd0565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610af057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b005750610aff82612ed8565b5b9050919050565b606060008054610b1690614d52565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4290614d52565b8015610b8f5780601f10610b6457610100808354040283529160200191610b8f565b820191906000526020600020905b815481529060010190602001808311610b7257829003601f168201915b5050505050905090565b6000610ba482612f42565b610be3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bda90614df6565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c298261166f565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c9190614e88565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cb9612fae565b73ffffffffffffffffffffffffffffffffffffffff161480610ce85750610ce781610ce2612fae565b612ad4565b5b610d27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d1e90614f1a565b60405180910390fd5b610d318383612fb6565b505050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600080600a54905060005b600b80549050811015610dc157610dac600b8281548110610d8b57610d8a614f3a565b5b9060005260206000209060050201600201548361306f90919063ffffffff16565b91508080610db990614f98565b915050610d67565b508091505090565b6000610dd3612b68565b90506103e8600182610de59190614fe1565b11158015610df85750610df782611bb9565b5b610e37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2e90615083565b60405180910390fd5b6000610e4283612268565b90506001600a6000828254610e579190614fe1565b92505081905550610e6f610e69612fae565b82613085565b73495f947276749ce646f68ac8c248420045cb7b5e73ffffffffffffffffffffffffffffffffffffffff1663f242432a610ea7612fae565b61dead8660016040518563ffffffff1660e01b8152600401610ecc9493929190615115565b600060405180830381600087803b158015610ee657600080fd5b505af1158015610efa573d6000803e3d6000fd5b50505050610f07816130a3565b610f21610f12612fae565b6801a055690d9db800006130be565b505050565b610f37610f31612fae565b82613151565b610f76576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6d906151df565b60405180910390fd5b610f8183838361322f565b505050565b6000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663c7e12fe73085856040518463ffffffff1660e01b8152600401610fe7939291906151ff565b60206040518083038186803b158015610fff57600080fd5b505afa158015611013573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110379190615252565b905092915050565b6000600c6000838152602001908152602001600020549050919050565b6103e881565b61107d83838360405180602001604052806000815250612074565b505050565b6001151560076000611092612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151461111c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611113906152cb565b60405180910390fd5b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166342d86693826040518263ffffffff1660e01b81526004016111779190614381565b600060405180830381600087803b15801561119157600080fd5b505af11580156111a5573d6000803e3d6000fd5b5050505050565b606060006111b98361176f565b905060008167ffffffffffffffff8111156111d7576111d6614504565b5b6040519080825280602002602001820160405280156112055781602001602082028036833780820191505090505b50905060005b8281101561129657600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008281526020019081526020016000205482828151811061127757611276614f3a565b5b602002602001018181525050808061128e90614f98565b91505061120b565b508092505050919050565b6060816000600b82815481106112ba576112b9614f3a565b5b90600052602060002090600502016004015414806112fc5750600b81815481106112e7576112e6614f3a565b5b90600052602060002090600502016004015442105b61133b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161133290615337565b60405180910390fd5b60006113e460016113d6600b878154811061135957611358614f3a565b5b9060005260206000209060050201600201546113c8600b898154811061138257611381614f3a565b5b906000526020600020906005020160000154600b8a815481106113a8576113a7614f3a565b5b90600052602060002090600502016001015461348b90919063ffffffff16565b61348b90919063ffffffff16565b61306f90919063ffffffff16565b67ffffffffffffffff8111156113fd576113fc614504565b5b60405190808252806020026020018201604052801561142b5781602001602082028036833780820191505090505b509050600080600b868154811061144557611444614f3a565b5b90600052602060002090600502016000015490505b600b868154811061146e5761146d614f3a565b5b90600052602060002090600502016001015481116114d65761148f81612f42565b6114c357808383815181106114a7576114a6614f3a565b5b6020026020010181815250506001826114c09190614fe1565b91505b80806114ce90614f98565b91505061145a565b50819350505050919050565b60076020528060005260406000206000915054906101000a900460ff1681565b61150a612fae565b73ffffffffffffffffffffffffffffffffffffffff16611528611c33565b73ffffffffffffffffffffffffffffffffffffffff161461157e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611575906153a3565b60405180910390fd5b80600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b6115e1612fae565b73ffffffffffffffffffffffffffffffffffffffff166115ff611c33565b73ffffffffffffffffffffffffffffffffffffffff1614611655576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164c906153a3565b60405180910390fd5b80600f908051906020019061166b9291906140b0565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611718576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170f90615435565b60405180910390fd5b80915050919050565b60008060085411611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e906154a1565b60405180910390fd5b600854905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d790615533565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61182f612fae565b73ffffffffffffffffffffffffffffffffffffffff1661184d611c33565b73ffffffffffffffffffffffffffffffffffffffff16146118a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189a906153a3565b60405180910390fd5b6118ad60006134a1565b565b60008183116118be57826118c0565b815b905092915050565b60011515600760006118d8612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611962576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611959906152cb565b60405180910390fd5b8281600b828154811061197857611977614f3a565b5b90600052602060002090600502016000015481101580156119be5750600b82815481106119a8576119a7614f3a565b5b9060005260206000209060050201600101548111155b6119fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119f49061559f565b60405180910390fd5b846000600b8281548110611a1457611a13614f3a565b5b9060005260206000209060050201600401541480611a565750600b8181548110611a4157611a40614f3a565b5b90600052602060002090600502016004015442105b611a95576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a8c90615337565b60405180910390fd5b611af2600b8781548110611aac57611aab614f3a565b5b906000526020600020906005020160000154600b8881548110611ad257611ad1614f3a565b5b90600052602060002090600502016001015461348b90919063ffffffff16565b600b8781548110611b0657611b05614f3a565b5b90600052602060002090600502016002015411158015611b2b5750611b29611fcd565b155b611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b619061560b565b60405180910390fd5b6001600b8781548110611b8057611b7f614f3a565b5b90600052602060002090600502016002016000828254611ba09190614fe1565b92505081905550611bb18585613085565b505050505050565b6000731b6284b63ad8e0b0e254500869896153a2260d1c606083901c14611be35760009050611c2e565b600164ffffffffff831614611bfb5760009050611c2e565b6000611c0683612268565b9050600181108015611c1957506103e881115b15611c28576000915050611c2e565b60019150505b919050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6000600b80549050905090565b606060018054611c7990614d52565b80601f0160208091040260200160405190810160405280929190818152602001828054611ca590614d52565b8015611cf25780601f10611cc757610100808354040283529160200191611cf2565b820191906000526020600020905b815481529060010190602001808311611cd557829003601f168201915b5050505050905090565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166369babd3b6040518163ffffffff1660e01b815260040160206040518083038186803b158015611d6457600080fd5b505afa158015611d78573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d9c9190615252565b600881905550565b611dac612fae565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1190615677565b60405180910390fd5b8060056000611e27612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ed4612fae565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f199190614207565b60405180910390a35050565b6001151560076000611f35612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514611fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb6906152cb565b60405180910390fd5b611fc982826130be565b5050565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663b187bd266040518163ffffffff1660e01b815260040160206040518083038186803b15801561203757600080fd5b505afa15801561204b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061206f91906156ac565b905090565b61208561207f612fae565b83613151565b6120c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120bb906151df565b60405180910390fd5b6120d084848484613567565b50505050565b60606120e182612f42565b612120576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121179061574b565b60405180910390fd5b600061212a6135c3565b9050600081511161214a5760405180602001604052806000815250612175565b8061215484613655565b6040516020016121659291906157a7565b6040516020818303038152906040525b915050919050565b612185612fae565b73ffffffffffffffffffffffffffffffffffffffff166121a3611c33565b73ffffffffffffffffffffffffffffffffffffffff16146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f0906153a3565b60405180910390fd5b80600960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612245816001611502565b61224d611cfc565b50565b600c6020528060005260406000206000915090505481565b600060286bffffffffffffff00000000008316901c915060c882141561229c5760348261229591906157cb565b905061243b565b60cd8214156122b9576038826122b291906157cb565b905061243b565b60d68214156122d6576043826122cf91906157cb565b905061243b565b60508214156122f357604f826122ec91906157cb565b905061243b565b60e88214156123105760568261230991906157cb565b905061243b565b60f482141561232d57606e8261232691906157cb565b905061243b565b60f582141561234a5760818261234391906157cb565b905061243b565b60f782141561236757608c8261236091906157cb565b905061243b565b60f68214156123845760908261237d91906157cb565b905061243b565b60fa8210156123a15760628261239a91906157cb565b905061243b565b6101908210156123bf576063826123b891906157cb565b905061243b565b61023a8210156123dd576077826123d691906157cb565b905061243b565b6103038210156123fb576078826123f491906157cb565b905061243b565b61034882101561241957607b8261241291906157cb565b905061243b565b61046582101561243757607c8261243091906157cb565b905061243b565b8190505b919050565b600d602052816000526040600020602052806000526040600020600091509150505481565b6001151560076000612475612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515146124ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f6906152cb565b60405180910390fd5b8181600b828154811061251557612514614f3a565b5b906000526020600020906005020160000154811015801561255b5750600b828154811061254557612544614f3a565b5b9060005260206000209060050201600101548111155b61259a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125919061559f565b60405180910390fd5b6000600b85815481106125b0576125af614f3a565b5b9060005260206000209060050201600301541180156125d457506125d2611fcd565b155b80156125e157506103e883115b612620576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126179061584b565b60405180910390fd5b61263161262b612fae565b84613151565b61263a57600080fd5b6001600b85815481106126505761264f614f3a565b5b9060005260206000209060050201600201600082825461267091906157cb565b92505081905550612680836137b6565b50505050565b600f805461269390614d52565b80601f01602080910402602001604051908101604052809291908181526020018280546126bf90614d52565b801561270c5780601f106126e15761010080835404028352916020019161270c565b820191906000526020600020905b8154815290600101906020018083116126ef57829003601f168201915b505050505081565b6001151560076000612724612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16151514806127b3575061277d611c33565b73ffffffffffffffffffffffffffffffffffffffff1661279b612fae565b73ffffffffffffffffffffffffffffffffffffffff16145b6127f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e9906152cb565b60405180910390fd5b80600b838154811061280757612806614f3a565b5b906000526020600020906005020160008201518160000155602082015181600101556040820151816002015560608201518160030155608082015181600401559050505050565b60085481565b600061285f826138c7565b9050919050565b6001151560076000612876612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff161515148061290557506128cf611c33565b73ffffffffffffffffffffffffffffffffffffffff166128ed612fae565b73ffffffffffffffffffffffffffffffffffffffff16145b612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293b906152cb565b60405180910390fd5b80601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612990816001611502565b50565b60011515600760006129a3612fae565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151480612a3257506129fc611c33565b73ffffffffffffffffffffffffffffffffffffffff16612a1a612fae565b73ffffffffffffffffffffffffffffffffffffffff16145b612a71576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a68906152cb565b60405180910390fd5b600b8190806001815401808255809150506001900390600052602060002090600502016000909190919091506000820151816000015560208201518160010155604082015181600201556060820151816003015560808201518160040155505050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6000600a54905090565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b73495f947276749ce646f68ac8c248420045cb7b5e81565b612bb8612fae565b73ffffffffffffffffffffffffffffffffffffffff16612bd6611c33565b73ffffffffffffffffffffffffffffffffffffffff1614612c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c23906153a3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612c9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c93906158dd565b60405180910390fd5b612ca5816134a1565b50565b60008151118015612cbe5750612cbc611fcd565b155b612cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf490615949565b60405180910390fd5b60005b8151811015612db357612d11612fae565b73ffffffffffffffffffffffffffffffffffffffff16612d4a838381518110612d3d57612d3c614f3a565b5b602002602001015161166f565b73ffffffffffffffffffffffffffffffffffffffff1614612da0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d97906159b5565b60405180910390fd5b8080612dab90614f98565b915050612d00565b50601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663706be11f3083612dfc612fae565b6040518463ffffffff1660e01b8152600401612e1a939291906159d5565b600060405180830381600087803b158015612e3457600080fd5b505af1158015612e48573d6000803e3d6000fd5b5050505060005b8151811015612e8e57612e7b828281518110612e6e57612e6d614f3a565b5b60200260200101516130a3565b8080612e8690614f98565b915050612e4f565b5050565b600b8181548110612ea257600080fd5b90600052602060002090600502016000915090508060000154908060010154908060020154908060030154908060040154905085565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166130298361166f565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818361307d9190614fe1565b905092915050565b61309f8282604051806020016040528060008152506138e1565b5050565b42600c60008381526020019081526020016000208190555050565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9fc507b83836040518363ffffffff1660e01b815260040161311b929190615a13565b600060405180830381600087803b15801561313557600080fd5b505af1158015613149573d6000803e3d6000fd5b505050505050565b600061315c82612f42565b61319b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161319290615aae565b60405180910390fd5b60006131a68361166f565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061321557508373ffffffffffffffffffffffffffffffffffffffff166131fd84610b99565b73ffffffffffffffffffffffffffffffffffffffff16145b8061322657506132258185612ad4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661324f8261166f565b73ffffffffffffffffffffffffffffffffffffffff16146132a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161329c90615b40565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613315576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161330c90615bd2565b60405180910390fd5b61332083838361393c565b61332b600082612fb6565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461337b91906157cb565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133d29190614fe1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000818361349991906157cb565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61357284848461322f565b61357e84848484613b5e565b6135bd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b490615c64565b60405180910390fd5b50505050565b6060600f80546135d290614d52565b80601f01602080910402602001604051908101604052809291908181526020018280546135fe90614d52565b801561364b5780601f106136205761010080835404028352916020019161364b565b820191906000526020600020905b81548152906001019060200180831161362e57829003601f168201915b5050505050905090565b6060600082141561369d576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506137b1565b600082905060005b600082146136cf5780806136b890614f98565b915050600a826136c89190615cb3565b91506136a5565b60008167ffffffffffffffff8111156136eb576136ea614504565b5b6040519080825280601f01601f19166020018201604052801561371d5781602001600182028036833780820191505090505b5090505b600085146137aa5760018261373691906157cb565b9150600a856137459190615ce4565b60306137519190614fe1565b60f81b81838151811061376757613766614f3a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856137a39190615cb3565b9450613721565b8093505050505b919050565b60006137c18261166f565b90506137cf8160008461393c565b6137da600083612fb6565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461382a91906157cb565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60006138da826138d5611721565b6118af565b9050919050565b6138eb8383613cf5565b6138f86000848484613b5e565b613937576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161392e90615c64565b60405180910390fd5b505050565b613947838383613ec3565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561398b576139868183613ec8565b6139ca565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146139c9576139c88184613f47565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613a0e57613a098184613f47565b613a88565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614158015613a775750600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614155b15613a8757613a868183613ec8565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614158015613ac757506103e88111155b15613b59576000600167ffffffffffffffff811115613ae957613ae8614504565b5b604051908082528060200260200182016040528015613b175781602001602082028036833780820191505090505b5090508181600081518110613b2f57613b2e614f3a565b5b602002602001018181525050613b4e84613b498342610f86565b6130be565b613b57826130a3565b505b505050565b6000613b7f8473ffffffffffffffffffffffffffffffffffffffff1661409d565b15613ce8578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613ba8612fae565b8786866040518563ffffffff1660e01b8152600401613bca9493929190615d59565b602060405180830381600087803b158015613be457600080fd5b505af1925050508015613c1557506040513d601f19601f82011682018060405250810190613c129190615dba565b60015b613c98573d8060008114613c45576040519150601f19603f3d011682016040523d82523d6000602084013e613c4a565b606091505b50600081511415613c90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c8790615c64565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613ced565b600190505b949350505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613d65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613d5c90615e33565b60405180910390fd5b613d6e81612f42565b15613dae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613da590615e9f565b60405180910390fd5b613dba6000838361393c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613e0a9190614fe1565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6000613ed38261176f565b905082600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000208190555080600e600085815260200190815260200160002081905550505050565b6000613f528261176f565b90506000600e60008581526020019081526020016000205490506000600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000600185613fbc91906157cb565b81526020019081526020016000205490508085146140425780600d60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008481526020019081526020016000208190555081600e6000838152602001908152602001600020819055505b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000868152602001908152602001600020600090555050505050565b600080823b905060008111915050919050565b8280546140bc90614d52565b90600052602060002090601f0160209004810192826140de5760008555614125565b82601f106140f757805160ff1916838001178555614125565b82800160010185558215614125579182015b82811115614124578251825591602001919060010190614109565b5b5090506141329190614136565b5090565b5b8082111561414f576000816000905550600101614137565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61419c81614167565b81146141a757600080fd5b50565b6000813590506141b981614193565b92915050565b6000602082840312156141d5576141d461415d565b5b60006141e3848285016141aa565b91505092915050565b60008115159050919050565b614201816141ec565b82525050565b600060208201905061421c60008301846141f8565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561425c578082015181840152602081019050614241565b8381111561426b576000848401525b50505050565b6000601f19601f8301169050919050565b600061428d82614222565b614297818561422d565b93506142a781856020860161423e565b6142b081614271565b840191505092915050565b600060208201905081810360008301526142d58184614282565b905092915050565b6000819050919050565b6142f0816142dd565b81146142fb57600080fd5b50565b60008135905061430d816142e7565b92915050565b6000602082840312156143295761432861415d565b5b6000614337848285016142fe565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061436b82614340565b9050919050565b61437b81614360565b82525050565b60006020820190506143966000830184614372565b92915050565b6143a581614360565b81146143b057600080fd5b50565b6000813590506143c28161439c565b92915050565b600080604083850312156143df576143de61415d565b5b60006143ed858286016143b3565b92505060206143fe858286016142fe565b9150509250929050565b6000819050919050565b600061442d61442861442384614340565b614408565b614340565b9050919050565b600061443f82614412565b9050919050565b600061445182614434565b9050919050565b61446181614446565b82525050565b600060208201905061447c6000830184614458565b92915050565b61448b816142dd565b82525050565b60006020820190506144a66000830184614482565b92915050565b6000806000606084860312156144c5576144c461415d565b5b60006144d3868287016143b3565b93505060206144e4868287016143b3565b92505060406144f5868287016142fe565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61453c82614271565b810181811067ffffffffffffffff8211171561455b5761455a614504565b5b80604052505050565b600061456e614153565b905061457a8282614533565b919050565b600067ffffffffffffffff82111561459a57614599614504565b5b602082029050602081019050919050565b600080fd5b60006145c36145be8461457f565b614564565b905080838252602082019050602084028301858111156145e6576145e56145ab565b5b835b8181101561460f57806145fb88826142fe565b8452602084019350506020810190506145e8565b5050509392505050565b600082601f83011261462e5761462d6144ff565b5b813561463e8482602086016145b0565b91505092915050565b6000806040838503121561465e5761465d61415d565b5b600083013567ffffffffffffffff81111561467c5761467b614162565b5b61468885828601614619565b9250506020614699858286016142fe565b9150509250929050565b6000602082840312156146b9576146b861415d565b5b60006146c7848285016143b3565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b614705816142dd565b82525050565b600061471783836146fc565b60208301905092915050565b6000602082019050919050565b600061473b826146d0565b61474581856146db565b9350614750836146ec565b8060005b83811015614781578151614768888261470b565b975061477383614723565b925050600181019050614754565b5085935050505092915050565b600060208201905081810360008301526147a88184614730565b905092915050565b6147b9816141ec565b81146147c457600080fd5b50565b6000813590506147d6816147b0565b92915050565b600080604083850312156147f3576147f261415d565b5b6000614801858286016143b3565b9250506020614812858286016147c7565b9150509250929050565b600080fd5b600067ffffffffffffffff82111561483c5761483b614504565b5b61484582614271565b9050602081019050919050565b82818337600083830152505050565b600061487461486f84614821565b614564565b9050828152602081018484840111156148905761488f61481c565b5b61489b848285614852565b509392505050565b600082601f8301126148b8576148b76144ff565b5b81356148c8848260208601614861565b91505092915050565b6000602082840312156148e7576148e661415d565b5b600082013567ffffffffffffffff81111561490557614904614162565b5b614911848285016148a3565b91505092915050565b600080604083850312156149315761493061415d565b5b600061493f858286016142fe565b9250506020614950858286016142fe565b9150509250929050565b6000806000606084860312156149735761497261415d565b5b6000614981868287016142fe565b9350506020614992868287016143b3565b92505060406149a3868287016142fe565b9150509250925092565b600067ffffffffffffffff8211156149c8576149c7614504565b5b6149d182614271565b9050602081019050919050565b60006149f16149ec846149ad565b614564565b905082815260208101848484011115614a0d57614a0c61481c565b5b614a18848285614852565b509392505050565b600082601f830112614a3557614a346144ff565b5b8135614a458482602086016149de565b91505092915050565b60008060008060808587031215614a6857614a6761415d565b5b6000614a76878288016143b3565b9450506020614a87878288016143b3565b9350506040614a98878288016142fe565b925050606085013567ffffffffffffffff811115614ab957614ab8614162565b5b614ac587828801614a20565b91505092959194509250565b600080fd5b600060a08284031215614aec57614aeb614ad1565b5b614af660a0614564565b90506000614b06848285016142fe565b6000830152506020614b1a848285016142fe565b6020830152506040614b2e848285016142fe565b6040830152506060614b42848285016142fe565b6060830152506080614b56848285016142fe565b60808301525092915050565b60008060c08385031215614b7957614b7861415d565b5b6000614b87858286016142fe565b9250506020614b9885828601614ad6565b9150509250929050565b600060a08284031215614bb857614bb761415d565b5b6000614bc684828501614ad6565b91505092915050565b60008060408385031215614be657614be561415d565b5b6000614bf4858286016143b3565b9250506020614c05858286016143b3565b9150509250929050565b6000614c1a82614434565b9050919050565b614c2a81614c0f565b82525050565b6000602082019050614c456000830184614c21565b92915050565b6000614c5682614434565b9050919050565b614c6681614c4b565b82525050565b6000602082019050614c816000830184614c5d565b92915050565b600060208284031215614c9d57614c9c61415d565b5b600082013567ffffffffffffffff811115614cbb57614cba614162565b5b614cc784828501614619565b91505092915050565b600060a082019050614ce56000830188614482565b614cf26020830187614482565b614cff6040830186614482565b614d0c6060830185614482565b614d196080830184614482565b9695505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614d6a57607f821691505b60208210811415614d7e57614d7d614d23565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614de0602c8361422d565b9150614deb82614d84565b604082019050919050565b60006020820190508181036000830152614e0f81614dd3565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614e7260218361422d565b9150614e7d82614e16565b604082019050919050565b60006020820190508181036000830152614ea181614e65565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614f0460388361422d565b9150614f0f82614ea8565b604082019050919050565b60006020820190508181036000830152614f3381614ef7565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614fa3826142dd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614fd657614fd5614f69565b5b600182019050919050565b6000614fec826142dd565b9150614ff7836142dd565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561502c5761502b614f69565b5b828201905092915050565b7f4d6178206c696d6974206f7220696e76616c6964000000000000000000000000600082015250565b600061506d60148361422d565b915061507882615037565b602082019050919050565b6000602082019050818103600083015261509c81615060565b9050919050565b6000819050919050565b60006150c86150c36150be846150a3565b614408565b6142dd565b9050919050565b6150d8816150ad565b82525050565b600082825260208201905092915050565b50565b60006150ff6000836150de565b915061510a826150ef565b600082019050919050565b600060a08201905061512a6000830187614372565b6151376020830186614372565b6151446040830185614482565b61515160608301846150cf565b8181036080830152615162816150f2565b905095945050505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006151c960318361422d565b91506151d48261516d565b604082019050919050565b600060208201905081810360008301526151f8816151bc565b9050919050565b60006060820190506152146000830186614372565b81810360208301526152268185614730565b90506152356040830184614482565b949350505050565b60008151905061524c816142e7565b92915050565b6000602082840312156152685761526761415d565b5b60006152768482850161523d565b91505092915050565b7f4e6f7420616c6c6f776564000000000000000000000000000000000000000000600082015250565b60006152b5600b8361422d565b91506152c08261527f565b602082019050919050565b600060208201905081810360008301526152e4816152a8565b9050919050565b7f54696d65206c696d697400000000000000000000000000000000000000000000600082015250565b6000615321600a8361422d565b915061532c826152eb565b602082019050919050565b6000602082019050818103600083015261535081615314565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061538d60208361422d565b915061539882615357565b602082019050919050565b600060208201905081810360008301526153bc81615380565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061541f60298361422d565b915061542a826153c3565b604082019050919050565b6000602082019050818103600083015261544e81615412565b9050919050565b7f456e642052657761726473206572726f72000000000000000000000000000000600082015250565b600061548b60118361422d565b915061549682615455565b602082019050919050565b600060208201905081810360008301526154ba8161547e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061551d602a8361422d565b9150615528826154c1565b604082019050919050565b6000602082019050818103600083015261554c81615510565b9050919050565b7f4e6f7420696e2072616e67650000000000000000000000000000000000000000600082015250565b6000615589600c8361422d565b915061559482615553565b602082019050919050565b600060208201905081810360008301526155b88161557c565b9050919050565b7f4d617820737570706c79206f7220706175736564000000000000000000000000600082015250565b60006155f560148361422d565b9150615600826155bf565b602082019050919050565b60006020820190508181036000830152615624816155e8565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b600061566160198361422d565b915061566c8261562b565b602082019050919050565b6000602082019050818103600083015261569081615654565b9050919050565b6000815190506156a6816147b0565b92915050565b6000602082840312156156c2576156c161415d565b5b60006156d084828501615697565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615735602f8361422d565b9150615740826156d9565b604082019050919050565b6000602082019050818103600083015261576481615728565b9050919050565b600081905092915050565b600061578182614222565b61578b818561576b565b935061579b81856020860161423e565b80840191505092915050565b60006157b38285615776565b91506157bf8284615776565b91508190509392505050565b60006157d6826142dd565b91506157e1836142dd565b9250828210156157f4576157f3614f69565b5b828203905092915050565b7f4e6f74206275726e61626c65206f7220706175736564206f72203e2031303030600082015250565b600061583560208361422d565b9150615840826157ff565b602082019050919050565b6000602082019050818103600083015261586481615828565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006158c760268361422d565b91506158d28261586b565b604082019050919050565b600060208201905081810360008301526158f6816158ba565b9050919050565b7f546f6b656e7320656d7074790000000000000000000000000000000000000000600082015250565b6000615933600c8361422d565b915061593e826158fd565b602082019050919050565b6000602082019050818103600083015261596281615926565b9050919050565b7f426164206f776e65720000000000000000000000000000000000000000000000600082015250565b600061599f60098361422d565b91506159aa82615969565b602082019050919050565b600060208201905081810360008301526159ce81615992565b9050919050565b60006060820190506159ea6000830186614372565b81810360208301526159fc8185614730565b9050615a0b6040830184614372565b949350505050565b6000604082019050615a286000830185614372565b615a356020830184614482565b9392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615a98602c8361422d565b9150615aa382615a3c565b604082019050919050565b60006020820190508181036000830152615ac781615a8b565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000615b2a60298361422d565b9150615b3582615ace565b604082019050919050565b60006020820190508181036000830152615b5981615b1d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615bbc60248361422d565b9150615bc782615b60565b604082019050919050565b60006020820190508181036000830152615beb81615baf565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615c4e60328361422d565b9150615c5982615bf2565b604082019050919050565b60006020820190508181036000830152615c7d81615c41565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615cbe826142dd565b9150615cc9836142dd565b925082615cd957615cd8615c84565b5b828204905092915050565b6000615cef826142dd565b9150615cfa836142dd565b925082615d0a57615d09615c84565b5b828206905092915050565b600081519050919050565b6000615d2b82615d15565b615d3581856150de565b9350615d4581856020860161423e565b615d4e81614271565b840191505092915050565b6000608082019050615d6e6000830187614372565b615d7b6020830186614372565b615d886040830185614482565b8181036060830152615d9a8184615d20565b905095945050505050565b600081519050615db481614193565b92915050565b600060208284031215615dd057615dcf61415d565b5b6000615dde84828501615da5565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615e1d60208361422d565b9150615e2882615de7565b602082019050919050565b60006020820190508181036000830152615e4c81615e10565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615e89601c8361422d565b9150615e9482615e53565b602082019050919050565b60006020820190508181036000830152615eb881615e7c565b905091905056fea2646970667358221220348511a90b0eafa983565861fa796e355502649e98c09b8eebf283c2efb2821c64736f6c63430008090033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f6170692e63727970746f666f7865732e696f2f6f726967696e2f000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseURI (string): https://api.cryptofoxes.io/origin/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [2] : 68747470733a2f2f6170692e63727970746f666f7865732e696f2f6f72696769
Arg [3] : 6e2f000000000000000000000000000000000000000000000000000000000000


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

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