ETH Price: $3,482.66 (+1.99%)

OnchainPunks (Punk)
 

Overview

TokenID

3242

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
OnchainPunks

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

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

/*********************************
*                                *
*              PU,NK             *
*                                *
 *********************************/

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/access/Ownable.sol";
import "./lib/ERC721Enumerable.sol";
import "./lib/IPunkDescriptor.sol";

contract OnchainPunks is ERC721Enumerable, Ownable {
    event SeedUpdated(uint256 indexed tokenId, uint256 seed);

    mapping(uint256 => uint256) internal seeds;
    IPunkDescriptor public descriptor;
    uint256 public maxSupply = 3333;
    uint256 public cost = 0.001 ether;
    bool public minting = false;
    bool public canUpdateSeed = true;

    constructor(IPunkDescriptor newDescriptor) ERC721("OnchainPunks", "Punk") {
        descriptor = newDescriptor;
    }
    

    function mint(uint32 count) external payable {
        require(minting, "Minting needs to be enabled to start minting");
        require(count < 11, "Exceeds max per transaction.");
        uint256 nextTokenId = _owners.length;
        unchecked {
            require(nextTokenId + count < maxSupply, "Exceeds max supply.");
        }
            uint256 totalCost = count * cost;
    require(msg.value >= totalCost, "Insufficient funds.");

        for (uint32 i; i < count;) {
            seeds[nextTokenId] = generateSeed(nextTokenId);
            _mint(_msgSender(), nextTokenId);
            unchecked { ++nextTokenId; ++i; }
        }
    }

    function setMinting(bool value) external onlyOwner {
        minting = value;
    }

    function setDescriptor(IPunkDescriptor newDescriptor) external onlyOwner {
        descriptor = newDescriptor;
    }

    function setCost(uint256 newCost) external onlyOwner {
        cost = newCost;
    }
    
    function withdraw() public onlyOwner  {
        (bool os, ) = payable(owner()).call{value: address(this).balance}('');
        require(os);
    }

    function updateSeed(uint256 tokenId, uint256 seed) external onlyOwner {
        require(canUpdateSeed, "Cannot set the seed");
        seeds[tokenId] = seed;
        emit SeedUpdated(tokenId, seed);
    }

    function disableSeedUpdate() external onlyOwner {
        canUpdateSeed = false;
    }

    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        delete seeds[tokenId];
        _burn(tokenId);
    }

    function getSeed(uint256 tokenId) public view returns (uint256) {
        require(_exists(tokenId), "Punk does not exist.");
        return seeds[tokenId];
    }

    function tokenURI(uint256 tokenId) public view returns (string memory) {
        require(_exists(tokenId), "Punk does not exist.");
        uint256 seed = seeds[tokenId];
        return descriptor.tokenURI(tokenId, seed);
    }

    function generateSeed(uint256 tokenId) private view returns (uint256) {
        uint256 r = random(tokenId);
        uint256 headSeed = 100 * (r % 7 + 10) + ((r >> 48) % 20 + 10);
        uint256 faceSeed = 100 * ((r >> 96) % 6 + 10) + ((r >> 96) % 20 + 10);
        uint256 bodySeed = 100 * ((r >> 144) % 7 + 10) + ((r >> 144) % 20 + 10);
        uint256 legsSeed = 100 * ((r >> 192) % 2 + 10) + ((r >> 192) % 20 + 10);
        return 10000 * (10000 * (10000 * headSeed + faceSeed) + bodySeed) + legsSeed;
    }

    function random(uint256 tokenId) private view returns (uint256 pseudoRandomness) {
        pseudoRandomness = uint256(
            keccak256(abi.encodePacked(blockhash(block.number - 1), tokenId))
        );

        return pseudoRandomness;
    }
}

File 2 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

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

    /**
     * @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 4 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 5 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

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`.
     *
     * 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;

    /**
     * @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 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: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * 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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

File 6 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 7 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 9 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 10 of 15 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 11 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

    /**
     * @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] = _SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 12 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

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

pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;

    address[] internal _owners;

    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: address zero is not a valid owner");

        uint256 count;
        for (uint256 i; i < _owners.length;) {
            if (owner == _owners[i]) {
                unchecked {
                    ++count;
                }
            }
            unchecked {
                ++i;
            }
        }
        return count;
    }

    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: invalid token ID");
        return owner;
    }

    function name() public view virtual override returns (string memory) {
        return _name;
    }

    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

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

    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: invalid token ID");

        return _tokenApprovals[tokenId];
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC721: approve to caller");
        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _transfer(from, to, tokenId);
    }

    function safeTransferFrom(address from, address to, uint256 tokenId) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner or approved");
        _safeTransfer(from, to, tokenId, data);
    }

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

    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }

    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    function _mint(address to, uint256 tokenId) internal virtual {
        require(!_exists(tokenId), "ERC721: token already minted");

        _owners.push(to);

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

    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        delete _tokenApprovals[tokenId];
        delete _owners[tokenId];

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

    function _transfer(address from, address to, uint256 tokenId) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        // Clear approvals from the previous owner
        delete _tokenApprovals[tokenId];
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

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

        return true;
    }
}

File 14 of 15 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    function totalSupply() public view virtual override returns (uint256) {
        uint256 count;
        for (uint256 i; i < _owners.length;) {
            if (_owners[i] != address(0)) {
                unchecked {
                    ++count;
                }
            }

            unchecked {
                ++i;
            }
        }

        return count;
    }

    function tokenByIndex(uint256 index) public view virtual override returns (uint256 tokenId) {
        require(index < _owners.length, "ERC721Enumerable: global index out of bounds");
        return index;
    }

    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256 tokenId) {
        require(index < balanceOf(owner), "ERC721Enumerable: owner index out of bounds");

        uint256 count;
        for(uint256 i; i < _owners.length;){
            if(owner == _owners[i]) {
                if(count == index) return i;
                else {
                    unchecked {
                        ++count;
                    }
                }
            }

            unchecked {
                ++i;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

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

/*********************************
*                                *
*               PU,NK            *
*                                *
 *********************************/

pragma solidity ^0.8.9;

