ETH Price: $3,468.47 (+2.97%)

Token

Voodollz (VDLZ)
 

Overview

Max Total Supply

338 VDLZ

Holders

146

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
cryptopacman.eth
Balance
1 VDLZ
0xd5019f75889fc91118fd23e0e2f3c8d8481e8725
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:
Voodollz

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : Voodollz.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Counters.sol";

import "./Presalable.sol";

contract Voodollz is ERC721Enumerable, Ownable, Pausable, Presalable {
    using ECDSA for bytes32;
    using Counters for Counters.Counter;

    uint256 private constant _RESERVED = 100;

    string public baseTokenURI;
    
    uint256 public constant MAX_TOKEN_COUNT = 9999;
    uint256 public constant PRICE = 0.08 ether;
    uint256 public constant PRESALE_PRICE = 0.07 ether;

    mapping(address => uint8) public tokenOwnersCounter;
    mapping(address => uint8) public presaleTokenOwnersCounter;
    
    Counters.Counter private _tokenIdCounter = Counters.Counter(_RESERVED);
    Counters.Counter private _giveTokenIdCounter;

    address t1 = 0x2A71996Eb62E15f76C78d90B6ce901527e47aB0D;
    address t2 = 0x5795FCC85820DDfD20A310CB2705700082FDFD52;
    address t3 = 0x333EaDE7E56F6e55F7dA16050efCCbD24303E99A;

    constructor(string memory _baseTokenURI) ERC721("Voodollz", "VDLZ")  {
        setBaseURI(_baseTokenURI);
        presale();
    }

    // Mint methods

    function mint(uint256 _amount) public payable whenNotPresaled whenNotPaused {
        require(tokenOwnersCounter[msg.sender] + _amount <= 5, "Can only mint 5 tokens at address");
        require(_tokenIdCounter.current() + _amount <= MAX_TOKEN_COUNT, "Exceeds maximum Voodollz supply");
        require(_amount <= 3, "Can only mint 3 tokens at a time");
        require(msg.value >= PRICE * _amount, "Ether value sent is not correct");
    
        for(uint256 i = 0; i < _amount; i++) {
            if (_tokenIdCounter.current() < MAX_TOKEN_COUNT) {
                _tokenIdCounter.increment();
                _safeMint(msg.sender, _tokenIdCounter.current());
                tokenOwnersCounter[msg.sender] += 1;
            }
        }
    }

    function presaleMint(uint256 _amount, bytes memory _signature) public payable whenPresaled whenNotPaused {        
        address signer = recoverSigner(msg.sender, _signature);

        require(signer == owner(), "Not authorized to mint");
        require(presaleTokenOwnersCounter[msg.sender] + _amount <= 6, "Can only mint 6 tokens at address");
        require(_tokenIdCounter.current() + _amount <= MAX_TOKEN_COUNT, "Exceeds maximum Voodollz supply");
        require(_amount <= 3, "Can only mint 3 tokens at a time");
        require(msg.value >= PRESALE_PRICE * _amount, "Ether value sent is not correct");
    
        for(uint256 i = 0; i < _amount; i++) {
            if (_tokenIdCounter.current() < MAX_TOKEN_COUNT) {
                _tokenIdCounter.increment();
                _safeMint(msg.sender, _tokenIdCounter.current());
                presaleTokenOwnersCounter[msg.sender] += 1;
            }
        }
    }

    // Give methods
    
    function giveAway(address _to) public onlyOwner {
        require(_giveTokenIdCounter.current() < _RESERVED, "Exceeds reserved Voodollz supply");

        _giveTokenIdCounter.increment();
        _safeMint(_to, _giveTokenIdCounter.current());
    }

    // Burn methods
    
    function burn(uint256 tokenId) public virtual {
        require(_isApprovedOrOwner(msg.sender, tokenId), "Caller is not owner nor approved");
        _burn(tokenId);
    }

    // Service methods

    function tokensOfOwner(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 recoverSigner(address _wallet, bytes memory _signature) private pure returns (address){
        return keccak256(abi.encodePacked(_wallet)).toEthSignedMessageHash().recover(_signature);
    }
    
    function withdraw() external onlyOwner {
        uint256 _balance = address(this).balance / 100;

        require(payable(t1).send(_balance * 2));
        require(payable(t2).send(_balance * 48));
        require(payable(t3).send(_balance * 50));
    }

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

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

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function presale() public onlyOwner {
        _presale();
    }

    function unpresale() public onlyOwner {
        _unpresale();
    }
}

File 2 of 17 : Presalable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9;

import "@openzeppelin/contracts/utils/Context.sol";

abstract contract Presalable is Context {
  /**
    * @dev Emitted when the presale is triggered by `account`.
    */
  event Presaled(address account);

  /**
    * @dev Emitted when the presale is lifted by `account`.
    */
  event Unpresaled(address account);

  bool private _presaled;
  
  modifier whenPresaled() {
      require(_presaled, "Sale closed");
      _;
  }

  modifier whenNotPresaled() {
      require(!_presaled, "Presale closed");
      _;
  }

  function presaled() public view virtual returns (bool) {
      return _presaled;
  }

  function _presale() internal virtual whenNotPresaled {
      _presaled = true;
      emit Presaled(_msgSender());
  }

  function _unpresale() internal virtual whenPresaled {
      _presaled = false;
      emit Unpresaled(_msgSender());
  }
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 17 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

File 6 of 17 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 7 of 17 : Counters.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 17 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 9 of 17 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 11 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 12 of 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 14 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseTokenURI","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Presaled","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpresaled","type":"event"},{"inputs":[],"name":"MAX_TOKEN_COUNT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"giveAway","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleTokenOwnersCounter","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","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":"address","name":"","type":"address"}],"name":"tokenOwnersCounter","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"tokensOfOwner","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":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806064815250600e600082015181600001555050732a71996eb62e15f76c78d90b6ce901527e47ab0d601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550735795fcc85820ddfd20a310cb2705700082fdfd52601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073333eade7e56f6e55f7da16050efccbd24303e99a601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200012e57600080fd5b5060405162006402380380620064028339818101604052810190620001549190620007a0565b6040518060400160405280600881526020017f566f6f646f6c6c7a0000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f56444c5a000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001d892919062000553565b508060019080519060200190620001f192919062000553565b50505062000214620002086200025760201b60201c565b6200025f60201b60201c565b6000600a60146101000a81548160ff02191690831515021790555062000240816200032560201b60201c565b62000250620003d060201b60201c565b50620009ad565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003356200025760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200035b6200047160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003b4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003ab9062000852565b60405180910390fd5b80600b9080519060200190620003cc92919062000553565b5050565b620003e06200025760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004066200047160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200045f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004569062000852565b60405180910390fd5b6200046f6200049b60201b60201c565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b600a60159054906101000a900460ff1615620004ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004e590620008c4565b60405180910390fd5b6001600a60156101000a81548160ff0219169083151502179055507fb1412a7cd96bc4195d633c938189c320dcbeb2cff60c1b8bdd872678fb3514b46200053a6200025760201b60201c565b6040516200054991906200092b565b60405180910390a1565b828054620005619062000977565b90600052602060002090601f016020900481019282620005855760008555620005d1565b82601f10620005a057805160ff1916838001178555620005d1565b82800160010185558215620005d1579182015b82811115620005d0578251825591602001919060010190620005b3565b5b509050620005e09190620005e4565b5090565b5b80821115620005ff576000816000905550600101620005e5565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200066c8262000621565b810181811067ffffffffffffffff821117156200068e576200068d62000632565b5b80604052505050565b6000620006a362000603565b9050620006b1828262000661565b919050565b600067ffffffffffffffff821115620006d457620006d362000632565b5b620006df8262000621565b9050602081019050919050565b60005b838110156200070c578082015181840152602081019050620006ef565b838111156200071c576000848401525b50505050565b6000620007396200073384620006b6565b62000697565b9050828152602081018484840111156200075857620007576200061c565b5b62000765848285620006ec565b509392505050565b600082601f83011262000785576200078462000617565b5b81516200079784826020860162000722565b91505092915050565b600060208284031215620007b957620007b86200060d565b5b600082015167ffffffffffffffff811115620007da57620007d962000612565b5b620007e8848285016200076d565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006200083a602083620007f1565b9150620008478262000802565b602082019050919050565b600060208201905081810360008301526200086d816200082b565b9050919050565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b6000620008ac600e83620007f1565b9150620008b98262000874565b602082019050919050565b60006020820190508181036000830152620008df816200089d565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200091382620008e6565b9050919050565b620009258162000906565b82525050565b60006020820190506200094260008301846200091a565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200099057607f821691505b60208210811415620009a757620009a662000948565b5b50919050565b615a4580620009bd6000396000f3fe6080604052600436106102255760003560e01c8063715018a611610123578063a0712d68116100ab578063d547cfb71161006f578063d547cfb7146107e6578063e985e9c514610811578063f2fde38b1461084e578063fd24a85414610877578063fdea8e0b1461089357610225565b8063a0712d6814610710578063a22cb4651461072c578063b88d4fde14610755578063c87b56dd1461077e578063d0bbb0d7146107bb57610225565b80638965d96e116100f25780638965d96e146106295780638d859f3e146106665780638da5cb5b1461069157806395d89b41146106bc5780639e240785146106e757610225565b8063715018a6146105a75780638456cb59146105be5780638462151c146105d5578063854938531461061257610225565b80633f4ba83a116101b157806355f804b31161017557806355f804b3146104ae5780635c975abb146104d757806362dc6e21146105025780636352211e1461052d57806370a082311461056a57610225565b80633f4ba83a146103dd57806342842e0e146103f457806342966c681461041d5780634cb2f9ea146104465780634f6ccce71461047157610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd14610323578063248142351461034c5780632f745c59146103895780633ccfd60b146103c657610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613bae565b6108aa565b60405161025e9190613bf6565b60405180910390f35b34801561027357600080fd5b5061027c610924565b6040516102899190613caa565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613d02565b6109b6565b6040516102c69190613d70565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613db7565b610a3b565b005b34801561030457600080fd5b5061030d610b53565b60405161031a9190613e06565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613e21565b610b60565b005b34801561035857600080fd5b50610373600480360381019061036e9190613e74565b610bc0565b6040516103809190613ebd565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613db7565b610be0565b6040516103bd9190613e06565b60405180910390f35b3480156103d257600080fd5b506103db610c85565b005b3480156103e957600080fd5b506103f2610e59565b005b34801561040057600080fd5b5061041b60048036038101906104169190613e21565b610edf565b005b34801561042957600080fd5b50610444600480360381019061043f9190613d02565b610eff565b005b34801561045257600080fd5b5061045b610f54565b6040516104689190613bf6565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613d02565b610f6b565b6040516104a59190613e06565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d0919061400d565b610fdc565b005b3480156104e357600080fd5b506104ec611072565b6040516104f99190613bf6565b60405180910390f35b34801561050e57600080fd5b50610517611089565b6040516105249190613e06565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190613d02565b611094565b6040516105619190613d70565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c9190613e74565b611146565b60405161059e9190613e06565b60405180910390f35b3480156105b357600080fd5b506105bc6111fe565b005b3480156105ca57600080fd5b506105d3611286565b005b3480156105e157600080fd5b506105fc60048036038101906105f79190613e74565b61130c565b6040516106099190614114565b60405180910390f35b34801561061e57600080fd5b506106276113ba565b005b34801561063557600080fd5b50610650600480360381019061064b9190613e74565b611440565b60405161065d9190613ebd565b60405180910390f35b34801561067257600080fd5b5061067b611460565b6040516106889190613e06565b60405180910390f35b34801561069d57600080fd5b506106a661146c565b6040516106b39190613d70565b60405180910390f35b3480156106c857600080fd5b506106d1611496565b6040516106de9190613caa565b60405180910390f35b3480156106f357600080fd5b5061070e60048036038101906107099190613e74565b611528565b005b61072a60048036038101906107259190613d02565b611610565b005b34801561073857600080fd5b50610753600480360381019061074e9190614162565b611900565b005b34801561076157600080fd5b5061077c60048036038101906107779190614243565b611a81565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613d02565b611ae3565b6040516107b29190613caa565b60405180910390f35b3480156107c757600080fd5b506107d0611b8a565b6040516107dd9190613e06565b60405180910390f35b3480156107f257600080fd5b506107fb611b90565b6040516108089190613caa565b60405180910390f35b34801561081d57600080fd5b50610838600480360381019061083391906142c6565b611c1e565b6040516108459190613bf6565b60405180910390f35b34801561085a57600080fd5b5061087560048036038101906108709190613e74565b611cb2565b005b610891600480360381019061088c9190614306565b611daa565b005b34801561089f57600080fd5b506108a861211d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091d575061091c826121a3565b5b9050919050565b60606000805461093390614391565b80601f016020809104026020016040519081016040528092919081815260200182805461095f90614391565b80156109ac5780601f10610981576101008083540402835291602001916109ac565b820191906000526020600020905b81548152906001019060200180831161098f57829003601f168201915b5050505050905090565b60006109c182612285565b610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790614435565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4682611094565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aae906144c7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad66122f1565b73ffffffffffffffffffffffffffffffffffffffff161480610b055750610b0481610aff6122f1565b611c1e565b5b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90614559565b60405180910390fd5b610b4e83836122f9565b505050565b6000600880549050905090565b610b71610b6b6122f1565b826123b2565b610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba7906145eb565b60405180910390fd5b610bbb838383612490565b505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000610beb83611146565b8210610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c239061467d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c8d6122f1565b73ffffffffffffffffffffffffffffffffffffffff16610cab61146c565b73ffffffffffffffffffffffffffffffffffffffff1614610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf8906146e9565b60405180910390fd5b6000606447610d109190614767565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600283610d5b9190614798565b9081150290604051600060405180830381858888f19350505050610d7e57600080fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603083610dc79190614798565b9081150290604051600060405180830381858888f19350505050610dea57600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603283610e339190614798565b9081150290604051600060405180830381858888f19350505050610e5657600080fd5b50565b610e616122f1565b73ffffffffffffffffffffffffffffffffffffffff16610e7f61146c565b73ffffffffffffffffffffffffffffffffffffffff1614610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc906146e9565b60405180910390fd5b610edd6126ec565b565b610efa83838360405180602001604052806000815250611a81565b505050565b610f0933826123b2565b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f9061483e565b60405180910390fd5b610f518161278e565b50565b6000600a60159054906101000a900460ff16905090565b6000610f75610b53565b8210610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad906148d0565b60405180910390fd5b60088281548110610fca57610fc96148f0565b5b90600052602060002001549050919050565b610fe46122f1565b73ffffffffffffffffffffffffffffffffffffffff1661100261146c565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906146e9565b60405180910390fd5b80600b908051906020019061106e929190613a9f565b5050565b6000600a60149054906101000a900460ff16905090565b66f8b0a10e47000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113490614991565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ae90614a23565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112066122f1565b73ffffffffffffffffffffffffffffffffffffffff1661122461146c565b73ffffffffffffffffffffffffffffffffffffffff161461127a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611271906146e9565b60405180910390fd5b611284600061289f565b565b61128e6122f1565b73ffffffffffffffffffffffffffffffffffffffff166112ac61146c565b73ffffffffffffffffffffffffffffffffffffffff1614611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906146e9565b60405180910390fd5b61130a612965565b565b6060600061131983611146565b905060008167ffffffffffffffff81111561133757611336613ee2565b5b6040519080825280602002602001820160405280156113655781602001602082028036833780820191505090505b50905060005b828110156113af5761137d8582610be0565b8282815181106113905761138f6148f0565b5b60200260200101818152505080806113a790614a43565b91505061136b565b508092505050919050565b6113c26122f1565b73ffffffffffffffffffffffffffffffffffffffff166113e061146c565b73ffffffffffffffffffffffffffffffffffffffff1614611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d906146e9565b60405180910390fd5b61143e612a08565b565b600d6020528060005260406000206000915054906101000a900460ff1681565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114a590614391565b80601f01602080910402602001604051908101604052809291908181526020018280546114d190614391565b801561151e5780601f106114f35761010080835404028352916020019161151e565b820191906000526020600020905b81548152906001019060200180831161150157829003601f168201915b5050505050905090565b6115306122f1565b73ffffffffffffffffffffffffffffffffffffffff1661154e61146c565b73ffffffffffffffffffffffffffffffffffffffff16146115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b906146e9565b60405180910390fd5b60646115b0600f612ab2565b106115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790614ad8565b60405180910390fd5b6115fa600f612ac0565b61160d81611608600f612ab2565b612ad6565b50565b600a60159054906101000a900460ff1615611660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165790614b44565b60405180910390fd5b611668611072565b156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90614bb0565b60405180910390fd5b600581600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff166117059190614bd0565b1115611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614c98565b60405180910390fd5b61270f81611754600e612ab2565b61175e9190614bd0565b111561179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690614d04565b60405180910390fd5b60038111156117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da90614d70565b60405180910390fd5b8067011c37937e0800006117f79190614798565b341015611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090614ddc565b60405180910390fd5b60005b818110156118fc5761270f611851600e612ab2565b10156118e957611861600e612ac0565b6118743361186f600e612ab2565b612ad6565b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166118d09190614dfc565b92506101000a81548160ff021916908360ff1602179055505b80806118f490614a43565b91505061183c565b5050565b6119086122f1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d90614e7f565b60405180910390fd5b80600560006119836122f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a306122f1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a759190613bf6565b60405180910390a35050565b611a92611a8c6122f1565b836123b2565b611ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac8906145eb565b60405180910390fd5b611add84848484612af4565b50505050565b6060611aee82612285565b611b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2490614f11565b60405180910390fd5b6000611b37612b50565b90506000815111611b575760405180602001604052806000815250611b82565b80611b6184612be2565b604051602001611b72929190614f6d565b6040516020818303038152906040525b915050919050565b61270f81565b600b8054611b9d90614391565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc990614391565b8015611c165780601f10611beb57610100808354040283529160200191611c16565b820191906000526020600020905b815481529060010190602001808311611bf957829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cba6122f1565b73ffffffffffffffffffffffffffffffffffffffff16611cd861146c565b73ffffffffffffffffffffffffffffffffffffffff1614611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d25906146e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9590615003565b60405180910390fd5b611da78161289f565b50565b600a60159054906101000a900460ff16611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df09061506f565b60405180910390fd5b611e01611072565b15611e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3890614bb0565b60405180910390fd5b6000611e4d3383612d43565b9050611e5761146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebb906150db565b60405180910390fd5b600683600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff16611f219190614bd0565b1115611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f599061516d565b60405180910390fd5b61270f83611f70600e612ab2565b611f7a9190614bd0565b1115611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290614d04565b60405180910390fd5b6003831115611fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff690614d70565b60405180910390fd5b8266f8b0a10e4700006120129190614798565b341015612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90614ddc565b60405180910390fd5b60005b838110156121175761270f61206c600e612ab2565b10156121045761207c600e612ac0565b61208f3361208a600e612ab2565b612ad6565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166120eb9190614dfc565b92506101000a81548160ff021916908360ff1602179055505b808061210f90614a43565b915050612057565b50505050565b6121256122f1565b73ffffffffffffffffffffffffffffffffffffffff1661214361146c565b73ffffffffffffffffffffffffffffffffffffffff1614612199576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612190906146e9565b60405180910390fd5b6121a1612d8e565b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061226e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061227e575061227d82612e39565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661236c83611094565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123bd82612285565b6123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f3906151ff565b60405180910390fd5b600061240783611094565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061247657508373ffffffffffffffffffffffffffffffffffffffff1661245e846109b6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061248757506124868185611c1e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124b082611094565b73ffffffffffffffffffffffffffffffffffffffff1614612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fd90615291565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90615323565b60405180910390fd5b612581838383612ea3565b61258c6000826122f9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125dc9190615343565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126339190614bd0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126f4611072565b612733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272a906153c3565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6127776122f1565b6040516127849190613d70565b60405180910390a1565b600061279982611094565b90506127a781600084612ea3565b6127b26000836122f9565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128029190615343565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61296d611072565b156129ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a490614bb0565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129f16122f1565b6040516129fe9190613d70565b60405180910390a1565b600a60159054906101000a900460ff16612a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4e9061506f565b60405180910390fd5b6000600a60156101000a81548160ff0219169083151502179055507f9e209206b95275a497262e47a30901f0716b2d6d19618dd5e9b7b68237e7cb71612a9b6122f1565b604051612aa89190613d70565b60405180910390a1565b600081600001549050919050565b6001816000016000828254019250508190555050565b612af0828260405180602001604052806000815250612fb7565b5050565b612aff848484612490565b612b0b84848484613012565b612b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4190615455565b60405180910390fd5b50505050565b6060600b8054612b5f90614391565b80601f0160208091040260200160405190810160405280929190818152602001828054612b8b90614391565b8015612bd85780601f10612bad57610100808354040283529160200191612bd8565b820191906000526020600020905b815481529060010190602001808311612bbb57829003601f168201915b5050505050905090565b60606000821415612c2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d3e565b600082905060005b60008214612c5c578080612c4590614a43565b915050600a82612c559190614767565b9150612c32565b60008167ffffffffffffffff811115612c7857612c77613ee2565b5b6040519080825280601f01601f191660200182016040528015612caa5781602001600182028036833780820191505090505b5090505b60008514612d3757600182612cc39190615343565b9150600a85612cd29190615475565b6030612cde9190614bd0565b60f81b818381518110612cf457612cf36148f0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d309190614767565b9450612cae565b8093505050505b919050565b6000612d8682612d7885604051602001612d5d91906154ee565b604051602081830303815290604052805190602001206131a9565b6131d990919063ffffffff16565b905092915050565b600a60159054906101000a900460ff1615612dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd590614b44565b60405180910390fd5b6001600a60156101000a81548160ff0219169083151502179055507fb1412a7cd96bc4195d633c938189c320dcbeb2cff60c1b8bdd872678fb3514b4612e226122f1565b604051612e2f9190613d70565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612eae838383613200565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ef157612eec81613205565b612f30565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f2f57612f2e838261324e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f7357612f6e816133bb565b612fb2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612fb157612fb0828261348c565b5b5b505050565b612fc1838361350b565b612fce6000848484613012565b61300d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300490615455565b60405180910390fd5b505050565b60006130338473ffffffffffffffffffffffffffffffffffffffff166136d9565b1561319c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261305c6122f1565b8786866040518563ffffffff1660e01b815260040161307e949392919061555e565b602060405180830381600087803b15801561309857600080fd5b505af19250505080156130c957506040513d601f19601f820116820180604052508101906130c691906155bf565b60015b61314c573d80600081146130f9576040519150601f19603f3d011682016040523d82523d6000602084013e6130fe565b606091505b50600081511415613144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313b90615455565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131a1565b600190505b949350505050565b6000816040516020016131bc9190615663565b604051602081830303815290604052805190602001209050919050565b60008060006131e885856136ec565b915091506131f58161376f565b819250505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161325b84611146565b6132659190615343565b905060006007600084815260200190815260200160002054905081811461334a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133cf9190615343565b90506000600960008481526020019081526020016000205490506000600883815481106133ff576133fe6148f0565b5b906000526020600020015490508060088381548110613421576134206148f0565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134705761346f615689565b5b6001900381819060005260206000200160009055905550505050565b600061349783611146565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615704565b60405180910390fd5b61358481612285565b156135c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bb90615770565b60405180910390fd5b6135d060008383612ea3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136209190614bd0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60008060418351141561372e5760008060006020860151925060408601519150606086015160001a905061372287828585613944565b94509450505050613768565b60408351141561375f576000806020850151915060408501519050613754868383613a51565b935093505050613768565b60006002915091505b9250929050565b6000600481111561378357613782615790565b5b81600481111561379657613795615790565b5b14156137a157613941565b600160048111156137b5576137b4615790565b5b8160048111156137c8576137c7615790565b5b1415613809576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138009061580b565b60405180910390fd5b6002600481111561381d5761381c615790565b5b8160048111156138305761382f615790565b5b1415613871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386890615877565b60405180910390fd5b6003600481111561388557613884615790565b5b81600481111561389857613897615790565b5b14156138d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d090615909565b60405180910390fd5b6004808111156138ec576138eb615790565b5b8160048111156138ff576138fe615790565b5b1415613940576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139379061599b565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561397f576000600391509150613a48565b601b8560ff16141580156139975750601c8560ff1614155b156139a9576000600491509150613a48565b6000600187878787604051600081526020016040526040516139ce94939291906159ca565b6020604051602081039080840390855afa1580156139f0573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a3f57600060019250925050613a48565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613a9187828885613944565b935093505050935093915050565b828054613aab90614391565b90600052602060002090601f016020900481019282613acd5760008555613b14565b82601f10613ae657805160ff1916838001178555613b14565b82800160010185558215613b14579182015b82811115613b13578251825591602001919060010190613af8565b5b509050613b219190613b25565b5090565b5b80821115613b3e576000816000905550600101613b26565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b8b81613b56565b8114613b9657600080fd5b50565b600081359050613ba881613b82565b92915050565b600060208284031215613bc457613bc3613b4c565b5b6000613bd284828501613b99565b91505092915050565b60008115159050919050565b613bf081613bdb565b82525050565b6000602082019050613c0b6000830184613be7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c4b578082015181840152602081019050613c30565b83811115613c5a576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c7c82613c11565b613c868185613c1c565b9350613c96818560208601613c2d565b613c9f81613c60565b840191505092915050565b60006020820190508181036000830152613cc48184613c71565b905092915050565b6000819050919050565b613cdf81613ccc565b8114613cea57600080fd5b50565b600081359050613cfc81613cd6565b92915050565b600060208284031215613d1857613d17613b4c565b5b6000613d2684828501613ced565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d5a82613d2f565b9050919050565b613d6a81613d4f565b82525050565b6000602082019050613d856000830184613d61565b92915050565b613d9481613d4f565b8114613d9f57600080fd5b50565b600081359050613db181613d8b565b92915050565b60008060408385031215613dce57613dcd613b4c565b5b6000613ddc85828601613da2565b9250506020613ded85828601613ced565b9150509250929050565b613e0081613ccc565b82525050565b6000602082019050613e1b6000830184613df7565b92915050565b600080600060608486031215613e3a57613e39613b4c565b5b6000613e4886828701613da2565b9350506020613e5986828701613da2565b9250506040613e6a86828701613ced565b9150509250925092565b600060208284031215613e8a57613e89613b4c565b5b6000613e9884828501613da2565b91505092915050565b600060ff82169050919050565b613eb781613ea1565b82525050565b6000602082019050613ed26000830184613eae565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f1a82613c60565b810181811067ffffffffffffffff82111715613f3957613f38613ee2565b5b80604052505050565b6000613f4c613b42565b9050613f588282613f11565b919050565b600067ffffffffffffffff821115613f7857613f77613ee2565b5b613f8182613c60565b9050602081019050919050565b82818337600083830152505050565b6000613fb0613fab84613f5d565b613f42565b905082815260208101848484011115613fcc57613fcb613edd565b5b613fd7848285613f8e565b509392505050565b600082601f830112613ff457613ff3613ed8565b5b8135614004848260208601613f9d565b91505092915050565b60006020828403121561402357614022613b4c565b5b600082013567ffffffffffffffff81111561404157614040613b51565b5b61404d84828501613fdf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61408b81613ccc565b82525050565b600061409d8383614082565b60208301905092915050565b6000602082019050919050565b60006140c182614056565b6140cb8185614061565b93506140d683614072565b8060005b838110156141075781516140ee8882614091565b97506140f9836140a9565b9250506001810190506140da565b5085935050505092915050565b6000602082019050818103600083015261412e81846140b6565b905092915050565b61413f81613bdb565b811461414a57600080fd5b50565b60008135905061415c81614136565b92915050565b6000806040838503121561417957614178613b4c565b5b600061418785828601613da2565b92505060206141988582860161414d565b9150509250929050565b600067ffffffffffffffff8211156141bd576141bc613ee2565b5b6141c682613c60565b9050602081019050919050565b60006141e66141e1846141a2565b613f42565b90508281526020810184848401111561420257614201613edd565b5b61420d848285613f8e565b509392505050565b600082601f83011261422a57614229613ed8565b5b813561423a8482602086016141d3565b91505092915050565b6000806000806080858703121561425d5761425c613b4c565b5b600061426b87828801613da2565b945050602061427c87828801613da2565b935050604061428d87828801613ced565b925050606085013567ffffffffffffffff8111156142ae576142ad613b51565b5b6142ba87828801614215565b91505092959194509250565b600080604083850312156142dd576142dc613b4c565b5b60006142eb85828601613da2565b92505060206142fc85828601613da2565b9150509250929050565b6000806040838503121561431d5761431c613b4c565b5b600061432b85828601613ced565b925050602083013567ffffffffffffffff81111561434c5761434b613b51565b5b61435885828601614215565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143a957607f821691505b602082108114156143bd576143bc614362565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061441f602c83613c1c565b915061442a826143c3565b604082019050919050565b6000602082019050818103600083015261444e81614412565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006144b1602183613c1c565b91506144bc82614455565b604082019050919050565b600060208201905081810360008301526144e0816144a4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614543603883613c1c565b915061454e826144e7565b604082019050919050565b6000602082019050818103600083015261457281614536565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145d5603183613c1c565b91506145e082614579565b604082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614667602b83613c1c565b91506146728261460b565b604082019050919050565b600060208201905081810360008301526146968161465a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146d3602083613c1c565b91506146de8261469d565b602082019050919050565b60006020820190508181036000830152614702816146c6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061477282613ccc565b915061477d83613ccc565b92508261478d5761478c614709565b5b828204905092915050565b60006147a382613ccc565b91506147ae83613ccc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147e7576147e6614738565b5b828202905092915050565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b6000614828602083613c1c565b9150614833826147f2565b602082019050919050565b600060208201905081810360008301526148578161481b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006148ba602c83613c1c565b91506148c58261485e565b604082019050919050565b600060208201905081810360008301526148e9816148ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061497b602983613c1c565b91506149868261491f565b604082019050919050565b600060208201905081810360008301526149aa8161496e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614a0d602a83613c1c565b9150614a18826149b1565b604082019050919050565b60006020820190508181036000830152614a3c81614a00565b9050919050565b6000614a4e82613ccc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a8157614a80614738565b5b600182019050919050565b7f4578636565647320726573657276656420566f6f646f6c6c7a20737570706c79600082015250565b6000614ac2602083613c1c565b9150614acd82614a8c565b602082019050919050565b60006020820190508181036000830152614af181614ab5565b9050919050565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b6000614b2e600e83613c1c565b9150614b3982614af8565b602082019050919050565b60006020820190508181036000830152614b5d81614b21565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614b9a601083613c1c565b9150614ba582614b64565b602082019050919050565b60006020820190508181036000830152614bc981614b8d565b9050919050565b6000614bdb82613ccc565b9150614be683613ccc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c1b57614c1a614738565b5b828201905092915050565b7f43616e206f6e6c79206d696e74203520746f6b656e732061742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c82602183613c1c565b9150614c8d82614c26565b604082019050919050565b60006020820190508181036000830152614cb181614c75565b9050919050565b7f45786365656473206d6178696d756d20566f6f646f6c6c7a20737570706c7900600082015250565b6000614cee601f83613c1c565b9150614cf982614cb8565b602082019050919050565b60006020820190508181036000830152614d1d81614ce1565b9050919050565b7f43616e206f6e6c79206d696e74203320746f6b656e7320617420612074696d65600082015250565b6000614d5a602083613c1c565b9150614d6582614d24565b602082019050919050565b60006020820190508181036000830152614d8981614d4d565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614dc6601f83613c1c565b9150614dd182614d90565b602082019050919050565b60006020820190508181036000830152614df581614db9565b9050919050565b6000614e0782613ea1565b9150614e1283613ea1565b92508260ff03821115614e2857614e27614738565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614e69601983613c1c565b9150614e7482614e33565b602082019050919050565b60006020820190508181036000830152614e9881614e5c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614efb602f83613c1c565b9150614f0682614e9f565b604082019050919050565b60006020820190508181036000830152614f2a81614eee565b9050919050565b600081905092915050565b6000614f4782613c11565b614f518185614f31565b9350614f61818560208601613c2d565b80840191505092915050565b6000614f798285614f3c565b9150614f858284614f3c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fed602683613c1c565b9150614ff882614f91565b604082019050919050565b6000602082019050818103600083015261501c81614fe0565b9050919050565b7f53616c6520636c6f736564000000000000000000000000000000000000000000600082015250565b6000615059600b83613c1c565b915061506482615023565b602082019050919050565b600060208201905081810360008301526150888161504c565b9050919050565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b60006150c5601683613c1c565b91506150d08261508f565b602082019050919050565b600060208201905081810360008301526150f4816150b8565b9050919050565b7f43616e206f6e6c79206d696e74203620746f6b656e732061742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615157602183613c1c565b9150615162826150fb565b604082019050919050565b600060208201905081810360008301526151868161514a565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006151e9602c83613c1c565b91506151f48261518d565b604082019050919050565b60006020820190508181036000830152615218816151dc565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061527b602983613c1c565b91506152868261521f565b604082019050919050565b600060208201905081810360008301526152aa8161526e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061530d602483613c1c565b9150615318826152b1565b604082019050919050565b6000602082019050818103600083015261533c81615300565b9050919050565b600061534e82613ccc565b915061535983613ccc565b92508282101561536c5761536b614738565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006153ad601483613c1c565b91506153b882615377565b602082019050919050565b600060208201905081810360008301526153dc816153a0565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061543f603283613c1c565b915061544a826153e3565b604082019050919050565b6000602082019050818103600083015261546e81615432565b9050919050565b600061548082613ccc565b915061548b83613ccc565b92508261549b5761549a614709565b5b828206905092915050565b60008160601b9050919050565b60006154be826154a6565b9050919050565b60006154d0826154b3565b9050919050565b6154e86154e382613d4f565b6154c5565b82525050565b60006154fa82846154d7565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061553082615509565b61553a8185615514565b935061554a818560208601613c2d565b61555381613c60565b840191505092915050565b60006080820190506155736000830187613d61565b6155806020830186613d61565b61558d6040830185613df7565b818103606083015261559f8184615525565b905095945050505050565b6000815190506155b981613b82565b92915050565b6000602082840312156155d5576155d4613b4c565b5b60006155e3848285016155aa565b91505092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615622601c83614f31565b915061562d826155ec565b601c82019050919050565b6000819050919050565b6000819050919050565b61565d61565882615638565b615642565b82525050565b600061566e82615615565b915061567a828461564c565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006156ee602083613c1c565b91506156f9826156b8565b602082019050919050565b6000602082019050818103600083015261571d816156e1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061575a601c83613c1c565b915061576582615724565b602082019050919050565b600060208201905081810360008301526157898161574d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006157f5601883613c1c565b9150615800826157bf565b602082019050919050565b60006020820190508181036000830152615824816157e8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615861601f83613c1c565b915061586c8261582b565b602082019050919050565b6000602082019050818103600083015261589081615854565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006158f3602283613c1c565b91506158fe82615897565b604082019050919050565b60006020820190508181036000830152615922816158e6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615985602283613c1c565b915061599082615929565b604082019050919050565b600060208201905081810360008301526159b481615978565b9050919050565b6159c481615638565b82525050565b60006080820190506159df60008301876159bb565b6159ec6020830186613eae565b6159f960408301856159bb565b615a0660608301846159bb565b9594505050505056fea264697066735822122090ab4c906ddfcfbe291d7998ef0cc830bfaf5431e37a5a03c3844661f023744664736f6c6343000809003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d576a6146707373763653695a6d53457a477271574b6d6357587855463532455445784d72707948766f7975622f00000000000000000000

