ETH Price: $3,545.26 (+6.56%)

Token

Real Face (FACES)
 

Overview

Max Total Supply

300 FACES

Holders

38

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 FACES
0xfDd24937FD8857e5C80d3A3E456C6Bb396D6E824
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:
RealFace

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./Tag.sol";

contract RealFace is ERC721, ERC721Enumerable, Ownable {

    enum SaleState {
        Off,
        Presale1,
        Presale2,
        Public
    }

    struct PresaleData {
        uint256 maxMintPerAddress;
        uint256 price;
        bytes32 merkleroot;
        mapping(address => uint256) tokensMintedByAddress;
    }

    using SafeMath for uint256;
    using MerkleProof for bytes32[];

    SaleState public saleState;
    uint256 public maxSupply;
    uint256 public maxMintPerTransaction;
    uint256 public price;
    PresaleData[] public presaleData;
    address public beneficiary;
    string public baseURI;

    modifier whenPublicSaleStarted() {
        require(saleState==SaleState.Public,"Public Sale not active");
        _;
    }

     modifier whenSaleStarted() {
        require(
            saleState==SaleState.Presale1 || 
            saleState==SaleState.Presale2 ||
            saleState==SaleState.Public,
            "whenSaleStarted: Sale not active"
        );
        _;
    }
    
    modifier whenSaleOff() {
        require(
            saleState==SaleState.Off,
            "whenSaleOff: Sale is active"
        );
        _;
    }

    modifier isWhitelistSale(SaleState _saleState) {
        require(
            _saleState==SaleState.Presale1 || 
            _saleState==SaleState.Presale2, 
            "isWhitelistSale: Parameter must be a valid presale"
        );
        _;
    }

    modifier whenMerklerootSet(SaleState _presaleNumber) {
        require(presaleData[uint(_presaleNumber)].merkleroot!=0,"whenMerklerootSet: Merkleroot not set for presale");
        _;
    }

    modifier whenAddressOnWhitelist(bytes32[] memory _merkleproof) {
        require(MerkleProof.verify(
            _merkleproof,
            getPresale().merkleroot,
            keccak256(abi.encodePacked(msg.sender))
            ),
            "whenAddressOnWhitelist: Not on white list"
        );
        _;
    }

    constructor(
        address _beneficiary,
        string memory _uri
    ) 
    ERC721("Real Face", "FACES") 
    {

        price = 0.06 ether;
        beneficiary = _beneficiary;
        saleState = SaleState.Off;
        maxSupply = 7753;
        maxMintPerTransaction = 7;

        baseURI = _uri;
        presaleData.push();

        //Presale 1
        createPresale(5, 0.04 ether);
        //Presale 2
        createPresale(3, 0.05 ether);

    }

    function createPresale(
        uint256 _maxMintPerAddress, 
        uint256 _price
    )
        private
    {
        PresaleData storage presale = presaleData.push();

        presale.maxMintPerAddress = _maxMintPerAddress;
        presale.price = _price;
    }

    function startPublicSale() external onlyOwner() whenSaleOff(){
        saleState = SaleState.Public;
    }

    function startWhitelistSale(SaleState _presaleNumber) external 
        whenSaleOff()
        isWhitelistSale(_presaleNumber) 
        whenMerklerootSet(_presaleNumber)
        onlyOwner() 
    {
        saleState = _presaleNumber;
    }
    
    function stopSale() external whenSaleStarted() onlyOwner() {
        saleState = SaleState.Off;
    }

    function mintPublic(uint256 _numTokens) external payable whenPublicSaleStarted() {
        uint256 supply = totalSupply();
        require(_numTokens <= maxMintPerTransaction, "mintPublic: Minting too many tokens at once!");
        require(supply.add(_numTokens) <= maxSupply, "mintPublic: Not enough Tokens remaining.");
        require(_numTokens.mul(price) <= msg.value, "mintPublic: Incorrect amount sent!");

        for (uint256 i; i < _numTokens; i++) {
            _safeMint(msg.sender, supply.add(1).add(i));
        }
    }

    function mintWhitelist(uint256 _numTokens, bytes32[] calldata _merkleproof) external payable 
        isWhitelistSale(saleState)
        whenMerklerootSet(saleState)
        whenAddressOnWhitelist(_merkleproof)
    {
        uint256 currentSupply = totalSupply();
        uint256 numWhitelistTokensByAddress = getPresale().tokensMintedByAddress[msg.sender];
        
        require(numWhitelistTokensByAddress.add(_numTokens) <= getPresale().maxMintPerAddress,"mintWhitelist: Exceeds the number of whitelist mints");
        require(currentSupply.add(_numTokens) <= maxSupply, "mintWhitelist: Not enough Tokens remaining in sale.");
        require(_numTokens.mul(getPresale().price) <= msg.value, "mintWhitelist: Incorrect amount sent!");
  
        for (uint256 i; i < _numTokens; i++) {
            _safeMint(msg.sender, currentSupply.add(1).add(i));
        }

        getPresale().tokensMintedByAddress[msg.sender] = numWhitelistTokensByAddress.add(_numTokens);
    
    }

    function mintReserveTokens(address _to, uint256 _numTokens) public onlyOwner {
        require(saleState==SaleState.Off,"mintReserveTokens: Sale must be off to reserve tokens");
        require(_to!=address(0),"mintReserveTokens: Cannot mint reserve tokens to the burn address");
        uint256 supply = totalSupply();
        require(supply.add(_numTokens) <= maxSupply, "mintReserveTokens: Cannot mint more than max supply");
        require(_numTokens <= 50,"mintReserveTokens: Gas limit protection");

        for (uint256 i; i < _numTokens; i++) {
            _safeMint(_to, supply.add(1).add(i));
        }
    }

    function getPresale() private view returns (PresaleData storage) {
        return presaleData[uint(saleState)];
    }

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

    function setMerkleroot(SaleState _presaleNumber, bytes32 _merkleRoot) public 
        whenSaleOff() 
        isWhitelistSale(_presaleNumber)
        onlyOwner 
    {
        presaleData[uint(_presaleNumber)].merkleroot = _merkleRoot;
    }

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

    function withdraw() public {
        uint256 balance = address(this).balance;
        require(payable(beneficiary).send(balance));
    }

    function tokensInWallet(address _owner) public view returns(uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint256 i; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

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

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


}

File 2 of 16 : Tag.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.12;

//                      ---------------[ ]---------------
//                      -------[ ]-------------[ ]-------
//                      ---------------------------------
//                      ----[ ]--------[ ]--------[ ]----
//                      ---------------------------------
//                      -------[ ]-------------[ ]-------
//                      ---------------[ ]---------------

File 3 of 16 : 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 4 of 16 : 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 5 of 16 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 6 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 16 : 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 8 of 16 : 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 9 of 16 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 10 of 16 : 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 11 of 16 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 16 : 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 13 of 16 : 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 14 of 16 : 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 15 of 16 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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);

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

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 16 of 16 : 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);
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_beneficiary","type":"address"},{"internalType":"string","name":"_uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"beneficiary","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"maxMintPerTransaction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"mintPublic","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_numTokens","type":"uint256"}],"name":"mintReserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleproof","type":"bytes32[]"}],"name":"mintWhitelist","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"presaleData","outputs":[{"internalType":"uint256","name":"maxMintPerAddress","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"bytes32","name":"merkleroot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleState","outputs":[{"internalType":"enum RealFace.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum RealFace.SaleState","name":"_presaleNumber","type":"uint8"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleroot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startPublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum RealFace.SaleState","name":"_presaleNumber","type":"uint8"}],"name":"startWhitelistSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensInWallet","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162005f9c38038062005f9c8339818101604052810190620000379190620005b3565b6040518060400160405280600981526020017f5265616c204661636500000000000000000000000000000000000000000000008152506040518060400160405280600581526020017f46414345530000000000000000000000000000000000000000000000000000008152508160009080519060200190620000bb92919062000301565b508060019080519060200190620000d492919062000301565b505050620000f7620000eb620001f860201b60201c565b6200020060201b60201c565b66d529ae9e860000600d8190555081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506000600a60146101000a81548160ff021916908360038111156200016f576200016e62000619565b5b0217905550611e49600b819055506007600c8190555080601090805190602001906200019d92919062000301565b50600e60018160018154018082558091505003906000526020600020905050620001d66005668e1bc9bf040000620002c660201b60201c565b620001f0600366b1a2bc2ec50000620002c660201b60201c565b5050620006ad565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000600e6001816001815401808255809150500390600052602060002090600402019050828160000181905550818160010181905550505050565b8280546200030f9062000677565b90600052602060002090601f0160209004810192826200033357600085556200037f565b82601f106200034e57805160ff19168380011785556200037f565b828001600101855582156200037f579182015b828111156200037e57825182559160200191906001019062000361565b5b5090506200038e919062000392565b5090565b5b80821115620003ad57600081600090555060010162000393565b5090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003f282620003c5565b9050919050565b6200040481620003e5565b81146200041057600080fd5b50565b6000815190506200042481620003f9565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200047f8262000434565b810181811067ffffffffffffffff82111715620004a157620004a062000445565b5b80604052505050565b6000620004b6620003b1565b9050620004c4828262000474565b919050565b600067ffffffffffffffff821115620004e757620004e662000445565b5b620004f28262000434565b9050602081019050919050565b60005b838110156200051f57808201518184015260208101905062000502565b838111156200052f576000848401525b50505050565b60006200054c6200054684620004c9565b620004aa565b9050828152602081018484840111156200056b576200056a6200042f565b5b62000578848285620004ff565b509392505050565b600082601f8301126200059857620005976200042a565b5b8151620005aa84826020860162000535565b91505092915050565b60008060408385031215620005cd57620005cc620003bb565b5b6000620005dd8582860162000413565b925050602083015167ffffffffffffffff811115620006015762000600620003c0565b5b6200060f8582860162000580565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200069057607f821691505b60208210811415620006a757620006a662000648565b5b50919050565b6158df80620006bd6000396000f3fe60806040526004361061020f5760003560e01c806361c5c93511610118578063a22cb465116100a0578063d5abeb011161006f578063d5abeb0114610790578063e36b0b37146107bb578063e985e9c5146107d2578063efd0cbf91461080f578063f2fde38b1461082b5761020f565b8063a22cb465146106d8578063b88d4fde14610701578063c87b56dd1461072a578063cedae23e146107675761020f565b806370a08231116100e757806370a0823114610603578063715018a6146106405780638da5cb5b1461065757806395d89b4114610682578063a035b1fe146106ad5761020f565b806361c5c9351461051f5780636352211e1461055c578063699d47a2146105995780636c0360eb146105d85761020f565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461043c5780634f6ccce714610465578063528f5d28146104a257806355f804b3146104cb578063603f4d52146104f45761020f565b80632f745c591461039457806338af3eed146103d157806339192fd7146103fc5780633ccfd60b146104255761020f565b8063081812fc116101e2578063081812fc146102c3578063095ea7b3146103005780630c1c972a1461032957806318160ddd1461034057806323b872dd1461036b5761020f565b806301f569971461021457806301ffc9a71461023f578063061431a81461027c57806306fdde0314610298575b600080fd5b34801561022057600080fd5b50610229610854565b6040516102369190613803565b60405180910390f35b34801561024b57600080fd5b506102666004803603810190610261919061388a565b61085a565b60405161027391906138d2565b60405180910390f35b6102966004803603810190610291919061397e565b61086c565b005b3480156102a457600080fd5b506102ad610c83565b6040516102ba9190613a77565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190613a99565b610d15565b6040516102f79190613b07565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613b4e565b610d9a565b005b34801561033557600080fd5b5061033e610eb2565b005b34801561034c57600080fd5b50610355610fd1565b6040516103629190613803565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190613b8e565b610fde565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613b4e565b61103e565b6040516103c89190613803565b60405180910390f35b3480156103dd57600080fd5b506103e66110e3565b6040516103f39190613b07565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190613b4e565b611109565b005b34801561043157600080fd5b5061043a611365565b005b34801561044857600080fd5b50610463600480360381019061045e9190613b8e565b6113cd565b005b34801561047157600080fd5b5061048c60048036038101906104879190613a99565b6113ed565b6040516104999190613803565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190613c06565b61145e565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613d63565b611694565b005b34801561050057600080fd5b5061050961172a565b6040516105169190613e23565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190613e3e565b61173d565b6040516105539190613f29565b60405180910390f35b34801561056857600080fd5b50610583600480360381019061057e9190613a99565b6117eb565b6040516105909190613b07565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190613a99565b61189d565b6040516105cf93929190613f64565b60405180910390f35b3480156105e457600080fd5b506105ed6118d7565b6040516105fa9190613a77565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190613e3e565b611965565b6040516106379190613803565b60405180910390f35b34801561064c57600080fd5b50610655611a1d565b005b34801561066357600080fd5b5061066c611aa5565b6040516106799190613b07565b60405180910390f35b34801561068e57600080fd5b50610697611acf565b6040516106a49190613a77565b60405180910390f35b3480156106b957600080fd5b506106c2611b61565b6040516106cf9190613803565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613fc7565b611b67565b005b34801561070d57600080fd5b50610728600480360381019061072391906140a8565b611b7d565b005b34801561073657600080fd5b50610751600480360381019061074c9190613a99565b611bdf565b60405161075e9190613a77565b60405180910390f35b34801561077357600080fd5b5061078e60048036038101906107899190614157565b611c86565b005b34801561079c57600080fd5b506107a5611e50565b6040516107b29190613803565b60405180910390f35b3480156107c757600080fd5b506107d0611e56565b005b3480156107de57600080fd5b506107f960048036038101906107f49190614197565b611ff0565b60405161080691906138d2565b60405180910390f35b61082960048036038101906108249190613a99565b612084565b005b34801561083757600080fd5b50610852600480360381019061084d9190613e3e565b61224a565b005b600c5481565b600061086582612342565b9050919050565b600a60149054906101000a900460ff16600160038111156108905761088f613dac565b5b8160038111156108a3576108a2613dac565b5b14806108d35750600260038111156108be576108bd613dac565b5b8160038111156108d1576108d0613dac565b5b145b610912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090990614249565b60405180910390fd5b600a60149054906101000a900460ff166000801b600e82600381111561093b5761093a613dac565b5b8154811061094c5761094b614269565b5b906000526020600020906004020160020154141561099f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109969061430a565b60405180910390fd5b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610a1d816109ed6123bc565b6002015433604051602001610a029190614372565b60405160208183030381529060405280519060200120612406565b610a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a53906143ff565b60405180910390fd5b6000610a66610fd1565b90506000610a726123bc565b60030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610abd6123bc565b60000154610ad4898361241d90919063ffffffff16565b1115610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90614491565b60405180910390fd5b600b54610b2b898461241d90919063ffffffff16565b1115610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390614523565b60405180910390fd5b34610b8b610b786123bc565b600101548a61243390919063ffffffff16565b1115610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc3906145b5565b60405180910390fd5b60005b88811015610c1957610c0633610c0183610bf360018861241d90919063ffffffff16565b61241d90919063ffffffff16565b612449565b8080610c1190614604565b915050610bcf565b50610c2d888261241d90919063ffffffff16565b610c356123bc565b60030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050505050565b606060008054610c929061467c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbe9061467c565b8015610d0b5780601f10610ce057610100808354040283529160200191610d0b565b820191906000526020600020905b815481529060010190602001808311610cee57829003601f168201915b5050505050905090565b6000610d2082612467565b610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5690614720565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610da5826117eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906147b2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e356124d3565b73ffffffffffffffffffffffffffffffffffffffff161480610e645750610e6381610e5e6124d3565b611ff0565b5b610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90614844565b60405180910390fd5b610ead83836124db565b505050565b610eba6124d3565b73ffffffffffffffffffffffffffffffffffffffff16610ed8611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f25906148b0565b60405180910390fd5b60006003811115610f4257610f41613dac565b5b600a60149054906101000a900460ff166003811115610f6457610f63613dac565b5b14610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b9061491c565b60405180910390fd5b6003600a60146101000a81548160ff02191690836003811115610fca57610fc9613dac565b5b0217905550565b6000600880549050905090565b610fef610fe96124d3565b82612594565b61102e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611025906149ae565b60405180910390fd5b611039838383612672565b505050565b600061104983611965565b821061108a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108190614a40565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111116124d3565b73ffffffffffffffffffffffffffffffffffffffff1661112f611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906148b0565b60405180910390fd5b6000600381111561119957611198613dac565b5b600a60149054906101000a900460ff1660038111156111bb576111ba613dac565b5b146111fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f290614ad2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290614b8a565b60405180910390fd5b6000611275610fd1565b9050600b5461128d838361241d90919063ffffffff16565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590614c1c565b60405180910390fd5b6032821115611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990614cae565b60405180910390fd5b60005b8281101561135f5761134c846113478361133960018761241d90919063ffffffff16565b61241d90919063ffffffff16565b612449565b808061135790614604565b915050611315565b50505050565b6000479050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506113ca57600080fd5b50565b6113e883838360405180602001604052806000815250611b7d565b505050565b60006113f7610fd1565b8210611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f90614d40565b60405180910390fd5b6008828154811061144c5761144b614269565b5b90600052602060002001549050919050565b6000600381111561147257611471613dac565b5b600a60149054906101000a900460ff16600381111561149457611493613dac565b5b146114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb9061491c565b60405180910390fd5b80600160038111156114e9576114e8613dac565b5b8160038111156114fc576114fb613dac565b5b148061152c57506002600381111561151757611516613dac565b5b81600381111561152a57611529613dac565b5b145b61156b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156290614249565b60405180910390fd5b816000801b600e82600381111561158557611584613dac565b5b8154811061159657611595614269565b5b90600052602060002090600402016002015414156115e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e09061430a565b60405180910390fd5b6115f16124d3565b73ffffffffffffffffffffffffffffffffffffffff1661160f611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c906148b0565b60405180910390fd5b82600a60146101000a81548160ff0219169083600381111561168a57611689613dac565b5b0217905550505050565b61169c6124d3565b73ffffffffffffffffffffffffffffffffffffffff166116ba611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611710576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611707906148b0565b60405180910390fd5b8060109080519060200190611726929190613747565b5050565b600a60149054906101000a900460ff1681565b6060600061174a83611965565b905060008167ffffffffffffffff81111561176857611767613c38565b5b6040519080825280602002602001820160405280156117965781602001602082028036833780820191505090505b50905060005b828110156117e0576117ae858261103e565b8282815181106117c1576117c0614269565b5b60200260200101818152505080806117d890614604565b91505061179c565b508092505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614dd2565b60405180910390fd5b80915050919050565b600e81815481106118ad57600080fd5b90600052602060002090600402016000915090508060000154908060010154908060020154905083565b601080546118e49061467c565b80601f01602080910402602001604051908101604052809291908181526020018280546119109061467c565b801561195d5780601f106119325761010080835404028352916020019161195d565b820191906000526020600020905b81548152906001019060200180831161194057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd90614e64565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a256124d3565b73ffffffffffffffffffffffffffffffffffffffff16611a43611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a90906148b0565b60405180910390fd5b611aa360006128d9565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611ade9061467c565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0a9061467c565b8015611b575780601f10611b2c57610100808354040283529160200191611b57565b820191906000526020600020905b815481529060010190602001808311611b3a57829003601f168201915b5050505050905090565b600d5481565b611b79611b726124d3565b838361299f565b5050565b611b8e611b886124d3565b83612594565b611bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc4906149ae565b60405180910390fd5b611bd984848484612b0c565b50505050565b6060611bea82612467565b611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090614ef6565b60405180910390fd5b6000611c33612b68565b90506000815111611c535760405180602001604052806000815250611c7e565b80611c5d84612bfa565b604051602001611c6e929190614f52565b6040516020818303038152906040525b915050919050565b60006003811115611c9a57611c99613dac565b5b600a60149054906101000a900460ff166003811115611cbc57611cbb613dac565b5b14611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf39061491c565b60405180910390fd5b8160016003811115611d1157611d10613dac565b5b816003811115611d2457611d23613dac565b5b1480611d54575060026003811115611d3f57611d3e613dac565b5b816003811115611d5257611d51613dac565b5b145b611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a90614249565b60405180910390fd5b611d9b6124d3565b73ffffffffffffffffffffffffffffffffffffffff16611db9611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e06906148b0565b60405180910390fd5b81600e846003811115611e2557611e24613dac565b5b81548110611e3657611e35614269565b5b906000526020600020906004020160020181905550505050565b600b5481565b60016003811115611e6a57611e69613dac565b5b600a60149054906101000a900460ff166003811115611e8c57611e8b613dac565b5b1480611ecb575060026003811115611ea757611ea6613dac565b5b600a60149054906101000a900460ff166003811115611ec957611ec8613dac565b5b145b80611f085750600380811115611ee457611ee3613dac565b5b600a60149054906101000a900460ff166003811115611f0657611f05613dac565b5b145b611f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3e90614fc2565b60405180910390fd5b611f4f6124d3565b73ffffffffffffffffffffffffffffffffffffffff16611f6d611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba906148b0565b60405180910390fd5b6000600a60146101000a81548160ff02191690836003811115611fe957611fe8613dac565b5b0217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60038081111561209757612096613dac565b5b600a60149054906101000a900460ff1660038111156120b9576120b8613dac565b5b146120f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f09061502e565b60405180910390fd5b6000612103610fd1565b9050600c5482111561214a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612141906150c0565b60405180910390fd5b600b54612160838361241d90919063ffffffff16565b11156121a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219890615152565b60405180910390fd5b346121b7600d548461243390919063ffffffff16565b11156121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef906151e4565b60405180910390fd5b60005b82811015612245576122323361222d8361221f60018761241d90919063ffffffff16565b61241d90919063ffffffff16565b612449565b808061223d90614604565b9150506121fb565b505050565b6122526124d3565b73ffffffffffffffffffffffffffffffffffffffff16612270611aa5565b73ffffffffffffffffffffffffffffffffffffffff16146122c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bd906148b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d90615276565b60405180910390fd5b61233f816128d9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123b557506123b482612d5b565b5b9050919050565b6000600e600a60149054906101000a900460ff1660038111156123e2576123e1613dac565b5b815481106123f3576123f2614269565b5b9060005260206000209060040201905090565b6000826124138584612e3d565b1490509392505050565b6000818361242b9190615296565b905092915050565b6000818361244191906152ec565b905092915050565b612463828260405180602001604052806000815250612eb2565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661254e836117eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061259f82612467565b6125de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d5906153b8565b60405180910390fd5b60006125e9836117eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061265857508373ffffffffffffffffffffffffffffffffffffffff1661264084610d15565b73ffffffffffffffffffffffffffffffffffffffff16145b8061266957506126688185611ff0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612692826117eb565b73ffffffffffffffffffffffffffffffffffffffff16146126e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126df9061544a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274f906154dc565b60405180910390fd5b612763838383612f0d565b61276e6000826124db565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127be91906154fc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128159190615296565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128d4838383612f1d565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a059061557c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aff91906138d2565b60405180910390a3505050565b612b17848484612672565b612b2384848484612f22565b612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b599061560e565b60405180910390fd5b50505050565b606060108054612b779061467c565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba39061467c565b8015612bf05780601f10612bc557610100808354040283529160200191612bf0565b820191906000526020600020905b815481529060010190602001808311612bd357829003601f168201915b5050505050905090565b60606000821415612c42576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d56565b600082905060005b60008214612c74578080612c5d90614604565b915050600a82612c6d919061565d565b9150612c4a565b60008167ffffffffffffffff811115612c9057612c8f613c38565b5b6040519080825280601f01601f191660200182016040528015612cc25781602001600182028036833780820191505090505b5090505b60008514612d4f57600182612cdb91906154fc565b9150600a85612cea919061568e565b6030612cf69190615296565b60f81b818381518110612d0c57612d0b614269565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d48919061565d565b9450612cc6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e2657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e365750612e35826130aa565b5b9050919050565b60008082905060005b8451811015612ea7576000858281518110612e6457612e63614269565b5b60200260200101519050808311612e8657612e7f8382613114565b9250612e93565b612e908184613114565b92505b508080612e9f90614604565b915050612e46565b508091505092915050565b612ebc838361312b565b612ec96000848484612f22565b612f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eff9061560e565b60405180910390fd5b505050565b612f18838383613305565b505050565b505050565b6000612f438473ffffffffffffffffffffffffffffffffffffffff16613419565b1561309d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f6c6124d3565b8786866040518563ffffffff1660e01b8152600401612f8e9493929190615714565b6020604051808303816000875af1925050508015612fca57506040513d601f19601f82011682018060405250810190612fc79190615775565b60015b61304d573d8060008114612ffa576040519150601f19603f3d011682016040523d82523d6000602084013e612fff565b606091505b50600081511415613045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303c9061560e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130a2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561319b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613192906157ee565b60405180910390fd5b6131a481612467565b156131e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131db9061585a565b60405180910390fd5b6131f060008383612f0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132409190615296565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461330160008383612f1d565b5050565b61331083838361343c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133535761334e81613441565b613392565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461339157613390838261348a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133d5576133d0816135f7565b613414565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134135761341282826136c8565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161349784611965565b6134a191906154fc565b9050600060076000848152602001908152602001600020549050818114613586576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061360b91906154fc565b905060006009600084815260200190815260200160002054905060006008838154811061363b5761363a614269565b5b90600052602060002001549050806008838154811061365d5761365c614269565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136ac576136ab61587a565b5b6001900381819060005260206000200160009055905550505050565b60006136d383611965565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546137539061467c565b90600052602060002090601f01602090048101928261377557600085556137bc565b82601f1061378e57805160ff19168380011785556137bc565b828001600101855582156137bc579182015b828111156137bb5782518255916020019190600101906137a0565b5b5090506137c991906137cd565b5090565b5b808211156137e65760008160009055506001016137ce565b5090565b6000819050919050565b6137fd816137ea565b82525050565b600060208201905061381860008301846137f4565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61386781613832565b811461387257600080fd5b50565b6000813590506138848161385e565b92915050565b6000602082840312156138a05761389f613828565b5b60006138ae84828501613875565b91505092915050565b60008115159050919050565b6138cc816138b7565b82525050565b60006020820190506138e760008301846138c3565b92915050565b6138f6816137ea565b811461390157600080fd5b50565b600081359050613913816138ed565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261393e5761393d613919565b5b8235905067ffffffffffffffff81111561395b5761395a61391e565b5b60208301915083602082028301111561397757613976613923565b5b9250929050565b60008060006040848603121561399757613996613828565b5b60006139a586828701613904565b935050602084013567ffffffffffffffff8111156139c6576139c561382d565b5b6139d286828701613928565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a185780820151818401526020810190506139fd565b83811115613a27576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a49826139de565b613a5381856139e9565b9350613a638185602086016139fa565b613a6c81613a2d565b840191505092915050565b60006020820190508181036000830152613a918184613a3e565b905092915050565b600060208284031215613aaf57613aae613828565b5b6000613abd84828501613904565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613af182613ac6565b9050919050565b613b0181613ae6565b82525050565b6000602082019050613b1c6000830184613af8565b92915050565b613b2b81613ae6565b8114613b3657600080fd5b50565b600081359050613b4881613b22565b92915050565b60008060408385031215613b6557613b64613828565b5b6000613b7385828601613b39565b9250506020613b8485828601613904565b9150509250929050565b600080600060608486031215613ba757613ba6613828565b5b6000613bb586828701613b39565b9350506020613bc686828701613b39565b9250506040613bd786828701613904565b9150509250925092565b60048110613bee57600080fd5b50565b600081359050613c0081613be1565b92915050565b600060208284031215613c1c57613c1b613828565b5b6000613c2a84828501613bf1565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c7082613a2d565b810181811067ffffffffffffffff82111715613c8f57613c8e613c38565b5b80604052505050565b6000613ca261381e565b9050613cae8282613c67565b919050565b600067ffffffffffffffff821115613cce57613ccd613c38565b5b613cd782613a2d565b9050602081019050919050565b82818337600083830152505050565b6000613d06613d0184613cb3565b613c98565b905082815260208101848484011115613d2257613d21613c33565b5b613d2d848285613ce4565b509392505050565b600082601f830112613d4a57613d49613919565b5b8135613d5a848260208601613cf3565b91505092915050565b600060208284031215613d7957613d78613828565b5b600082013567ffffffffffffffff811115613d9757613d9661382d565b5b613da384828501613d35565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613dec57613deb613dac565b5b50565b6000819050613dfd82613ddb565b919050565b6000613e0d82613def565b9050919050565b613e1d81613e02565b82525050565b6000602082019050613e386000830184613e14565b92915050565b600060208284031215613e5457613e53613828565b5b6000613e6284828501613b39565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ea0816137ea565b82525050565b6000613eb28383613e97565b60208301905092915050565b6000602082019050919050565b6000613ed682613e6b565b613ee08185613e76565b9350613eeb83613e87565b8060005b83811015613f1c578151613f038882613ea6565b9750613f0e83613ebe565b925050600181019050613eef565b5085935050505092915050565b60006020820190508181036000830152613f438184613ecb565b905092915050565b6000819050919050565b613f5e81613f4b565b82525050565b6000606082019050613f7960008301866137f4565b613f8660208301856137f4565b613f936040830184613f55565b949350505050565b613fa4816138b7565b8114613faf57600080fd5b50565b600081359050613fc181613f9b565b92915050565b60008060408385031215613fde57613fdd613828565b5b6000613fec85828601613b39565b9250506020613ffd85828601613fb2565b9150509250929050565b600067ffffffffffffffff82111561402257614021613c38565b5b61402b82613a2d565b9050602081019050919050565b600061404b61404684614007565b613c98565b90508281526020810184848401111561406757614066613c33565b5b614072848285613ce4565b509392505050565b600082601f83011261408f5761408e613919565b5b813561409f848260208601614038565b91505092915050565b600080600080608085870312156140c2576140c1613828565b5b60006140d087828801613b39565b94505060206140e187828801613b39565b93505060406140f287828801613904565b925050606085013567ffffffffffffffff8111156141135761411261382d565b5b61411f8782880161407a565b91505092959194509250565b61413481613f4b565b811461413f57600080fd5b50565b6000813590506141518161412b565b92915050565b6000806040838503121561416e5761416d613828565b5b600061417c85828601613bf1565b925050602061418d85828601614142565b9150509250929050565b600080604083850312156141ae576141ad613828565b5b60006141bc85828601613b39565b92505060206141cd85828601613b39565b9150509250929050565b7f697357686974656c69737453616c653a20506172616d65746572206d7573742060008201527f626520612076616c69642070726573616c650000000000000000000000000000602082015250565b60006142336032836139e9565b915061423e826141d7565b604082019050919050565b6000602082019050818103600083015261426281614226565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7768656e4d65726b6c65726f6f745365743a204d65726b6c65726f6f74206e6f60008201527f742073657420666f722070726573616c65000000000000000000000000000000602082015250565b60006142f46031836139e9565b91506142ff82614298565b604082019050919050565b60006020820190508181036000830152614323816142e7565b9050919050565b60008160601b9050919050565b60006143428261432a565b9050919050565b600061435482614337565b9050919050565b61436c61436782613ae6565b614349565b82525050565b600061437e828461435b565b60148201915081905092915050565b7f7768656e416464726573734f6e57686974656c6973743a204e6f74206f6e207760008201527f68697465206c6973740000000000000000000000000000000000000000000000602082015250565b60006143e96029836139e9565b91506143f48261438d565b604082019050919050565b60006020820190508181036000830152614418816143dc565b9050919050565b7f6d696e7457686974656c6973743a204578636565647320746865206e756d626560008201527f72206f662077686974656c697374206d696e7473000000000000000000000000602082015250565b600061447b6034836139e9565b91506144868261441f565b604082019050919050565b600060208201905081810360008301526144aa8161446e565b9050919050565b7f6d696e7457686974656c6973743a204e6f7420656e6f75676820546f6b656e7360008201527f2072656d61696e696e6720696e2073616c652e00000000000000000000000000602082015250565b600061450d6033836139e9565b9150614518826144b1565b604082019050919050565b6000602082019050818103600083015261453c81614500565b9050919050565b7f6d696e7457686974656c6973743a20496e636f727265637420616d6f756e742060008201527f73656e7421000000000000000000000000000000000000000000000000000000602082015250565b600061459f6025836139e9565b91506145aa82614543565b604082019050919050565b600060208201905081810360008301526145ce81614592565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061460f826137ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614642576146416145d5565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061469457607f821691505b602082108114156146a8576146a761464d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061470a602c836139e9565b9150614715826146ae565b604082019050919050565b60006020820190508181036000830152614739816146fd565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061479c6021836139e9565b91506147a782614740565b604082019050919050565b600060208201905081810360008301526147cb8161478f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061482e6038836139e9565b9150614839826147d2565b604082019050919050565b6000602082019050818103600083015261485d81614821565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061489a6020836139e9565b91506148a582614864565b602082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b7f7768656e53616c654f66663a2053616c65206973206163746976650000000000600082015250565b6000614906601b836139e9565b9150614911826148d0565b602082019050919050565b60006020820190508181036000830152614935816148f9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149986031836139e9565b91506149a38261493c565b604082019050919050565b600060208201905081810360008301526149c78161498b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a2a602b836139e9565b9150614a35826149ce565b604082019050919050565b60006020820190508181036000830152614a5981614a1d565b9050919050565b7f6d696e7452657365727665546f6b656e733a2053616c65206d7573742062652060008201527f6f666620746f207265736572766520746f6b656e730000000000000000000000602082015250565b6000614abc6035836139e9565b9150614ac782614a60565b604082019050919050565b60006020820190508181036000830152614aeb81614aaf565b9050919050565b7f6d696e7452657365727665546f6b656e733a2043616e6e6f74206d696e74207260008201527f65736572766520746f6b656e7320746f20746865206275726e2061646472657360208201527f7300000000000000000000000000000000000000000000000000000000000000604082015250565b6000614b746041836139e9565b9150614b7f82614af2565b606082019050919050565b60006020820190508181036000830152614ba381614b67565b9050919050565b7f6d696e7452657365727665546f6b656e733a2043616e6e6f74206d696e74206d60008201527f6f7265207468616e206d617820737570706c7900000000000000000000000000602082015250565b6000614c066033836139e9565b9150614c1182614baa565b604082019050919050565b60006020820190508181036000830152614c3581614bf9565b9050919050565b7f6d696e7452657365727665546f6b656e733a20476173206c696d69742070726f60008201527f74656374696f6e00000000000000000000000000000000000000000000000000602082015250565b6000614c986027836139e9565b9150614ca382614c3c565b604082019050919050565b60006020820190508181036000830152614cc781614c8b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d2a602c836139e9565b9150614d3582614cce565b604082019050919050565b60006020820190508181036000830152614d5981614d1d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614dbc6029836139e9565b9150614dc782614d60565b604082019050919050565b60006020820190508181036000830152614deb81614daf565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614e4e602a836139e9565b9150614e5982614df2565b604082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614ee0602f836139e9565b9150614eeb82614e84565b604082019050919050565b60006020820190508181036000830152614f0f81614ed3565b9050919050565b600081905092915050565b6000614f2c826139de565b614f368185614f16565b9350614f468185602086016139fa565b80840191505092915050565b6000614f5e8285614f21565b9150614f6a8284614f21565b91508190509392505050565b7f7768656e53616c65537461727465643a2053616c65206e6f7420616374697665600082015250565b6000614fac6020836139e9565b9150614fb782614f76565b602082019050919050565b60006020820190508181036000830152614fdb81614f9f565b9050919050565b7f5075626c69632053616c65206e6f742061637469766500000000000000000000600082015250565b60006150186016836139e9565b915061502382614fe2565b602082019050919050565b600060208201905081810360008301526150478161500b565b9050919050565b7f6d696e745075626c69633a204d696e74696e6720746f6f206d616e7920746f6b60008201527f656e73206174206f6e6365210000000000000000000000000000000000000000602082015250565b60006150aa602c836139e9565b91506150b58261504e565b604082019050919050565b600060208201905081810360008301526150d98161509d565b9050919050565b7f6d696e745075626c69633a204e6f7420656e6f75676820546f6b656e7320726560008201527f6d61696e696e672e000000000000000000000000000000000000000000000000602082015250565b600061513c6028836139e9565b9150615147826150e0565b604082019050919050565b6000602082019050818103600083015261516b8161512f565b9050919050565b7f6d696e745075626c69633a20496e636f727265637420616d6f756e742073656e60008201527f7421000000000000000000000000000000000000000000000000000000000000602082015250565b60006151ce6022836139e9565b91506151d982615172565b604082019050919050565b600060208201905081810360008301526151fd816151c1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152606026836139e9565b915061526b82615204565b604082019050919050565b6000602082019050818103600083015261528f81615253565b9050919050565b60006152a1826137ea565b91506152ac836137ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152e1576152e06145d5565b5b828201905092915050565b60006152f7826137ea565b9150615302836137ea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561533b5761533a6145d5565b5b828202905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006153a2602c836139e9565b91506153ad82615346565b604082019050919050565b600060208201905081810360008301526153d181615395565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006154346025836139e9565b915061543f826153d8565b604082019050919050565b6000602082019050818103600083015261546381615427565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006154c66024836139e9565b91506154d18261546a565b604082019050919050565b600060208201905081810360008301526154f5816154b9565b9050919050565b6000615507826137ea565b9150615512836137ea565b925082821015615525576155246145d5565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006155666019836139e9565b915061557182615530565b602082019050919050565b6000602082019050818103600083015261559581615559565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006155f86032836139e9565b91506156038261559c565b604082019050919050565b60006020820190508181036000830152615627816155eb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615668826137ea565b9150615673836137ea565b9250826156835761568261562e565b5b828204905092915050565b6000615699826137ea565b91506156a4836137ea565b9250826156b4576156b361562e565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006156e6826156bf565b6156f081856156ca565b93506157008185602086016139fa565b61570981613a2d565b840191505092915050565b60006080820190506157296000830187613af8565b6157366020830186613af8565b61574360408301856137f4565b818103606083015261575581846156db565b905095945050505050565b60008151905061576f8161385e565b92915050565b60006020828403121561578b5761578a613828565b5b600061579984828501615760565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006157d86020836139e9565b91506157e3826157a2565b602082019050919050565b60006020820190508181036000830152615807816157cb565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615844601c836139e9565b915061584f8261580e565b602082019050919050565b6000602082019050818103600083015261587381615837565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212200b8fb66e321c1cb52350398abafbe2a884a1d040c4578fa5c70c349eca27ddf964736f6c634300080c0033000000000000000000000000e0c7284ec57c27792f1fd977be5cfbe6c64276560000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e7265616c666163656e66742e696f2f00000000

Deployed Bytecode

0x60806040526004361061020f5760003560e01c806361c5c93511610118578063a22cb465116100a0578063d5abeb011161006f578063d5abeb0114610790578063e36b0b37146107bb578063e985e9c5146107d2578063efd0cbf91461080f578063f2fde38b1461082b5761020f565b8063a22cb465146106d8578063b88d4fde14610701578063c87b56dd1461072a578063cedae23e146107675761020f565b806370a08231116100e757806370a0823114610603578063715018a6146106405780638da5cb5b1461065757806395d89b4114610682578063a035b1fe146106ad5761020f565b806361c5c9351461051f5780636352211e1461055c578063699d47a2146105995780636c0360eb146105d85761020f565b80632f745c591161019b57806342842e0e1161016a57806342842e0e1461043c5780634f6ccce714610465578063528f5d28146104a257806355f804b3146104cb578063603f4d52146104f45761020f565b80632f745c591461039457806338af3eed146103d157806339192fd7146103fc5780633ccfd60b146104255761020f565b8063081812fc116101e2578063081812fc146102c3578063095ea7b3146103005780630c1c972a1461032957806318160ddd1461034057806323b872dd1461036b5761020f565b806301f569971461021457806301ffc9a71461023f578063061431a81461027c57806306fdde0314610298575b600080fd5b34801561022057600080fd5b50610229610854565b6040516102369190613803565b60405180910390f35b34801561024b57600080fd5b506102666004803603810190610261919061388a565b61085a565b60405161027391906138d2565b60405180910390f35b6102966004803603810190610291919061397e565b61086c565b005b3480156102a457600080fd5b506102ad610c83565b6040516102ba9190613a77565b60405180910390f35b3480156102cf57600080fd5b506102ea60048036038101906102e59190613a99565b610d15565b6040516102f79190613b07565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613b4e565b610d9a565b005b34801561033557600080fd5b5061033e610eb2565b005b34801561034c57600080fd5b50610355610fd1565b6040516103629190613803565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190613b8e565b610fde565b005b3480156103a057600080fd5b506103bb60048036038101906103b69190613b4e565b61103e565b6040516103c89190613803565b60405180910390f35b3480156103dd57600080fd5b506103e66110e3565b6040516103f39190613b07565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e9190613b4e565b611109565b005b34801561043157600080fd5b5061043a611365565b005b34801561044857600080fd5b50610463600480360381019061045e9190613b8e565b6113cd565b005b34801561047157600080fd5b5061048c60048036038101906104879190613a99565b6113ed565b6040516104999190613803565b60405180910390f35b3480156104ae57600080fd5b506104c960048036038101906104c49190613c06565b61145e565b005b3480156104d757600080fd5b506104f260048036038101906104ed9190613d63565b611694565b005b34801561050057600080fd5b5061050961172a565b6040516105169190613e23565b60405180910390f35b34801561052b57600080fd5b5061054660048036038101906105419190613e3e565b61173d565b6040516105539190613f29565b60405180910390f35b34801561056857600080fd5b50610583600480360381019061057e9190613a99565b6117eb565b6040516105909190613b07565b60405180910390f35b3480156105a557600080fd5b506105c060048036038101906105bb9190613a99565b61189d565b6040516105cf93929190613f64565b60405180910390f35b3480156105e457600080fd5b506105ed6118d7565b6040516105fa9190613a77565b60405180910390f35b34801561060f57600080fd5b5061062a60048036038101906106259190613e3e565b611965565b6040516106379190613803565b60405180910390f35b34801561064c57600080fd5b50610655611a1d565b005b34801561066357600080fd5b5061066c611aa5565b6040516106799190613b07565b60405180910390f35b34801561068e57600080fd5b50610697611acf565b6040516106a49190613a77565b60405180910390f35b3480156106b957600080fd5b506106c2611b61565b6040516106cf9190613803565b60405180910390f35b3480156106e457600080fd5b506106ff60048036038101906106fa9190613fc7565b611b67565b005b34801561070d57600080fd5b50610728600480360381019061072391906140a8565b611b7d565b005b34801561073657600080fd5b50610751600480360381019061074c9190613a99565b611bdf565b60405161075e9190613a77565b60405180910390f35b34801561077357600080fd5b5061078e60048036038101906107899190614157565b611c86565b005b34801561079c57600080fd5b506107a5611e50565b6040516107b29190613803565b60405180910390f35b3480156107c757600080fd5b506107d0611e56565b005b3480156107de57600080fd5b506107f960048036038101906107f49190614197565b611ff0565b60405161080691906138d2565b60405180910390f35b61082960048036038101906108249190613a99565b612084565b005b34801561083757600080fd5b50610852600480360381019061084d9190613e3e565b61224a565b005b600c5481565b600061086582612342565b9050919050565b600a60149054906101000a900460ff16600160038111156108905761088f613dac565b5b8160038111156108a3576108a2613dac565b5b14806108d35750600260038111156108be576108bd613dac565b5b8160038111156108d1576108d0613dac565b5b145b610912576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161090990614249565b60405180910390fd5b600a60149054906101000a900460ff166000801b600e82600381111561093b5761093a613dac565b5b8154811061094c5761094b614269565b5b906000526020600020906004020160020154141561099f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109969061430a565b60405180910390fd5b838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050610a1d816109ed6123bc565b6002015433604051602001610a029190614372565b60405160208183030381529060405280519060200120612406565b610a5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a53906143ff565b60405180910390fd5b6000610a66610fd1565b90506000610a726123bc565b60030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050610abd6123bc565b60000154610ad4898361241d90919063ffffffff16565b1115610b15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b0c90614491565b60405180910390fd5b600b54610b2b898461241d90919063ffffffff16565b1115610b6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6390614523565b60405180910390fd5b34610b8b610b786123bc565b600101548a61243390919063ffffffff16565b1115610bcc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc3906145b5565b60405180910390fd5b60005b88811015610c1957610c0633610c0183610bf360018861241d90919063ffffffff16565b61241d90919063ffffffff16565b612449565b8080610c1190614604565b915050610bcf565b50610c2d888261241d90919063ffffffff16565b610c356123bc565b60030160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505050505050505050565b606060008054610c929061467c565b80601f0160208091040260200160405190810160405280929190818152602001828054610cbe9061467c565b8015610d0b5780601f10610ce057610100808354040283529160200191610d0b565b820191906000526020600020905b815481529060010190602001808311610cee57829003601f168201915b5050505050905090565b6000610d2082612467565b610d5f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5690614720565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610da5826117eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610e16576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0d906147b2565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610e356124d3565b73ffffffffffffffffffffffffffffffffffffffff161480610e645750610e6381610e5e6124d3565b611ff0565b5b610ea3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e9a90614844565b60405180910390fd5b610ead83836124db565b505050565b610eba6124d3565b73ffffffffffffffffffffffffffffffffffffffff16610ed8611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f25906148b0565b60405180910390fd5b60006003811115610f4257610f41613dac565b5b600a60149054906101000a900460ff166003811115610f6457610f63613dac565b5b14610fa4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9b9061491c565b60405180910390fd5b6003600a60146101000a81548160ff02191690836003811115610fca57610fc9613dac565b5b0217905550565b6000600880549050905090565b610fef610fe96124d3565b82612594565b61102e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611025906149ae565b60405180910390fd5b611039838383612672565b505050565b600061104983611965565b821061108a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108190614a40565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6111116124d3565b73ffffffffffffffffffffffffffffffffffffffff1661112f611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611185576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161117c906148b0565b60405180910390fd5b6000600381111561119957611198613dac565b5b600a60149054906101000a900460ff1660038111156111bb576111ba613dac565b5b146111fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f290614ad2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561126b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126290614b8a565b60405180910390fd5b6000611275610fd1565b9050600b5461128d838361241d90919063ffffffff16565b11156112ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c590614c1c565b60405180910390fd5b6032821115611312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161130990614cae565b60405180910390fd5b60005b8281101561135f5761134c846113478361133960018761241d90919063ffffffff16565b61241d90919063ffffffff16565b612449565b808061135790614604565b915050611315565b50505050565b6000479050600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050506113ca57600080fd5b50565b6113e883838360405180602001604052806000815250611b7d565b505050565b60006113f7610fd1565b8210611438576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142f90614d40565b60405180910390fd5b6008828154811061144c5761144b614269565b5b90600052602060002001549050919050565b6000600381111561147257611471613dac565b5b600a60149054906101000a900460ff16600381111561149457611493613dac565b5b146114d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cb9061491c565b60405180910390fd5b80600160038111156114e9576114e8613dac565b5b8160038111156114fc576114fb613dac565b5b148061152c57506002600381111561151757611516613dac565b5b81600381111561152a57611529613dac565b5b145b61156b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156290614249565b60405180910390fd5b816000801b600e82600381111561158557611584613dac565b5b8154811061159657611595614269565b5b90600052602060002090600402016002015414156115e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e09061430a565b60405180910390fd5b6115f16124d3565b73ffffffffffffffffffffffffffffffffffffffff1661160f611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611665576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165c906148b0565b60405180910390fd5b82600a60146101000a81548160ff0219169083600381111561168a57611689613dac565b5b0217905550505050565b61169c6124d3565b73ffffffffffffffffffffffffffffffffffffffff166116ba611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611710576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611707906148b0565b60405180910390fd5b8060109080519060200190611726929190613747565b5050565b600a60149054906101000a900460ff1681565b6060600061174a83611965565b905060008167ffffffffffffffff81111561176857611767613c38565b5b6040519080825280602002602001820160405280156117965781602001602082028036833780820191505090505b50905060005b828110156117e0576117ae858261103e565b8282815181106117c1576117c0614269565b5b60200260200101818152505080806117d890614604565b91505061179c565b508092505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611894576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161188b90614dd2565b60405180910390fd5b80915050919050565b600e81815481106118ad57600080fd5b90600052602060002090600402016000915090508060000154908060010154908060020154905083565b601080546118e49061467c565b80601f01602080910402602001604051908101604052809291908181526020018280546119109061467c565b801561195d5780601f106119325761010080835404028352916020019161195d565b820191906000526020600020905b81548152906001019060200180831161194057829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119cd90614e64565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611a256124d3565b73ffffffffffffffffffffffffffffffffffffffff16611a43611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611a99576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a90906148b0565b60405180910390fd5b611aa360006128d9565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611ade9061467c565b80601f0160208091040260200160405190810160405280929190818152602001828054611b0a9061467c565b8015611b575780601f10611b2c57610100808354040283529160200191611b57565b820191906000526020600020905b815481529060010190602001808311611b3a57829003601f168201915b5050505050905090565b600d5481565b611b79611b726124d3565b838361299f565b5050565b611b8e611b886124d3565b83612594565b611bcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bc4906149ae565b60405180910390fd5b611bd984848484612b0c565b50505050565b6060611bea82612467565b611c29576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2090614ef6565b60405180910390fd5b6000611c33612b68565b90506000815111611c535760405180602001604052806000815250611c7e565b80611c5d84612bfa565b604051602001611c6e929190614f52565b6040516020818303038152906040525b915050919050565b60006003811115611c9a57611c99613dac565b5b600a60149054906101000a900460ff166003811115611cbc57611cbb613dac565b5b14611cfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf39061491c565b60405180910390fd5b8160016003811115611d1157611d10613dac565b5b816003811115611d2457611d23613dac565b5b1480611d54575060026003811115611d3f57611d3e613dac565b5b816003811115611d5257611d51613dac565b5b145b611d93576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d8a90614249565b60405180910390fd5b611d9b6124d3565b73ffffffffffffffffffffffffffffffffffffffff16611db9611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611e0f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e06906148b0565b60405180910390fd5b81600e846003811115611e2557611e24613dac565b5b81548110611e3657611e35614269565b5b906000526020600020906004020160020181905550505050565b600b5481565b60016003811115611e6a57611e69613dac565b5b600a60149054906101000a900460ff166003811115611e8c57611e8b613dac565b5b1480611ecb575060026003811115611ea757611ea6613dac565b5b600a60149054906101000a900460ff166003811115611ec957611ec8613dac565b5b145b80611f085750600380811115611ee457611ee3613dac565b5b600a60149054906101000a900460ff166003811115611f0657611f05613dac565b5b145b611f47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3e90614fc2565b60405180910390fd5b611f4f6124d3565b73ffffffffffffffffffffffffffffffffffffffff16611f6d611aa5565b73ffffffffffffffffffffffffffffffffffffffff1614611fc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fba906148b0565b60405180910390fd5b6000600a60146101000a81548160ff02191690836003811115611fe957611fe8613dac565b5b0217905550565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60038081111561209757612096613dac565b5b600a60149054906101000a900460ff1660038111156120b9576120b8613dac565b5b146120f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120f09061502e565b60405180910390fd5b6000612103610fd1565b9050600c5482111561214a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612141906150c0565b60405180910390fd5b600b54612160838361241d90919063ffffffff16565b11156121a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161219890615152565b60405180910390fd5b346121b7600d548461243390919063ffffffff16565b11156121f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121ef906151e4565b60405180910390fd5b60005b82811015612245576122323361222d8361221f60018761241d90919063ffffffff16565b61241d90919063ffffffff16565b612449565b808061223d90614604565b9150506121fb565b505050565b6122526124d3565b73ffffffffffffffffffffffffffffffffffffffff16612270611aa5565b73ffffffffffffffffffffffffffffffffffffffff16146122c6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122bd906148b0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232d90615276565b60405180910390fd5b61233f816128d9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806123b557506123b482612d5b565b5b9050919050565b6000600e600a60149054906101000a900460ff1660038111156123e2576123e1613dac565b5b815481106123f3576123f2614269565b5b9060005260206000209060040201905090565b6000826124138584612e3d565b1490509392505050565b6000818361242b9190615296565b905092915050565b6000818361244191906152ec565b905092915050565b612463828260405180602001604052806000815250612eb2565b5050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661254e836117eb565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061259f82612467565b6125de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125d5906153b8565b60405180910390fd5b60006125e9836117eb565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061265857508373ffffffffffffffffffffffffffffffffffffffff1661264084610d15565b73ffffffffffffffffffffffffffffffffffffffff16145b8061266957506126688185611ff0565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612692826117eb565b73ffffffffffffffffffffffffffffffffffffffff16146126e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126df9061544a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274f906154dc565b60405180910390fd5b612763838383612f0d565b61276e6000826124db565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127be91906154fc565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128159190615296565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46128d4838383612f1d565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a059061557c565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612aff91906138d2565b60405180910390a3505050565b612b17848484612672565b612b2384848484612f22565b612b62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b599061560e565b60405180910390fd5b50505050565b606060108054612b779061467c565b80601f0160208091040260200160405190810160405280929190818152602001828054612ba39061467c565b8015612bf05780601f10612bc557610100808354040283529160200191612bf0565b820191906000526020600020905b815481529060010190602001808311612bd357829003601f168201915b5050505050905090565b60606000821415612c42576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d56565b600082905060005b60008214612c74578080612c5d90614604565b915050600a82612c6d919061565d565b9150612c4a565b60008167ffffffffffffffff811115612c9057612c8f613c38565b5b6040519080825280601f01601f191660200182016040528015612cc25781602001600182028036833780820191505090505b5090505b60008514612d4f57600182612cdb91906154fc565b9150600a85612cea919061568e565b6030612cf69190615296565b60f81b818381518110612d0c57612d0b614269565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d48919061565d565b9450612cc6565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612e2657507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612e365750612e35826130aa565b5b9050919050565b60008082905060005b8451811015612ea7576000858281518110612e6457612e63614269565b5b60200260200101519050808311612e8657612e7f8382613114565b9250612e93565b612e908184613114565b92505b508080612e9f90614604565b915050612e46565b508091505092915050565b612ebc838361312b565b612ec96000848484612f22565b612f08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eff9061560e565b60405180910390fd5b505050565b612f18838383613305565b505050565b505050565b6000612f438473ffffffffffffffffffffffffffffffffffffffff16613419565b1561309d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612f6c6124d3565b8786866040518563ffffffff1660e01b8152600401612f8e9493929190615714565b6020604051808303816000875af1925050508015612fca57506040513d601f19601f82011682018060405250810190612fc79190615775565b60015b61304d573d8060008114612ffa576040519150601f19603f3d011682016040523d82523d6000602084013e612fff565b606091505b50600081511415613045576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161303c9061560e565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506130a2565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600082600052816020526040600020905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561319b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613192906157ee565b60405180910390fd5b6131a481612467565b156131e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131db9061585a565b60405180910390fd5b6131f060008383612f0d565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546132409190615296565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461330160008383612f1d565b5050565b61331083838361343c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156133535761334e81613441565b613392565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461339157613390838261348a565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156133d5576133d0816135f7565b613414565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146134135761341282826136c8565b5b5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161349784611965565b6134a191906154fc565b9050600060076000848152602001908152602001600020549050818114613586576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061360b91906154fc565b905060006009600084815260200190815260200160002054905060006008838154811061363b5761363a614269565b5b90600052602060002001549050806008838154811061365d5761365c614269565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806136ac576136ab61587a565b5b6001900381819060005260206000200160009055905550505050565b60006136d383611965565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b8280546137539061467c565b90600052602060002090601f01602090048101928261377557600085556137bc565b82601f1061378e57805160ff19168380011785556137bc565b828001600101855582156137bc579182015b828111156137bb5782518255916020019190600101906137a0565b5b5090506137c991906137cd565b5090565b5b808211156137e65760008160009055506001016137ce565b5090565b6000819050919050565b6137fd816137ea565b82525050565b600060208201905061381860008301846137f4565b92915050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61386781613832565b811461387257600080fd5b50565b6000813590506138848161385e565b92915050565b6000602082840312156138a05761389f613828565b5b60006138ae84828501613875565b91505092915050565b60008115159050919050565b6138cc816138b7565b82525050565b60006020820190506138e760008301846138c3565b92915050565b6138f6816137ea565b811461390157600080fd5b50565b600081359050613913816138ed565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261393e5761393d613919565b5b8235905067ffffffffffffffff81111561395b5761395a61391e565b5b60208301915083602082028301111561397757613976613923565b5b9250929050565b60008060006040848603121561399757613996613828565b5b60006139a586828701613904565b935050602084013567ffffffffffffffff8111156139c6576139c561382d565b5b6139d286828701613928565b92509250509250925092565b600081519050919050565b600082825260208201905092915050565b60005b83811015613a185780820151818401526020810190506139fd565b83811115613a27576000848401525b50505050565b6000601f19601f8301169050919050565b6000613a49826139de565b613a5381856139e9565b9350613a638185602086016139fa565b613a6c81613a2d565b840191505092915050565b60006020820190508181036000830152613a918184613a3e565b905092915050565b600060208284031215613aaf57613aae613828565b5b6000613abd84828501613904565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613af182613ac6565b9050919050565b613b0181613ae6565b82525050565b6000602082019050613b1c6000830184613af8565b92915050565b613b2b81613ae6565b8114613b3657600080fd5b50565b600081359050613b4881613b22565b92915050565b60008060408385031215613b6557613b64613828565b5b6000613b7385828601613b39565b9250506020613b8485828601613904565b9150509250929050565b600080600060608486031215613ba757613ba6613828565b5b6000613bb586828701613b39565b9350506020613bc686828701613b39565b9250506040613bd786828701613904565b9150509250925092565b60048110613bee57600080fd5b50565b600081359050613c0081613be1565b92915050565b600060208284031215613c1c57613c1b613828565b5b6000613c2a84828501613bf1565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613c7082613a2d565b810181811067ffffffffffffffff82111715613c8f57613c8e613c38565b5b80604052505050565b6000613ca261381e565b9050613cae8282613c67565b919050565b600067ffffffffffffffff821115613cce57613ccd613c38565b5b613cd782613a2d565b9050602081019050919050565b82818337600083830152505050565b6000613d06613d0184613cb3565b613c98565b905082815260208101848484011115613d2257613d21613c33565b5b613d2d848285613ce4565b509392505050565b600082601f830112613d4a57613d49613919565b5b8135613d5a848260208601613cf3565b91505092915050565b600060208284031215613d7957613d78613828565b5b600082013567ffffffffffffffff811115613d9757613d9661382d565b5b613da384828501613d35565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613dec57613deb613dac565b5b50565b6000819050613dfd82613ddb565b919050565b6000613e0d82613def565b9050919050565b613e1d81613e02565b82525050565b6000602082019050613e386000830184613e14565b92915050565b600060208284031215613e5457613e53613828565b5b6000613e6284828501613b39565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b613ea0816137ea565b82525050565b6000613eb28383613e97565b60208301905092915050565b6000602082019050919050565b6000613ed682613e6b565b613ee08185613e76565b9350613eeb83613e87565b8060005b83811015613f1c578151613f038882613ea6565b9750613f0e83613ebe565b925050600181019050613eef565b5085935050505092915050565b60006020820190508181036000830152613f438184613ecb565b905092915050565b6000819050919050565b613f5e81613f4b565b82525050565b6000606082019050613f7960008301866137f4565b613f8660208301856137f4565b613f936040830184613f55565b949350505050565b613fa4816138b7565b8114613faf57600080fd5b50565b600081359050613fc181613f9b565b92915050565b60008060408385031215613fde57613fdd613828565b5b6000613fec85828601613b39565b9250506020613ffd85828601613fb2565b9150509250929050565b600067ffffffffffffffff82111561402257614021613c38565b5b61402b82613a2d565b9050602081019050919050565b600061404b61404684614007565b613c98565b90508281526020810184848401111561406757614066613c33565b5b614072848285613ce4565b509392505050565b600082601f83011261408f5761408e613919565b5b813561409f848260208601614038565b91505092915050565b600080600080608085870312156140c2576140c1613828565b5b60006140d087828801613b39565b94505060206140e187828801613b39565b93505060406140f287828801613904565b925050606085013567ffffffffffffffff8111156141135761411261382d565b5b61411f8782880161407a565b91505092959194509250565b61413481613f4b565b811461413f57600080fd5b50565b6000813590506141518161412b565b92915050565b6000806040838503121561416e5761416d613828565b5b600061417c85828601613bf1565b925050602061418d85828601614142565b9150509250929050565b600080604083850312156141ae576141ad613828565b5b60006141bc85828601613b39565b92505060206141cd85828601613b39565b9150509250929050565b7f697357686974656c69737453616c653a20506172616d65746572206d7573742060008201527f626520612076616c69642070726573616c650000000000000000000000000000602082015250565b60006142336032836139e9565b915061423e826141d7565b604082019050919050565b6000602082019050818103600083015261426281614226565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f7768656e4d65726b6c65726f6f745365743a204d65726b6c65726f6f74206e6f60008201527f742073657420666f722070726573616c65000000000000000000000000000000602082015250565b60006142f46031836139e9565b91506142ff82614298565b604082019050919050565b60006020820190508181036000830152614323816142e7565b9050919050565b60008160601b9050919050565b60006143428261432a565b9050919050565b600061435482614337565b9050919050565b61436c61436782613ae6565b614349565b82525050565b600061437e828461435b565b60148201915081905092915050565b7f7768656e416464726573734f6e57686974656c6973743a204e6f74206f6e207760008201527f68697465206c6973740000000000000000000000000000000000000000000000602082015250565b60006143e96029836139e9565b91506143f48261438d565b604082019050919050565b60006020820190508181036000830152614418816143dc565b9050919050565b7f6d696e7457686974656c6973743a204578636565647320746865206e756d626560008201527f72206f662077686974656c697374206d696e7473000000000000000000000000602082015250565b600061447b6034836139e9565b91506144868261441f565b604082019050919050565b600060208201905081810360008301526144aa8161446e565b9050919050565b7f6d696e7457686974656c6973743a204e6f7420656e6f75676820546f6b656e7360008201527f2072656d61696e696e6720696e2073616c652e00000000000000000000000000602082015250565b600061450d6033836139e9565b9150614518826144b1565b604082019050919050565b6000602082019050818103600083015261453c81614500565b9050919050565b7f6d696e7457686974656c6973743a20496e636f727265637420616d6f756e742060008201527f73656e7421000000000000000000000000000000000000000000000000000000602082015250565b600061459f6025836139e9565b91506145aa82614543565b604082019050919050565b600060208201905081810360008301526145ce81614592565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061460f826137ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614642576146416145d5565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061469457607f821691505b602082108114156146a8576146a761464d565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061470a602c836139e9565b9150614715826146ae565b604082019050919050565b60006020820190508181036000830152614739816146fd565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061479c6021836139e9565b91506147a782614740565b604082019050919050565b600060208201905081810360008301526147cb8161478f565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061482e6038836139e9565b9150614839826147d2565b604082019050919050565b6000602082019050818103600083015261485d81614821565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061489a6020836139e9565b91506148a582614864565b602082019050919050565b600060208201905081810360008301526148c98161488d565b9050919050565b7f7768656e53616c654f66663a2053616c65206973206163746976650000000000600082015250565b6000614906601b836139e9565b9150614911826148d0565b602082019050919050565b60006020820190508181036000830152614935816148f9565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006149986031836139e9565b91506149a38261493c565b604082019050919050565b600060208201905081810360008301526149c78161498b565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614a2a602b836139e9565b9150614a35826149ce565b604082019050919050565b60006020820190508181036000830152614a5981614a1d565b9050919050565b7f6d696e7452657365727665546f6b656e733a2053616c65206d7573742062652060008201527f6f666620746f207265736572766520746f6b656e730000000000000000000000602082015250565b6000614abc6035836139e9565b9150614ac782614a60565b604082019050919050565b60006020820190508181036000830152614aeb81614aaf565b9050919050565b7f6d696e7452657365727665546f6b656e733a2043616e6e6f74206d696e74207260008201527f65736572766520746f6b656e7320746f20746865206275726e2061646472657360208201527f7300000000000000000000000000000000000000000000000000000000000000604082015250565b6000614b746041836139e9565b9150614b7f82614af2565b606082019050919050565b60006020820190508181036000830152614ba381614b67565b9050919050565b7f6d696e7452657365727665546f6b656e733a2043616e6e6f74206d696e74206d60008201527f6f7265207468616e206d617820737570706c7900000000000000000000000000602082015250565b6000614c066033836139e9565b9150614c1182614baa565b604082019050919050565b60006020820190508181036000830152614c3581614bf9565b9050919050565b7f6d696e7452657365727665546f6b656e733a20476173206c696d69742070726f60008201527f74656374696f6e00000000000000000000000000000000000000000000000000602082015250565b6000614c986027836139e9565b9150614ca382614c3c565b604082019050919050565b60006020820190508181036000830152614cc781614c8b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614d2a602c836139e9565b9150614d3582614cce565b604082019050919050565b60006020820190508181036000830152614d5981614d1d565b9050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614dbc6029836139e9565b9150614dc782614d60565b604082019050919050565b60006020820190508181036000830152614deb81614daf565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614e4e602a836139e9565b9150614e5982614df2565b604082019050919050565b60006020820190508181036000830152614e7d81614e41565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614ee0602f836139e9565b9150614eeb82614e84565b604082019050919050565b60006020820190508181036000830152614f0f81614ed3565b9050919050565b600081905092915050565b6000614f2c826139de565b614f368185614f16565b9350614f468185602086016139fa565b80840191505092915050565b6000614f5e8285614f21565b9150614f6a8284614f21565b91508190509392505050565b7f7768656e53616c65537461727465643a2053616c65206e6f7420616374697665600082015250565b6000614fac6020836139e9565b9150614fb782614f76565b602082019050919050565b60006020820190508181036000830152614fdb81614f9f565b9050919050565b7f5075626c69632053616c65206e6f742061637469766500000000000000000000600082015250565b60006150186016836139e9565b915061502382614fe2565b602082019050919050565b600060208201905081810360008301526150478161500b565b9050919050565b7f6d696e745075626c69633a204d696e74696e6720746f6f206d616e7920746f6b60008201527f656e73206174206f6e6365210000000000000000000000000000000000000000602082015250565b60006150aa602c836139e9565b91506150b58261504e565b604082019050919050565b600060208201905081810360008301526150d98161509d565b9050919050565b7f6d696e745075626c69633a204e6f7420656e6f75676820546f6b656e7320726560008201527f6d61696e696e672e000000000000000000000000000000000000000000000000602082015250565b600061513c6028836139e9565b9150615147826150e0565b604082019050919050565b6000602082019050818103600083015261516b8161512f565b9050919050565b7f6d696e745075626c69633a20496e636f727265637420616d6f756e742073656e60008201527f7421000000000000000000000000000000000000000000000000000000000000602082015250565b60006151ce6022836139e9565b91506151d982615172565b604082019050919050565b600060208201905081810360008301526151fd816151c1565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006152606026836139e9565b915061526b82615204565b604082019050919050565b6000602082019050818103600083015261528f81615253565b9050919050565b60006152a1826137ea565b91506152ac836137ea565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156152e1576152e06145d5565b5b828201905092915050565b60006152f7826137ea565b9150615302836137ea565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561533b5761533a6145d5565b5b828202905092915050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006153a2602c836139e9565b91506153ad82615346565b604082019050919050565b600060208201905081810360008301526153d181615395565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006154346025836139e9565b915061543f826153d8565b604082019050919050565b6000602082019050818103600083015261546381615427565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006154c66024836139e9565b91506154d18261546a565b604082019050919050565b600060208201905081810360008301526154f5816154b9565b9050919050565b6000615507826137ea565b9150615512836137ea565b925082821015615525576155246145d5565b5b828203905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006155666019836139e9565b915061557182615530565b602082019050919050565b6000602082019050818103600083015261559581615559565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006155f86032836139e9565b91506156038261559c565b604082019050919050565b60006020820190508181036000830152615627816155eb565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615668826137ea565b9150615673836137ea565b9250826156835761568261562e565b5b828204905092915050565b6000615699826137ea565b91506156a4836137ea565b9250826156b4576156b361562e565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b60006156e6826156bf565b6156f081856156ca565b93506157008185602086016139fa565b61570981613a2d565b840191505092915050565b60006080820190506157296000830187613af8565b6157366020830186613af8565b61574360408301856137f4565b818103606083015261575581846156db565b905095945050505050565b60008151905061576f8161385e565b92915050565b60006020828403121561578b5761578a613828565b5b600061579984828501615760565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006157d86020836139e9565b91506157e3826157a2565b602082019050919050565b60006020820190508181036000830152615807816157cb565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615844601c836139e9565b915061584f8261580e565b602082019050919050565b6000602082019050818103600083015261587381615837565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea26469706673582212200b8fb66e321c1cb52350398abafbe2a884a1d040c4578fa5c70c349eca27ddf964736f6c634300080c0033

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

000000000000000000000000e0c7284ec57c27792f1fd977be5cfbe6c64276560000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e7265616c666163656e66742e696f2f00000000

-----Decoded View---------------
Arg [0] : _beneficiary (address): 0xE0C7284EC57C27792f1Fd977bE5cfBE6c6427656
Arg [1] : _uri (string): https://meta.realfacenft.io/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000e0c7284ec57c27792f1fd977be5cfbe6c6427656
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [3] : 68747470733a2f2f6d6574612e7265616c666163656e66742e696f2f00000000


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

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