ETH Price: $3,003.64 (+3.86%)
Gas: 11 Gwei

Token

PartyDegenerates (PARTY)
 

Overview

Max Total Supply

10,000 PARTY

Holders

3,619

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
d3rwisj.eth
Balance
1 PARTY
0xeb0e6ecd0e78b0a84ecd9663a041f453c454a99d
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Party Degenerates are a collection of 10,000 NFTs representing the rebellious spirit of those who choose to celebrate life, rather than merely living it.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
PartyDegenerates

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : PartyDegenerates.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.4.22 <0.9.0;

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

// ______          _          ______                                     _
// | ___ \        | |         |  _  \                                   | |
// | |_/ /_ _ _ __| |_ _   _  | | | |___  __ _  ___ _ __   ___ _ __ __ _| |_ ___  ___
// |  __/ _` | '__| __| | | | | | | / _ \/ _` |/ _ \ '_ \ / _ \ '__/ _` | __/ _ \/ __|
// | | | (_| | |  | |_| |_| | | |/ /  __/ (_| |  __/ | | |  __/ | | (_| | ||  __/\__ \
// \_|  \__,_|_|   \__|\__, | |___/ \___|\__, |\___|_| |_|\___|_|  \__,_|\__\___||___/
//                      __/ |             __/ |
//                     |___/             |___/