interface IPunkDescriptor {
    function tokenURI(uint256 tokenId, uint256 seed) external view returns (string memory);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IPunkDescriptor","name":"newDescriptor","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"seed","type":"uint256"}],"name":"SeedUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"canUpdateSeed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"descriptor","outputs":[{"internalType":"contract IPunkDescriptor","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"disableSeedUpdate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getSeed","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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint32","name":"count","type":"uint32"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"minting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IPunkDescriptor","name":"newDescriptor","type":"address"}],"name":"setDescriptor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"value","type":"bool"}],"name":"setMinting","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":"tokenId","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"seed","type":"uint256"}],"name":"updateSeed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610d0560085566038d7ea4c680006009556000600a60006101000a81548160ff0219169083151502179055506001600a60016101000a81548160ff0219169083151502179055503480156200005857600080fd5b5060405162003fb438038062003fb483398181016040528101906200007e919062000382565b6040518060400160405280600c81526020017f4f6e636861696e50756e6b7300000000000000000000000000000000000000008152506040518060400160405280600481526020017f50756e6b0000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010292919062000254565b5080600190805190602001906200011b92919062000254565b5050506200013e620001326200018660201b60201c565b6200018e60201b60201c565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505062000419565b600033905090565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200026290620003e3565b90600052602060002090601f016020900481019282620002865760008555620002d2565b82601f10620002a157805160ff1916838001178555620002d2565b82800160010185558215620002d2579182015b82811115620002d1578251825591602001919060010190620002b4565b5b509050620002e19190620002e5565b5090565b5b8082111562000300576000816000905550600101620002e6565b5090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003368262000309565b9050919050565b60006200034a8262000329565b9050919050565b6200035c816200033d565b81146200036857600080fd5b50565b6000815190506200037c8162000351565b92915050565b6000602082840312156200039b576200039a62000304565b5b6000620003ab848285016200036b565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003fc57607f821691505b60208210811415620004135762000412620003b4565b5b50919050565b613b8b80620004296000396000f3fe6080604052600436106101ee5760003560e01c806344a0d68a1161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146106b4578063d5abeb01146106f1578063e0d4ea371461071c578063e985e9c514610759578063f2fde38b14610796576101ee565b8063a22cb4651461061d578063a71bbebe14610646578063b4c7f06614610662578063b88d4fde1461068b576101ee565b8063715018a6116100dc578063715018a6146105855780637dc2268c1461059c5780638da5cb5b146105c757806395d89b41146105f2576101ee565b806344a0d68a146104a55780634f6ccce7146104ce5780636352211e1461050b57806370a0823114610548576101ee565b806323b872dd116101855780633bb2c938116101545780633bb2c938146104255780633ccfd60b1461043c57806342842e0e1461045357806342966c681461047c576101ee565b806323b872dd146103695780632f745c5914610392578063303e74df146103cf57806333101e1f146103fa576101ee565b8063095ea7b3116101c1578063095ea7b3146102c157806313faede6146102ea578063176b72b41461031557806318160ddd1461033e576101ee565b806301b9a397146101f357806301ffc9a71461021c57806306fdde0314610259578063081812fc14610284575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612526565b6107bf565b005b34801561022857600080fd5b50610243600480360381019061023e91906125ab565b61080b565b60405161025091906125f3565b60405180910390f35b34801561026557600080fd5b5061026e610885565b60405161027b91906126a7565b60405180910390f35b34801561029057600080fd5b506102ab60048036038101906102a691906126ff565b610917565b6040516102b8919061273b565b60405180910390f35b3480156102cd57600080fd5b506102e860048036038101906102e39190612782565b61099c565b005b3480156102f657600080fd5b506102ff610ab4565b60405161030c91906127d1565b60405180910390f35b34801561032157600080fd5b5061033c600480360381019061033791906127ec565b610aba565b005b34801561034a57600080fd5b50610353610b65565b60405161036091906127d1565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b919061282c565b610c04565b005b34801561039e57600080fd5b506103b960048036038101906103b49190612782565b610c64565b6040516103c691906127d1565b60405180910390f35b3480156103db57600080fd5b506103e4610d99565b6040516103f191906128de565b60405180910390f35b34801561040657600080fd5b5061040f610dbf565b60405161041c91906125f3565b60405180910390f35b34801561043157600080fd5b5061043a610dd2565b005b34801561044857600080fd5b50610451610df7565b005b34801561045f57600080fd5b5061047a6004803603810190610475919061282c565b610e7f565b005b34801561048857600080fd5b506104a3600480360381019061049e91906126ff565b610e9f565b005b3480156104b157600080fd5b506104cc60048036038101906104c791906126ff565b610f12565b005b3480156104da57600080fd5b506104f560048036038101906104f091906126ff565b610f24565b60405161050291906127d1565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d91906126ff565b610f75565b60405161053f919061273b565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a91906128f9565b611032565b60405161057c91906127d1565b60405180910390f35b34801561059157600080fd5b5061059a611142565b005b3480156105a857600080fd5b506105b1611156565b6040516105be91906125f3565b60405180910390f35b3480156105d357600080fd5b506105dc611169565b6040516105e9919061273b565b60405180910390f35b3480156105fe57600080fd5b50610607611193565b60405161061491906126a7565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190612952565b611225565b005b610660600480360381019061065b91906129ce565b6113a6565b005b34801561066e57600080fd5b50610689600480360381019061068491906129fb565b61154e565b005b34801561069757600080fd5b506106b260048036038101906106ad9190612b5d565b611573565b005b3480156106c057600080fd5b506106db60048036038101906106d691906126ff565b6115d5565b6040516106e891906126a7565b60405180910390f35b3480156106fd57600080fd5b506107066116f1565b60405161071391906127d1565b60405180910390f35b34801561072857600080fd5b50610743600480360381019061073e91906126ff565b6116f7565b60405161075091906127d1565b60405180910390f35b34801561076557600080fd5b50610780600480360381019061077b9190612be0565b61175c565b60405161078d91906125f3565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b891906128f9565b6117f0565b005b6107c7611874565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087e575061087d826118f2565b5b9050919050565b60606000805461089490612c4f565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090612c4f565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b6000610922826119d4565b610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890612ccd565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a782610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90612d5f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a37611a5c565b73ffffffffffffffffffffffffffffffffffffffff161480610a665750610a6581610a60611a5c565b61175c565b5b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90612df1565b60405180910390fd5b610aaf8383611a64565b505050565b60095481565b610ac2611874565b600a60019054906101000a900460ff16610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890612e5d565b60405180910390fd5b806006600084815260200190815260200160002081905550817faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e082604051610b5991906127d1565b60405180910390a25050565b60008060005b600280549050811015610bfc57600073ffffffffffffffffffffffffffffffffffffffff1660028281548110610ba457610ba3612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bf1578160010191505b806001019050610b6b565b508091505090565b610c15610c0f611a5c565b82611b1d565b610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612f1e565b60405180910390fd5b610c5f838383611bb2565b505050565b6000610c6f83611032565b8210610cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca790612fb0565b60405180910390fd5b6000805b600280549050811015610d575760028181548110610cd557610cd4612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d4c5783821415610d45578092505050610d93565b8160010191505b806001019050610cb4565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a90612fb0565b60405180910390fd5b92915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60019054906101000a900460ff1681565b610dda611874565b6000600a60016101000a81548160ff021916908315150217905550565b610dff611874565b6000610e09611169565b73ffffffffffffffffffffffffffffffffffffffff1647604051610e2c90613001565b60006040518083038185875af1925050503d8060008114610e69576040519150601f19603f3d011682016040523d82523d6000602084013e610e6e565b606091505b5050905080610e7c57600080fd5b50565b610e9a83838360405180602001604052806000815250611573565b505050565b610eb0610eaa611a5c565b82611b1d565b610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690613062565b60405180910390fd5b6006600082815260200190815260200160002060009055610f0f81611d8b565b50565b610f1a611874565b8060098190555050565b60006002805490508210610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f64906130f4565b60405180910390fd5b819050919050565b60008060028381548110610f8c57610f8b612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102090612ccd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90613186565b60405180910390fd5b6000805b60028054905081101561113857600281815481106110c8576110c7612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561112d578160010191505b8060010190506110a7565b5080915050919050565b61114a611874565b6111546000611e6f565b565b600a60009054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111a290612c4f565b80601f01602080910402602001604051908101604052809291908181526020018280546111ce90612c4f565b801561121b5780601f106111f05761010080835404028352916020019161121b565b820191906000526020600020905b8154815290600101906020018083116111fe57829003601f168201915b5050505050905090565b8173ffffffffffffffffffffffffffffffffffffffff16611244611a5c565b73ffffffffffffffffffffffffffffffffffffffff16141561129b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611292906131f2565b60405180910390fd5b80600460006112a8611a5c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611355611a5c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161139a91906125f3565b60405180910390a35050565b600a60009054906101000a900460ff166113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613284565b60405180910390fd5b600b8163ffffffff161061143e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611435906132f0565b60405180910390fd5b600060028054905090506008548263ffffffff16820110611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b9061335c565b60405180910390fd5b60006009548363ffffffff166114aa91906133ab565b9050803410156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690613451565b60405180910390fd5b60005b8363ffffffff168163ffffffff1610156115485761150f83611f35565b6006600085815260200190815260200160002081905550611537611531611a5c565b846120e4565b8260010192508060010190506114f2565b50505050565b611556611874565b80600a60006101000a81548160ff02191690831515021790555050565b61158461157e611a5c565b83611b1d565b6115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90612f1e565b60405180910390fd5b6115cf848484846121f0565b50505050565b60606115e0826119d4565b61161f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611616906134bd565b60405180910390fd5b600060066000848152602001908152602001600020549050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392cb829d84836040518363ffffffff1660e01b81526004016116949291906134dd565b60006040518083038186803b1580156116ac57600080fd5b505afa1580156116c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116e991906135a7565b915050919050565b60085481565b6000611702826119d4565b611741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611738906134bd565b60405180910390fd5b60066000838152602001908152602001600020549050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117f8611874565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90613662565b60405180910390fd5b61187181611e6f565b50565b61187c611a5c565b73ffffffffffffffffffffffffffffffffffffffff1661189a611169565b73ffffffffffffffffffffffffffffffffffffffff16146118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e7906136ce565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119cd57506119cc8261224c565b5b9050919050565b600060028054905082108015611a555750600073ffffffffffffffffffffffffffffffffffffffff1660028381548110611a1157611a10612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ad783610f75565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b2983610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b6b5750611b6a818561175c565b5b80611ba957508373ffffffffffffffffffffffffffffffffffffffff16611b9184610917565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bd282610f75565b73ffffffffffffffffffffffffffffffffffffffff1614611c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1f90613760565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8f906137f2565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558160028281548110611ce357611ce2612e7d565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611d9682610f75565b90506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028281548110611de257611de1612e7d565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080611f41836122b6565b90506000600a6014603084901c611f589190613841565b611f629190613872565b600a600784611f719190613841565b611f7b9190613872565b6064611f8791906133ab565b611f919190613872565b90506000600a6014606085901c611fa89190613841565b611fb29190613872565b600a6006606086901c611fc59190613841565b611fcf9190613872565b6064611fdb91906133ab565b611fe59190613872565b90506000600a6014609086901c611ffc9190613841565b6120069190613872565b600a6007609087901c6120199190613841565b6120239190613872565b606461202f91906133ab565b6120399190613872565b90506000600a601460c087901c6120509190613841565b61205a9190613872565b600a600260c088901c61206d9190613841565b6120779190613872565b606461208391906133ab565b61208d9190613872565b9050808284866127106120a091906133ab565b6120aa9190613872565b6127106120b791906133ab565b6120c19190613872565b6127106120ce91906133ab565b6120d89190613872565b95505050505050919050565b6120ed816119d4565b1561212d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212490613914565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6121fb848484611bb2565b612207848484846122f8565b612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d906139a6565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006001436122c591906139c6565b40826040516020016122d8929190613a46565b6040516020818303038152906040528051906020012060001c9050919050565b60006123198473ffffffffffffffffffffffffffffffffffffffff1661248f565b15612482578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612342611a5c565b8786866040518563ffffffff1660e01b81526004016123649493929190613ac7565b602060405180830381600087803b15801561237e57600080fd5b505af19250505080156123af57506040513d601f19601f820116820180604052508101906123ac9190613b28565b60015b612432573d80600081146123df576040519150601f19603f3d011682016040523d82523d6000602084013e6123e4565b606091505b5060008151141561242a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612421906139a6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612487565b600190505b949350505050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124e1826124b6565b9050919050565b60006124f3826124d6565b9050919050565b612503816124e8565b811461250e57600080fd5b50565b600081359050612520816124fa565b92915050565b60006020828403121561253c5761253b6124ac565b5b600061254a84828501612511565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61258881612553565b811461259357600080fd5b50565b6000813590506125a58161257f565b92915050565b6000602082840312156125c1576125c06124ac565b5b60006125cf84828501612596565b91505092915050565b60008115159050919050565b6125ed816125d8565b82525050565b600060208201905061260860008301846125e4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561264857808201518184015260208101905061262d565b83811115612657576000848401525b50505050565b6000601f19601f8301169050919050565b60006126798261260e565b6126838185612619565b935061269381856020860161262a565b61269c8161265d565b840191505092915050565b600060208201905081810360008301526126c1818461266e565b905092915050565b6000819050919050565b6126dc816126c9565b81146126e757600080fd5b50565b6000813590506126f9816126d3565b92915050565b600060208284031215612715576127146124ac565b5b6000612723848285016126ea565b91505092915050565b612735816124d6565b82525050565b6000602082019050612750600083018461272c565b92915050565b61275f816124d6565b811461276a57600080fd5b50565b60008135905061277c81612756565b92915050565b60008060408385031215612799576127986124ac565b5b60006127a78582860161276d565b92505060206127b8858286016126ea565b9150509250929050565b6127cb816126c9565b82525050565b60006020820190506127e660008301846127c2565b92915050565b60008060408385031215612803576128026124ac565b5b6000612811858286016126ea565b9250506020612822858286016126ea565b9150509250929050565b600080600060608486031215612845576128446124ac565b5b60006128538682870161276d565b93505060206128648682870161276d565b9250506040612875868287016126ea565b9150509250925092565b6000819050919050565b60006128a461289f61289a846124b6565b61287f565b6124b6565b9050919050565b60006128b682612889565b9050919050565b60006128c8826128ab565b9050919050565b6128d8816128bd565b82525050565b60006020820190506128f360008301846128cf565b92915050565b60006020828403121561290f5761290e6124ac565b5b600061291d8482850161276d565b91505092915050565b61292f816125d8565b811461293a57600080fd5b50565b60008135905061294c81612926565b92915050565b60008060408385031215612969576129686124ac565b5b60006129778582860161276d565b92505060206129888582860161293d565b9150509250929050565b600063ffffffff82169050919050565b6129ab81612992565b81146129b657600080fd5b50565b6000813590506129c8816129a2565b92915050565b6000602082840312156129e4576129e36124ac565b5b60006129f2848285016129b9565b91505092915050565b600060208284031215612a1157612a106124ac565b5b6000612a1f8482850161293d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a6a8261265d565b810181811067ffffffffffffffff82111715612a8957612a88612a32565b5b80604052505050565b6000612a9c6124a2565b9050612aa88282612a61565b919050565b600067ffffffffffffffff821115612ac857612ac7612a32565b5b612ad18261265d565b9050602081019050919050565b82818337600083830152505050565b6000612b00612afb84612aad565b612a92565b905082815260208101848484011115612b1c57612b1b612a2d565b5b612b27848285612ade565b509392505050565b600082601f830112612b4457612b43612a28565b5b8135612b54848260208601612aed565b91505092915050565b60008060008060808587031215612b7757612b766124ac565b5b6000612b858782880161276d565b9450506020612b968782880161276d565b9350506040612ba7878288016126ea565b925050606085013567ffffffffffffffff811115612bc857612bc76124b1565b5b612bd487828801612b2f565b91505092959194509250565b60008060408385031215612bf757612bf66124ac565b5b6000612c058582860161276d565b9250506020612c168582860161276d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c6757607f821691505b60208210811415612c7b57612c7a612c20565b5b50919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612cb7601883612619565b9150612cc282612c81565b602082019050919050565b60006020820190508181036000830152612ce681612caa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d49602183612619565b9150612d5482612ced565b604082019050919050565b60006020820190508181036000830152612d7881612d3c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ddb603883612619565b9150612de682612d7f565b604082019050919050565b60006020820190508181036000830152612e0a81612dce565b9050919050565b7f43616e6e6f742073657420746865207365656400000000000000000000000000600082015250565b6000612e47601383612619565b9150612e5282612e11565b602082019050919050565b60006020820190508181036000830152612e7681612e3a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612f08602d83612619565b9150612f1382612eac565b604082019050919050565b60006020820190508181036000830152612f3781612efb565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000612f9a602b83612619565b9150612fa582612f3e565b604082019050919050565b60006020820190508181036000830152612fc981612f8d565b9050919050565b600081905092915050565b50565b6000612feb600083612fd0565b9150612ff682612fdb565b600082019050919050565b600061300c82612fde565b9150819050919050565b7f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000600082015250565b600061304c601583612619565b915061305782613016565b602082019050919050565b6000602082019050818103600083015261307b8161303f565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006130de602c83612619565b91506130e982613082565b604082019050919050565b6000602082019050818103600083015261310d816130d1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613170602983612619565b915061317b82613114565b604082019050919050565b6000602082019050818103600083015261319f81613163565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006131dc601983612619565b91506131e7826131a6565b602082019050919050565b6000602082019050818103600083015261320b816131cf565b9050919050565b7f4d696e74696e67206e6565647320746f20626520656e61626c656420746f207360008201527f74617274206d696e74696e670000000000000000000000000000000000000000602082015250565b600061326e602c83612619565b915061327982613212565b604082019050919050565b6000602082019050818103600083015261329d81613261565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e2e00000000600082015250565b60006132da601c83612619565b91506132e5826132a4565b602082019050919050565b60006020820190508181036000830152613309816132cd565b9050919050565b7f45786365656473206d617820737570706c792e00000000000000000000000000600082015250565b6000613346601383612619565b915061335182613310565b602082019050919050565b6000602082019050818103600083015261337581613339565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133b6826126c9565b91506133c1836126c9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156133fa576133f961337c565b5b828202905092915050565b7f496e73756666696369656e742066756e64732e00000000000000000000000000600082015250565b600061343b601383612619565b915061344682613405565b602082019050919050565b6000602082019050818103600083015261346a8161342e565b9050919050565b7f50756e6b20646f6573206e6f742065786973742e000000000000000000000000600082015250565b60006134a7601483612619565b91506134b282613471565b602082019050919050565b600060208201905081810360008301526134d68161349a565b9050919050565b60006040820190506134f260008301856127c2565b6134ff60208301846127c2565b9392505050565b600067ffffffffffffffff82111561352157613520612a32565b5b61352a8261265d565b9050602081019050919050565b600061354a61354584613506565b612a92565b90508281526020810184848401111561356657613565612a2d565b5b61357184828561262a565b509392505050565b600082601f83011261358e5761358d612a28565b5b815161359e848260208601613537565b91505092915050565b6000602082840312156135bd576135bc6124ac565b5b600082015167ffffffffffffffff8111156135db576135da6124b1565b5b6135e784828501613579565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061364c602683612619565b9150613657826135f0565b604082019050919050565b6000602082019050818103600083015261367b8161363f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136b8602083612619565b91506136c382613682565b602082019050919050565b600060208201905081810360008301526136e7816136ab565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061374a602583612619565b9150613755826136ee565b604082019050919050565b600060208201905081810360008301526137798161373d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006137dc602483612619565b91506137e782613780565b604082019050919050565b6000602082019050818103600083015261380b816137cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061384c826126c9565b9150613857836126c9565b92508261386757613866613812565b5b828206905092915050565b600061387d826126c9565b9150613888836126c9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138bd576138bc61337c565b5b828201905092915050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006138fe601c83612619565b9150613909826138c8565b602082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613990603283612619565b915061399b82613934565b604082019050919050565b600060208201905081810360008301526139bf81613983565b9050919050565b60006139d1826126c9565b91506139dc836126c9565b9250828210156139ef576139ee61337c565b5b828203905092915050565b6000819050919050565b6000819050919050565b613a1f613a1a826139fa565b613a04565b82525050565b6000819050919050565b613a40613a3b826126c9565b613a25565b82525050565b6000613a528285613a0e565b602082019150613a628284613a2f565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000613a9982613a72565b613aa38185613a7d565b9350613ab381856020860161262a565b613abc8161265d565b840191505092915050565b6000608082019050613adc600083018761272c565b613ae9602083018661272c565b613af660408301856127c2565b8181036060830152613b088184613a8e565b905095945050505050565b600081519050613b228161257f565b92915050565b600060208284031215613b3e57613b3d6124ac565b5b6000613b4c84828501613b13565b9150509291505056fea264697066735822122095c5250919a22e2763f29026cbe1c6623cd45e3182c12a3ada4122b7feb0019964736f6c63430008090033000000000000000000000000f40ec5d8197a7b02a8b20db507083592fac82464

