ETH Price: $2,496.46 (-0.80%)

Undead Ape (UA)
 

Overview

TokenID

1490

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

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:
UndeadApe

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

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

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract UndeadApe is
    ERC721Enumerable,
    Ownable
{
    using SafeMath for uint256;
    using Strings for uint256;
    
    address proxyRegistryAddress;

    uint256 public whitelistMintPrice = 0.06 ether; 
    uint256 public publicMintPrice = 0.08 ether; 
    uint256 public maxSupply = 5000;
    
    uint256 public whitelistSaleTimeStamp;
    uint256 public publicSaleTimeStamp;
    uint256 public revealTimeStamp;

    string private BASE_URI = "";

    address private founder = 0xebF2Ef5A1eE0dFC75392E8cF6BAa62de28D8E260;
    address private dev = 0xAE77beeda3c1BB43B1cAEaE04815F68e1c07e077;
    address private marketing = 0xD1289b354055D19440020a2C3B27A6167df8c607;
    address private art = 0xD1d48370ddE640a9e58728c235364612352F58a1;
    address private advisor = 0x8e00bc205E913eD242705d6e1F42182e6f9b21f3;
    address private community = 0x1F966f2F84b7adeca70ebe5D10107A71B94D34E3;

    address public whitelistContract1;
    address public whitelistContract2;
    address public whitelistContract3;

    mapping(address => bool) public tier1Whitelist;
    mapping(address => bool) public tier2Whitelist;

    uint256 public tier1Qty = 10;
    uint256 public tier2Qty = 3;

    constructor(
        string memory name,
        string memory symbol,
        uint256 maxNftSupply,
        uint256 whitelistSaleStart,
        address proxyRegistryAddress_,
        address whitelistContract1_,
        address whitelistContract2_,
        address whitelistContract3_
    ) ERC721(name, symbol) {
        maxSupply = maxNftSupply;
        whitelistSaleTimeStamp = whitelistSaleStart;
        publicSaleTimeStamp = whitelistSaleStart + (43200);
        revealTimeStamp = whitelistSaleStart + (86400 * 3);
        proxyRegistryAddress = proxyRegistryAddress_;
        whitelistContract1 = whitelistContract1_;
        whitelistContract2 = whitelistContract2_;
        whitelistContract3 = whitelistContract3_;
    }

    function setTierQtys(uint256 _qty1, uint256 _qty2) external onlyOwner {
        tier1Qty = _qty1;
        tier2Qty = _qty2;
    }

    function addToTier1Whitelist(address[] memory addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            tier1Whitelist[addresses[i]] = true;
        }
    }

    function addToTier2Whitelist(address[] memory addresses) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            tier2Whitelist[addresses[i]] = true;
        }
    }

    function whitelistQuantity(address _add) public view returns (uint256) {
        uint256 qty = tier1Whitelist[_add] ? tier1Qty : (tier2Whitelist[_add] ? tier2Qty : 0);
        if (
            IERC721(whitelistContract1).balanceOf(_add) > 0 ||
            IERC721(whitelistContract2).balanceOf(_add) > 0 ||
            IERC721(whitelistContract3).balanceOf(_add) > 0
        ) {
            qty = qty > tier2Qty ? qty : tier2Qty;
        }
        return qty;
    }

    function setWhitelistContracts(address whitelistContract1_, address whitelistContract2_, address whitelistContract3_) external onlyOwner {
        whitelistContract1 = whitelistContract1_;
        whitelistContract2 = whitelistContract2_;
        whitelistContract3 = whitelistContract3_;
    }

    function setWhitelistSaleTimestamp(uint256 timeStamp) external onlyOwner {
        whitelistSaleTimeStamp = timeStamp;
    }

    function setPublicSaleTimestamp(uint256 timeStamp) external onlyOwner {
        publicSaleTimeStamp = timeStamp;
    }

    function setRevealTimestamp(uint256 timeStamp) external onlyOwner {
        revealTimeStamp = timeStamp;
    }

    function setWhitelistSaleMintPrice(uint256 price) external onlyOwner {
        whitelistMintPrice = price;
    }

    function setPublicSaleMintPrice(uint256 price) external onlyOwner {
        publicMintPrice = price;
    }

    function setMaxSupply(uint256 supply) external onlyOwner {
        maxSupply = supply;
    }

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

    function mint(uint256 numberOfTokens) public payable {
        uint256 whitelistQty = whitelistQuantity(msg.sender);
        require(
            block.timestamp >= publicSaleTimeStamp ||  
            (block.timestamp >= whitelistSaleTimeStamp && balanceOf(msg.sender).add(numberOfTokens) <= whitelistQty), 
            "Either sale is not active or you are not whitelisted to mint these many tokens");
        require(numberOfTokens <= 20, 'Cannot mint more than 20 tokens at a time');
        require(
            totalSupply().add(numberOfTokens) <= maxSupply,
            "Purchase would exceed max supply"
        );
        uint256 mintPrice = whitelistQty > 0 ? whitelistMintPrice : publicMintPrice;
        require(
            mintPrice.mul(numberOfTokens) <= msg.value,
            "Ether value sent is not correct"
        );

        for (uint256 i = 0; i < numberOfTokens; i++) {
            uint256 mintIndex = totalSupply() + 1;
            if (totalSupply() < maxSupply) {
                _mint(msg.sender, mintIndex);
            }
        }
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        payable(founder).transfer(balance.mul(40).div(100));
        payable(dev).transfer(balance.mul(10).div(100));
        payable(marketing).transfer(balance.mul(20).div(100));
        payable(art).transfer(balance.mul(10).div(100));
        payable(advisor).transfer(balance.mul(25).div(1000));
        payable(community).transfer(balance.mul(175).div(1000));
    }

    function reserve(uint256 num, address _to) external onlyOwner {
        uint256 supply = totalSupply();
        uint256 i;
        for (i = 1; i <= num; i++) {
            _safeMint(_to, supply + i);
        }
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        return block.timestamp >= revealTimeStamp 
        ? string(abi.encodePacked(BASE_URI, _tokenId.toString(), ".json")) 
        : contractURI();
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
        if (address(proxyRegistry.proxies(owner)) == operator) {
            return true;
        }

        return super.isApprovedForAll(owner, operator);
    }

    function contractURI() public pure returns (string memory) {
        return "ipfs://QmPuiaEiiUZX6CqKeXqC5trJg4xq9pN69qn4w5mvFKbAQo";
    }
}

File 2 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

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

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

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

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

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

File 3 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 5 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 6 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 14 : 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 8 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

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

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

File 9 of 14 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

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