contract PartyDegenerates is ERC721Enumerable, Ownable, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeMath for uint16;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    uint256 public constant DEGENERATES_END_PRICE = 500000000000000000; //0.5 ETH
    uint16 public constant MAX_DEGENERATES_PER_TRANSACTION = 20;
    uint16 public constant MAX_DEGENERATES_TO_MINT = 10000;
    uint16 public constant NUM_RESERVED_NFTS = 200; //number of reserved NFTs for the team
    address RESERVE_VAULT_WALLET = 0x57Fd59f4F3095FEf355FbE65f60A1af89eC2Ead3; //send the reserved NFTs to this wallet before activating the public sale

    string public degeneratesProvenance;
    bool public provenanceLocked = false;
    //used to shift the token ids to the right by a random number of positions
    uint256 public indexRightShift;

    string private baseURI;

    // Public sale params
    uint256 public publicSaleDuration;
    uint256 public publicSaleStartTime;
    // Sale switch
    bool public publicSaleActive = false;

    // Public sale starting price - mutable, in case we need to pause and restart the sale
    uint256 public publicSaleDegenerateStartingPrice;

    //number of reserved NFTs minted
    uint256 public numReservedDegeneratesMinted;

    bool public locked = false;

    constructor(string memory name, string memory symbol)
        ERC721(name, symbol)
    {}

    event PublicSaleStart(
        uint256 indexed _saleDuration,
        uint256 indexed _saleStartTime
    );

    event PublicSalePaused(
        uint256 indexed _currentPrice,
        uint256 indexed _timeElapsed
    );

    modifier notLocked() {
        require(!locked, "Contract methods are locked");
        _;
    }

    modifier notProvenanceLocked() {
        require(!provenanceLocked, "Provenance methods are locked");
        _;
    }

    modifier whenPublicSaleActive() {
        require(publicSaleActive, "Public sale is not active");
        _;
    }

    /*
    0	saleDuration	uint256	86400 sec = 24 hours
    1	saleStartPrice	uint256	2500000000000000000 wei = 2.5ETH
    */

    function startPublicSale(uint256 saleDuration, uint256 saleStartPrice)
        external
        onlyOwner
        notLocked
    {
        require(!publicSaleActive, "Public sale has already begun");
        publicSaleDuration = saleDuration;
        publicSaleDegenerateStartingPrice = saleStartPrice;
        publicSaleStartTime = block.timestamp;
        publicSaleActive = true;
        emit PublicSaleStart(saleDuration, publicSaleStartTime);
    }

    function lockContract() external onlyOwner notLocked {
        publicSaleActive = false;
        locked = true;
    }

    function pausePublicSale()
        external
        onlyOwner
        whenPublicSaleActive
        notLocked
    {
        uint256 currentSalePrice = getMintPrice();
        uint256 elapsedTime = getElapsedSaleTime();
        publicSaleStartTime = 0;
        publicSaleActive = false;
        emit PublicSalePaused(currentSalePrice, elapsedTime);
    }

    function getElapsedSaleTime() internal view returns (uint256) {
        return
            publicSaleStartTime > 0 ? block.timestamp - publicSaleStartTime : 0;
    }

    function getRemainingSaleTime() external view returns (uint256) {
        if (publicSaleStartTime == 0) {
            return 604800; //returns one week, this is the equivalent with publicSale has not started yet
        }
        if (getElapsedSaleTime() >= publicSaleDuration) {
            return 0;
        }

        return (publicSaleStartTime + publicSaleDuration) - block.timestamp;
    }

    function getMintPrice() public view returns (uint256) {
        if (!publicSaleActive) {
            return 0;
        }
        uint256 elapsed = getElapsedSaleTime();
        if (elapsed >= publicSaleDuration) {
            return DEGENERATES_END_PRICE;
        } else {
            int256 tempPrice = int256(publicSaleDegenerateStartingPrice) +
                ((int256(DEGENERATES_END_PRICE) -
                    int256(publicSaleDegenerateStartingPrice)) /
                    int256(publicSaleDuration)) *
                int256(elapsed);
            uint256 currentPrice = uint256(tempPrice);
            return
                currentPrice > DEGENERATES_END_PRICE
                    ? currentPrice
                    : DEGENERATES_END_PRICE;
        }
    }

    /* 
        Mints the reserved NFTs for partners, artists etc. 
    */
    function reserve(uint256 numDegeneratesToMint)
        public
        onlyOwner
        nonReentrant
        notLocked
    {
        require(
            numReservedDegeneratesMinted + numDegeneratesToMint <=
                NUM_RESERVED_NFTS,
            "Minting would exceed max supply of reserved NFTs"
        );
        require(numDegeneratesToMint > 0, "Must mint at least one degenerate");
        require(
            numDegeneratesToMint <= 50, //hardcoded to 50
            "Requested number exceeds maximum degenerates per transaction (50)"
        );

        for (uint256 i = 0; i < numDegeneratesToMint; i++) {
            if (_tokenIds.current() < MAX_DEGENERATES_TO_MINT) {
                _safeMint(RESERVE_VAULT_WALLET, _tokenIds.current());
                numReservedDegeneratesMinted = numReservedDegeneratesMinted + 1;
                _tokenIds.increment();
            }
        }
    }

    function _totalMinted() internal view returns (uint256) {
        return _tokenIds.current();
    }

    function getTotalMinted() public view returns (uint256) {
        return _totalMinted();
    }

    function mintDegenerates(uint256 numDegeneratesToMint)
        external
        payable
        whenPublicSaleActive
        nonReentrant
        notLocked
    {
        require(
            _tokenIds.current() + numDegeneratesToMint <=
                MAX_DEGENERATES_TO_MINT,
            "Minting would exceed max supply"
        );
        require(numDegeneratesToMint > 0, "Must mint at least one degenerate");
        require(
            numDegeneratesToMint <= MAX_DEGENERATES_PER_TRANSACTION,
            "Requested number exceeds maximum degenerates per transaction"
        );

        uint256 costToMint = getMintPrice() * numDegeneratesToMint;
        require(costToMint <= msg.value, "Ether value sent is not correct");

        for (uint256 i = 0; i < numDegeneratesToMint; i++) {
            if (_tokenIds.current() < MAX_DEGENERATES_TO_MINT) {
                _safeMint(msg.sender, _tokenIds.current());
                _tokenIds.increment();
            }
        }

        if (msg.value > costToMint) {
            Address.sendValue(payable(msg.sender), msg.value - costToMint);
        }
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(owner()), balance);
    }

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

    function setBaseURI(string memory uri) external onlyOwner notLocked {
        baseURI = uri;
    }

    function setProvenance(string memory provenance)
        external
        onlyOwner
        notLocked
        notProvenanceLocked
    {
        degeneratesProvenance = provenance;
        indexRightShift =
            random(degeneratesProvenance) %
            MAX_DEGENERATES_TO_MINT;
        //lock provenance
        provenanceLocked = true;
    }

    function random(string memory provenance) private view returns (uint256) {
        return
            uint256(
                keccak256(
                    abi.encodePacked(
                        block.difficulty,
                        block.timestamp,
                        provenance
                    )
                )
            );
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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

pragma solidity ^0.8.0;

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

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

File 8 of 16 : 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 9 of 16 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_currentPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_timeElapsed","type":"uint256"}],"name":"PublicSalePaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_saleDuration","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"_saleStartTime","type":"uint256"}],"name":"PublicSaleStart","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":"DEGENERATES_END_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DEGENERATES_PER_TRANSACTION","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_DEGENERATES_TO_MINT","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"NUM_RESERVED_NFTS","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":"degeneratesProvenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRemainingSaleTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"indexRightShift","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":"lockContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numDegeneratesToMint","type":"uint256"}],"name":"mintDegenerates","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"numReservedDegeneratesMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pausePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"provenanceLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleDegenerateStartingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numDegeneratesToMint","type":"uint256"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenance","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleDuration","type":"uint256"},{"internalType":"uint256","name":"saleStartPrice","type":"uint256"}],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040527357fd59f4f3095fef355fbe65f60a1af89ec2ead3600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600f60006101000a81548160ff0219169083151502179055506000601460006101000a81548160ff0219169083151502179055506000601760006101000a81548160ff021916908315150217905550348015620000b757600080fd5b5060405162005a9238038062005a928339818101604052810190620000dd919062000333565b81818160009080519060200190620000f792919062000211565b5080600190805190602001906200011092919062000211565b50505062000133620001276200014360201b60201c565b6200014b60201b60201c565b6001600b81905550505062000516565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200021f906200043b565b90600052602060002090601f0160209004810192826200024357600085556200028f565b82601f106200025e57805160ff19168380011785556200028f565b828001600101855582156200028f579182015b828111156200028e57825182559160200191906001019062000271565b5b5090506200029e9190620002a2565b5090565b5b80821115620002bd576000816000905550600101620002a3565b5090565b6000620002d8620002d284620003cf565b620003a6565b905082815260208101848484011115620002f157600080fd5b620002fe84828562000405565b509392505050565b600082601f8301126200031857600080fd5b81516200032a848260208601620002c1565b91505092915050565b600080604083850312156200034757600080fd5b600083015167ffffffffffffffff8111156200036257600080fd5b620003708582860162000306565b925050602083015167ffffffffffffffff8111156200038e57600080fd5b6200039c8582860162000306565b9150509250929050565b6000620003b2620003c5565b9050620003c0828262000471565b919050565b6000604051905090565b600067ffffffffffffffff821115620003ed57620003ec620004d6565b5b620003f88262000505565b9050602081019050919050565b60005b838110156200042557808201518184015260208101905062000408565b8381111562000435576000848401525b50505050565b600060028204905060018216806200045457607f821691505b602082108114156200046b576200046a620004a7565b5b50919050565b6200047c8262000505565b810181811067ffffffffffffffff821117156200049e576200049d620004d6565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b61556c80620005266000396000f3fe60806040526004361061025c5760003560e01c806370a0823111610144578063bc8893b4116100b6578063dfedadf01161007a578063dfedadf0146108a7578063e48e57a7146108d2578063e985e9c5146108fd578063f2fde38b1461093a578063fd48354e14610963578063ffe630b51461098e5761025c565b8063bc8893b4146107be578063c1d4c1d6146107e9578063c87b56dd14610814578063cf30901214610851578063d83d57271461087c5761025c565b806395d89b411161010857806395d89b41146106cf578063a22cb465146106fa578063a7f93ebd14610723578063b0e7f5501461074e578063b88d4fde1461076a578063b8e452af146107935761025c565b806370a0823114610610578063715018a61461064d578063753868e314610664578063819b25ba1461067b5780638da5cb5b146106a45761025c565b80633a12e933116101dd57806355f804b3116101a157806355f804b3146104fe578063567ac4f6146105275780636352211e146105525780636bb7b1d91461058f5780636c090c3f146105ba5780636e70f08e146105e55761025c565b80633a12e9331461042d5780633a8879bb146104565780633ccfd60b1461048157806342842e0e146104985780634f6ccce7146104c15761025c565b80630ca1c5c9116102245780630ca1c5c91461034657806318160ddd14610371578063181a0b1a1461039c57806323b872dd146103c75780632f745c59146103f05761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630c41f4971461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613a59565b6109b7565b6040516102959190614180565b60405180910390f35b3480156102aa57600080fd5b506102b3610a31565b6040516102c0919061419b565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613aec565b610ac3565b6040516102fd9190614119565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613a1d565b610b48565b005b34801561033b57600080fd5b50610344610c60565b005b34801561035257600080fd5b5061035b610de8565b60405161036891906145b8565b60405180910390f35b34801561037d57600080fd5b50610386610df7565b60405161039391906145b8565b60405180910390f35b3480156103a857600080fd5b506103b1610e04565b6040516103be91906145b8565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190613917565b610e0a565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613a1d565b610e6a565b60405161042491906145b8565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f9190613b15565b610f0f565b005b34801561046257600080fd5b5061046b61108f565b6040516104789190614180565b60405180910390f35b34801561048d57600080fd5b506104966110a2565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190613917565b611137565b005b3480156104cd57600080fd5b506104e860048036038101906104e39190613aec565b611157565b6040516104f591906145b8565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190613aab565b6111ee565b005b34801561053357600080fd5b5061053c6112d4565b60405161054991906145b8565b60405180910390f35b34801561055e57600080fd5b5061057960048036038101906105749190613aec565b611325565b6040516105869190614119565b60405180910390f35b34801561059b57600080fd5b506105a46113d7565b6040516105b191906145b8565b60405180910390f35b3480156105c657600080fd5b506105cf6113dd565b6040516105dc919061459d565b60405180910390f35b3480156105f157600080fd5b506105fa6113e2565b604051610607919061459d565b60405180910390f35b34801561061c57600080fd5b50610637600480360381019061063291906138b2565b6113e7565b60405161064491906145b8565b60405180910390f35b34801561065957600080fd5b5061066261149f565b005b34801561067057600080fd5b50610679611527565b005b34801561068757600080fd5b506106a2600480360381019061069d9190613aec565b61162b565b005b3480156106b057600080fd5b506106b96118b7565b6040516106c69190614119565b60405180910390f35b3480156106db57600080fd5b506106e46118e1565b6040516106f1919061419b565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c91906139e1565b611973565b005b34801561072f57600080fd5b50610738611af4565b60405161074591906145b8565b60405180910390f35b61076860048036038101906107639190613aec565b611ba5565b005b34801561077657600080fd5b50610791600480360381019061078c9190613966565b611e52565b005b34801561079f57600080fd5b506107a8611eb4565b6040516107b591906145b8565b60405180910390f35b3480156107ca57600080fd5b506107d3611eba565b6040516107e09190614180565b60405180910390f35b3480156107f557600080fd5b506107fe611ecd565b60405161080b91906145b8565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613aec565b611ed9565b604051610848919061419b565b60405180910390f35b34801561085d57600080fd5b50610866611f80565b6040516108739190614180565b60405180910390f35b34801561088857600080fd5b50610891611f93565b60405161089e919061419b565b60405180910390f35b3480156108b357600080fd5b506108bc612021565b6040516108c9919061459d565b60405180910390f35b3480156108de57600080fd5b506108e7612027565b6040516108f491906145b8565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f91906138db565b61202d565b6040516109319190614180565b60405180910390f35b34801561094657600080fd5b50610961600480360381019061095c91906138b2565b6120c1565b005b34801561096f57600080fd5b506109786121b9565b60405161098591906145b8565b60405180910390f35b34801561099a57600080fd5b506109b560048036038101906109b09190613aab565b6121bf565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2a5750610a29826123ba565b5b9050919050565b606060008054610a4090614b34565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6c90614b34565b8015610ab95780601f10610a8e57610100808354040283529160200191610ab9565b820191906000526020600020905b815481529060010190602001808311610a9c57829003601f168201915b5050505050905090565b6000610ace8261249c565b610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b049061441d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5382611325565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb906144fd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be3612508565b73ffffffffffffffffffffffffffffffffffffffff161480610c125750610c1181610c0c612508565b61202d565b5b610c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c489061435d565b60405180910390fd5b610c5b8383612510565b505050565b610c68612508565b73ffffffffffffffffffffffffffffffffffffffff16610c866118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061445d565b60405180910390fd5b601460009054906101000a900460ff16610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906143bd565b60405180910390fd5b601760009054906101000a900460ff1615610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d729061443d565b60405180910390fd5b6000610d85611af4565b90506000610d916125c9565b905060006013819055506000601460006101000a81548160ff02191690831515021790555080827f6349058becdb87a65b3cda491b5893b82a0f75f57ddf0d2fbb373d2371a02a8b60405160405180910390a35050565b6000610df26125ef565b905090565b6000600880549050905090565b60155481565b610e1b610e15612508565b82612600565b610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e519061451d565b60405180910390fd5b610e658383836126de565b505050565b6000610e75836113e7565b8210610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ead906141fd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f17612508565b73ffffffffffffffffffffffffffffffffffffffff16610f356118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f829061445d565b60405180910390fd5b601760009054906101000a900460ff1615610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd29061443d565b60405180910390fd5b601460009054906101000a900460ff161561102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906141dd565b60405180910390fd5b8160128190555080601581905550426013819055506001601460006101000a81548160ff021916908315150217905550601354827ffa7b432778a53a8786452c3cefdd1df8a17f43f9b4587fb4d61b23098e6190af60405160405180910390a35050565b600f60009054906101000a900460ff1681565b6110aa612508565b73ffffffffffffffffffffffffffffffffffffffff166110c86118b7565b73ffffffffffffffffffffffffffffffffffffffff161461111e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111159061445d565b60405180910390fd5b600047905061113461112e6118b7565b8261293a565b50565b61115283838360405180602001604052806000815250611e52565b505050565b6000611161610df7565b82106111a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111999061453d565b60405180910390fd5b600882815481106111dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6111f6612508565b73ffffffffffffffffffffffffffffffffffffffff166112146118b7565b73ffffffffffffffffffffffffffffffffffffffff161461126a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112619061445d565b60405180910390fd5b601760009054906101000a900460ff16156112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b19061443d565b60405180910390fd5b80601190805190602001906112d09291906136d6565b5050565b60008060135414156112eb5762093a809050611322565b6012546112f66125c9565b106113045760009050611322565b42601254601354611315919061473c565b61131f9190614a32565b90505b90565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c59061439d565b60405180910390fd5b80915050919050565b60135481565b60c881565b601481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061437d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114a7612508565b73ffffffffffffffffffffffffffffffffffffffff166114c56118b7565b73ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061445d565b60405180910390fd5b6115256000612a2e565b565b61152f612508565b73ffffffffffffffffffffffffffffffffffffffff1661154d6118b7565b73ffffffffffffffffffffffffffffffffffffffff16146115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a9061445d565b60405180910390fd5b601760009054906101000a900460ff16156115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea9061443d565b60405180910390fd5b6000601460006101000a81548160ff0219169083151502179055506001601760006101000a81548160ff021916908315150217905550565b611633612508565b73ffffffffffffffffffffffffffffffffffffffff166116516118b7565b73ffffffffffffffffffffffffffffffffffffffff16146116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e9061445d565b60405180910390fd5b6002600b5414156116ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e49061455d565b60405180910390fd5b6002600b81905550601760009054906101000a900460ff1615611745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173c9061443d565b60405180910390fd5b60c861ffff1681601654611759919061473c565b111561179a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117919061425d565b60405180910390fd5b600081116117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d4906144dd565b60405180910390fd5b6032811115611821576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611818906141bd565b60405180910390fd5b60005b818110156118ab5761271061ffff1661183d600c612af4565b101561189857611878600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611873600c612af4565b612b02565b6001601654611887919061473c565b601681905550611897600c612b20565b5b80806118a390614b97565b915050611824565b506001600b8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118f090614b34565b80601f016020809104026020016040519081016040528092919081815260200182805461191c90614b34565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b5050505050905090565b61197b612508565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e0906142bd565b60405180910390fd5b80600560006119f6612508565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa3612508565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae89190614180565b60405180910390a35050565b6000601460009054906101000a900460ff16611b135760009050611ba2565b6000611b1d6125c9565b90506012548110611b39576706f05b59d3b20000915050611ba2565b6000816012546015546706f05b59d3b20000611b55919061499e565b611b5f9190614792565b611b69919061482d565b601554611b7691906146a8565b905060008190506706f05b59d3b200008111611b9a576706f05b59d3b20000611b9c565b805b93505050505b90565b601460009054906101000a900460ff16611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb906143bd565b60405180910390fd5b6002600b541415611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c319061455d565b60405180910390fd5b6002600b81905550601760009054906101000a900460ff1615611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c899061443d565b60405180910390fd5b61271061ffff1681611ca4600c612af4565b611cae919061473c565b1115611cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce6906143dd565b60405180910390fd5b60008111611d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d29906144dd565b60405180910390fd5b601461ffff16811115611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d719061457d565b60405180910390fd5b600081611d85611af4565b611d8f9190614944565b905034811115611dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcb906142dd565b60405180910390fd5b60005b82811015611e275761271061ffff16611df0600c612af4565b1015611e1457611e0933611e04600c612af4565b612b02565b611e13600c612b20565b5b8080611e1f90614b97565b915050611dd7565b5080341115611e4657611e45338234611e409190614a32565b61293a565b5b506001600b8190555050565b611e63611e5d612508565b83612600565b611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e999061451d565b60405180910390fd5b611eae84848484612b36565b50505050565b60105481565b601460009054906101000a900460ff1681565b6706f05b59d3b2000081565b6060611ee48261249c565b611f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1a906144bd565b60405180910390fd5b6000611f2d612b92565b90506000815111611f4d5760405180602001604052806000815250611f78565b80611f5784612c24565b604051602001611f689291906140a7565b6040516020818303038152906040525b915050919050565b601760009054906101000a900460ff1681565b600e8054611fa090614b34565b80601f0160208091040260200160405190810160405280929190818152602001828054611fcc90614b34565b80156120195780601f10611fee57610100808354040283529160200191612019565b820191906000526020600020905b815481529060010190602001808311611ffc57829003601f168201915b505050505081565b61271081565b60165481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120c9612508565b73ffffffffffffffffffffffffffffffffffffffff166120e76118b7565b73ffffffffffffffffffffffffffffffffffffffff161461213d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121349061445d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a49061423d565b60405180910390fd5b6121b681612a2e565b50565b60125481565b6121c7612508565b73ffffffffffffffffffffffffffffffffffffffff166121e56118b7565b73ffffffffffffffffffffffffffffffffffffffff161461223b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122329061445d565b60405180910390fd5b601760009054906101000a900460ff161561228b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122829061443d565b60405180910390fd5b600f60009054906101000a900460ff16156122db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d29061447d565b60405180910390fd5b80600e90805190602001906122f19291906136d6565b5061271061ffff1661238c600e805461230990614b34565b80601f016020809104026020016040519081016040528092919081815260200182805461233590614b34565b80156123825780601f1061235757610100808354040283529160200191612382565b820191906000526020600020905b81548152906001019060200180831161236557829003601f168201915b5050505050612dd1565b6123969190614bea565b6010819055506001600f60006101000a81548160ff02191690831515021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061248557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612495575061249482612e08565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661258383611325565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080601354116125db5760006125ea565b601354426125e99190614a32565b5b905090565b60006125fb600c612af4565b905090565b600061260b8261249c565b61264a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126419061433d565b60405180910390fd5b600061265583611325565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126c457508373ffffffffffffffffffffffffffffffffffffffff166126ac84610ac3565b73ffffffffffffffffffffffffffffffffffffffff16145b806126d557506126d4818561202d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126fe82611325565b73ffffffffffffffffffffffffffffffffffffffff1614612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b9061449d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bb9061429d565b60405180910390fd5b6127cf838383612e72565b6127da600082612510565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461282a9190614a32565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612881919061473c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8047101561297d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129749061431d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129a3906140cb565b60006040518083038185875af1925050503d80600081146129e0576040519150601f19603f3d011682016040523d82523d6000602084013e6129e5565b606091505b5050905080612a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a20906142fd565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b612b1c828260405180602001604052806000815250612f86565b5050565b6001816000016000828254019250508190555050565b612b418484846126de565b612b4d84848484612fe1565b612b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b839061421d565b60405180910390fd5b50505050565b606060118054612ba190614b34565b80601f0160208091040260200160405190810160405280929190818152602001828054612bcd90614b34565b8015612c1a5780601f10612bef57610100808354040283529160200191612c1a565b820191906000526020600020905b815481529060010190602001808311612bfd57829003601f168201915b5050505050905090565b60606000821415612c6c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dcc565b600082905060005b60008214612c9e578080612c8790614b97565b915050600a82612c9791906147fc565b9150612c74565b60008167ffffffffffffffff811115612ce0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d125781602001600182028036833780820191505090505b5090505b60008514612dc557600182612d2b9190614a32565b9150600a85612d3a9190614bea565b6030612d46919061473c565b60f81b818381518110612d82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dbe91906147fc565b9450612d16565b8093505050505b919050565b6000444283604051602001612de8939291906140e0565b6040516020818303038152906040528051906020012060001c9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e7d838383613178565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ec057612ebb8161317d565b612eff565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612efe57612efd83826131c6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f4257612f3d81613333565b612f81565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f8057612f7f8282613476565b5b5b505050565b612f9083836134f5565b612f9d6000848484612fe1565b612fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd39061421d565b60405180910390fd5b505050565b60006130028473ffffffffffffffffffffffffffffffffffffffff166136c3565b1561316b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261302b612508565b8786866040518563ffffffff1660e01b815260040161304d9493929190614134565b602060405180830381600087803b15801561306757600080fd5b505af192505050801561309857506040513d601f19601f820116820180604052508101906130959190613a82565b60015b61311b573d80600081146130c8576040519150601f19603f3d011682016040523d82523d6000602084013e6130cd565b606091505b50600081511415613113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310a9061421d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613170565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131d3846113e7565b6131dd9190614a32565b90506000600760008481526020019081526020016000205490508181146132c2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133479190614a32565b905060006009600084815260200190815260200160002054905060006008838154811061339d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061345a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613481836113e7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355c906143fd565b60405180910390fd5b61356e8161249c565b156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a59061427d565b60405180910390fd5b6135ba60008383612e72565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461360a919061473c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546136e290614b34565b90600052602060002090601f016020900481019282613704576000855561374b565b82601f1061371d57805160ff191683800117855561374b565b8280016001018555821561374b579182015b8281111561374a57825182559160200191906001019061372f565b5b509050613758919061375c565b5090565b5b8082111561377557600081600090555060010161375d565b5090565b600061378c613787846145f8565b6145d3565b9050828152602081018484840111156137a457600080fd5b6137af848285614af2565b509392505050565b60006137ca6137c584614629565b6145d3565b9050828152602081018484840111156137e257600080fd5b6137ed848285614af2565b509392505050565b600081359050613804816154da565b92915050565b600081359050613819816154f1565b92915050565b60008135905061382e81615508565b92915050565b60008151905061384381615508565b92915050565b600082601f83011261385a57600080fd5b813561386a848260208601613779565b91505092915050565b600082601f83011261388457600080fd5b81356138948482602086016137b7565b91505092915050565b6000813590506138ac8161551f565b92915050565b6000602082840312156138c457600080fd5b60006138d2848285016137f5565b91505092915050565b600080604083850312156138ee57600080fd5b60006138fc858286016137f5565b925050602061390d858286016137f5565b9150509250929050565b60008060006060848603121561392c57600080fd5b600061393a868287016137f5565b935050602061394b868287016137f5565b925050604061395c8682870161389d565b9150509250925092565b6000806000806080858703121561397c57600080fd5b600061398a878288016137f5565b945050602061399b878288016137f5565b93505060406139ac8782880161389d565b925050606085013567ffffffffffffffff8111156139c957600080fd5b6139d587828801613849565b91505092959194509250565b600080604083850312156139f457600080fd5b6000613a02858286016137f5565b9250506020613a138582860161380a565b9150509250929050565b60008060408385031215613a3057600080fd5b6000613a3e858286016137f5565b9250506020613a4f8582860161389d565b9150509250929050565b600060208284031215613a6b57600080fd5b6000613a798482850161381f565b91505092915050565b600060208284031215613a9457600080fd5b6000613aa284828501613834565b91505092915050565b600060208284031215613abd57600080fd5b600082013567ffffffffffffffff811115613ad757600080fd5b613ae384828501613873565b91505092915050565b600060208284031215613afe57600080fd5b6000613b0c8482850161389d565b91505092915050565b60008060408385031215613b2857600080fd5b6000613b368582860161389d565b9250506020613b478582860161389d565b9150509250929050565b613b5a81614a66565b82525050565b613b6981614a78565b82525050565b6000613b7a8261465a565b613b848185614670565b9350613b94818560208601614b01565b613b9d81614cd7565b840191505092915050565b6000613bb382614665565b613bbd818561468c565b9350613bcd818560208601614b01565b613bd681614cd7565b840191505092915050565b6000613bec82614665565b613bf6818561469d565b9350613c06818560208601614b01565b80840191505092915050565b6000613c1f60418361468c565b9150613c2a82614ce8565b606082019050919050565b6000613c42601d8361468c565b9150613c4d82614d5d565b602082019050919050565b6000613c65602b8361468c565b9150613c7082614d86565b604082019050919050565b6000613c8860328361468c565b9150613c9382614dd5565b604082019050919050565b6000613cab60268361468c565b9150613cb682614e24565b604082019050919050565b6000613cce60308361468c565b9150613cd982614e73565b604082019050919050565b6000613cf1601c8361468c565b9150613cfc82614ec2565b602082019050919050565b6000613d1460248361468c565b9150613d1f82614eeb565b604082019050919050565b6000613d3760198361468c565b9150613d4282614f3a565b602082019050919050565b6000613d5a601f8361468c565b9150613d6582614f63565b602082019050919050565b6000613d7d603a8361468c565b9150613d8882614f8c565b604082019050919050565b6000613da0601d8361468c565b9150613dab82614fdb565b602082019050919050565b6000613dc3602c8361468c565b9150613dce82615004565b604082019050919050565b6000613de660388361468c565b9150613df182615053565b604082019050919050565b6000613e09602a8361468c565b9150613e14826150a2565b604082019050919050565b6000613e2c60298361468c565b9150613e37826150f1565b604082019050919050565b6000613e4f60198361468c565b9150613e5a82615140565b602082019050919050565b6000613e72601f8361468c565b9150613e7d82615169565b602082019050919050565b6000613e9560208361468c565b9150613ea082615192565b602082019050919050565b6000613eb8602c8361468c565b9150613ec3826151bb565b604082019050919050565b6000613edb601b8361468c565b9150613ee68261520a565b602082019050919050565b6000613efe60208361468c565b9150613f0982615233565b602082019050919050565b6000613f21601d8361468c565b9150613f2c8261525c565b602082019050919050565b6000613f4460298361468c565b9150613f4f82615285565b604082019050919050565b6000613f67602f8361468c565b9150613f72826152d4565b604082019050919050565b6000613f8a60218361468c565b9150613f9582615323565b604082019050919050565b6000613fad60218361468c565b9150613fb882615372565b604082019050919050565b6000613fd0600083614681565b9150613fdb826153c1565b600082019050919050565b6000613ff360318361468c565b9150613ffe826153c4565b604082019050919050565b6000614016602c8361468c565b915061402182615413565b604082019050919050565b6000614039601f8361468c565b915061404482615462565b602082019050919050565b600061405c603c8361468c565b91506140678261548b565b604082019050919050565b61407b81614aba565b82525050565b61408a81614ae8565b82525050565b6140a161409c82614ae8565b614be0565b82525050565b60006140b38285613be1565b91506140bf8284613be1565b91508190509392505050565b60006140d682613fc3565b9150819050919050565b60006140ec8286614090565b6020820191506140fc8285614090565b60208201915061410c8284613be1565b9150819050949350505050565b600060208201905061412e6000830184613b51565b92915050565b60006080820190506141496000830187613b51565b6141566020830186613b51565b6141636040830185614081565b81810360608301526141758184613b6f565b905095945050505050565b60006020820190506141956000830184613b60565b92915050565b600060208201905081810360008301526141b58184613ba8565b905092915050565b600060208201905081810360008301526141d681613c12565b9050919050565b600060208201905081810360008301526141f681613c35565b9050919050565b6000602082019050818103600083015261421681613c58565b9050919050565b6000602082019050818103600083015261423681613c7b565b9050919050565b6000602082019050818103600083015261425681613c9e565b9050919050565b6000602082019050818103600083015261427681613cc1565b9050919050565b6000602082019050818103600083015261429681613ce4565b9050919050565b600060208201905081810360008301526142b681613d07565b9050919050565b600060208201905081810360008301526142d681613d2a565b9050919050565b600060208201905081810360008301526142f681613d4d565b9050919050565b6000602082019050818103600083015261431681613d70565b9050919050565b6000602082019050818103600083015261433681613d93565b9050919050565b6000602082019050818103600083015261435681613db6565b9050919050565b6000602082019050818103600083015261437681613dd9565b9050919050565b6000602082019050818103600083015261439681613dfc565b9050919050565b600060208201905081810360008301526143b681613e1f565b9050919050565b600060208201905081810360008301526143d681613e42565b9050919050565b600060208201905081810360008301526143f681613e65565b9050919050565b6000602082019050818103600083015261441681613e88565b9050919050565b6000602082019050818103600083015261443681613eab565b9050919050565b6000602082019050818103600083015261445681613ece565b9050919050565b6000602082019050818103600083015261447681613ef1565b9050919050565b6000602082019050818103600083015261449681613f14565b9050919050565b600060208201905081810360008301526144b681613f37565b9050919050565b600060208201905081810360008301526144d681613f5a565b9050919050565b600060208201905081810360008301526144f681613f7d565b9050919050565b6000602082019050818103600083015261451681613fa0565b9050919050565b6000602082019050818103600083015261453681613fe6565b9050919050565b6000602082019050818103600083015261455681614009565b9050919050565b600060208201905081810360008301526145768161402c565b9050919050565b600060208201905081810360008301526145968161404f565b9050919050565b60006020820190506145b26000830184614072565b92915050565b60006020820190506145cd6000830184614081565b92915050565b60006145dd6145ee565b90506145e98282614b66565b919050565b6000604051905090565b600067ffffffffffffffff82111561461357614612614ca8565b5b61461c82614cd7565b9050602081019050919050565b600067ffffffffffffffff82111561464457614643614ca8565b5b61464d82614cd7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146b382614ab0565b91506146be83614ab0565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038313600083121516156146f9576146f8614c1b565b5b817f800000000000000000000000000000000000000000000000000000000000000003831260008312161561473157614730614c1b565b5b828201905092915050565b600061474782614ae8565b915061475283614ae8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561478757614786614c1b565b5b828201905092915050565b600061479d82614ab0565b91506147a883614ab0565b9250826147b8576147b7614c4a565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156147f1576147f0614c1b565b5b828205905092915050565b600061480782614ae8565b915061481283614ae8565b92508261482257614821614c4a565b5b828204905092915050565b600061483882614ab0565b915061484383614ab0565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211600084136000841316161561488257614881614c1b565b5b817f800000000000000000000000000000000000000000000000000000000000000005831260008412600084131616156148bf576148be614c1b565b5b827f800000000000000000000000000000000000000000000000000000000000000005821260008413600084121616156148fc576148fb614c1b565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff058212600084126000841216161561493957614938614c1b565b5b828202905092915050565b600061494f82614ae8565b915061495a83614ae8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561499357614992614c1b565b5b828202905092915050565b60006149a982614ab0565b91506149b483614ab0565b9250827f8000000000000000000000000000000000000000000000000000000000000000018212600084121516156149ef576149ee614c1b565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615614a2757614a26614c1b565b5b828203905092915050565b6000614a3d82614ae8565b9150614a4883614ae8565b925082821015614a5b57614a5a614c1b565b5b828203905092915050565b6000614a7182614ac8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b1f578082015181840152602081019050614b04565b83811115614b2e576000848401525b50505050565b60006002820490506001821680614b4c57607f821691505b60208210811415614b6057614b5f614c79565b5b50919050565b614b6f82614cd7565b810181811067ffffffffffffffff82111715614b8e57614b8d614ca8565b5b80604052505050565b6000614ba282614ae8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bd557614bd4614c1b565b5b600182019050919050565b6000819050919050565b6000614bf582614ae8565b9150614c0083614ae8565b925082614c1057614c0f614c4a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f526571756573746564206e756d6265722065786365656473206d6178696d756d60008201527f20646567656e65726174657320706572207472616e73616374696f6e2028353060208201527f2900000000000000000000000000000000000000000000000000000000000000604082015250565b7f5075626c69632073616c652068617320616c726561647920626567756e000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060008201527f6f66207265736572766564204e46547300000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206d6574686f647320617265206c6f636b65640000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726f76656e616e6365206d6574686f647320617265206c6f636b6564000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520646567656e6572617460008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f526571756573746564206e756d6265722065786365656473206d6178696d756d60008201527f20646567656e65726174657320706572207472616e73616374696f6e00000000602082015250565b6154e381614a66565b81146154ee57600080fd5b50565b6154fa81614a78565b811461550557600080fd5b50565b61551181614a84565b811461551c57600080fd5b50565b61552881614ae8565b811461553357600080fd5b5056fea26469706673582212207d37d4afe25ef32de86b3d1995fededa136e75858adebded4607c7523f37e1be64736f6c634300080400330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000105061727479446567656e6572617465730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055041525459000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c806370a0823111610144578063bc8893b4116100b6578063dfedadf01161007a578063dfedadf0146108a7578063e48e57a7146108d2578063e985e9c5146108fd578063f2fde38b1461093a578063fd48354e14610963578063ffe630b51461098e5761025c565b8063bc8893b4146107be578063c1d4c1d6146107e9578063c87b56dd14610814578063cf30901214610851578063d83d57271461087c5761025c565b806395d89b411161010857806395d89b41146106cf578063a22cb465146106fa578063a7f93ebd14610723578063b0e7f5501461074e578063b88d4fde1461076a578063b8e452af146107935761025c565b806370a0823114610610578063715018a61461064d578063753868e314610664578063819b25ba1461067b5780638da5cb5b146106a45761025c565b80633a12e933116101dd57806355f804b3116101a157806355f804b3146104fe578063567ac4f6146105275780636352211e146105525780636bb7b1d91461058f5780636c090c3f146105ba5780636e70f08e146105e55761025c565b80633a12e9331461042d5780633a8879bb146104565780633ccfd60b1461048157806342842e0e146104985780634f6ccce7146104c15761025c565b80630ca1c5c9116102245780630ca1c5c91461034657806318160ddd14610371578063181a0b1a1461039c57806323b872dd146103c75780632f745c59146103f05761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063095ea7b3146103065780630c41f4971461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613a59565b6109b7565b6040516102959190614180565b60405180910390f35b3480156102aa57600080fd5b506102b3610a31565b6040516102c0919061419b565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613aec565b610ac3565b6040516102fd9190614119565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613a1d565b610b48565b005b34801561033b57600080fd5b50610344610c60565b005b34801561035257600080fd5b5061035b610de8565b60405161036891906145b8565b60405180910390f35b34801561037d57600080fd5b50610386610df7565b60405161039391906145b8565b60405180910390f35b3480156103a857600080fd5b506103b1610e04565b6040516103be91906145b8565b60405180910390f35b3480156103d357600080fd5b506103ee60048036038101906103e99190613917565b610e0a565b005b3480156103fc57600080fd5b5061041760048036038101906104129190613a1d565b610e6a565b60405161042491906145b8565b60405180910390f35b34801561043957600080fd5b50610454600480360381019061044f9190613b15565b610f0f565b005b34801561046257600080fd5b5061046b61108f565b6040516104789190614180565b60405180910390f35b34801561048d57600080fd5b506104966110a2565b005b3480156104a457600080fd5b506104bf60048036038101906104ba9190613917565b611137565b005b3480156104cd57600080fd5b506104e860048036038101906104e39190613aec565b611157565b6040516104f591906145b8565b60405180910390f35b34801561050a57600080fd5b5061052560048036038101906105209190613aab565b6111ee565b005b34801561053357600080fd5b5061053c6112d4565b60405161054991906145b8565b60405180910390f35b34801561055e57600080fd5b5061057960048036038101906105749190613aec565b611325565b6040516105869190614119565b60405180910390f35b34801561059b57600080fd5b506105a46113d7565b6040516105b191906145b8565b60405180910390f35b3480156105c657600080fd5b506105cf6113dd565b6040516105dc919061459d565b60405180910390f35b3480156105f157600080fd5b506105fa6113e2565b604051610607919061459d565b60405180910390f35b34801561061c57600080fd5b50610637600480360381019061063291906138b2565b6113e7565b60405161064491906145b8565b60405180910390f35b34801561065957600080fd5b5061066261149f565b005b34801561067057600080fd5b50610679611527565b005b34801561068757600080fd5b506106a2600480360381019061069d9190613aec565b61162b565b005b3480156106b057600080fd5b506106b96118b7565b6040516106c69190614119565b60405180910390f35b3480156106db57600080fd5b506106e46118e1565b6040516106f1919061419b565b60405180910390f35b34801561070657600080fd5b50610721600480360381019061071c91906139e1565b611973565b005b34801561072f57600080fd5b50610738611af4565b60405161074591906145b8565b60405180910390f35b61076860048036038101906107639190613aec565b611ba5565b005b34801561077657600080fd5b50610791600480360381019061078c9190613966565b611e52565b005b34801561079f57600080fd5b506107a8611eb4565b6040516107b591906145b8565b60405180910390f35b3480156107ca57600080fd5b506107d3611eba565b6040516107e09190614180565b60405180910390f35b3480156107f557600080fd5b506107fe611ecd565b60405161080b91906145b8565b60405180910390f35b34801561082057600080fd5b5061083b60048036038101906108369190613aec565b611ed9565b604051610848919061419b565b60405180910390f35b34801561085d57600080fd5b50610866611f80565b6040516108739190614180565b60405180910390f35b34801561088857600080fd5b50610891611f93565b60405161089e919061419b565b60405180910390f35b3480156108b357600080fd5b506108bc612021565b6040516108c9919061459d565b60405180910390f35b3480156108de57600080fd5b506108e7612027565b6040516108f491906145b8565b60405180910390f35b34801561090957600080fd5b50610924600480360381019061091f91906138db565b61202d565b6040516109319190614180565b60405180910390f35b34801561094657600080fd5b50610961600480360381019061095c91906138b2565b6120c1565b005b34801561096f57600080fd5b506109786121b9565b60405161098591906145b8565b60405180910390f35b34801561099a57600080fd5b506109b560048036038101906109b09190613aab565b6121bf565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a2a5750610a29826123ba565b5b9050919050565b606060008054610a4090614b34565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6c90614b34565b8015610ab95780601f10610a8e57610100808354040283529160200191610ab9565b820191906000526020600020905b815481529060010190602001808311610a9c57829003601f168201915b5050505050905090565b6000610ace8261249c565b610b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b049061441d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610b5382611325565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb906144fd565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610be3612508565b73ffffffffffffffffffffffffffffffffffffffff161480610c125750610c1181610c0c612508565b61202d565b5b610c51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c489061435d565b60405180910390fd5b610c5b8383612510565b505050565b610c68612508565b73ffffffffffffffffffffffffffffffffffffffff16610c866118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd39061445d565b60405180910390fd5b601460009054906101000a900460ff16610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d22906143bd565b60405180910390fd5b601760009054906101000a900460ff1615610d7b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d729061443d565b60405180910390fd5b6000610d85611af4565b90506000610d916125c9565b905060006013819055506000601460006101000a81548160ff02191690831515021790555080827f6349058becdb87a65b3cda491b5893b82a0f75f57ddf0d2fbb373d2371a02a8b60405160405180910390a35050565b6000610df26125ef565b905090565b6000600880549050905090565b60155481565b610e1b610e15612508565b82612600565b610e5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e519061451d565b60405180910390fd5b610e658383836126de565b505050565b6000610e75836113e7565b8210610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ead906141fd565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610f17612508565b73ffffffffffffffffffffffffffffffffffffffff16610f356118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f829061445d565b60405180910390fd5b601760009054906101000a900460ff1615610fdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fd29061443d565b60405180910390fd5b601460009054906101000a900460ff161561102b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611022906141dd565b60405180910390fd5b8160128190555080601581905550426013819055506001601460006101000a81548160ff021916908315150217905550601354827ffa7b432778a53a8786452c3cefdd1df8a17f43f9b4587fb4d61b23098e6190af60405160405180910390a35050565b600f60009054906101000a900460ff1681565b6110aa612508565b73ffffffffffffffffffffffffffffffffffffffff166110c86118b7565b73ffffffffffffffffffffffffffffffffffffffff161461111e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111159061445d565b60405180910390fd5b600047905061113461112e6118b7565b8261293a565b50565b61115283838360405180602001604052806000815250611e52565b505050565b6000611161610df7565b82106111a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111999061453d565b60405180910390fd5b600882815481106111dc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6111f6612508565b73ffffffffffffffffffffffffffffffffffffffff166112146118b7565b73ffffffffffffffffffffffffffffffffffffffff161461126a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112619061445d565b60405180910390fd5b601760009054906101000a900460ff16156112ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b19061443d565b60405180910390fd5b80601190805190602001906112d09291906136d6565b5050565b60008060135414156112eb5762093a809050611322565b6012546112f66125c9565b106113045760009050611322565b42601254601354611315919061473c565b61131f9190614a32565b90505b90565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156113ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c59061439d565b60405180910390fd5b80915050919050565b60135481565b60c881565b601481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611458576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144f9061437d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6114a7612508565b73ffffffffffffffffffffffffffffffffffffffff166114c56118b7565b73ffffffffffffffffffffffffffffffffffffffff161461151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061445d565b60405180910390fd5b6115256000612a2e565b565b61152f612508565b73ffffffffffffffffffffffffffffffffffffffff1661154d6118b7565b73ffffffffffffffffffffffffffffffffffffffff16146115a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159a9061445d565b60405180910390fd5b601760009054906101000a900460ff16156115f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ea9061443d565b60405180910390fd5b6000601460006101000a81548160ff0219169083151502179055506001601760006101000a81548160ff021916908315150217905550565b611633612508565b73ffffffffffffffffffffffffffffffffffffffff166116516118b7565b73ffffffffffffffffffffffffffffffffffffffff16146116a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169e9061445d565b60405180910390fd5b6002600b5414156116ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e49061455d565b60405180910390fd5b6002600b81905550601760009054906101000a900460ff1615611745576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173c9061443d565b60405180910390fd5b60c861ffff1681601654611759919061473c565b111561179a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117919061425d565b60405180910390fd5b600081116117dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d4906144dd565b60405180910390fd5b6032811115611821576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611818906141bd565b60405180910390fd5b60005b818110156118ab5761271061ffff1661183d600c612af4565b101561189857611878600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16611873600c612af4565b612b02565b6001601654611887919061473c565b601681905550611897600c612b20565b5b80806118a390614b97565b915050611824565b506001600b8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546118f090614b34565b80601f016020809104026020016040519081016040528092919081815260200182805461191c90614b34565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b5050505050905090565b61197b612508565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e0906142bd565b60405180910390fd5b80600560006119f6612508565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa3612508565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611ae89190614180565b60405180910390a35050565b6000601460009054906101000a900460ff16611b135760009050611ba2565b6000611b1d6125c9565b90506012548110611b39576706f05b59d3b20000915050611ba2565b6000816012546015546706f05b59d3b20000611b55919061499e565b611b5f9190614792565b611b69919061482d565b601554611b7691906146a8565b905060008190506706f05b59d3b200008111611b9a576706f05b59d3b20000611b9c565b805b93505050505b90565b601460009054906101000a900460ff16611bf4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611beb906143bd565b60405180910390fd5b6002600b541415611c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c319061455d565b60405180910390fd5b6002600b81905550601760009054906101000a900460ff1615611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c899061443d565b60405180910390fd5b61271061ffff1681611ca4600c612af4565b611cae919061473c565b1115611cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce6906143dd565b60405180910390fd5b60008111611d32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d29906144dd565b60405180910390fd5b601461ffff16811115611d7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d719061457d565b60405180910390fd5b600081611d85611af4565b611d8f9190614944565b905034811115611dd4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dcb906142dd565b60405180910390fd5b60005b82811015611e275761271061ffff16611df0600c612af4565b1015611e1457611e0933611e04600c612af4565b612b02565b611e13600c612b20565b5b8080611e1f90614b97565b915050611dd7565b5080341115611e4657611e45338234611e409190614a32565b61293a565b5b506001600b8190555050565b611e63611e5d612508565b83612600565b611ea2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e999061451d565b60405180910390fd5b611eae84848484612b36565b50505050565b60105481565b601460009054906101000a900460ff1681565b6706f05b59d3b2000081565b6060611ee48261249c565b611f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1a906144bd565b60405180910390fd5b6000611f2d612b92565b90506000815111611f4d5760405180602001604052806000815250611f78565b80611f5784612c24565b604051602001611f689291906140a7565b6040516020818303038152906040525b915050919050565b601760009054906101000a900460ff1681565b600e8054611fa090614b34565b80601f0160208091040260200160405190810160405280929190818152602001828054611fcc90614b34565b80156120195780601f10611fee57610100808354040283529160200191612019565b820191906000526020600020905b815481529060010190602001808311611ffc57829003601f168201915b505050505081565b61271081565b60165481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6120c9612508565b73ffffffffffffffffffffffffffffffffffffffff166120e76118b7565b73ffffffffffffffffffffffffffffffffffffffff161461213d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121349061445d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156121ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a49061423d565b60405180910390fd5b6121b681612a2e565b50565b60125481565b6121c7612508565b73ffffffffffffffffffffffffffffffffffffffff166121e56118b7565b73ffffffffffffffffffffffffffffffffffffffff161461223b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122329061445d565b60405180910390fd5b601760009054906101000a900460ff161561228b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122829061443d565b60405180910390fd5b600f60009054906101000a900460ff16156122db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122d29061447d565b60405180910390fd5b80600e90805190602001906122f19291906136d6565b5061271061ffff1661238c600e805461230990614b34565b80601f016020809104026020016040519081016040528092919081815260200182805461233590614b34565b80156123825780601f1061235757610100808354040283529160200191612382565b820191906000526020600020905b81548152906001019060200180831161236557829003601f168201915b5050505050612dd1565b6123969190614bea565b6010819055506001600f60006101000a81548160ff02191690831515021790555050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061248557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612495575061249482612e08565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661258383611325565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080601354116125db5760006125ea565b601354426125e99190614a32565b5b905090565b60006125fb600c612af4565b905090565b600061260b8261249c565b61264a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126419061433d565b60405180910390fd5b600061265583611325565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126c457508373ffffffffffffffffffffffffffffffffffffffff166126ac84610ac3565b73ffffffffffffffffffffffffffffffffffffffff16145b806126d557506126d4818561202d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166126fe82611325565b73ffffffffffffffffffffffffffffffffffffffff1614612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b9061449d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127bb9061429d565b60405180910390fd5b6127cf838383612e72565b6127da600082612510565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461282a9190614a32565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612881919061473c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b8047101561297d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129749061431d565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516129a3906140cb565b60006040518083038185875af1925050503d80600081146129e0576040519150601f19603f3d011682016040523d82523d6000602084013e6129e5565b606091505b5050905080612a29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a20906142fd565b60405180910390fd5b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b612b1c828260405180602001604052806000815250612f86565b5050565b6001816000016000828254019250508190555050565b612b418484846126de565b612b4d84848484612fe1565b612b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b839061421d565b60405180910390fd5b50505050565b606060118054612ba190614b34565b80601f0160208091040260200160405190810160405280929190818152602001828054612bcd90614b34565b8015612c1a5780601f10612bef57610100808354040283529160200191612c1a565b820191906000526020600020905b815481529060010190602001808311612bfd57829003601f168201915b5050505050905090565b60606000821415612c6c576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dcc565b600082905060005b60008214612c9e578080612c8790614b97565b915050600a82612c9791906147fc565b9150612c74565b60008167ffffffffffffffff811115612ce0577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d125781602001600182028036833780820191505090505b5090505b60008514612dc557600182612d2b9190614a32565b9150600a85612d3a9190614bea565b6030612d46919061473c565b60f81b818381518110612d82577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612dbe91906147fc565b9450612d16565b8093505050505b919050565b6000444283604051602001612de8939291906140e0565b6040516020818303038152906040528051906020012060001c9050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612e7d838383613178565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ec057612ebb8161317d565b612eff565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612efe57612efd83826131c6565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f4257612f3d81613333565b612f81565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f8057612f7f8282613476565b5b5b505050565b612f9083836134f5565b612f9d6000848484612fe1565b612fdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612fd39061421d565b60405180910390fd5b505050565b60006130028473ffffffffffffffffffffffffffffffffffffffff166136c3565b1561316b578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261302b612508565b8786866040518563ffffffff1660e01b815260040161304d9493929190614134565b602060405180830381600087803b15801561306757600080fd5b505af192505050801561309857506040513d601f19601f820116820180604052508101906130959190613a82565b60015b61311b573d80600081146130c8576040519150601f19603f3d011682016040523d82523d6000602084013e6130cd565b606091505b50600081511415613113576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161310a9061421d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613170565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016131d3846113e7565b6131dd9190614a32565b90506000600760008481526020019081526020016000205490508181146132c2576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133479190614a32565b905060006009600084815260200190815260200160002054905060006008838154811061339d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905080600883815481106133e5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061345a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613481836113e7565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161355c906143fd565b60405180910390fd5b61356e8161249c565b156135ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135a59061427d565b60405180910390fd5b6135ba60008383612e72565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461360a919061473c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b8280546136e290614b34565b90600052602060002090601f016020900481019282613704576000855561374b565b82601f1061371d57805160ff191683800117855561374b565b8280016001018555821561374b579182015b8281111561374a57825182559160200191906001019061372f565b5b509050613758919061375c565b5090565b5b8082111561377557600081600090555060010161375d565b5090565b600061378c613787846145f8565b6145d3565b9050828152602081018484840111156137a457600080fd5b6137af848285614af2565b509392505050565b60006137ca6137c584614629565b6145d3565b9050828152602081018484840111156137e257600080fd5b6137ed848285614af2565b509392505050565b600081359050613804816154da565b92915050565b600081359050613819816154f1565b92915050565b60008135905061382e81615508565b92915050565b60008151905061384381615508565b92915050565b600082601f83011261385a57600080fd5b813561386a848260208601613779565b91505092915050565b600082601f83011261388457600080fd5b81356138948482602086016137b7565b91505092915050565b6000813590506138ac8161551f565b92915050565b6000602082840312156138c457600080fd5b60006138d2848285016137f5565b91505092915050565b600080604083850312156138ee57600080fd5b60006138fc858286016137f5565b925050602061390d858286016137f5565b9150509250929050565b60008060006060848603121561392c57600080fd5b600061393a868287016137f5565b935050602061394b868287016137f5565b925050604061395c8682870161389d565b9150509250925092565b6000806000806080858703121561397c57600080fd5b600061398a878288016137f5565b945050602061399b878288016137f5565b93505060406139ac8782880161389d565b925050606085013567ffffffffffffffff8111156139c957600080fd5b6139d587828801613849565b91505092959194509250565b600080604083850312156139f457600080fd5b6000613a02858286016137f5565b9250506020613a138582860161380a565b9150509250929050565b60008060408385031215613a3057600080fd5b6000613a3e858286016137f5565b9250506020613a4f8582860161389d565b9150509250929050565b600060208284031215613a6b57600080fd5b6000613a798482850161381f565b91505092915050565b600060208284031215613a9457600080fd5b6000613aa284828501613834565b91505092915050565b600060208284031215613abd57600080fd5b600082013567ffffffffffffffff811115613ad757600080fd5b613ae384828501613873565b91505092915050565b600060208284031215613afe57600080fd5b6000613b0c8482850161389d565b91505092915050565b60008060408385031215613b2857600080fd5b6000613b368582860161389d565b9250506020613b478582860161389d565b9150509250929050565b613b5a81614a66565b82525050565b613b6981614a78565b82525050565b6000613b7a8261465a565b613b848185614670565b9350613b94818560208601614b01565b613b9d81614cd7565b840191505092915050565b6000613bb382614665565b613bbd818561468c565b9350613bcd818560208601614b01565b613bd681614cd7565b840191505092915050565b6000613bec82614665565b613bf6818561469d565b9350613c06818560208601614b01565b80840191505092915050565b6000613c1f60418361468c565b9150613c2a82614ce8565b606082019050919050565b6000613c42601d8361468c565b9150613c4d82614d5d565b602082019050919050565b6000613c65602b8361468c565b9150613c7082614d86565b604082019050919050565b6000613c8860328361468c565b9150613c9382614dd5565b604082019050919050565b6000613cab60268361468c565b9150613cb682614e24565b604082019050919050565b6000613cce60308361468c565b9150613cd982614e73565b604082019050919050565b6000613cf1601c8361468c565b9150613cfc82614ec2565b602082019050919050565b6000613d1460248361468c565b9150613d1f82614eeb565b604082019050919050565b6000613d3760198361468c565b9150613d4282614f3a565b602082019050919050565b6000613d5a601f8361468c565b9150613d6582614f63565b602082019050919050565b6000613d7d603a8361468c565b9150613d8882614f8c565b604082019050919050565b6000613da0601d8361468c565b9150613dab82614fdb565b602082019050919050565b6000613dc3602c8361468c565b9150613dce82615004565b604082019050919050565b6000613de660388361468c565b9150613df182615053565b604082019050919050565b6000613e09602a8361468c565b9150613e14826150a2565b604082019050919050565b6000613e2c60298361468c565b9150613e37826150f1565b604082019050919050565b6000613e4f60198361468c565b9150613e5a82615140565b602082019050919050565b6000613e72601f8361468c565b9150613e7d82615169565b602082019050919050565b6000613e9560208361468c565b9150613ea082615192565b602082019050919050565b6000613eb8602c8361468c565b9150613ec3826151bb565b604082019050919050565b6000613edb601b8361468c565b9150613ee68261520a565b602082019050919050565b6000613efe60208361468c565b9150613f0982615233565b602082019050919050565b6000613f21601d8361468c565b9150613f2c8261525c565b602082019050919050565b6000613f4460298361468c565b9150613f4f82615285565b604082019050919050565b6000613f67602f8361468c565b9150613f72826152d4565b604082019050919050565b6000613f8a60218361468c565b9150613f9582615323565b604082019050919050565b6000613fad60218361468c565b9150613fb882615372565b604082019050919050565b6000613fd0600083614681565b9150613fdb826153c1565b600082019050919050565b6000613ff360318361468c565b9150613ffe826153c4565b604082019050919050565b6000614016602c8361468c565b915061402182615413565b604082019050919050565b6000614039601f8361468c565b915061404482615462565b602082019050919050565b600061405c603c8361468c565b91506140678261548b565b604082019050919050565b61407b81614aba565b82525050565b61408a81614ae8565b82525050565b6140a161409c82614ae8565b614be0565b82525050565b60006140b38285613be1565b91506140bf8284613be1565b91508190509392505050565b60006140d682613fc3565b9150819050919050565b60006140ec8286614090565b6020820191506140fc8285614090565b60208201915061410c8284613be1565b9150819050949350505050565b600060208201905061412e6000830184613b51565b92915050565b60006080820190506141496000830187613b51565b6141566020830186613b51565b6141636040830185614081565b81810360608301526141758184613b6f565b905095945050505050565b60006020820190506141956000830184613b60565b92915050565b600060208201905081810360008301526141b58184613ba8565b905092915050565b600060208201905081810360008301526141d681613c12565b9050919050565b600060208201905081810360008301526141f681613c35565b9050919050565b6000602082019050818103600083015261421681613c58565b9050919050565b6000602082019050818103600083015261423681613c7b565b9050919050565b6000602082019050818103600083015261425681613c9e565b9050919050565b6000602082019050818103600083015261427681613cc1565b9050919050565b6000602082019050818103600083015261429681613ce4565b9050919050565b600060208201905081810360008301526142b681613d07565b9050919050565b600060208201905081810360008301526142d681613d2a565b9050919050565b600060208201905081810360008301526142f681613d4d565b9050919050565b6000602082019050818103600083015261431681613d70565b9050919050565b6000602082019050818103600083015261433681613d93565b9050919050565b6000602082019050818103600083015261435681613db6565b9050919050565b6000602082019050818103600083015261437681613dd9565b9050919050565b6000602082019050818103600083015261439681613dfc565b9050919050565b600060208201905081810360008301526143b681613e1f565b9050919050565b600060208201905081810360008301526143d681613e42565b9050919050565b600060208201905081810360008301526143f681613e65565b9050919050565b6000602082019050818103600083015261441681613e88565b9050919050565b6000602082019050818103600083015261443681613eab565b9050919050565b6000602082019050818103600083015261445681613ece565b9050919050565b6000602082019050818103600083015261447681613ef1565b9050919050565b6000602082019050818103600083015261449681613f14565b9050919050565b600060208201905081810360008301526144b681613f37565b9050919050565b600060208201905081810360008301526144d681613f5a565b9050919050565b600060208201905081810360008301526144f681613f7d565b9050919050565b6000602082019050818103600083015261451681613fa0565b9050919050565b6000602082019050818103600083015261453681613fe6565b9050919050565b6000602082019050818103600083015261455681614009565b9050919050565b600060208201905081810360008301526145768161402c565b9050919050565b600060208201905081810360008301526145968161404f565b9050919050565b60006020820190506145b26000830184614072565b92915050565b60006020820190506145cd6000830184614081565b92915050565b60006145dd6145ee565b90506145e98282614b66565b919050565b6000604051905090565b600067ffffffffffffffff82111561461357614612614ca8565b5b61461c82614cd7565b9050602081019050919050565b600067ffffffffffffffff82111561464457614643614ca8565b5b61464d82614cd7565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006146b382614ab0565b91506146be83614ab0565b9250817f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038313600083121516156146f9576146f8614c1b565b5b817f800000000000000000000000000000000000000000000000000000000000000003831260008312161561473157614730614c1b565b5b828201905092915050565b600061474782614ae8565b915061475283614ae8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561478757614786614c1b565b5b828201905092915050565b600061479d82614ab0565b91506147a883614ab0565b9250826147b8576147b7614c4a565b5b600160000383147f8000000000000000000000000000000000000000000000000000000000000000831416156147f1576147f0614c1b565b5b828205905092915050565b600061480782614ae8565b915061481283614ae8565b92508261482257614821614c4a565b5b828204905092915050565b600061483882614ab0565b915061484383614ab0565b9250827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048211600084136000841316161561488257614881614c1b565b5b817f800000000000000000000000000000000000000000000000000000000000000005831260008412600084131616156148bf576148be614c1b565b5b827f800000000000000000000000000000000000000000000000000000000000000005821260008413600084121616156148fc576148fb614c1b565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff058212600084126000841216161561493957614938614c1b565b5b828202905092915050565b600061494f82614ae8565b915061495a83614ae8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561499357614992614c1b565b5b828202905092915050565b60006149a982614ab0565b91506149b483614ab0565b9250827f8000000000000000000000000000000000000000000000000000000000000000018212600084121516156149ef576149ee614c1b565b5b827f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff018213600084121615614a2757614a26614c1b565b5b828203905092915050565b6000614a3d82614ae8565b9150614a4883614ae8565b925082821015614a5b57614a5a614c1b565b5b828203905092915050565b6000614a7182614ac8565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614b1f578082015181840152602081019050614b04565b83811115614b2e576000848401525b50505050565b60006002820490506001821680614b4c57607f821691505b60208210811415614b6057614b5f614c79565b5b50919050565b614b6f82614cd7565b810181811067ffffffffffffffff82111715614b8e57614b8d614ca8565b5b80604052505050565b6000614ba282614ae8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614bd557614bd4614c1b565b5b600182019050919050565b6000819050919050565b6000614bf582614ae8565b9150614c0083614ae8565b925082614c1057614c0f614c4a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f526571756573746564206e756d6265722065786365656473206d6178696d756d60008201527f20646567656e65726174657320706572207472616e73616374696f6e2028353060208201527f2900000000000000000000000000000000000000000000000000000000000000604082015250565b7f5075626c69632073616c652068617320616c726561647920626567756e000000600082015250565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c792060008201527f6f66207265736572766564204e46547300000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f5075626c69632073616c65206973206e6f742061637469766500000000000000600082015250565b7f4d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f436f6e7472616374206d6574686f647320617265206c6f636b65640000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f50726f76656e616e6365206d6574686f647320617265206c6f636b6564000000600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4d757374206d696e74206174206c65617374206f6e6520646567656e6572617460008201527f6500000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b7f526571756573746564206e756d6265722065786365656473206d6178696d756d60008201527f20646567656e65726174657320706572207472616e73616374696f6e00000000602082015250565b6154e381614a66565b81146154ee57600080fd5b50565b6154fa81614a78565b811461550557600080fd5b50565b61551181614a84565b811461551c57600080fd5b50565b61552881614ae8565b811461553357600080fd5b5056fea26469706673582212207d37d4afe25ef32de86b3d1995fededa136e75858adebded4607c7523f37e1be64736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000105061727479446567656e6572617465730000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000055041525459000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): PartyDegenerates
Arg [1] : symbol (string): PARTY

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [3] : 5061727479446567656e65726174657300000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 5041525459000000000000000000000000000000000000000000000000000000


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.