Deployed Bytecode

0x6080604052600436106101ee5760003560e01c806344a0d68a1161010d578063a22cb465116100a0578063c87b56dd1161006f578063c87b56dd146106b4578063d5abeb01146106f1578063e0d4ea371461071c578063e985e9c514610759578063f2fde38b14610796576101ee565b8063a22cb4651461061d578063a71bbebe14610646578063b4c7f06614610662578063b88d4fde1461068b576101ee565b8063715018a6116100dc578063715018a6146105855780637dc2268c1461059c5780638da5cb5b146105c757806395d89b41146105f2576101ee565b806344a0d68a146104a55780634f6ccce7146104ce5780636352211e1461050b57806370a0823114610548576101ee565b806323b872dd116101855780633bb2c938116101545780633bb2c938146104255780633ccfd60b1461043c57806342842e0e1461045357806342966c681461047c576101ee565b806323b872dd146103695780632f745c5914610392578063303e74df146103cf57806333101e1f146103fa576101ee565b8063095ea7b3116101c1578063095ea7b3146102c157806313faede6146102ea578063176b72b41461031557806318160ddd1461033e576101ee565b806301b9a397146101f357806301ffc9a71461021c57806306fdde0314610259578063081812fc14610284575b600080fd5b3480156101ff57600080fd5b5061021a60048036038101906102159190612526565b6107bf565b005b34801561022857600080fd5b50610243600480360381019061023e91906125ab565b61080b565b60405161025091906125f3565b60405180910390f35b34801561026557600080fd5b5061026e610885565b60405161027b91906126a7565b60405180910390f35b34801561029057600080fd5b506102ab60048036038101906102a691906126ff565b610917565b6040516102b8919061273b565b60405180910390f35b3480156102cd57600080fd5b506102e860048036038101906102e39190612782565b61099c565b005b3480156102f657600080fd5b506102ff610ab4565b60405161030c91906127d1565b60405180910390f35b34801561032157600080fd5b5061033c600480360381019061033791906127ec565b610aba565b005b34801561034a57600080fd5b50610353610b65565b60405161036091906127d1565b60405180910390f35b34801561037557600080fd5b50610390600480360381019061038b919061282c565b610c04565b005b34801561039e57600080fd5b506103b960048036038101906103b49190612782565b610c64565b6040516103c691906127d1565b60405180910390f35b3480156103db57600080fd5b506103e4610d99565b6040516103f191906128de565b60405180910390f35b34801561040657600080fd5b5061040f610dbf565b60405161041c91906125f3565b60405180910390f35b34801561043157600080fd5b5061043a610dd2565b005b34801561044857600080fd5b50610451610df7565b005b34801561045f57600080fd5b5061047a6004803603810190610475919061282c565b610e7f565b005b34801561048857600080fd5b506104a3600480360381019061049e91906126ff565b610e9f565b005b3480156104b157600080fd5b506104cc60048036038101906104c791906126ff565b610f12565b005b3480156104da57600080fd5b506104f560048036038101906104f091906126ff565b610f24565b60405161050291906127d1565b60405180910390f35b34801561051757600080fd5b50610532600480360381019061052d91906126ff565b610f75565b60405161053f919061273b565b60405180910390f35b34801561055457600080fd5b5061056f600480360381019061056a91906128f9565b611032565b60405161057c91906127d1565b60405180910390f35b34801561059157600080fd5b5061059a611142565b005b3480156105a857600080fd5b506105b1611156565b6040516105be91906125f3565b60405180910390f35b3480156105d357600080fd5b506105dc611169565b6040516105e9919061273b565b60405180910390f35b3480156105fe57600080fd5b50610607611193565b60405161061491906126a7565b60405180910390f35b34801561062957600080fd5b50610644600480360381019061063f9190612952565b611225565b005b610660600480360381019061065b91906129ce565b6113a6565b005b34801561066e57600080fd5b50610689600480360381019061068491906129fb565b61154e565b005b34801561069757600080fd5b506106b260048036038101906106ad9190612b5d565b611573565b005b3480156106c057600080fd5b506106db60048036038101906106d691906126ff565b6115d5565b6040516106e891906126a7565b60405180910390f35b3480156106fd57600080fd5b506107066116f1565b60405161071391906127d1565b60405180910390f35b34801561072857600080fd5b50610743600480360381019061073e91906126ff565b6116f7565b60405161075091906127d1565b60405180910390f35b34801561076557600080fd5b50610780600480360381019061077b9190612be0565b61175c565b60405161078d91906125f3565b60405180910390f35b3480156107a257600080fd5b506107bd60048036038101906107b891906128f9565b6117f0565b005b6107c7611874565b80600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061087e575061087d826118f2565b5b9050919050565b60606000805461089490612c4f565b80601f01602080910402602001604051908101604052809291908181526020018280546108c090612c4f565b801561090d5780601f106108e25761010080835404028352916020019161090d565b820191906000526020600020905b8154815290600101906020018083116108f057829003601f168201915b5050505050905090565b6000610922826119d4565b610961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095890612ccd565b60405180910390fd5b6003600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109a782610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a0f90612d5f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a37611a5c565b73ffffffffffffffffffffffffffffffffffffffff161480610a665750610a6581610a60611a5c565b61175c565b5b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c90612df1565b60405180910390fd5b610aaf8383611a64565b505050565b60095481565b610ac2611874565b600a60019054906101000a900460ff16610b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0890612e5d565b60405180910390fd5b806006600084815260200190815260200160002081905550817faabfe5e8bccf1a1352f72b557ce580211305c37f88d5783ae467a1ba5e0761e082604051610b5991906127d1565b60405180910390a25050565b60008060005b600280549050811015610bfc57600073ffffffffffffffffffffffffffffffffffffffff1660028281548110610ba457610ba3612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610bf1578160010191505b806001019050610b6b565b508091505090565b610c15610c0f611a5c565b82611b1d565b610c54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4b90612f1e565b60405180910390fd5b610c5f838383611bb2565b505050565b6000610c6f83611032565b8210610cb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca790612fb0565b60405180910390fd5b6000805b600280549050811015610d575760028181548110610cd557610cd4612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610d4c5783821415610d45578092505050610d93565b8160010191505b806001019050610cb4565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d8a90612fb0565b60405180910390fd5b92915050565b600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a60019054906101000a900460ff1681565b610dda611874565b6000600a60016101000a81548160ff021916908315150217905550565b610dff611874565b6000610e09611169565b73ffffffffffffffffffffffffffffffffffffffff1647604051610e2c90613001565b60006040518083038185875af1925050503d8060008114610e69576040519150601f19603f3d011682016040523d82523d6000602084013e610e6e565b606091505b5050905080610e7c57600080fd5b50565b610e9a83838360405180602001604052806000815250611573565b505050565b610eb0610eaa611a5c565b82611b1d565b610eef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ee690613062565b60405180910390fd5b6006600082815260200190815260200160002060009055610f0f81611d8b565b50565b610f1a611874565b8060098190555050565b60006002805490508210610f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f64906130f4565b60405180910390fd5b819050919050565b60008060028381548110610f8c57610f8b612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611029576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102090612ccd565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156110a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161109a90613186565b60405180910390fd5b6000805b60028054905081101561113857600281815481106110c8576110c7612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561112d578160010191505b8060010190506110a7565b5080915050919050565b61114a611874565b6111546000611e6f565b565b600a60009054906101000a900460ff1681565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546111a290612c4f565b80601f01602080910402602001604051908101604052809291908181526020018280546111ce90612c4f565b801561121b5780601f106111f05761010080835404028352916020019161121b565b820191906000526020600020905b8154815290600101906020018083116111fe57829003601f168201915b5050505050905090565b8173ffffffffffffffffffffffffffffffffffffffff16611244611a5c565b73ffffffffffffffffffffffffffffffffffffffff16141561129b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611292906131f2565b60405180910390fd5b80600460006112a8611a5c565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611355611a5c565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161139a91906125f3565b60405180910390a35050565b600a60009054906101000a900460ff166113f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ec90613284565b60405180910390fd5b600b8163ffffffff161061143e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611435906132f0565b60405180910390fd5b600060028054905090506008548263ffffffff16820110611494576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148b9061335c565b60405180910390fd5b60006009548363ffffffff166114aa91906133ab565b9050803410156114ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e690613451565b60405180910390fd5b60005b8363ffffffff168163ffffffff1610156115485761150f83611f35565b6006600085815260200190815260200160002081905550611537611531611a5c565b846120e4565b8260010192508060010190506114f2565b50505050565b611556611874565b80600a60006101000a81548160ff02191690831515021790555050565b61158461157e611a5c565b83611b1d565b6115c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ba90612f1e565b60405180910390fd5b6115cf848484846121f0565b50505050565b60606115e0826119d4565b61161f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611616906134bd565b60405180910390fd5b600060066000848152602001908152602001600020549050600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166392cb829d84836040518363ffffffff1660e01b81526004016116949291906134dd565b60006040518083038186803b1580156116ac57600080fd5b505afa1580156116c0573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f820116820180604052508101906116e991906135a7565b915050919050565b60085481565b6000611702826119d4565b611741576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611738906134bd565b60405180910390fd5b60066000838152602001908152602001600020549050919050565b6000600460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6117f8611874565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611868576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161185f90613662565b60405180910390fd5b61187181611e6f565b50565b61187c611a5c565b73ffffffffffffffffffffffffffffffffffffffff1661189a611169565b73ffffffffffffffffffffffffffffffffffffffff16146118f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e7906136ce565b60405180910390fd5b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806119bd57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806119cd57506119cc8261224c565b5b9050919050565b600060028054905082108015611a555750600073ffffffffffffffffffffffffffffffffffffffff1660028381548110611a1157611a10612e7d565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614155b9050919050565b600033905090565b816003600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611ad783610f75565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600080611b2983610f75565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611b6b5750611b6a818561175c565b5b80611ba957508373ffffffffffffffffffffffffffffffffffffffff16611b9184610917565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611bd282610f75565b73ffffffffffffffffffffffffffffffffffffffff1614611c28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c1f90613760565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611c98576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8f906137f2565b60405180910390fd5b6003600082815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690558160028281548110611ce357611ce2612e7d565b5b9060005260206000200160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611d9682610f75565b90506003600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905560028281548110611de257611de1612e7d565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080611f41836122b6565b90506000600a6014603084901c611f589190613841565b611f629190613872565b600a600784611f719190613841565b611f7b9190613872565b6064611f8791906133ab565b611f919190613872565b90506000600a6014606085901c611fa89190613841565b611fb29190613872565b600a6006606086901c611fc59190613841565b611fcf9190613872565b6064611fdb91906133ab565b611fe59190613872565b90506000600a6014609086901c611ffc9190613841565b6120069190613872565b600a6007609087901c6120199190613841565b6120239190613872565b606461202f91906133ab565b6120399190613872565b90506000600a601460c087901c6120509190613841565b61205a9190613872565b600a600260c088901c61206d9190613841565b6120779190613872565b606461208391906133ab565b61208d9190613872565b9050808284866127106120a091906133ab565b6120aa9190613872565b6127106120b791906133ab565b6120c19190613872565b6127106120ce91906133ab565b6120d89190613872565b95505050505050919050565b6120ed816119d4565b1561212d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212490613914565b60405180910390fd5b6002829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6121fb848484611bb2565b612207848484846122f8565b612246576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223d906139a6565b60405180910390fd5b50505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006001436122c591906139c6565b40826040516020016122d8929190613a46565b6040516020818303038152906040528051906020012060001c9050919050565b60006123198473ffffffffffffffffffffffffffffffffffffffff1661248f565b15612482578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612342611a5c565b8786866040518563ffffffff1660e01b81526004016123649493929190613ac7565b602060405180830381600087803b15801561237e57600080fd5b505af19250505080156123af57506040513d601f19601f820116820180604052508101906123ac9190613b28565b60015b612432573d80600081146123df576040519150601f19603f3d011682016040523d82523d6000602084013e6123e4565b606091505b5060008151141561242a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612421906139a6565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612487565b600190505b949350505050565b600080823b905060008111915050919050565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006124e1826124b6565b9050919050565b60006124f3826124d6565b9050919050565b612503816124e8565b811461250e57600080fd5b50565b600081359050612520816124fa565b92915050565b60006020828403121561253c5761253b6124ac565b5b600061254a84828501612511565b91505092915050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61258881612553565b811461259357600080fd5b50565b6000813590506125a58161257f565b92915050565b6000602082840312156125c1576125c06124ac565b5b60006125cf84828501612596565b91505092915050565b60008115159050919050565b6125ed816125d8565b82525050565b600060208201905061260860008301846125e4565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561264857808201518184015260208101905061262d565b83811115612657576000848401525b50505050565b6000601f19601f8301169050919050565b60006126798261260e565b6126838185612619565b935061269381856020860161262a565b61269c8161265d565b840191505092915050565b600060208201905081810360008301526126c1818461266e565b905092915050565b6000819050919050565b6126dc816126c9565b81146126e757600080fd5b50565b6000813590506126f9816126d3565b92915050565b600060208284031215612715576127146124ac565b5b6000612723848285016126ea565b91505092915050565b612735816124d6565b82525050565b6000602082019050612750600083018461272c565b92915050565b61275f816124d6565b811461276a57600080fd5b50565b60008135905061277c81612756565b92915050565b60008060408385031215612799576127986124ac565b5b60006127a78582860161276d565b92505060206127b8858286016126ea565b9150509250929050565b6127cb816126c9565b82525050565b60006020820190506127e660008301846127c2565b92915050565b60008060408385031215612803576128026124ac565b5b6000612811858286016126ea565b9250506020612822858286016126ea565b9150509250929050565b600080600060608486031215612845576128446124ac565b5b60006128538682870161276d565b93505060206128648682870161276d565b9250506040612875868287016126ea565b9150509250925092565b6000819050919050565b60006128a461289f61289a846124b6565b61287f565b6124b6565b9050919050565b60006128b682612889565b9050919050565b60006128c8826128ab565b9050919050565b6128d8816128bd565b82525050565b60006020820190506128f360008301846128cf565b92915050565b60006020828403121561290f5761290e6124ac565b5b600061291d8482850161276d565b91505092915050565b61292f816125d8565b811461293a57600080fd5b50565b60008135905061294c81612926565b92915050565b60008060408385031215612969576129686124ac565b5b60006129778582860161276d565b92505060206129888582860161293d565b9150509250929050565b600063ffffffff82169050919050565b6129ab81612992565b81146129b657600080fd5b50565b6000813590506129c8816129a2565b92915050565b6000602082840312156129e4576129e36124ac565b5b60006129f2848285016129b9565b91505092915050565b600060208284031215612a1157612a106124ac565b5b6000612a1f8482850161293d565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612a6a8261265d565b810181811067ffffffffffffffff82111715612a8957612a88612a32565b5b80604052505050565b6000612a9c6124a2565b9050612aa88282612a61565b919050565b600067ffffffffffffffff821115612ac857612ac7612a32565b5b612ad18261265d565b9050602081019050919050565b82818337600083830152505050565b6000612b00612afb84612aad565b612a92565b905082815260208101848484011115612b1c57612b1b612a2d565b5b612b27848285612ade565b509392505050565b600082601f830112612b4457612b43612a28565b5b8135612b54848260208601612aed565b91505092915050565b60008060008060808587031215612b7757612b766124ac565b5b6000612b858782880161276d565b9450506020612b968782880161276d565b9350506040612ba7878288016126ea565b925050606085013567ffffffffffffffff811115612bc857612bc76124b1565b5b612bd487828801612b2f565b91505092959194509250565b60008060408385031215612bf757612bf66124ac565b5b6000612c058582860161276d565b9250506020612c168582860161276d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612c6757607f821691505b60208210811415612c7b57612c7a612c20565b5b50919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612cb7601883612619565b9150612cc282612c81565b602082019050919050565b60006020820190508181036000830152612ce681612caa565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000612d49602183612619565b9150612d5482612ced565b604082019050919050565b60006020820190508181036000830152612d7881612d3c565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000612ddb603883612619565b9150612de682612d7f565b604082019050919050565b60006020820190508181036000830152612e0a81612dce565b9050919050565b7f43616e6e6f742073657420746865207365656400000000000000000000000000600082015250565b6000612e47601383612619565b9150612e5282612e11565b602082019050919050565b60006020820190508181036000830152612e7681612e3a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206f7220617070726f76656400000000000000000000000000000000000000602082015250565b6000612f08602d83612619565b9150612f1382612eac565b604082019050919050565b60006020820190508181036000830152612f3781612efb565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000612f9a602b83612619565b9150612fa582612f3e565b604082019050919050565b60006020820190508181036000830152612fc981612f8d565b9050919050565b600081905092915050565b50565b6000612feb600083612fd0565b9150612ff682612fdb565b600082019050919050565b600061300c82612fde565b9150819050919050565b7f4e6f7420617070726f76656420746f206275726e2e0000000000000000000000600082015250565b600061304c601583612619565b915061305782613016565b602082019050919050565b6000602082019050818103600083015261307b8161303f565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006130de602c83612619565b91506130e982613082565b604082019050919050565b6000602082019050818103600083015261310d816130d1565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000613170602983612619565b915061317b82613114565b604082019050919050565b6000602082019050818103600083015261319f81613163565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006131dc601983612619565b91506131e7826131a6565b602082019050919050565b6000602082019050818103600083015261320b816131cf565b9050919050565b7f4d696e74696e67206e6565647320746f20626520656e61626c656420746f207360008201527f74617274206d696e74696e670000000000000000000000000000000000000000602082015250565b600061326e602c83612619565b915061327982613212565b604082019050919050565b6000602082019050818103600083015261329d81613261565b9050919050565b7f45786365656473206d617820706572207472616e73616374696f6e2e00000000600082015250565b60006132da601c83612619565b91506132e5826132a4565b602082019050919050565b60006020820190508181036000830152613309816132cd565b9050919050565b7f45786365656473206d617820737570706c792e00000000000000000000000000600082015250565b6000613346601383612619565b915061335182613310565b602082019050919050565b6000602082019050818103600083015261337581613339565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006133b6826126c9565b91506133c1836126c9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156133fa576133f961337c565b5b828202905092915050565b7f496e73756666696369656e742066756e64732e00000000000000000000000000600082015250565b600061343b601383612619565b915061344682613405565b602082019050919050565b6000602082019050818103600083015261346a8161342e565b9050919050565b7f50756e6b20646f6573206e6f742065786973742e000000000000000000000000600082015250565b60006134a7601483612619565b91506134b282613471565b602082019050919050565b600060208201905081810360008301526134d68161349a565b9050919050565b60006040820190506134f260008301856127c2565b6134ff60208301846127c2565b9392505050565b600067ffffffffffffffff82111561352157613520612a32565b5b61352a8261265d565b9050602081019050919050565b600061354a61354584613506565b612a92565b90508281526020810184848401111561356657613565612a2d565b5b61357184828561262a565b509392505050565b600082601f83011261358e5761358d612a28565b5b815161359e848260208601613537565b91505092915050565b6000602082840312156135bd576135bc6124ac565b5b600082015167ffffffffffffffff8111156135db576135da6124b1565b5b6135e784828501613579565b91505092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061364c602683612619565b9150613657826135f0565b604082019050919050565b6000602082019050818103600083015261367b8161363f565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006136b8602083612619565b91506136c382613682565b602082019050919050565b600060208201905081810360008301526136e7816136ab565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b600061374a602583612619565b9150613755826136ee565b604082019050919050565b600060208201905081810360008301526137798161373d565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006137dc602483612619565b91506137e782613780565b604082019050919050565b6000602082019050818103600083015261380b816137cf565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061384c826126c9565b9150613857836126c9565b92508261386757613866613812565b5b828206905092915050565b600061387d826126c9565b9150613888836126c9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138bd576138bc61337c565b5b828201905092915050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006138fe601c83612619565b9150613909826138c8565b602082019050919050565b6000602082019050818103600083015261392d816138f1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613990603283612619565b915061399b82613934565b604082019050919050565b600060208201905081810360008301526139bf81613983565b9050919050565b60006139d1826126c9565b91506139dc836126c9565b9250828210156139ef576139ee61337c565b5b828203905092915050565b6000819050919050565b6000819050919050565b613a1f613a1a826139fa565b613a04565b82525050565b6000819050919050565b613a40613a3b826126c9565b613a25565b82525050565b6000613a528285613a0e565b602082019150613a628284613a2f565b6020820191508190509392505050565b600081519050919050565b600082825260208201905092915050565b6000613a9982613a72565b613aa38185613a7d565b9350613ab381856020860161262a565b613abc8161265d565b840191505092915050565b6000608082019050613adc600083018761272c565b613ae9602083018661272c565b613af660408301856127c2565b8181036060830152613b088184613a8e565b905095945050505050565b600081519050613b228161257f565b92915050565b600060208284031215613b3e57613b3d6124ac565b5b6000613b4c84828501613b13565b9150509291505056fea264697066735822122095c5250919a22e2763f29026cbe1c6623cd45e3182c12a3ada4122b7feb0019964736f6c63430008090033

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

000000000000000000000000f40ec5d8197a7b02a8b20db507083592fac82464

-----Decoded View---------------
Arg [0] : newDescriptor (address): 0xF40eC5D8197A7B02a8b20DB507083592FAc82464

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000f40ec5d8197a7b02a8b20db507083592fac82464


Loading...
Loading
Loading...
Loading
[ 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.