Deployed Bytecode

0x6080604052600436106102255760003560e01c8063715018a611610123578063a0712d68116100ab578063d547cfb71161006f578063d547cfb7146107e6578063e985e9c514610811578063f2fde38b1461084e578063fd24a85414610877578063fdea8e0b1461089357610225565b8063a0712d6814610710578063a22cb4651461072c578063b88d4fde14610755578063c87b56dd1461077e578063d0bbb0d7146107bb57610225565b80638965d96e116100f25780638965d96e146106295780638d859f3e146106665780638da5cb5b1461069157806395d89b41146106bc5780639e240785146106e757610225565b8063715018a6146105a75780638456cb59146105be5780638462151c146105d5578063854938531461061257610225565b80633f4ba83a116101b157806355f804b31161017557806355f804b3146104ae5780635c975abb146104d757806362dc6e21146105025780636352211e1461052d57806370a082311461056a57610225565b80633f4ba83a146103dd57806342842e0e146103f457806342966c681461041d5780634cb2f9ea146104465780634f6ccce71461047157610225565b806318160ddd116101f857806318160ddd146102f857806323b872dd14610323578063248142351461034c5780632f745c59146103895780633ccfd60b146103c657610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613bae565b6108aa565b60405161025e9190613bf6565b60405180910390f35b34801561027357600080fd5b5061027c610924565b6040516102899190613caa565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b49190613d02565b6109b6565b6040516102c69190613d70565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f19190613db7565b610a3b565b005b34801561030457600080fd5b5061030d610b53565b60405161031a9190613e06565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613e21565b610b60565b005b34801561035857600080fd5b50610373600480360381019061036e9190613e74565b610bc0565b6040516103809190613ebd565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613db7565b610be0565b6040516103bd9190613e06565b60405180910390f35b3480156103d257600080fd5b506103db610c85565b005b3480156103e957600080fd5b506103f2610e59565b005b34801561040057600080fd5b5061041b60048036038101906104169190613e21565b610edf565b005b34801561042957600080fd5b50610444600480360381019061043f9190613d02565b610eff565b005b34801561045257600080fd5b5061045b610f54565b6040516104689190613bf6565b60405180910390f35b34801561047d57600080fd5b5061049860048036038101906104939190613d02565b610f6b565b6040516104a59190613e06565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d0919061400d565b610fdc565b005b3480156104e357600080fd5b506104ec611072565b6040516104f99190613bf6565b60405180910390f35b34801561050e57600080fd5b50610517611089565b6040516105249190613e06565b60405180910390f35b34801561053957600080fd5b50610554600480360381019061054f9190613d02565b611094565b6040516105619190613d70565b60405180910390f35b34801561057657600080fd5b50610591600480360381019061058c9190613e74565b611146565b60405161059e9190613e06565b60405180910390f35b3480156105b357600080fd5b506105bc6111fe565b005b3480156105ca57600080fd5b506105d3611286565b005b3480156105e157600080fd5b506105fc60048036038101906105f79190613e74565b61130c565b6040516106099190614114565b60405180910390f35b34801561061e57600080fd5b506106276113ba565b005b34801561063557600080fd5b50610650600480360381019061064b9190613e74565b611440565b60405161065d9190613ebd565b60405180910390f35b34801561067257600080fd5b5061067b611460565b6040516106889190613e06565b60405180910390f35b34801561069d57600080fd5b506106a661146c565b6040516106b39190613d70565b60405180910390f35b3480156106c857600080fd5b506106d1611496565b6040516106de9190613caa565b60405180910390f35b3480156106f357600080fd5b5061070e60048036038101906107099190613e74565b611528565b005b61072a60048036038101906107259190613d02565b611610565b005b34801561073857600080fd5b50610753600480360381019061074e9190614162565b611900565b005b34801561076157600080fd5b5061077c60048036038101906107779190614243565b611a81565b005b34801561078a57600080fd5b506107a560048036038101906107a09190613d02565b611ae3565b6040516107b29190613caa565b60405180910390f35b3480156107c757600080fd5b506107d0611b8a565b6040516107dd9190613e06565b60405180910390f35b3480156107f257600080fd5b506107fb611b90565b6040516108089190613caa565b60405180910390f35b34801561081d57600080fd5b50610838600480360381019061083391906142c6565b611c1e565b6040516108459190613bf6565b60405180910390f35b34801561085a57600080fd5b5061087560048036038101906108709190613e74565b611cb2565b005b610891600480360381019061088c9190614306565b611daa565b005b34801561089f57600080fd5b506108a861211d565b005b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061091d575061091c826121a3565b5b9050919050565b60606000805461093390614391565b80601f016020809104026020016040519081016040528092919081815260200182805461095f90614391565b80156109ac5780601f10610981576101008083540402835291602001916109ac565b820191906000526020600020905b81548152906001019060200180831161098f57829003601f168201915b5050505050905090565b60006109c182612285565b610a00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109f790614435565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a4682611094565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ab7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aae906144c7565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ad66122f1565b73ffffffffffffffffffffffffffffffffffffffff161480610b055750610b0481610aff6122f1565b611c1e565b5b610b44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3b90614559565b60405180910390fd5b610b4e83836122f9565b505050565b6000600880549050905090565b610b71610b6b6122f1565b826123b2565b610bb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba7906145eb565b60405180910390fd5b610bbb838383612490565b505050565b600c6020528060005260406000206000915054906101000a900460ff1681565b6000610beb83611146565b8210610c2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c239061467d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610c8d6122f1565b73ffffffffffffffffffffffffffffffffffffffff16610cab61146c565b73ffffffffffffffffffffffffffffffffffffffff1614610d01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf8906146e9565b60405180910390fd5b6000606447610d109190614767565b9050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc600283610d5b9190614798565b9081150290604051600060405180830381858888f19350505050610d7e57600080fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603083610dc79190614798565b9081150290604051600060405180830381858888f19350505050610dea57600080fd5b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc603283610e339190614798565b9081150290604051600060405180830381858888f19350505050610e5657600080fd5b50565b610e616122f1565b73ffffffffffffffffffffffffffffffffffffffff16610e7f61146c565b73ffffffffffffffffffffffffffffffffffffffff1614610ed5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ecc906146e9565b60405180910390fd5b610edd6126ec565b565b610efa83838360405180602001604052806000815250611a81565b505050565b610f0933826123b2565b610f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3f9061483e565b60405180910390fd5b610f518161278e565b50565b6000600a60159054906101000a900460ff16905090565b6000610f75610b53565b8210610fb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fad906148d0565b60405180910390fd5b60088281548110610fca57610fc96148f0565b5b90600052602060002001549050919050565b610fe46122f1565b73ffffffffffffffffffffffffffffffffffffffff1661100261146c565b73ffffffffffffffffffffffffffffffffffffffff1614611058576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161104f906146e9565b60405180910390fd5b80600b908051906020019061106e929190613a9f565b5050565b6000600a60149054906101000a900460ff16905090565b66f8b0a10e47000081565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561113d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113490614991565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156111b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ae90614a23565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6112066122f1565b73ffffffffffffffffffffffffffffffffffffffff1661122461146c565b73ffffffffffffffffffffffffffffffffffffffff161461127a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611271906146e9565b60405180910390fd5b611284600061289f565b565b61128e6122f1565b73ffffffffffffffffffffffffffffffffffffffff166112ac61146c565b73ffffffffffffffffffffffffffffffffffffffff1614611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f9906146e9565b60405180910390fd5b61130a612965565b565b6060600061131983611146565b905060008167ffffffffffffffff81111561133757611336613ee2565b5b6040519080825280602002602001820160405280156113655781602001602082028036833780820191505090505b50905060005b828110156113af5761137d8582610be0565b8282815181106113905761138f6148f0565b5b60200260200101818152505080806113a790614a43565b91505061136b565b508092505050919050565b6113c26122f1565b73ffffffffffffffffffffffffffffffffffffffff166113e061146c565b73ffffffffffffffffffffffffffffffffffffffff1614611436576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161142d906146e9565b60405180910390fd5b61143e612a08565b565b600d6020528060005260406000206000915054906101000a900460ff1681565b67011c37937e08000081565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546114a590614391565b80601f01602080910402602001604051908101604052809291908181526020018280546114d190614391565b801561151e5780601f106114f35761010080835404028352916020019161151e565b820191906000526020600020905b81548152906001019060200180831161150157829003601f168201915b5050505050905090565b6115306122f1565b73ffffffffffffffffffffffffffffffffffffffff1661154e61146c565b73ffffffffffffffffffffffffffffffffffffffff16146115a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161159b906146e9565b60405180910390fd5b60646115b0600f612ab2565b106115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e790614ad8565b60405180910390fd5b6115fa600f612ac0565b61160d81611608600f612ab2565b612ad6565b50565b600a60159054906101000a900460ff1615611660576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161165790614b44565b60405180910390fd5b611668611072565b156116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90614bb0565b60405180910390fd5b600581600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff166117059190614bd0565b1115611746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161173d90614c98565b60405180910390fd5b61270f81611754600e612ab2565b61175e9190614bd0565b111561179f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179690614d04565b60405180910390fd5b60038111156117e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117da90614d70565b60405180910390fd5b8067011c37937e0800006117f79190614798565b341015611839576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183090614ddc565b60405180910390fd5b60005b818110156118fc5761270f611851600e612ab2565b10156118e957611861600e612ac0565b6118743361186f600e612ab2565b612ad6565b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166118d09190614dfc565b92506101000a81548160ff021916908360ff1602179055505b80806118f490614a43565b91505061183c565b5050565b6119086122f1565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611976576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161196d90614e7f565b60405180910390fd5b80600560006119836122f1565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611a306122f1565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a759190613bf6565b60405180910390a35050565b611a92611a8c6122f1565b836123b2565b611ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ac8906145eb565b60405180910390fd5b611add84848484612af4565b50505050565b6060611aee82612285565b611b2d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2490614f11565b60405180910390fd5b6000611b37612b50565b90506000815111611b575760405180602001604052806000815250611b82565b80611b6184612be2565b604051602001611b72929190614f6d565b6040516020818303038152906040525b915050919050565b61270f81565b600b8054611b9d90614391565b80601f0160208091040260200160405190810160405280929190818152602001828054611bc990614391565b8015611c165780601f10611beb57610100808354040283529160200191611c16565b820191906000526020600020905b815481529060010190602001808311611bf957829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611cba6122f1565b73ffffffffffffffffffffffffffffffffffffffff16611cd861146c565b73ffffffffffffffffffffffffffffffffffffffff1614611d2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d25906146e9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611d9e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9590615003565b60405180910390fd5b611da78161289f565b50565b600a60159054906101000a900460ff16611df9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df09061506f565b60405180910390fd5b611e01611072565b15611e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3890614bb0565b60405180910390fd5b6000611e4d3383612d43565b9050611e5761146c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611ec4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebb906150db565b60405180910390fd5b600683600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660ff16611f219190614bd0565b1115611f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f599061516d565b60405180910390fd5b61270f83611f70600e612ab2565b611f7a9190614bd0565b1115611fbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb290614d04565b60405180910390fd5b6003831115611fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ff690614d70565b60405180910390fd5b8266f8b0a10e4700006120129190614798565b341015612054576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161204b90614ddc565b60405180910390fd5b60005b838110156121175761270f61206c600e612ab2565b10156121045761207c600e612ac0565b61208f3361208a600e612ab2565b612ad6565b6001600d60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282829054906101000a900460ff166120eb9190614dfc565b92506101000a81548160ff021916908360ff1602179055505b808061210f90614a43565b915050612057565b50505050565b6121256122f1565b73ffffffffffffffffffffffffffffffffffffffff1661214361146c565b73ffffffffffffffffffffffffffffffffffffffff1614612199576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612190906146e9565b60405180910390fd5b6121a1612d8e565b565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061226e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061227e575061227d82612e39565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661236c83611094565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123bd82612285565b6123fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123f3906151ff565b60405180910390fd5b600061240783611094565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061247657508373ffffffffffffffffffffffffffffffffffffffff1661245e846109b6565b73ffffffffffffffffffffffffffffffffffffffff16145b8061248757506124868185611c1e565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166124b082611094565b73ffffffffffffffffffffffffffffffffffffffff1614612506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124fd90615291565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612576576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256d90615323565b60405180910390fd5b612581838383612ea3565b61258c6000826122f9565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546125dc9190615343565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546126339190614bd0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6126f4611072565b612733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272a906153c3565b60405180910390fd5b6000600a60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6127776122f1565b6040516127849190613d70565b60405180910390a1565b600061279982611094565b90506127a781600084612ea3565b6127b26000836122f9565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128029190615343565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61296d611072565b156129ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129a490614bb0565b60405180910390fd5b6001600a60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586129f16122f1565b6040516129fe9190613d70565b60405180910390a1565b600a60159054906101000a900460ff16612a57576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a4e9061506f565b60405180910390fd5b6000600a60156101000a81548160ff0219169083151502179055507f9e209206b95275a497262e47a30901f0716b2d6d19618dd5e9b7b68237e7cb71612a9b6122f1565b604051612aa89190613d70565b60405180910390a1565b600081600001549050919050565b6001816000016000828254019250508190555050565b612af0828260405180602001604052806000815250612fb7565b5050565b612aff848484612490565b612b0b84848484613012565b612b4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b4190615455565b60405180910390fd5b50505050565b6060600b8054612b5f90614391565b80601f0160208091040260200160405190810160405280929190818152602001828054612b8b90614391565b8015612bd85780601f10612bad57610100808354040283529160200191612bd8565b820191906000526020600020905b815481529060010190602001808311612bbb57829003601f168201915b5050505050905090565b60606000821415612c2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d3e565b600082905060005b60008214612c5c578080612c4590614a43565b915050600a82612c559190614767565b9150612c32565b60008167ffffffffffffffff811115612c7857612c77613ee2565b5b6040519080825280601f01601f191660200182016040528015612caa5781602001600182028036833780820191505090505b5090505b60008514612d3757600182612cc39190615343565b9150600a85612cd29190615475565b6030612cde9190614bd0565b60f81b818381518110612cf457612cf36148f0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d309190614767565b9450612cae565b8093505050505b919050565b6000612d8682612d7885604051602001612d5d91906154ee565b604051602081830303815290604052805190602001206131a9565b6131d990919063ffffffff16565b905092915050565b600a60159054906101000a900460ff1615612dde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd590614b44565b60405180910390fd5b6001600a60156101000a81548160ff0219169083151502179055507fb1412a7cd96bc4195d633c938189c320dcbeb2cff60c1b8bdd872678fb3514b4612e226122f1565b604051612e2f9190613d70565b60405180910390a1565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612eae838383613200565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612ef157612eec81613205565b612f30565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612f2f57612f2e838261324e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612f7357612f6e816133bb565b612fb2565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612fb157612fb0828261348c565b5b5b505050565b612fc1838361350b565b612fce6000848484613012565b61300d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300490615455565b60405180910390fd5b505050565b60006130338473ffffffffffffffffffffffffffffffffffffffff166136d9565b1561319c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261305c6122f1565b8786866040518563ffffffff1660e01b815260040161307e949392919061555e565b602060405180830381600087803b15801561309857600080fd5b505af19250505080156130c957506040513d601f19601f820116820180604052508101906130c691906155bf565b60015b61314c573d80600081146130f9576040519150601f19603f3d011682016040523d82523d6000602084013e6130fe565b606091505b50600081511415613144576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313b90615455565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506131a1565b600190505b949350505050565b6000816040516020016131bc9190615663565b604051602081830303815290604052805190602001209050919050565b60008060006131e885856136ec565b915091506131f58161376f565b819250505092915050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161325b84611146565b6132659190615343565b905060006007600084815260200190815260200160002054905081811461334a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506133cf9190615343565b90506000600960008481526020019081526020016000205490506000600883815481106133ff576133fe6148f0565b5b906000526020600020015490508060088381548110613421576134206148f0565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806134705761346f615689565b5b6001900381819060005260206000200160009055905550505050565b600061349783611146565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561357b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161357290615704565b60405180910390fd5b61358481612285565b156135c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135bb90615770565b60405180910390fd5b6135d060008383612ea3565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546136209190614bd0565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b60008060418351141561372e5760008060006020860151925060408601519150606086015160001a905061372287828585613944565b94509450505050613768565b60408351141561375f576000806020850151915060408501519050613754868383613a51565b935093505050613768565b60006002915091505b9250929050565b6000600481111561378357613782615790565b5b81600481111561379657613795615790565b5b14156137a157613941565b600160048111156137b5576137b4615790565b5b8160048111156137c8576137c7615790565b5b1415613809576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138009061580b565b60405180910390fd5b6002600481111561381d5761381c615790565b5b8160048111156138305761382f615790565b5b1415613871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161386890615877565b60405180910390fd5b6003600481111561388557613884615790565b5b81600481111561389857613897615790565b5b14156138d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138d090615909565b60405180910390fd5b6004808111156138ec576138eb615790565b5b8160048111156138ff576138fe615790565b5b1415613940576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139379061599b565b60405180910390fd5b5b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561397f576000600391509150613a48565b601b8560ff16141580156139975750601c8560ff1614155b156139a9576000600491509150613a48565b6000600187878787604051600081526020016040526040516139ce94939291906159ca565b6020604051602081039080840390855afa1580156139f0573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613a3f57600060019250925050613a48565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c019050613a9187828885613944565b935093505050935093915050565b828054613aab90614391565b90600052602060002090601f016020900481019282613acd5760008555613b14565b82601f10613ae657805160ff1916838001178555613b14565b82800160010185558215613b14579182015b82811115613b13578251825591602001919060010190613af8565b5b509050613b219190613b25565b5090565b5b80821115613b3e576000816000905550600101613b26565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b8b81613b56565b8114613b9657600080fd5b50565b600081359050613ba881613b82565b92915050565b600060208284031215613bc457613bc3613b4c565b5b6000613bd284828501613b99565b91505092915050565b60008115159050919050565b613bf081613bdb565b82525050565b6000602082019050613c0b6000830184613be7565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613c4b578082015181840152602081019050613c30565b83811115613c5a576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c7c82613c11565b613c868185613c1c565b9350613c96818560208601613c2d565b613c9f81613c60565b840191505092915050565b60006020820190508181036000830152613cc48184613c71565b905092915050565b6000819050919050565b613cdf81613ccc565b8114613cea57600080fd5b50565b600081359050613cfc81613cd6565b92915050565b600060208284031215613d1857613d17613b4c565b5b6000613d2684828501613ced565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613d5a82613d2f565b9050919050565b613d6a81613d4f565b82525050565b6000602082019050613d856000830184613d61565b92915050565b613d9481613d4f565b8114613d9f57600080fd5b50565b600081359050613db181613d8b565b92915050565b60008060408385031215613dce57613dcd613b4c565b5b6000613ddc85828601613da2565b9250506020613ded85828601613ced565b9150509250929050565b613e0081613ccc565b82525050565b6000602082019050613e1b6000830184613df7565b92915050565b600080600060608486031215613e3a57613e39613b4c565b5b6000613e4886828701613da2565b9350506020613e5986828701613da2565b9250506040613e6a86828701613ced565b9150509250925092565b600060208284031215613e8a57613e89613b4c565b5b6000613e9884828501613da2565b91505092915050565b600060ff82169050919050565b613eb781613ea1565b82525050565b6000602082019050613ed26000830184613eae565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f1a82613c60565b810181811067ffffffffffffffff82111715613f3957613f38613ee2565b5b80604052505050565b6000613f4c613b42565b9050613f588282613f11565b919050565b600067ffffffffffffffff821115613f7857613f77613ee2565b5b613f8182613c60565b9050602081019050919050565b82818337600083830152505050565b6000613fb0613fab84613f5d565b613f42565b905082815260208101848484011115613fcc57613fcb613edd565b5b613fd7848285613f8e565b509392505050565b600082601f830112613ff457613ff3613ed8565b5b8135614004848260208601613f9d565b91505092915050565b60006020828403121561402357614022613b4c565b5b600082013567ffffffffffffffff81111561404157614040613b51565b5b61404d84828501613fdf565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61408b81613ccc565b82525050565b600061409d8383614082565b60208301905092915050565b6000602082019050919050565b60006140c182614056565b6140cb8185614061565b93506140d683614072565b8060005b838110156141075781516140ee8882614091565b97506140f9836140a9565b9250506001810190506140da565b5085935050505092915050565b6000602082019050818103600083015261412e81846140b6565b905092915050565b61413f81613bdb565b811461414a57600080fd5b50565b60008135905061415c81614136565b92915050565b6000806040838503121561417957614178613b4c565b5b600061418785828601613da2565b92505060206141988582860161414d565b9150509250929050565b600067ffffffffffffffff8211156141bd576141bc613ee2565b5b6141c682613c60565b9050602081019050919050565b60006141e66141e1846141a2565b613f42565b90508281526020810184848401111561420257614201613edd565b5b61420d848285613f8e565b509392505050565b600082601f83011261422a57614229613ed8565b5b813561423a8482602086016141d3565b91505092915050565b6000806000806080858703121561425d5761425c613b4c565b5b600061426b87828801613da2565b945050602061427c87828801613da2565b935050604061428d87828801613ced565b925050606085013567ffffffffffffffff8111156142ae576142ad613b51565b5b6142ba87828801614215565b91505092959194509250565b600080604083850312156142dd576142dc613b4c565b5b60006142eb85828601613da2565b92505060206142fc85828601613da2565b9150509250929050565b6000806040838503121561431d5761431c613b4c565b5b600061432b85828601613ced565b925050602083013567ffffffffffffffff81111561434c5761434b613b51565b5b61435885828601614215565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806143a957607f821691505b602082108114156143bd576143bc614362565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061441f602c83613c1c565b915061442a826143c3565b604082019050919050565b6000602082019050818103600083015261444e81614412565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006144b1602183613c1c565b91506144bc82614455565b604082019050919050565b600060208201905081810360008301526144e0816144a4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614543603883613c1c565b915061454e826144e7565b604082019050919050565b6000602082019050818103600083015261457281614536565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145d5603183613c1c565b91506145e082614579565b604082019050919050565b60006020820190508181036000830152614604816145c8565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614667602b83613c1c565b91506146728261460b565b604082019050919050565b600060208201905081810360008301526146968161465a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006146d3602083613c1c565b91506146de8261469d565b602082019050919050565b60006020820190508181036000830152614702816146c6565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061477282613ccc565b915061477d83613ccc565b92508261478d5761478c614709565b5b828204905092915050565b60006147a382613ccc565b91506147ae83613ccc565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156147e7576147e6614738565b5b828202905092915050565b7f43616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564600082015250565b6000614828602083613c1c565b9150614833826147f2565b602082019050919050565b600060208201905081810360008301526148578161481b565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006148ba602c83613c1c565b91506148c58261485e565b604082019050919050565b600060208201905081810360008301526148e9816148ad565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061497b602983613c1c565b91506149868261491f565b604082019050919050565b600060208201905081810360008301526149aa8161496e565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614a0d602a83613c1c565b9150614a18826149b1565b604082019050919050565b60006020820190508181036000830152614a3c81614a00565b9050919050565b6000614a4e82613ccc565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614a8157614a80614738565b5b600182019050919050565b7f4578636565647320726573657276656420566f6f646f6c6c7a20737570706c79600082015250565b6000614ac2602083613c1c565b9150614acd82614a8c565b602082019050919050565b60006020820190508181036000830152614af181614ab5565b9050919050565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b6000614b2e600e83613c1c565b9150614b3982614af8565b602082019050919050565b60006020820190508181036000830152614b5d81614b21565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b6000614b9a601083613c1c565b9150614ba582614b64565b602082019050919050565b60006020820190508181036000830152614bc981614b8d565b9050919050565b6000614bdb82613ccc565b9150614be683613ccc565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614c1b57614c1a614738565b5b828201905092915050565b7f43616e206f6e6c79206d696e74203520746f6b656e732061742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c82602183613c1c565b9150614c8d82614c26565b604082019050919050565b60006020820190508181036000830152614cb181614c75565b9050919050565b7f45786365656473206d6178696d756d20566f6f646f6c6c7a20737570706c7900600082015250565b6000614cee601f83613c1c565b9150614cf982614cb8565b602082019050919050565b60006020820190508181036000830152614d1d81614ce1565b9050919050565b7f43616e206f6e6c79206d696e74203320746f6b656e7320617420612074696d65600082015250565b6000614d5a602083613c1c565b9150614d6582614d24565b602082019050919050565b60006020820190508181036000830152614d8981614d4d565b9050919050565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b6000614dc6601f83613c1c565b9150614dd182614d90565b602082019050919050565b60006020820190508181036000830152614df581614db9565b9050919050565b6000614e0782613ea1565b9150614e1283613ea1565b92508260ff03821115614e2857614e27614738565b5b828201905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614e69601983613c1c565b9150614e7482614e33565b602082019050919050565b60006020820190508181036000830152614e9881614e5c565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614efb602f83613c1c565b9150614f0682614e9f565b604082019050919050565b60006020820190508181036000830152614f2a81614eee565b9050919050565b600081905092915050565b6000614f4782613c11565b614f518185614f31565b9350614f61818560208601613c2d565b80840191505092915050565b6000614f798285614f3c565b9150614f858284614f3c565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614fed602683613c1c565b9150614ff882614f91565b604082019050919050565b6000602082019050818103600083015261501c81614fe0565b9050919050565b7f53616c6520636c6f736564000000000000000000000000000000000000000000600082015250565b6000615059600b83613c1c565b915061506482615023565b602082019050919050565b600060208201905081810360008301526150888161504c565b9050919050565b7f4e6f7420617574686f72697a656420746f206d696e7400000000000000000000600082015250565b60006150c5601683613c1c565b91506150d08261508f565b602082019050919050565b600060208201905081810360008301526150f4816150b8565b9050919050565b7f43616e206f6e6c79206d696e74203620746f6b656e732061742061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b6000615157602183613c1c565b9150615162826150fb565b604082019050919050565b600060208201905081810360008301526151868161514a565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006151e9602c83613c1c565b91506151f48261518d565b604082019050919050565b60006020820190508181036000830152615218816151dc565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b600061527b602983613c1c565b91506152868261521f565b604082019050919050565b600060208201905081810360008301526152aa8161526e565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061530d602483613c1c565b9150615318826152b1565b604082019050919050565b6000602082019050818103600083015261533c81615300565b9050919050565b600061534e82613ccc565b915061535983613ccc565b92508282101561536c5761536b614738565b5b828203905092915050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006153ad601483613c1c565b91506153b882615377565b602082019050919050565b600060208201905081810360008301526153dc816153a0565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600061543f603283613c1c565b915061544a826153e3565b604082019050919050565b6000602082019050818103600083015261546e81615432565b9050919050565b600061548082613ccc565b915061548b83613ccc565b92508261549b5761549a614709565b5b828206905092915050565b60008160601b9050919050565b60006154be826154a6565b9050919050565b60006154d0826154b3565b9050919050565b6154e86154e382613d4f565b6154c5565b82525050565b60006154fa82846154d7565b60148201915081905092915050565b600081519050919050565b600082825260208201905092915050565b600061553082615509565b61553a8185615514565b935061554a818560208601613c2d565b61555381613c60565b840191505092915050565b60006080820190506155736000830187613d61565b6155806020830186613d61565b61558d6040830185613df7565b818103606083015261559f8184615525565b905095945050505050565b6000815190506155b981613b82565b92915050565b6000602082840312156155d5576155d4613b4c565b5b60006155e3848285016155aa565b91505092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615622601c83614f31565b915061562d826155ec565b601c82019050919050565b6000819050919050565b6000819050919050565b61565d61565882615638565b615642565b82525050565b600061566e82615615565b915061567a828461564c565b60208201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006156ee602083613c1c565b91506156f9826156b8565b602082019050919050565b6000602082019050818103600083015261571d816156e1565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061575a601c83613c1c565b915061576582615724565b602082019050919050565b600060208201905081810360008301526157898161574d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006157f5601883613c1c565b9150615800826157bf565b602082019050919050565b60006020820190508181036000830152615824816157e8565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615861601f83613c1c565b915061586c8261582b565b602082019050919050565b6000602082019050818103600083015261589081615854565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006158f3602283613c1c565b91506158fe82615897565b604082019050919050565b60006020820190508181036000830152615922816158e6565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615985602283613c1c565b915061599082615929565b604082019050919050565b600060208201905081810360008301526159b481615978565b9050919050565b6159c481615638565b82525050565b60006080820190506159df60008301876159bb565b6159ec6020830186613eae565b6159f960408301856159bb565b615a0660608301846159bb565b9594505050505056fea264697066735822122090ab4c906ddfcfbe291d7998ef0cc830bfaf5431e37a5a03c3844661f023744664736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d576a6146707373763653695a6d53457a477271574b6d6357587855463532455445784d72707948766f7975622f00000000000000000000

-----Decoded View---------------
Arg [0] : _baseTokenURI (string): ipfs://QmWjaFpssv6SiZmSEzGrqWKmcWXxUF52ETExMrpyHvoyub/

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [2] : 697066733a2f2f516d576a6146707373763653695a6d53457a477271574b6d63
Arg [3] : 57587855463532455445784d72707948766f7975622f00000000000000000000


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.