File 10 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 11 of 14 : 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 12 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 14 : 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 14 of 14 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"maxNftSupply","type":"uint256"},{"internalType":"uint256","name":"whitelistSaleStart","type":"uint256"},{"internalType":"address","name":"proxyRegistryAddress_","type":"address"},{"internalType":"address","name":"whitelistContract1_","type":"address"},{"internalType":"address","name":"whitelistContract2_","type":"address"},{"internalType":"address","name":"whitelistContract3_","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":"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":"addresses","type":"address[]"}],"name":"addToTier1Whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToTier2Whitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"publicMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"num","type":"uint256"},{"internalType":"address","name":"_to","type":"address"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPublicSaleMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeStamp","type":"uint256"}],"name":"setPublicSaleTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeStamp","type":"uint256"}],"name":"setRevealTimestamp","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_qty1","type":"uint256"},{"internalType":"uint256","name":"_qty2","type":"uint256"}],"name":"setTierQtys","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"whitelistContract1_","type":"address"},{"internalType":"address","name":"whitelistContract2_","type":"address"},{"internalType":"address","name":"whitelistContract3_","type":"address"}],"name":"setWhitelistContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setWhitelistSaleMintPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"timeStamp","type":"uint256"}],"name":"setWhitelistSaleTimestamp","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":[],"name":"tier1Qty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tier1Whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tier2Qty","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tier2Whitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"whitelistContract1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistContract2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistContract3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_add","type":"address"}],"name":"whitelistQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistSaleTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405266d529ae9e860000600c5567011c37937e080000600d55611388600e55604051806020016040528060008152506012908051906020019062000048929190620004f5565b5073ebf2ef5a1ee0dfc75392e8cf6baa62de28d8e260601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073ae77beeda3c1bb43b1caeae04815f68e1c07e077601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d1289b354055d19440020a2c3b27a6167df8c607601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073d1d48370dde640a9e58728c235364612352f58a1601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550738e00bc205e913ed242705d6e1f42182e6f9b21f3601760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550731f966f2f84b7adeca70ebe5d10107a71b94d34e3601860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a601e556003601f553480156200025e57600080fd5b5060405162005e0138038062005e01833981810160405281019062000284919062000645565b878781600090805190602001906200029e929190620004f5565b508060019080519060200190620002b7929190620004f5565b505050620002da620002ce6200042760201b60201c565b6200042f60201b60201c565b85600e8190555084600f8190555061a8c085620002f8919062000799565b6010819055506203f480856200030f919062000799565b60118190555083600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505050505050620009a8565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000503906200086a565b90600052602060002090601f01602090048101928262000527576000855562000573565b82601f106200054257805160ff191683800117855562000573565b8280016001018555821562000573579182015b828111156200057257825182559160200191906001019062000555565b5b50905062000582919062000586565b5090565b5b80821115620005a157600081600090555060010162000587565b5090565b6000620005bc620005b68462000763565b6200073a565b905082815260208101848484011115620005d557600080fd5b620005e284828562000834565b509392505050565b600081519050620005fb8162000974565b92915050565b600082601f8301126200061357600080fd5b815162000625848260208601620005a5565b91505092915050565b6000815190506200063f816200098e565b92915050565b600080600080600080600080610100898b0312156200066357600080fd5b600089015167ffffffffffffffff8111156200067e57600080fd5b6200068c8b828c0162000601565b985050602089015167ffffffffffffffff811115620006aa57600080fd5b620006b88b828c0162000601565b9750506040620006cb8b828c016200062e565b9650506060620006de8b828c016200062e565b9550506080620006f18b828c01620005ea565b94505060a0620007048b828c01620005ea565b93505060c0620007178b828c01620005ea565b92505060e06200072a8b828c01620005ea565b9150509295985092959890939650565b60006200074662000759565b9050620007548282620008a0565b919050565b6000604051905090565b600067ffffffffffffffff82111562000781576200078062000934565b5b6200078c8262000963565b9050602081019050919050565b6000620007a6826200082a565b9150620007b3836200082a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620007eb57620007ea620008d6565b5b828201905092915050565b600062000803826200080a565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b838110156200085457808201518184015260208101905062000837565b8381111562000864576000848401525b50505050565b600060028204905060018216806200088357607f821691505b602082108114156200089a576200089962000905565b5b50919050565b620008ab8262000963565b810181811067ffffffffffffffff82111715620008cd57620008cc62000934565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6200097f81620007f6565b81146200098b57600080fd5b50565b62000999816200082a565b8114620009a557600080fd5b50565b61544980620009b86000396000f3fe6080604052600436106102935760003560e01c806371fc23311161015a578063bdf3db53116100c1578063e2ce86e81161007a578063e2ce86e8146109f3578063e8a3d48514610a30578063e985e9c514610a5b578063ec2354dc14610a98578063f042aa6614610ac1578063f2fde38b14610aea57610293565b8063bdf3db53146108cf578063c87b56dd146108fa578063d5abeb0114610937578063d90cce0314610962578063dc53fd921461099f578063e240bb9c146109ca57610293565b806395d89b411161011357806395d89b41146107e257806398bd137a1461080d578063a0712d6814610838578063a18d05e614610854578063a22cb4651461087d578063b88d4fde146108a657610293565b806371fc2331146106d2578063786571c1146106fb5780637e5cde2814610738578063860ab734146107635780638c72bf5f1461078c5780638da5cb5b146107b757610293565b806342842e0e116101fe578063645bb9d0116101b7578063645bb9d0146105d657806364bc8b87146106015780636f8b44b01461062a57806370a0823114610653578063715018a61461069057806371f9c534146106a757610293565b806342842e0e146104b65780634f6ccce7146104df578063511a96051461051c578063514b47111461054557806355f804b3146105705780636352211e1461059957610293565b8063095ea7b311610250578063095ea7b3146103ba57806318160ddd146103e357806323b872dd1461040e5780632f745c591461043757806335c6aaf8146104745780633ccfd60b1461049f57610293565b8063018a2c371461029857806301ffc9a7146102c157806303339bcb146102fe57806306b752361461032757806306fdde0314610352578063081812fc1461037d575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba919061404a565b610b13565b005b3480156102cd57600080fd5b506102e860048036038101906102e39190613f8e565b610b99565b6040516102f591906145fb565b60405180910390f35b34801561030a57600080fd5b506103256004803603810190610320919061409c565b610c13565b005b34801561033357600080fd5b5061033c610cd7565b6040516103499190614594565b60405180910390f35b34801561035e57600080fd5b50610367610cfd565b6040516103749190614616565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f919061404a565b610d8f565b6040516103b19190614594565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190613f11565b610e14565b005b3480156103ef57600080fd5b506103f8610f2c565b60405161040591906148d8565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613e0b565b610f39565b005b34801561044357600080fd5b5061045e60048036038101906104599190613f11565b610f99565b60405161046b91906148d8565b60405180910390f35b34801561048057600080fd5b5061048961103e565b60405161049691906148d8565b60405180910390f35b3480156104ab57600080fd5b506104b4611044565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190613e0b565b611424565b005b3480156104eb57600080fd5b506105066004803603810190610501919061404a565b611444565b60405161051391906148d8565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e919061404a565b6114db565b005b34801561055157600080fd5b5061055a611561565b60405161056791906148d8565b60405180910390f35b34801561057c57600080fd5b5061059760048036038101906105929190614009565b611567565b005b3480156105a557600080fd5b506105c060048036038101906105bb919061404a565b6115fd565b6040516105cd9190614594565b60405180910390f35b3480156105e257600080fd5b506105eb6116af565b6040516105f891906148d8565b60405180910390f35b34801561060d57600080fd5b506106286004803603810190610623919061404a565b6116b5565b005b34801561063657600080fd5b50610651600480360381019061064c919061404a565b61173b565b005b34801561065f57600080fd5b5061067a60048036038101906106759190613d57565b6117c1565b60405161068791906148d8565b60405180910390f35b34801561069c57600080fd5b506106a5611879565b005b3480156106b357600080fd5b506106bc611901565b6040516106c991906148d8565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f49190613dbc565b611907565b005b34801561070757600080fd5b50610722600480360381019061071d9190613d57565b611a4b565b60405161072f91906145fb565b60405180910390f35b34801561074457600080fd5b5061074d611a6b565b60405161075a9190614594565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190613f4d565b611a91565b005b34801561079857600080fd5b506107a1611bc8565b6040516107ae91906148d8565b60405180910390f35b3480156107c357600080fd5b506107cc611bce565b6040516107d99190614594565b60405180910390f35b3480156107ee57600080fd5b506107f7611bf8565b6040516108049190614616565b60405180910390f35b34801561081957600080fd5b50610822611c8a565b60405161082f9190614594565b60405180910390f35b610852600480360381019061084d919061404a565b611cb0565b005b34801561086057600080fd5b5061087b6004803603810190610876919061404a565b611e9c565b005b34801561088957600080fd5b506108a4600480360381019061089f9190613ed5565b611f22565b005b3480156108b257600080fd5b506108cd60048036038101906108c89190613e5a565b611f38565b005b3480156108db57600080fd5b506108e4611f9a565b6040516108f191906148d8565b60405180910390f35b34801561090657600080fd5b50610921600480360381019061091c919061404a565b611fa0565b60405161092e9190614616565b60405180910390f35b34801561094357600080fd5b5061094c611fec565b60405161095991906148d8565b60405180910390f35b34801561096e57600080fd5b5061098960048036038101906109849190613d57565b611ff2565b60405161099691906145fb565b60405180910390f35b3480156109ab57600080fd5b506109b4612012565b6040516109c191906148d8565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec9190613f4d565b612018565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a159190613d57565b61214f565b604051610a2791906148d8565b60405180910390f35b348015610a3c57600080fd5b50610a45612446565b604051610a529190614616565b60405180910390f35b348015610a6757600080fd5b50610a826004803603810190610a7d9190613d80565b612466565b604051610a8f91906145fb565b60405180910390f35b348015610aa457600080fd5b50610abf6004803603810190610aba919061404a565b612568565b005b348015610acd57600080fd5b50610ae86004803603810190610ae391906140d8565b6125ee565b005b348015610af657600080fd5b50610b116004803603810190610b0c9190613d57565b61267c565b005b610b1b612774565b73ffffffffffffffffffffffffffffffffffffffff16610b39611bce565b73ffffffffffffffffffffffffffffffffffffffff1614610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8690614818565b60405180910390fd5b8060118190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0c5750610c0b8261277c565b5b9050919050565b610c1b612774565b73ffffffffffffffffffffffffffffffffffffffff16610c39611bce565b73ffffffffffffffffffffffffffffffffffffffff1614610c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8690614818565b60405180910390fd5b6000610c99610f2c565b90506000600190505b838111610cd157610cbe838284610cb991906149fe565b61285e565b8080610cc990614c3e565b915050610ca2565b50505050565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610d0c90614bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3890614bdb565b8015610d855780601f10610d5a57610100808354040283529160200191610d85565b820191906000526020600020905b815481529060010190602001808311610d6857829003601f168201915b5050505050905090565b6000610d9a8261287c565b610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd0906147f8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1f826115fd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8790614878565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610eaf612774565b73ffffffffffffffffffffffffffffffffffffffff161480610ede5750610edd81610ed8612774565b612466565b5b610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614758565b60405180910390fd5b610f2783836128e8565b505050565b6000600880549050905090565b610f4a610f44612774565b826129a1565b610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8090614898565b60405180910390fd5b610f94838383612a7f565b505050565b6000610fa4836117c1565b8210610fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdc90614638565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b61104c612774565b73ffffffffffffffffffffffffffffffffffffffff1661106a611bce565b73ffffffffffffffffffffffffffffffffffffffff16146110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b790614818565b60405180910390fd5b6000479050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc611128606461111a602886612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611153573d6000803e3d6000fd5b50601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6111b760646111a9600a86612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f193505050501580156111e2573d6000803e3d6000fd5b50601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6112466064611238601486612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611271573d6000803e3d6000fd5b50601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6112d560646112c7600a86612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611300573d6000803e3d6000fd5b50601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6113656103e8611357601986612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611390573d6000803e3d6000fd5b50601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6113f56103e86113e760af86612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611420573d6000803e3d6000fd5b5050565b61143f83838360405180602001604052806000815250611f38565b505050565b600061144e610f2c565b821061148f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611486906148b8565b60405180910390fd5b600882815481106114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6114e3612774565b73ffffffffffffffffffffffffffffffffffffffff16611501611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e90614818565b60405180910390fd5b8060108190555050565b600f5481565b61156f612774565b73ffffffffffffffffffffffffffffffffffffffff1661158d611bce565b73ffffffffffffffffffffffffffffffffffffffff16146115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da90614818565b60405180910390fd5b80601290805190602001906115f9929190613abb565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d90614798565b60405180910390fd5b80915050919050565b60105481565b6116bd612774565b73ffffffffffffffffffffffffffffffffffffffff166116db611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611731576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172890614818565b60405180910390fd5b80600c8190555050565b611743612774565b73ffffffffffffffffffffffffffffffffffffffff16611761611bce565b73ffffffffffffffffffffffffffffffffffffffff16146117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614818565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182990614778565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611881612774565b73ffffffffffffffffffffffffffffffffffffffff1661189f611bce565b73ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90614818565b60405180910390fd5b6118ff6000612d07565b565b60115481565b61190f612774565b73ffffffffffffffffffffffffffffffffffffffff1661192d611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614818565b60405180910390fd5b82601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b601c6020528060005260406000206000915054906101000a900460ff1681565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a99612774565b73ffffffffffffffffffffffffffffffffffffffff16611ab7611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0490614818565b60405180910390fd5b60005b8151811015611bc4576001601c6000848481518110611b58577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611bbc90614c3e565b915050611b10565b5050565b601e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c0790614bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054611c3390614bdb565b8015611c805780601f10611c5557610100808354040283529160200191611c80565b820191906000526020600020905b815481529060010190602001808311611c6357829003601f168201915b5050505050905090565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611cbb3361214f565b905060105442101580611cf65750600f544210158015611cf5575080611cf283611ce4336117c1565b612dcd90919063ffffffff16565b11155b5b611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90614738565b60405180910390fd5b6014821115611d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7090614838565b60405180910390fd5b600e54611d9683611d88610f2c565b612dcd90919063ffffffff16565b1115611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce906147b8565b60405180910390fd5b6000808211611de857600d54611dec565b600c545b905034611e028483612cdb90919063ffffffff16565b1115611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a906146f8565b60405180910390fd5b60005b83811015611e965760006001611e5a610f2c565b611e6491906149fe565b9050600e54611e71610f2c565b1015611e8257611e813382612de3565b5b508080611e8e90614c3e565b915050611e46565b50505050565b611ea4612774565b73ffffffffffffffffffffffffffffffffffffffff16611ec2611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f90614818565b60405180910390fd5b80600f8190555050565b611f34611f2d612774565b8383612fb1565b5050565b611f49611f43612774565b836129a1565b611f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7f90614898565b60405180910390fd5b611f948484848461311e565b50505050565b601f5481565b6060601154421015611fb957611fb4612446565b611fe5565b6012611fc48361317a565b604051602001611fd5929190614565565b6040516020818303038152906040525b9050919050565b600e5481565b601d6020528060005260406000206000915054906101000a900460ff1681565b600d5481565b612020612774565b73ffffffffffffffffffffffffffffffffffffffff1661203e611bce565b73ffffffffffffffffffffffffffffffffffffffff1614612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b90614818565b60405180910390fd5b60005b815181101561214b576001601d60008484815181106120df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061214390614c3e565b915050612097565b5050565b600080601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661220457601d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166121fb5760006121ff565b601f545b612208565b601e545b90506000601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016122679190614594565b60206040518083038186803b15801561227f57600080fd5b505afa158015612293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b79190614073565b118061236d57506000601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161231b9190614594565b60206040518083038186803b15801561233357600080fd5b505afa158015612347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236b9190614073565b115b8061242257506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016123d09190614594565b60206040518083038186803b1580156123e857600080fd5b505afa1580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124209190614073565b115b1561243d57601f54811161243857601f5461243a565b805b90505b80915050919050565b60606040518060600160405280603581526020016153df60359139905090565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016124de9190614594565b60206040518083038186803b1580156124f657600080fd5b505afa15801561250a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252e9190613fe0565b73ffffffffffffffffffffffffffffffffffffffff161415612554576001915050612562565b61255e8484613327565b9150505b92915050565b612570612774565b73ffffffffffffffffffffffffffffffffffffffff1661258e611bce565b73ffffffffffffffffffffffffffffffffffffffff16146125e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125db90614818565b60405180910390fd5b80600d8190555050565b6125f6612774565b73ffffffffffffffffffffffffffffffffffffffff16612614611bce565b73ffffffffffffffffffffffffffffffffffffffff161461266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190614818565b60405180910390fd5b81601e8190555080601f819055505050565b612684612774565b73ffffffffffffffffffffffffffffffffffffffff166126a2611bce565b73ffffffffffffffffffffffffffffffffffffffff16146126f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ef90614818565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f90614678565b60405180910390fd5b61277181612d07565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061284757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128575750612856826133bb565b5b9050919050565b612878828260405180602001604052806000815250613425565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661295b836115fd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129ac8261287c565b6129eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e290614718565b60405180910390fd5b60006129f6836115fd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a6557508373ffffffffffffffffffffffffffffffffffffffff16612a4d84610d8f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a765750612a758185612466565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a9f826115fd565b73ffffffffffffffffffffffffffffffffffffffff1614612af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aec90614858565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5c906146b8565b60405180910390fd5b612b70838383613480565b612b7b6000826128e8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bcb9190614adf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2291906149fe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612ce99190614a85565b905092915050565b60008183612cff9190614a54565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ddb91906149fe565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4a906147d8565b60405180910390fd5b612e5c8161287c565b15612e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9390614698565b60405180910390fd5b612ea860008383613480565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ef891906149fe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613020576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613017906146d8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161311191906145fb565b60405180910390a3505050565b613129848484612a7f565b61313584848484613594565b613174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316b90614658565b60405180910390fd5b50505050565b606060008214156131c2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613322565b600082905060005b600082146131f45780806131dd90614c3e565b915050600a826131ed9190614a54565b91506131ca565b60008167ffffffffffffffff811115613236577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132685781602001600182028036833780820191505090505b5090505b6000851461331b576001826132819190614adf565b9150600a856132909190614c87565b603061329c91906149fe565b60f81b8183815181106132d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133149190614a54565b945061326c565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61342f8383612de3565b61343c6000848484613594565b61347b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347290614658565b60405180910390fd5b505050565b61348b83838361372b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134ce576134c981613730565b61350d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461350c5761350b8382613779565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135505761354b816138e6565b61358f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461358e5761358d8282613a29565b5b5b505050565b60006135b58473ffffffffffffffffffffffffffffffffffffffff16613aa8565b1561371e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135de612774565b8786866040518563ffffffff1660e01b815260040161360094939291906145af565b602060405180830381600087803b15801561361a57600080fd5b505af192505050801561364b57506040513d601f19601f820116820180604052508101906136489190613fb7565b60015b6136ce573d806000811461367b576040519150601f19603f3d011682016040523d82523d6000602084013e613680565b606091505b506000815114156136c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bd90614658565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613723565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613786846117c1565b6137909190614adf565b9050600060076000848152602001908152602001600020549050818114613875576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138fa9190614adf565b9050600060096000848152602001908152602001600020549050600060088381548110613950577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613998577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a0d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a34836117c1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613ac790614bdb565b90600052602060002090601f016020900481019282613ae95760008555613b30565b82601f10613b0257805160ff1916838001178555613b30565b82800160010185558215613b30579182015b82811115613b2f578251825591602001919060010190613b14565b5b509050613b3d9190613b41565b5090565b5b80821115613b5a576000816000905550600101613b42565b5090565b6000613b71613b6c84614918565b6148f3565b90508083825260208201905082856020860282011115613b9057600080fd5b60005b85811015613bc05781613ba68882613c46565b845260208401935060208301925050600181019050613b93565b5050509392505050565b6000613bdd613bd884614944565b6148f3565b905082815260208101848484011115613bf557600080fd5b613c00848285614b99565b509392505050565b6000613c1b613c1684614975565b6148f3565b905082815260208101848484011115613c3357600080fd5b613c3e848285614b99565b509392505050565b600081359050613c558161536b565b92915050565b600082601f830112613c6c57600080fd5b8135613c7c848260208601613b5e565b91505092915050565b600081359050613c9481615382565b92915050565b600081359050613ca981615399565b92915050565b600081519050613cbe81615399565b92915050565b600082601f830112613cd557600080fd5b8135613ce5848260208601613bca565b91505092915050565b600081519050613cfd816153b0565b92915050565b600082601f830112613d1457600080fd5b8135613d24848260208601613c08565b91505092915050565b600081359050613d3c816153c7565b92915050565b600081519050613d51816153c7565b92915050565b600060208284031215613d6957600080fd5b6000613d7784828501613c46565b91505092915050565b60008060408385031215613d9357600080fd5b6000613da185828601613c46565b9250506020613db285828601613c46565b9150509250929050565b600080600060608486031215613dd157600080fd5b6000613ddf86828701613c46565b9350506020613df086828701613c46565b9250506040613e0186828701613c46565b9150509250925092565b600080600060608486031215613e2057600080fd5b6000613e2e86828701613c46565b9350506020613e3f86828701613c46565b9250506040613e5086828701613d2d565b9150509250925092565b60008060008060808587031215613e7057600080fd5b6000613e7e87828801613c46565b9450506020613e8f87828801613c46565b9350506040613ea087828801613d2d565b925050606085013567ffffffffffffffff811115613ebd57600080fd5b613ec987828801613cc4565b91505092959194509250565b60008060408385031215613ee857600080fd5b6000613ef685828601613c46565b9250506020613f0785828601613c85565b9150509250929050565b60008060408385031215613f2457600080fd5b6000613f3285828601613c46565b9250506020613f4385828601613d2d565b9150509250929050565b600060208284031215613f5f57600080fd5b600082013567ffffffffffffffff811115613f7957600080fd5b613f8584828501613c5b565b91505092915050565b600060208284031215613fa057600080fd5b6000613fae84828501613c9a565b91505092915050565b600060208284031215613fc957600080fd5b6000613fd784828501613caf565b91505092915050565b600060208284031215613ff257600080fd5b600061400084828501613cee565b91505092915050565b60006020828403121561401b57600080fd5b600082013567ffffffffffffffff81111561403557600080fd5b61404184828501613d03565b91505092915050565b60006020828403121561405c57600080fd5b600061406a84828501613d2d565b91505092915050565b60006020828403121561408557600080fd5b600061409384828501613d42565b91505092915050565b600080604083850312156140af57600080fd5b60006140bd85828601613d2d565b92505060206140ce85828601613c46565b9150509250929050565b600080604083850312156140eb57600080fd5b60006140f985828601613d2d565b925050602061410a85828601613d2d565b9150509250929050565b61411d81614b13565b82525050565b61412c81614b25565b82525050565b600061413d826149bb565b61414781856149d1565b9350614157818560208601614ba8565b61416081614d74565b840191505092915050565b6000614176826149c6565b61418081856149e2565b9350614190818560208601614ba8565b61419981614d74565b840191505092915050565b60006141af826149c6565b6141b981856149f3565b93506141c9818560208601614ba8565b80840191505092915050565b600081546141e281614bdb565b6141ec81866149f3565b9450600182166000811461420757600181146142185761424b565b60ff1983168652818601935061424b565b614221856149a6565b60005b8381101561424357815481890152600182019150602081019050614224565b838801955050505b50505092915050565b6000614261602b836149e2565b915061426c82614d85565b604082019050919050565b60006142846032836149e2565b915061428f82614dd4565b604082019050919050565b60006142a76026836149e2565b91506142b282614e23565b604082019050919050565b60006142ca601c836149e2565b91506142d582614e72565b602082019050919050565b60006142ed6024836149e2565b91506142f882614e9b565b604082019050919050565b60006143106019836149e2565b915061431b82614eea565b602082019050919050565b6000614333601f836149e2565b915061433e82614f13565b602082019050919050565b6000614356602c836149e2565b915061436182614f3c565b604082019050919050565b6000614379604e836149e2565b915061438482614f8b565b606082019050919050565b600061439c6038836149e2565b91506143a782615000565b604082019050919050565b60006143bf602a836149e2565b91506143ca8261504f565b604082019050919050565b60006143e26029836149e2565b91506143ed8261509e565b604082019050919050565b60006144056020836149e2565b9150614410826150ed565b602082019050919050565b60006144286020836149e2565b915061443382615116565b602082019050919050565b600061444b602c836149e2565b91506144568261513f565b604082019050919050565b600061446e6005836149f3565b91506144798261518e565b600582019050919050565b60006144916020836149e2565b915061449c826151b7565b602082019050919050565b60006144b46029836149e2565b91506144bf826151e0565b604082019050919050565b60006144d76029836149e2565b91506144e28261522f565b604082019050919050565b60006144fa6021836149e2565b91506145058261527e565b604082019050919050565b600061451d6031836149e2565b9150614528826152cd565b604082019050919050565b6000614540602c836149e2565b915061454b8261531c565b604082019050919050565b61455f81614b8f565b82525050565b600061457182856141d5565b915061457d82846141a4565b915061458882614461565b91508190509392505050565b60006020820190506145a96000830184614114565b92915050565b60006080820190506145c46000830187614114565b6145d16020830186614114565b6145de6040830185614556565b81810360608301526145f08184614132565b905095945050505050565b60006020820190506146106000830184614123565b92915050565b60006020820190508181036000830152614630818461416b565b905092915050565b6000602082019050818103600083015261465181614254565b9050919050565b6000602082019050818103600083015261467181614277565b9050919050565b600060208201905081810360008301526146918161429a565b9050919050565b600060208201905081810360008301526146b1816142bd565b9050919050565b600060208201905081810360008301526146d1816142e0565b9050919050565b600060208201905081810360008301526146f181614303565b9050919050565b6000602082019050818103600083015261471181614326565b9050919050565b6000602082019050818103600083015261473181614349565b9050919050565b600060208201905081810360008301526147518161436c565b9050919050565b600060208201905081810360008301526147718161438f565b9050919050565b60006020820190508181036000830152614791816143b2565b9050919050565b600060208201905081810360008301526147b1816143d5565b9050919050565b600060208201905081810360008301526147d1816143f8565b9050919050565b600060208201905081810360008301526147f18161441b565b9050919050565b600060208201905081810360008301526148118161443e565b9050919050565b6000602082019050818103600083015261483181614484565b9050919050565b60006020820190508181036000830152614851816144a7565b9050919050565b60006020820190508181036000830152614871816144ca565b9050919050565b60006020820190508181036000830152614891816144ed565b9050919050565b600060208201905081810360008301526148b181614510565b9050919050565b600060208201905081810360008301526148d181614533565b9050919050565b60006020820190506148ed6000830184614556565b92915050565b60006148fd61490e565b90506149098282614c0d565b919050565b6000604051905090565b600067ffffffffffffffff82111561493357614932614d45565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561495f5761495e614d45565b5b61496882614d74565b9050602081019050919050565b600067ffffffffffffffff8211156149905761498f614d45565b5b61499982614d74565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a0982614b8f565b9150614a1483614b8f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a4957614a48614cb8565b5b828201905092915050565b6000614a5f82614b8f565b9150614a6a83614b8f565b925082614a7a57614a79614ce7565b5b828204905092915050565b6000614a9082614b8f565b9150614a9b83614b8f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ad457614ad3614cb8565b5b828202905092915050565b6000614aea82614b8f565b9150614af583614b8f565b925082821015614b0857614b07614cb8565b5b828203905092915050565b6000614b1e82614b6f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614b6882614b13565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614bc6578082015181840152602081019050614bab565b83811115614bd5576000848401525b50505050565b60006002820490506001821680614bf357607f821691505b60208210811415614c0757614c06614d16565b5b50919050565b614c1682614d74565b810181811067ffffffffffffffff82111715614c3557614c34614d45565b5b80604052505050565b6000614c4982614b8f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c7c57614c7b614cb8565b5b600182019050919050565b6000614c9282614b8f565b9150614c9d83614b8f565b925082614cad57614cac614ce7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4569746865722073616c65206973206e6f7420616374697665206f7220796f7560008201527f20617265206e6f742077686974656c697374656420746f206d696e742074686560208201527f7365206d616e7920746f6b656e73000000000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e20323020746f6b656e732060008201527f617420612074696d650000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61537481614b13565b811461537f57600080fd5b50565b61538b81614b25565b811461539657600080fd5b50565b6153a281614b31565b81146153ad57600080fd5b50565b6153b981614b5d565b81146153c457600080fd5b50565b6153d081614b8f565b81146153db57600080fd5b5056fe697066733a2f2f516d50756961456969555a583643714b655871433574724a6734787139704e3639716e3477356d76464b6241516fa2646970667358221220ac35f7e0fcb9f543b7d5560caf72121a252f548d4b2edc0afcc96ad13cb7015964736f6c634300080400330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000061f43d30000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000fd3c3717164831916e6d2d7cdde9904dd793ec8400000000000000000000000045db714f24f5a313569c41683047f1d49e78ba070000000000000000000000006468f4243faa8c3330baaa0a7a138e2e5628c6f5000000000000000000000000000000000000000000000000000000000000000a556e64656164204170650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025541000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102935760003560e01c806371fc23311161015a578063bdf3db53116100c1578063e2ce86e81161007a578063e2ce86e8146109f3578063e8a3d48514610a30578063e985e9c514610a5b578063ec2354dc14610a98578063f042aa6614610ac1578063f2fde38b14610aea57610293565b8063bdf3db53146108cf578063c87b56dd146108fa578063d5abeb0114610937578063d90cce0314610962578063dc53fd921461099f578063e240bb9c146109ca57610293565b806395d89b411161011357806395d89b41146107e257806398bd137a1461080d578063a0712d6814610838578063a18d05e614610854578063a22cb4651461087d578063b88d4fde146108a657610293565b806371fc2331146106d2578063786571c1146106fb5780637e5cde2814610738578063860ab734146107635780638c72bf5f1461078c5780638da5cb5b146107b757610293565b806342842e0e116101fe578063645bb9d0116101b7578063645bb9d0146105d657806364bc8b87146106015780636f8b44b01461062a57806370a0823114610653578063715018a61461069057806371f9c534146106a757610293565b806342842e0e146104b65780634f6ccce7146104df578063511a96051461051c578063514b47111461054557806355f804b3146105705780636352211e1461059957610293565b8063095ea7b311610250578063095ea7b3146103ba57806318160ddd146103e357806323b872dd1461040e5780632f745c591461043757806335c6aaf8146104745780633ccfd60b1461049f57610293565b8063018a2c371461029857806301ffc9a7146102c157806303339bcb146102fe57806306b752361461032757806306fdde0314610352578063081812fc1461037d575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba919061404a565b610b13565b005b3480156102cd57600080fd5b506102e860048036038101906102e39190613f8e565b610b99565b6040516102f591906145fb565b60405180910390f35b34801561030a57600080fd5b506103256004803603810190610320919061409c565b610c13565b005b34801561033357600080fd5b5061033c610cd7565b6040516103499190614594565b60405180910390f35b34801561035e57600080fd5b50610367610cfd565b6040516103749190614616565b60405180910390f35b34801561038957600080fd5b506103a4600480360381019061039f919061404a565b610d8f565b6040516103b19190614594565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc9190613f11565b610e14565b005b3480156103ef57600080fd5b506103f8610f2c565b60405161040591906148d8565b60405180910390f35b34801561041a57600080fd5b5061043560048036038101906104309190613e0b565b610f39565b005b34801561044357600080fd5b5061045e60048036038101906104599190613f11565b610f99565b60405161046b91906148d8565b60405180910390f35b34801561048057600080fd5b5061048961103e565b60405161049691906148d8565b60405180910390f35b3480156104ab57600080fd5b506104b4611044565b005b3480156104c257600080fd5b506104dd60048036038101906104d89190613e0b565b611424565b005b3480156104eb57600080fd5b506105066004803603810190610501919061404a565b611444565b60405161051391906148d8565b60405180910390f35b34801561052857600080fd5b50610543600480360381019061053e919061404a565b6114db565b005b34801561055157600080fd5b5061055a611561565b60405161056791906148d8565b60405180910390f35b34801561057c57600080fd5b5061059760048036038101906105929190614009565b611567565b005b3480156105a557600080fd5b506105c060048036038101906105bb919061404a565b6115fd565b6040516105cd9190614594565b60405180910390f35b3480156105e257600080fd5b506105eb6116af565b6040516105f891906148d8565b60405180910390f35b34801561060d57600080fd5b506106286004803603810190610623919061404a565b6116b5565b005b34801561063657600080fd5b50610651600480360381019061064c919061404a565b61173b565b005b34801561065f57600080fd5b5061067a60048036038101906106759190613d57565b6117c1565b60405161068791906148d8565b60405180910390f35b34801561069c57600080fd5b506106a5611879565b005b3480156106b357600080fd5b506106bc611901565b6040516106c991906148d8565b60405180910390f35b3480156106de57600080fd5b506106f960048036038101906106f49190613dbc565b611907565b005b34801561070757600080fd5b50610722600480360381019061071d9190613d57565b611a4b565b60405161072f91906145fb565b60405180910390f35b34801561074457600080fd5b5061074d611a6b565b60405161075a9190614594565b60405180910390f35b34801561076f57600080fd5b5061078a60048036038101906107859190613f4d565b611a91565b005b34801561079857600080fd5b506107a1611bc8565b6040516107ae91906148d8565b60405180910390f35b3480156107c357600080fd5b506107cc611bce565b6040516107d99190614594565b60405180910390f35b3480156107ee57600080fd5b506107f7611bf8565b6040516108049190614616565b60405180910390f35b34801561081957600080fd5b50610822611c8a565b60405161082f9190614594565b60405180910390f35b610852600480360381019061084d919061404a565b611cb0565b005b34801561086057600080fd5b5061087b6004803603810190610876919061404a565b611e9c565b005b34801561088957600080fd5b506108a4600480360381019061089f9190613ed5565b611f22565b005b3480156108b257600080fd5b506108cd60048036038101906108c89190613e5a565b611f38565b005b3480156108db57600080fd5b506108e4611f9a565b6040516108f191906148d8565b60405180910390f35b34801561090657600080fd5b50610921600480360381019061091c919061404a565b611fa0565b60405161092e9190614616565b60405180910390f35b34801561094357600080fd5b5061094c611fec565b60405161095991906148d8565b60405180910390f35b34801561096e57600080fd5b5061098960048036038101906109849190613d57565b611ff2565b60405161099691906145fb565b60405180910390f35b3480156109ab57600080fd5b506109b4612012565b6040516109c191906148d8565b60405180910390f35b3480156109d657600080fd5b506109f160048036038101906109ec9190613f4d565b612018565b005b3480156109ff57600080fd5b50610a1a6004803603810190610a159190613d57565b61214f565b604051610a2791906148d8565b60405180910390f35b348015610a3c57600080fd5b50610a45612446565b604051610a529190614616565b60405180910390f35b348015610a6757600080fd5b50610a826004803603810190610a7d9190613d80565b612466565b604051610a8f91906145fb565b60405180910390f35b348015610aa457600080fd5b50610abf6004803603810190610aba919061404a565b612568565b005b348015610acd57600080fd5b50610ae86004803603810190610ae391906140d8565b6125ee565b005b348015610af657600080fd5b50610b116004803603810190610b0c9190613d57565b61267c565b005b610b1b612774565b73ffffffffffffffffffffffffffffffffffffffff16610b39611bce565b73ffffffffffffffffffffffffffffffffffffffff1614610b8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b8690614818565b60405180910390fd5b8060118190555050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c0c5750610c0b8261277c565b5b9050919050565b610c1b612774565b73ffffffffffffffffffffffffffffffffffffffff16610c39611bce565b73ffffffffffffffffffffffffffffffffffffffff1614610c8f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c8690614818565b60405180910390fd5b6000610c99610f2c565b90506000600190505b838111610cd157610cbe838284610cb991906149fe565b61285e565b8080610cc990614c3e565b915050610ca2565b50505050565b601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b606060008054610d0c90614bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610d3890614bdb565b8015610d855780601f10610d5a57610100808354040283529160200191610d85565b820191906000526020600020905b815481529060010190602001808311610d6857829003601f168201915b5050505050905090565b6000610d9a8261287c565b610dd9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd0906147f8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e1f826115fd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e8790614878565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610eaf612774565b73ffffffffffffffffffffffffffffffffffffffff161480610ede5750610edd81610ed8612774565b612466565b5b610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614758565b60405180910390fd5b610f2783836128e8565b505050565b6000600880549050905090565b610f4a610f44612774565b826129a1565b610f89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8090614898565b60405180910390fd5b610f94838383612a7f565b505050565b6000610fa4836117c1565b8210610fe5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fdc90614638565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600c5481565b61104c612774565b73ffffffffffffffffffffffffffffffffffffffff1661106a611bce565b73ffffffffffffffffffffffffffffffffffffffff16146110c0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110b790614818565b60405180910390fd5b6000479050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc611128606461111a602886612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611153573d6000803e3d6000fd5b50601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6111b760646111a9600a86612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f193505050501580156111e2573d6000803e3d6000fd5b50601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6112466064611238601486612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611271573d6000803e3d6000fd5b50601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6112d560646112c7600a86612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611300573d6000803e3d6000fd5b50601760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6113656103e8611357601986612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611390573d6000803e3d6000fd5b50601860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6113f56103e86113e760af86612cdb90919063ffffffff16565b612cf190919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611420573d6000803e3d6000fd5b5050565b61143f83838360405180602001604052806000815250611f38565b505050565b600061144e610f2c565b821061148f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611486906148b8565b60405180910390fd5b600882815481106114c9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6114e3612774565b73ffffffffffffffffffffffffffffffffffffffff16611501611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e90614818565b60405180910390fd5b8060108190555050565b600f5481565b61156f612774565b73ffffffffffffffffffffffffffffffffffffffff1661158d611bce565b73ffffffffffffffffffffffffffffffffffffffff16146115e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115da90614818565b60405180910390fd5b80601290805190602001906115f9929190613abb565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d90614798565b60405180910390fd5b80915050919050565b60105481565b6116bd612774565b73ffffffffffffffffffffffffffffffffffffffff166116db611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611731576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172890614818565b60405180910390fd5b80600c8190555050565b611743612774565b73ffffffffffffffffffffffffffffffffffffffff16611761611bce565b73ffffffffffffffffffffffffffffffffffffffff16146117b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ae90614818565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611832576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182990614778565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611881612774565b73ffffffffffffffffffffffffffffffffffffffff1661189f611bce565b73ffffffffffffffffffffffffffffffffffffffff16146118f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118ec90614818565b60405180910390fd5b6118ff6000612d07565b565b60115481565b61190f612774565b73ffffffffffffffffffffffffffffffffffffffff1661192d611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611983576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197a90614818565b60405180910390fd5b82601960006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080601b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b601c6020528060005260406000206000915054906101000a900460ff1681565b601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611a99612774565b73ffffffffffffffffffffffffffffffffffffffff16611ab7611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611b0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0490614818565b60405180910390fd5b60005b8151811015611bc4576001601c6000848481518110611b58577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508080611bbc90614c3e565b915050611b10565b5050565b601e5481565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611c0790614bdb565b80601f0160208091040260200160405190810160405280929190818152602001828054611c3390614bdb565b8015611c805780601f10611c5557610100808354040283529160200191611c80565b820191906000526020600020905b815481529060010190602001808311611c6357829003601f168201915b5050505050905090565b601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611cbb3361214f565b905060105442101580611cf65750600f544210158015611cf5575080611cf283611ce4336117c1565b612dcd90919063ffffffff16565b11155b5b611d35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2c90614738565b60405180910390fd5b6014821115611d79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7090614838565b60405180910390fd5b600e54611d9683611d88610f2c565b612dcd90919063ffffffff16565b1115611dd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dce906147b8565b60405180910390fd5b6000808211611de857600d54611dec565b600c545b905034611e028483612cdb90919063ffffffff16565b1115611e43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3a906146f8565b60405180910390fd5b60005b83811015611e965760006001611e5a610f2c565b611e6491906149fe565b9050600e54611e71610f2c565b1015611e8257611e813382612de3565b5b508080611e8e90614c3e565b915050611e46565b50505050565b611ea4612774565b73ffffffffffffffffffffffffffffffffffffffff16611ec2611bce565b73ffffffffffffffffffffffffffffffffffffffff1614611f18576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0f90614818565b60405180910390fd5b80600f8190555050565b611f34611f2d612774565b8383612fb1565b5050565b611f49611f43612774565b836129a1565b611f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7f90614898565b60405180910390fd5b611f948484848461311e565b50505050565b601f5481565b6060601154421015611fb957611fb4612446565b611fe5565b6012611fc48361317a565b604051602001611fd5929190614565565b6040516020818303038152906040525b9050919050565b600e5481565b601d6020528060005260406000206000915054906101000a900460ff1681565b600d5481565b612020612774565b73ffffffffffffffffffffffffffffffffffffffff1661203e611bce565b73ffffffffffffffffffffffffffffffffffffffff1614612094576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208b90614818565b60405180910390fd5b60005b815181101561214b576001601d60008484815181106120df577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550808061214390614c3e565b915050612097565b5050565b600080601c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1661220457601d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff166121fb5760006121ff565b601f545b612208565b601e545b90506000601960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016122679190614594565b60206040518083038186803b15801561227f57600080fd5b505afa158015612293573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122b79190614073565b118061236d57506000601a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b815260040161231b9190614594565b60206040518083038186803b15801561233357600080fd5b505afa158015612347573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061236b9190614073565b115b8061242257506000601b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231856040518263ffffffff1660e01b81526004016123d09190614594565b60206040518083038186803b1580156123e857600080fd5b505afa1580156123fc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906124209190614073565b115b1561243d57601f54811161243857601f5461243a565b805b90505b80915050919050565b60606040518060600160405280603581526020016153df60359139905090565b600080600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b81526004016124de9190614594565b60206040518083038186803b1580156124f657600080fd5b505afa15801561250a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061252e9190613fe0565b73ffffffffffffffffffffffffffffffffffffffff161415612554576001915050612562565b61255e8484613327565b9150505b92915050565b612570612774565b73ffffffffffffffffffffffffffffffffffffffff1661258e611bce565b73ffffffffffffffffffffffffffffffffffffffff16146125e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125db90614818565b60405180910390fd5b80600d8190555050565b6125f6612774565b73ffffffffffffffffffffffffffffffffffffffff16612614611bce565b73ffffffffffffffffffffffffffffffffffffffff161461266a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161266190614818565b60405180910390fd5b81601e8190555080601f819055505050565b612684612774565b73ffffffffffffffffffffffffffffffffffffffff166126a2611bce565b73ffffffffffffffffffffffffffffffffffffffff16146126f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126ef90614818565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612768576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161275f90614678565b60405180910390fd5b61277181612d07565b50565b600033905090565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061284757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806128575750612856826133bb565b5b9050919050565b612878828260405180602001604052806000815250613425565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661295b836115fd565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006129ac8261287c565b6129eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129e290614718565b60405180910390fd5b60006129f6836115fd565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612a6557508373ffffffffffffffffffffffffffffffffffffffff16612a4d84610d8f565b73ffffffffffffffffffffffffffffffffffffffff16145b80612a765750612a758185612466565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612a9f826115fd565b73ffffffffffffffffffffffffffffffffffffffff1614612af5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aec90614858565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612b65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5c906146b8565b60405180910390fd5b612b70838383613480565b612b7b6000826128e8565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612bcb9190614adf565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612c2291906149fe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60008183612ce99190614a85565b905092915050565b60008183612cff9190614a54565b905092915050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008183612ddb91906149fe565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612e53576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e4a906147d8565b60405180910390fd5b612e5c8161287c565b15612e9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e9390614698565b60405180910390fd5b612ea860008383613480565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ef891906149fe565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613020576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613017906146d8565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161311191906145fb565b60405180910390a3505050565b613129848484612a7f565b61313584848484613594565b613174576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161316b90614658565b60405180910390fd5b50505050565b606060008214156131c2576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613322565b600082905060005b600082146131f45780806131dd90614c3e565b915050600a826131ed9190614a54565b91506131ca565b60008167ffffffffffffffff811115613236577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156132685781602001600182028036833780820191505090505b5090505b6000851461331b576001826132819190614adf565b9150600a856132909190614c87565b603061329c91906149fe565b60f81b8183815181106132d8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856133149190614a54565b945061326c565b8093505050505b919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61342f8383612de3565b61343c6000848484613594565b61347b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161347290614658565b60405180910390fd5b505050565b61348b83838361372b565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134ce576134c981613730565b61350d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461350c5761350b8382613779565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156135505761354b816138e6565b61358f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461358e5761358d8282613a29565b5b5b505050565b60006135b58473ffffffffffffffffffffffffffffffffffffffff16613aa8565b1561371e578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026135de612774565b8786866040518563ffffffff1660e01b815260040161360094939291906145af565b602060405180830381600087803b15801561361a57600080fd5b505af192505050801561364b57506040513d601f19601f820116820180604052508101906136489190613fb7565b60015b6136ce573d806000811461367b576040519150601f19603f3d011682016040523d82523d6000602084013e613680565b606091505b506000815114156136c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136bd90614658565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613723565b600190505b949350505050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613786846117c1565b6137909190614adf565b9050600060076000848152602001908152602001600020549050818114613875576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506138fa9190614adf565b9050600060096000848152602001908152602001600020549050600060088381548110613950577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613998577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613a0d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613a34836117c1565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600080823b905060008111915050919050565b828054613ac790614bdb565b90600052602060002090601f016020900481019282613ae95760008555613b30565b82601f10613b0257805160ff1916838001178555613b30565b82800160010185558215613b30579182015b82811115613b2f578251825591602001919060010190613b14565b5b509050613b3d9190613b41565b5090565b5b80821115613b5a576000816000905550600101613b42565b5090565b6000613b71613b6c84614918565b6148f3565b90508083825260208201905082856020860282011115613b9057600080fd5b60005b85811015613bc05781613ba68882613c46565b845260208401935060208301925050600181019050613b93565b5050509392505050565b6000613bdd613bd884614944565b6148f3565b905082815260208101848484011115613bf557600080fd5b613c00848285614b99565b509392505050565b6000613c1b613c1684614975565b6148f3565b905082815260208101848484011115613c3357600080fd5b613c3e848285614b99565b509392505050565b600081359050613c558161536b565b92915050565b600082601f830112613c6c57600080fd5b8135613c7c848260208601613b5e565b91505092915050565b600081359050613c9481615382565b92915050565b600081359050613ca981615399565b92915050565b600081519050613cbe81615399565b92915050565b600082601f830112613cd557600080fd5b8135613ce5848260208601613bca565b91505092915050565b600081519050613cfd816153b0565b92915050565b600082601f830112613d1457600080fd5b8135613d24848260208601613c08565b91505092915050565b600081359050613d3c816153c7565b92915050565b600081519050613d51816153c7565b92915050565b600060208284031215613d6957600080fd5b6000613d7784828501613c46565b91505092915050565b60008060408385031215613d9357600080fd5b6000613da185828601613c46565b9250506020613db285828601613c46565b9150509250929050565b600080600060608486031215613dd157600080fd5b6000613ddf86828701613c46565b9350506020613df086828701613c46565b9250506040613e0186828701613c46565b9150509250925092565b600080600060608486031215613e2057600080fd5b6000613e2e86828701613c46565b9350506020613e3f86828701613c46565b9250506040613e5086828701613d2d565b9150509250925092565b60008060008060808587031215613e7057600080fd5b6000613e7e87828801613c46565b9450506020613e8f87828801613c46565b9350506040613ea087828801613d2d565b925050606085013567ffffffffffffffff811115613ebd57600080fd5b613ec987828801613cc4565b91505092959194509250565b60008060408385031215613ee857600080fd5b6000613ef685828601613c46565b9250506020613f0785828601613c85565b9150509250929050565b60008060408385031215613f2457600080fd5b6000613f3285828601613c46565b9250506020613f4385828601613d2d565b9150509250929050565b600060208284031215613f5f57600080fd5b600082013567ffffffffffffffff811115613f7957600080fd5b613f8584828501613c5b565b91505092915050565b600060208284031215613fa057600080fd5b6000613fae84828501613c9a565b91505092915050565b600060208284031215613fc957600080fd5b6000613fd784828501613caf565b91505092915050565b600060208284031215613ff257600080fd5b600061400084828501613cee565b91505092915050565b60006020828403121561401b57600080fd5b600082013567ffffffffffffffff81111561403557600080fd5b61404184828501613d03565b91505092915050565b60006020828403121561405c57600080fd5b600061406a84828501613d2d565b91505092915050565b60006020828403121561408557600080fd5b600061409384828501613d42565b91505092915050565b600080604083850312156140af57600080fd5b60006140bd85828601613d2d565b92505060206140ce85828601613c46565b9150509250929050565b600080604083850312156140eb57600080fd5b60006140f985828601613d2d565b925050602061410a85828601613d2d565b9150509250929050565b61411d81614b13565b82525050565b61412c81614b25565b82525050565b600061413d826149bb565b61414781856149d1565b9350614157818560208601614ba8565b61416081614d74565b840191505092915050565b6000614176826149c6565b61418081856149e2565b9350614190818560208601614ba8565b61419981614d74565b840191505092915050565b60006141af826149c6565b6141b981856149f3565b93506141c9818560208601614ba8565b80840191505092915050565b600081546141e281614bdb565b6141ec81866149f3565b9450600182166000811461420757600181146142185761424b565b60ff1983168652818601935061424b565b614221856149a6565b60005b8381101561424357815481890152600182019150602081019050614224565b838801955050505b50505092915050565b6000614261602b836149e2565b915061426c82614d85565b604082019050919050565b60006142846032836149e2565b915061428f82614dd4565b604082019050919050565b60006142a76026836149e2565b91506142b282614e23565b604082019050919050565b60006142ca601c836149e2565b91506142d582614e72565b602082019050919050565b60006142ed6024836149e2565b91506142f882614e9b565b604082019050919050565b60006143106019836149e2565b915061431b82614eea565b602082019050919050565b6000614333601f836149e2565b915061433e82614f13565b602082019050919050565b6000614356602c836149e2565b915061436182614f3c565b604082019050919050565b6000614379604e836149e2565b915061438482614f8b565b606082019050919050565b600061439c6038836149e2565b91506143a782615000565b604082019050919050565b60006143bf602a836149e2565b91506143ca8261504f565b604082019050919050565b60006143e26029836149e2565b91506143ed8261509e565b604082019050919050565b60006144056020836149e2565b9150614410826150ed565b602082019050919050565b60006144286020836149e2565b915061443382615116565b602082019050919050565b600061444b602c836149e2565b91506144568261513f565b604082019050919050565b600061446e6005836149f3565b91506144798261518e565b600582019050919050565b60006144916020836149e2565b915061449c826151b7565b602082019050919050565b60006144b46029836149e2565b91506144bf826151e0565b604082019050919050565b60006144d76029836149e2565b91506144e28261522f565b604082019050919050565b60006144fa6021836149e2565b91506145058261527e565b604082019050919050565b600061451d6031836149e2565b9150614528826152cd565b604082019050919050565b6000614540602c836149e2565b915061454b8261531c565b604082019050919050565b61455f81614b8f565b82525050565b600061457182856141d5565b915061457d82846141a4565b915061458882614461565b91508190509392505050565b60006020820190506145a96000830184614114565b92915050565b60006080820190506145c46000830187614114565b6145d16020830186614114565b6145de6040830185614556565b81810360608301526145f08184614132565b905095945050505050565b60006020820190506146106000830184614123565b92915050565b60006020820190508181036000830152614630818461416b565b905092915050565b6000602082019050818103600083015261465181614254565b9050919050565b6000602082019050818103600083015261467181614277565b9050919050565b600060208201905081810360008301526146918161429a565b9050919050565b600060208201905081810360008301526146b1816142bd565b9050919050565b600060208201905081810360008301526146d1816142e0565b9050919050565b600060208201905081810360008301526146f181614303565b9050919050565b6000602082019050818103600083015261471181614326565b9050919050565b6000602082019050818103600083015261473181614349565b9050919050565b600060208201905081810360008301526147518161436c565b9050919050565b600060208201905081810360008301526147718161438f565b9050919050565b60006020820190508181036000830152614791816143b2565b9050919050565b600060208201905081810360008301526147b1816143d5565b9050919050565b600060208201905081810360008301526147d1816143f8565b9050919050565b600060208201905081810360008301526147f18161441b565b9050919050565b600060208201905081810360008301526148118161443e565b9050919050565b6000602082019050818103600083015261483181614484565b9050919050565b60006020820190508181036000830152614851816144a7565b9050919050565b60006020820190508181036000830152614871816144ca565b9050919050565b60006020820190508181036000830152614891816144ed565b9050919050565b600060208201905081810360008301526148b181614510565b9050919050565b600060208201905081810360008301526148d181614533565b9050919050565b60006020820190506148ed6000830184614556565b92915050565b60006148fd61490e565b90506149098282614c0d565b919050565b6000604051905090565b600067ffffffffffffffff82111561493357614932614d45565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561495f5761495e614d45565b5b61496882614d74565b9050602081019050919050565b600067ffffffffffffffff8211156149905761498f614d45565b5b61499982614d74565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614a0982614b8f565b9150614a1483614b8f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614a4957614a48614cb8565b5b828201905092915050565b6000614a5f82614b8f565b9150614a6a83614b8f565b925082614a7a57614a79614ce7565b5b828204905092915050565b6000614a9082614b8f565b9150614a9b83614b8f565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ad457614ad3614cb8565b5b828202905092915050565b6000614aea82614b8f565b9150614af583614b8f565b925082821015614b0857614b07614cb8565b5b828203905092915050565b6000614b1e82614b6f565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614b6882614b13565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015614bc6578082015181840152602081019050614bab565b83811115614bd5576000848401525b50505050565b60006002820490506001821680614bf357607f821691505b60208210811415614c0757614c06614d16565b5b50919050565b614c1682614d74565b810181811067ffffffffffffffff82111715614c3557614c34614d45565b5b80604052505050565b6000614c4982614b8f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c7c57614c7b614cb8565b5b600182019050919050565b6000614c9282614b8f565b9150614c9d83614b8f565b925082614cad57614cac614ce7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4569746865722073616c65206973206e6f7420616374697665206f7220796f7560008201527f20617265206e6f742077686974656c697374656420746f206d696e742074686560208201527f7365206d616e7920746f6b656e73000000000000000000000000000000000000604082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f507572636861736520776f756c6420657863656564206d617820737570706c79600082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f43616e6e6f74206d696e74206d6f7265207468616e20323020746f6b656e732060008201527f617420612074696d650000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b61537481614b13565b811461537f57600080fd5b50565b61538b81614b25565b811461539657600080fd5b50565b6153a281614b31565b81146153ad57600080fd5b50565b6153b981614b5d565b81146153c457600080fd5b50565b6153d081614b8f565b81146153db57600080fd5b5056fe697066733a2f2f516d50756961456969555a583643714b655871433574724a6734787139704e3639716e3477356d76464b6241516fa2646970667358221220ac35f7e0fcb9f543b7d5560caf72121a252f548d4b2edc0afcc96ad13cb7015964736f6c63430008040033

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

0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000013880000000000000000000000000000000000000000000000000000000061f43d30000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000fd3c3717164831916e6d2d7cdde9904dd793ec8400000000000000000000000045db714f24f5a313569c41683047f1d49e78ba070000000000000000000000006468f4243faa8c3330baaa0a7a138e2e5628c6f5000000000000000000000000000000000000000000000000000000000000000a556e64656164204170650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000025541000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Undead Ape
Arg [1] : symbol (string): UA
Arg [2] : maxNftSupply (uint256): 5000
Arg [3] : whitelistSaleStart (uint256): 1643396400
Arg [4] : proxyRegistryAddress_ (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1
Arg [5] : whitelistContract1_ (address): 0xFD3C3717164831916E6D2D7cdde9904dd793eC84
Arg [6] : whitelistContract2_ (address): 0x45DB714f24f5A313569c41683047f1d49e78Ba07
Arg [7] : whitelistContract3_ (address): 0x6468f4243Faa8C3330bAAa0a7a138E2e5628C6f5

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000001388
Arg [3] : 0000000000000000000000000000000000000000000000000000000061f43d30
Arg [4] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [5] : 000000000000000000000000fd3c3717164831916e6d2d7cdde9904dd793ec84
Arg [6] : 00000000000000000000000045db714f24f5a313569c41683047f1d49e78ba07
Arg [7] : 0000000000000000000000006468f4243faa8c3330baaa0a7a138e2e5628c6f5
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 556e646561642041706500000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 5541000000000000000000000000000000000000000000000000000000000000


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.