ETH Price: $2,506.93 (-0.76%)

Token

AntzNFT (ANTZ)
 

Overview

Max Total Supply

355 ANTZ

Holders

140

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 ANTZ
0xb425e49991ba69e9f4626091fe5948d418350891
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:
AntzERC721

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "../node_modules/@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./Whitelisted.sol";

contract AntzERC721 is ERC721, Ownable, ReentrancyGuard, Whitelisted {
  using Address for address;

  uint256 internal _tokenIds;
  uint256 internal _reserved;
  uint256 internal _presaleMinted;
  string internal _baseTokenURI;
  
  string public FIRST_BATCH_PROVENANCE = "";
  string public SECOND_BATCH_PROVENANCE = "";

  uint256 constant public MAX_MINT = 10;
  uint256 constant public PRESALE_MAX_MINT = 3;
  uint256 constant public MINT_PRICE = 0.069 ether;
  uint256 constant public MAX_FIRST_BATCH = 5151;
  uint256 constant public MAX_SUPPLY = 10000;
  uint256 constant public MAX_RESERVED = 100;
  bool public presaleActive;
  bool public firstBatchActive;
  bool public saleActive;
  mapping(address => uint256) public presaleMints;

  constructor(
    address signer
  )
    ERC721("AntzNFT", "ANTZ")
    Whitelisted(signer)
  {}

  function totalSupply() external view returns (uint256) {
    return _tokenIds;
  }

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

  function setBaseTokenURI(string memory URI) public onlyOwner {
    _baseTokenURI = URI;
  }

  function setFirstProvenanceHash(string memory provenanceHash) public onlyOwner {
      FIRST_BATCH_PROVENANCE = provenanceHash;
  }

  function setSecondProvenanceHash(string memory provenanceHash) public onlyOwner {
      SECOND_BATCH_PROVENANCE = provenanceHash;
  }

  function flipPresaleActive() public onlyOwner {
    presaleActive = !presaleActive;
  }

  function flipFirstBatchActive() public onlyOwner {
    firstBatchActive = !firstBatchActive;
  }

  function flipSaleActive() public onlyOwner {
    saleActive = !saleActive;
  }

  function reserve(uint256 amount, address to) public onlyOwner {
    require(_reserved + amount <= MAX_RESERVED, "Exceeds maximum number of reserved tokens");

    _mintAmount(amount, to);
    _reserved += amount;
  }

  function presaleMint(bytes32 messageHash, bytes memory signature, uint256 amount)
    public
    payable
    nonReentrant
    processSignature(messageHash, signature)
  {
    require(presaleActive,                                         "Presale has not started");
    require(msg.value == MINT_PRICE * amount,                      "Invalid Ether amount sent");
    require(presaleMints[msg.sender] + amount <= PRESALE_MAX_MINT, "Exceeds remaining presale balance");
    require(_tokenIds + amount < MAX_SUPPLY,  "Exceeds maximum number of tokens");

    _mintAmount(amount, msg.sender);

    presaleMints[msg.sender] += amount;
    _presaleMinted += amount;
  }

  function mintFirstBatch(uint256 amount) public payable nonReentrant {
    require(firstBatchActive,                             "Public sale has not started");
    require(msg.value == MINT_PRICE * amount,       "Invalid Ether amount sent");
    require(amount <= MAX_MINT,                     "Exceeds the maximum amount to mint at once");
    require(_tokenIds + amount < MAX_FIRST_BATCH,   "Exceeds maximum number of tokens");

    _mintAmount(amount, msg.sender);
  }

  function mint(uint256 amount) public payable nonReentrant {
    require(saleActive,                       "Public sale has not started");
    require(msg.value == MINT_PRICE * amount, "Invalid Ether amount sent");
    require(amount <= MAX_MINT,               "Exceeds the maximum amount to mint at once");
    require(_tokenIds + amount < MAX_SUPPLY,  "Exceeds maximum number of tokens");

    _mintAmount(amount, msg.sender);
  }

  function _mintAmount(uint256 amount, address to) internal {

    for (uint256 i = 0; i < amount; i++) {
      _safeMint(to, _tokenIds);
      _tokenIds += 1;
    }
  }

  function withdraw() public onlyOwner {
    uint balance = address(this).balance;
    payable(msg.sender).transfer(balance);
  }
}

File 2 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

File 3 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 4 of 14 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @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 Message, created from `s`. 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(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @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 5 of 14 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 14 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 10 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 11 of 14 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 12 of 14 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 13 of 14 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../node_modules/@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "../node_modules/@openzeppelin/contracts/utils/Strings.sol";
import "../node_modules/@openzeppelin/contracts/utils/Address.sol";

contract Whitelisted {
  using ECDSA for bytes32;
  using Address for address;

  address internal _signer;

  constructor(address signer) {
    _signer = signer;
  }

  modifier processSignature(bytes32 messageHash, bytes memory signature) {
    require(_signer == recoverAddress(messageHash, signature), "Invalid whitelist signature");
    _;
  }

  function getSigner(
    bytes32 message, 
    uint8 v,
    bytes32 r,
    bytes32 s
  ) internal pure returns (address) {
    require(uint256(s) <= 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0,
    "invalid signature 's' value");
    require(v == 27 || v == 28, "invalid signature 'v' value");
    address signer = ecrecover(hashMessage(message), v, r, s);
    require(signer != address(0), "invalid signature");

    return signer;
  }

  function recoverAddress(
    bytes32 message,
    bytes memory signature
  ) internal pure returns (address) {
    if (signature.length != 65) {
      revert("invalid signature length");
    }
    bytes32 r;
    bytes32 s;
    uint8 v;

    assembly {
      r := mload(add(signature, 0x20))
      s := mload(add(signature, 0x40))
      v := byte(0, mload(add(signature, 0x60)))
    }

    return getSigner(message, v, r, s);
  }

  function hashMessage(bytes32 message) internal pure returns (bytes32) {
    bytes memory prefix = "\x19Ethereum Signed Message:\n32";
    return keccak256(abi.encodePacked(prefix, message));
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"signer","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"FIRST_BATCH_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_FIRST_BATCH","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SECOND_BATCH_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"firstBatchActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipFirstBatchActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleActive","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":"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":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintFirstBatch","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":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"messageHash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"reserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setFirstProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setSecondProvenanceHash","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":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600d90805190602001906200002b92919062000267565b5060405180602001604052806000815250600e90805190602001906200005392919062000267565b503480156200006157600080fd5b5060405162004cf238038062004cf283398181016040528101906200008791906200032e565b806040518060400160405280600781526020017f416e747a4e4654000000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f414e545a0000000000000000000000000000000000000000000000000000000081525081600090805190602001906200010c92919062000267565b5080600190805190602001906200012592919062000267565b505050620001486200013c6200019960201b60201c565b620001a160201b60201c565b600160078190555080600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200040d565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b82805462000275906200038e565b90600052602060002090601f016020900481019282620002995760008555620002e5565b82601f10620002b457805160ff1916838001178555620002e5565b82800160010185558215620002e5579182015b82811115620002e4578251825591602001919060010190620002c7565b5b509050620002f49190620002f8565b5090565b5b8082111562000313576000816000905550600101620002f9565b5090565b6000815190506200032881620003f3565b92915050565b6000602082840312156200034157600080fd5b6000620003518482850162000317565b91505092915050565b600062000367826200036e565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006002820490506001821680620003a757607f821691505b60208210811415620003be57620003bd620003c4565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b620003fe816200035a565b81146200040a57600080fd5b50565b6148d5806200041d6000396000f3fe60806040526004361061023b5760003560e01c806370a082311161012e578063c002d23d116100ab578063e985e9c51161006f578063e985e9c5146107da578063f0292a0314610817578063f2fde38b14610842578063fc5d630b1461086b578063ff501885146108945761023b565b8063c002d23d14610716578063c6f0a24d14610741578063c87b56dd1461076a578063de8b51e1146107a7578063e1d72ef7146107be5761023b565b8063a0712d68116100f2578063a0712d6814610652578063a22cb4651461066e578063b07e05c014610697578063b5657e1e146106c2578063b88d4fde146106ed5761023b565b806370a0823114610591578063715018a6146105ce57806377311049146105e55780638da5cb5b146105fc57806395d89b41146106275761023b565b806342842e0e116101bc5780636352211e116101805780636352211e146104cb578063644d4e8b1461050857806368428a1b1461051f5780636b4ac0001461054a5780636ba90c6e146105665761023b565b806342842e0e146103f6578063446dd33f1461041f5780634b3a134d1461044a57806353135ca014610475578063549527c3146104a05761023b565b806318160ddd1161020357806318160ddd1461033757806323b872dd1461036257806330176e131461038b57806332cb6b0c146103b45780633ccfd60b146103df5761023b565b806301ffc9a71461024057806303339bcb1461027d57806306fdde03146102a6578063081812fc146102d1578063095ea7b31461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613350565b6108d1565b6040516102749190613fab565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f919061340c565b6109b3565b005b3480156102b257600080fd5b506102bb610aa7565b6040516102c8919061400b565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906133e3565b610b39565b6040516103059190613f44565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906132ad565b610bbe565b005b34801561034357600080fd5b5061034c610cd6565b60405161035991906143cd565b60405180910390f35b34801561036e57600080fd5b50610389600480360381019061038491906131a7565b610ce0565b005b34801561039757600080fd5b506103b260048036038101906103ad91906133a2565b610d40565b005b3480156103c057600080fd5b506103c9610dd6565b6040516103d691906143cd565b60405180910390f35b3480156103eb57600080fd5b506103f4610ddc565b005b34801561040257600080fd5b5061041d600480360381019061041891906131a7565b610ea7565b005b34801561042b57600080fd5b50610434610ec7565b60405161044191906143cd565b60405180910390f35b34801561045657600080fd5b5061045f610ecd565b60405161046c919061400b565b60405180910390f35b34801561048157600080fd5b5061048a610f5b565b6040516104979190613fab565b60405180910390f35b3480156104ac57600080fd5b506104b5610f6e565b6040516104c291906143cd565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed91906133e3565b610f73565b6040516104ff9190613f44565b60405180910390f35b34801561051457600080fd5b5061051d611025565b005b34801561052b57600080fd5b506105346110cd565b6040516105419190613fab565b60405180910390f35b610564600480360381019061055f91906132e9565b6110e0565b005b34801561057257600080fd5b5061057b6113d3565b60405161058891906143cd565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613142565b6113d8565b6040516105c591906143cd565b60405180910390f35b3480156105da57600080fd5b506105e3611490565b005b3480156105f157600080fd5b506105fa611518565b005b34801561060857600080fd5b506106116115c0565b60405161061e9190613f44565b60405180910390f35b34801561063357600080fd5b5061063c6115ea565b604051610649919061400b565b60405180910390f35b61066c600480360381019061066791906133e3565b61167c565b005b34801561067a57600080fd5b5061069560048036038101906106909190613271565b611817565b005b3480156106a357600080fd5b506106ac61182d565b6040516106b9919061400b565b60405180910390f35b3480156106ce57600080fd5b506106d76118bb565b6040516106e49190613fab565b60405180910390f35b3480156106f957600080fd5b50610714600480360381019061070f91906131f6565b6118ce565b005b34801561072257600080fd5b5061072b611930565b60405161073891906143cd565b60405180910390f35b34801561074d57600080fd5b50610768600480360381019061076391906133a2565b61193b565b005b34801561077657600080fd5b50610791600480360381019061078c91906133e3565b6119d1565b60405161079e919061400b565b60405180910390f35b3480156107b357600080fd5b506107bc611a78565b005b6107d860048036038101906107d391906133e3565b611b20565b005b3480156107e657600080fd5b5061080160048036038101906107fc919061316b565b611cbb565b60405161080e9190613fab565b60405180910390f35b34801561082357600080fd5b5061082c611d4f565b60405161083991906143cd565b60405180910390f35b34801561084e57600080fd5b5061086960048036038101906108649190613142565b611d54565b005b34801561087757600080fd5b50610892600480360381019061088d91906133a2565b611e4c565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613142565b611ee2565b6040516108c891906143cd565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109ac57506109ab82611efa565b5b9050919050565b6109bb611f64565b73ffffffffffffffffffffffffffffffffffffffff166109d96115c0565b73ffffffffffffffffffffffffffffffffffffffff1614610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a26906142ad565b60405180910390fd5b606482600a54610a3f91906144c7565b1115610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906141cd565b60405180910390fd5b610a8a8282611f6c565b81600a6000828254610a9c91906144c7565b925050819055505050565b606060008054610ab6906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae2906146a9565b8015610b2f5780601f10610b0457610100808354040283529160200191610b2f565b820191906000526020600020905b815481529060010190602001808311610b1257829003601f168201915b5050505050905090565b6000610b4482611fb5565b610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a9061428d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc982610f73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c319061430d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c59611f64565b73ffffffffffffffffffffffffffffffffffffffff161480610c885750610c8781610c82611f64565b611cbb565b5b610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe9061420d565b60405180910390fd5b610cd18383612021565b505050565b6000600954905090565b610cf1610ceb611f64565b826120da565b610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d279061432d565b60405180910390fd5b610d3b8383836121b8565b505050565b610d48611f64565b73ffffffffffffffffffffffffffffffffffffffff16610d666115c0565b73ffffffffffffffffffffffffffffffffffffffff1614610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db3906142ad565b60405180910390fd5b80600c9080519060200190610dd2929190612f51565b5050565b61271081565b610de4611f64565b73ffffffffffffffffffffffffffffffffffffffff16610e026115c0565b73ffffffffffffffffffffffffffffffffffffffff1614610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f906142ad565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ea3573d6000803e3d6000fd5b5050565b610ec2838383604051806020016040528060008152506118ce565b505050565b61141f81565b600d8054610eda906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610f06906146a9565b8015610f535780601f10610f2857610100808354040283529160200191610f53565b820191906000526020600020905b815481529060010190602001808311610f3657829003601f168201915b505050505081565b600f60009054906101000a900460ff1681565b600381565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561101c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110139061424d565b60405180910390fd5b80915050919050565b61102d611f64565b73ffffffffffffffffffffffffffffffffffffffff1661104b6115c0565b73ffffffffffffffffffffffffffffffffffffffff16146110a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611098906142ad565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b600f60029054906101000a900460ff1681565b60026007541415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906143ad565b60405180910390fd5b6002600781905550828261113a8282612414565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c09061438d565b60405180910390fd5b600f60009054906101000a900460ff16611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f9061404d565b60405180910390fd5b8266f523226980800061122b919061454e565b341461126c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112639061410d565b60405180910390fd5b600383601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112b991906144c7565b11156112fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f1906141ed565b60405180910390fd5b6127108360095461130b91906144c7565b1061134b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611342906140ed565b60405180910390fd5b6113558333611f6c565b82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113a491906144c7565b9250508190555082600b60008282546113bd91906144c7565b9250508190555050506001600781905550505050565b606481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114409061422d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611498611f64565b73ffffffffffffffffffffffffffffffffffffffff166114b66115c0565b73ffffffffffffffffffffffffffffffffffffffff161461150c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611503906142ad565b60405180910390fd5b611516600061248e565b565b611520611f64565b73ffffffffffffffffffffffffffffffffffffffff1661153e6115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b906142ad565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115f9906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611625906146a9565b80156116725780601f1061164757610100808354040283529160200191611672565b820191906000526020600020905b81548152906001019060200180831161165557829003601f168201915b5050505050905090565b600260075414156116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b9906143ad565b60405180910390fd5b6002600781905550600f60029054906101000a900460ff16611719576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117109061414d565b60405180910390fd5b8066f523226980800061172c919061454e565b341461176d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117649061410d565b60405180910390fd5b600a8111156117b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a89061412d565b60405180910390fd5b612710816009546117c291906144c7565b10611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f9906140ed565b60405180910390fd5b61180c8133611f6c565b600160078190555050565b611829611822611f64565b8383612554565b5050565b600e805461183a906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611866906146a9565b80156118b35780601f10611888576101008083540402835291602001916118b3565b820191906000526020600020905b81548152906001019060200180831161189657829003601f168201915b505050505081565b600f60019054906101000a900460ff1681565b6118df6118d9611f64565b836120da565b61191e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119159061432d565b60405180910390fd5b61192a848484846126c1565b50505050565b66f523226980800081565b611943611f64565b73ffffffffffffffffffffffffffffffffffffffff166119616115c0565b73ffffffffffffffffffffffffffffffffffffffff16146119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae906142ad565b60405180910390fd5b80600e90805190602001906119cd929190612f51565b5050565b60606119dc82611fb5565b611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a12906142ed565b60405180910390fd5b6000611a2561271d565b90506000815111611a455760405180602001604052806000815250611a70565b80611a4f846127af565b604051602001611a60929190613f20565b6040516020818303038152906040525b915050919050565b611a80611f64565b73ffffffffffffffffffffffffffffffffffffffff16611a9e6115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb906142ad565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b60026007541415611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d906143ad565b60405180910390fd5b6002600781905550600f60019054906101000a900460ff16611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb49061414d565b60405180910390fd5b8066f5232269808000611bd0919061454e565b3414611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c089061410d565b60405180910390fd5b600a811115611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c9061412d565b60405180910390fd5b61141f81600954611c6691906144c7565b10611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d906140ed565b60405180910390fd5b611cb08133611f6c565b600160078190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a81565b611d5c611f64565b73ffffffffffffffffffffffffffffffffffffffff16611d7a6115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906142ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e37906140ad565b60405180910390fd5b611e498161248e565b50565b611e54611f64565b73ffffffffffffffffffffffffffffffffffffffff16611e726115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf906142ad565b60405180910390fd5b80600d9080519060200190611ede929190612f51565b5050565b60106020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60005b82811015611fb057611f838260095461295c565b600160096000828254611f9691906144c7565b925050819055508080611fa8906146db565b915050611f6f565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209483610f73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120e582611fb5565b612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b906141ad565b60405180910390fd5b600061212f83610f73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061219e57508373ffffffffffffffffffffffffffffffffffffffff1661218684610b39565b73ffffffffffffffffffffffffffffffffffffffff16145b806121af57506121ae8185611cbb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121d882610f73565b73ffffffffffffffffffffffffffffffffffffffff161461222e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612225906142cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122959061416d565b60405180910390fd5b6122a983838361297a565b6122b4600082612021565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230491906145a8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235b91906144c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000604182511461245a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124519061436d565b60405180910390fd5b60008060006020850151925060408501519150606085015160001a90506124838682858561297f565b935050505092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba9061418d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126b49190613fab565b60405180910390a3505050565b6126cc8484846121b8565b6126d884848484612b12565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270e9061408d565b60405180910390fd5b50505050565b6060600c805461272c906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054612758906146a9565b80156127a55780601f1061277a576101008083540402835291602001916127a5565b820191906000526020600020905b81548152906001019060200180831161278857829003601f168201915b5050505050905090565b606060008214156127f7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612957565b600082905060005b60008214612829578080612812906146db565b915050600a82612822919061451d565b91506127ff565b60008167ffffffffffffffff81111561286b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561289d5781602001600182028036833780820191505090505b5090505b60008514612950576001826128b691906145a8565b9150600a856128c5919061472e565b60306128d191906144c7565b60f81b81838151811061290d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612949919061451d565b94506128a1565b8093505050505b919050565b612976828260405180602001604052806000815250612ca9565b5050565b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c11156129e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129de9061434d565b60405180910390fd5b601b8460ff1614806129fc5750601c8460ff16145b612a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a329061402d565b60405180910390fd5b60006001612a4887612d04565b86868660405160008152602001604052604051612a689493929190613fc6565b6020604051602081039080840390855afa158015612a8a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afd9061406d565b60405180910390fd5b80915050949350505050565b6000612b338473ffffffffffffffffffffffffffffffffffffffff16612d70565b15612c9c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b5c611f64565b8786866040518563ffffffff1660e01b8152600401612b7e9493929190613f5f565b602060405180830381600087803b158015612b9857600080fd5b505af1925050508015612bc957506040513d601f19601f82011682018060405250810190612bc69190613379565b60015b612c4c573d8060008114612bf9576040519150601f19603f3d011682016040523d82523d6000602084013e612bfe565b606091505b50600081511415612c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3b9061408d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ca1565b600190505b949350505050565b612cb38383612d83565b612cc06000848484612b12565b612cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf69061408d565b60405180910390fd5b505050565b6000806040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a33320000000081525090508083604051602001612d52929190613ef8565b60405160208183030381529060405280519060200120915050919050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dea9061426d565b60405180910390fd5b612dfc81611fb5565b15612e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e33906140cd565b60405180910390fd5b612e486000838361297a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e9891906144c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612f5d906146a9565b90600052602060002090601f016020900481019282612f7f5760008555612fc6565b82601f10612f9857805160ff1916838001178555612fc6565b82800160010185558215612fc6579182015b82811115612fc5578251825591602001919060010190612faa565b5b509050612fd39190612fd7565b5090565b5b80821115612ff0576000816000905550600101612fd8565b5090565b600061300761300284614419565b6143e8565b90508281526020810184848401111561301f57600080fd5b61302a848285614667565b509392505050565b600061304561304084614449565b6143e8565b90508281526020810184848401111561305d57600080fd5b613068848285614667565b509392505050565b60008135905061307f8161482c565b92915050565b60008135905061309481614843565b92915050565b6000813590506130a98161485a565b92915050565b6000813590506130be81614871565b92915050565b6000815190506130d381614871565b92915050565b600082601f8301126130ea57600080fd5b81356130fa848260208601612ff4565b91505092915050565b600082601f83011261311457600080fd5b8135613124848260208601613032565b91505092915050565b60008135905061313c81614888565b92915050565b60006020828403121561315457600080fd5b600061316284828501613070565b91505092915050565b6000806040838503121561317e57600080fd5b600061318c85828601613070565b925050602061319d85828601613070565b9150509250929050565b6000806000606084860312156131bc57600080fd5b60006131ca86828701613070565b93505060206131db86828701613070565b92505060406131ec8682870161312d565b9150509250925092565b6000806000806080858703121561320c57600080fd5b600061321a87828801613070565b945050602061322b87828801613070565b935050604061323c8782880161312d565b925050606085013567ffffffffffffffff81111561325957600080fd5b613265878288016130d9565b91505092959194509250565b6000806040838503121561328457600080fd5b600061329285828601613070565b92505060206132a385828601613085565b9150509250929050565b600080604083850312156132c057600080fd5b60006132ce85828601613070565b92505060206132df8582860161312d565b9150509250929050565b6000806000606084860312156132fe57600080fd5b600061330c8682870161309a565b935050602084013567ffffffffffffffff81111561332957600080fd5b613335868287016130d9565b92505060406133468682870161312d565b9150509250925092565b60006020828403121561336257600080fd5b6000613370848285016130af565b91505092915050565b60006020828403121561338b57600080fd5b6000613399848285016130c4565b91505092915050565b6000602082840312156133b457600080fd5b600082013567ffffffffffffffff8111156133ce57600080fd5b6133da84828501613103565b91505092915050565b6000602082840312156133f557600080fd5b60006134038482850161312d565b91505092915050565b6000806040838503121561341f57600080fd5b600061342d8582860161312d565b925050602061343e85828601613070565b9150509250929050565b613451816145dc565b82525050565b613460816145ee565b82525050565b61346f816145fa565b82525050565b613486613481826145fa565b614724565b82525050565b600061349782614479565b6134a1818561448f565b93506134b1818560208601614676565b6134ba8161481b565b840191505092915050565b60006134d082614479565b6134da81856144a0565b93506134ea818560208601614676565b80840191505092915050565b600061350182614484565b61350b81856144ab565b935061351b818560208601614676565b6135248161481b565b840191505092915050565b600061353a82614484565b61354481856144bc565b9350613554818560208601614676565b80840191505092915050565b600061356d601b836144ab565b91507f696e76616c6964207369676e6174757265202776272076616c756500000000006000830152602082019050919050565b60006135ad6017836144ab565b91507f50726573616c6520686173206e6f7420737461727465640000000000000000006000830152602082019050919050565b60006135ed6011836144ab565b91507f696e76616c6964207369676e61747572650000000000000000000000000000006000830152602082019050919050565b600061362d6032836144ab565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006136936026836144ab565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136f9601c836144ab565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006137396020836144ab565b91507f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736000830152602082019050919050565b60006137796019836144ab565b91507f496e76616c696420457468657220616d6f756e742073656e74000000000000006000830152602082019050919050565b60006137b9602a836144ab565b91507f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960008301527f6e74206174206f6e6365000000000000000000000000000000000000000000006020830152604082019050919050565b600061381f601b836144ab565b91507f5075626c69632073616c6520686173206e6f74207374617274656400000000006000830152602082019050919050565b600061385f6024836144ab565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138c56019836144ab565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613905602c836144ab565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061396b6029836144ab565b91507f45786365656473206d6178696d756d206e756d626572206f662072657365727660008301527f656420746f6b656e7300000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d16021836144ab565b91507f457863656564732072656d61696e696e672070726573616c652062616c616e6360008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a376038836144ab565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613a9d602a836144ab565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b036029836144ab565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b696020836144ab565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613ba9602c836144ab565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613c0f6020836144ab565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613c4f6029836144ab565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb5602f836144ab565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613d1b6021836144ab565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d816031836144ab565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613de7601b836144ab565b91507f696e76616c6964207369676e6174757265202773272076616c756500000000006000830152602082019050919050565b6000613e276018836144ab565b91507f696e76616c6964207369676e6174757265206c656e67746800000000000000006000830152602082019050919050565b6000613e67601b836144ab565b91507f496e76616c69642077686974656c697374207369676e617475726500000000006000830152602082019050919050565b6000613ea7601f836144ab565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613ee381614650565b82525050565b613ef28161465a565b82525050565b6000613f0482856134c5565b9150613f108284613475565b6020820191508190509392505050565b6000613f2c828561352f565b9150613f38828461352f565b91508190509392505050565b6000602082019050613f596000830184613448565b92915050565b6000608082019050613f746000830187613448565b613f816020830186613448565b613f8e6040830185613eda565b8181036060830152613fa0818461348c565b905095945050505050565b6000602082019050613fc06000830184613457565b92915050565b6000608082019050613fdb6000830187613466565b613fe86020830186613ee9565b613ff56040830185613466565b6140026060830184613466565b95945050505050565b6000602082019050818103600083015261402581846134f6565b905092915050565b6000602082019050818103600083015261404681613560565b9050919050565b60006020820190508181036000830152614066816135a0565b9050919050565b60006020820190508181036000830152614086816135e0565b9050919050565b600060208201905081810360008301526140a681613620565b9050919050565b600060208201905081810360008301526140c681613686565b9050919050565b600060208201905081810360008301526140e6816136ec565b9050919050565b600060208201905081810360008301526141068161372c565b9050919050565b600060208201905081810360008301526141268161376c565b9050919050565b60006020820190508181036000830152614146816137ac565b9050919050565b6000602082019050818103600083015261416681613812565b9050919050565b6000602082019050818103600083015261418681613852565b9050919050565b600060208201905081810360008301526141a6816138b8565b9050919050565b600060208201905081810360008301526141c6816138f8565b9050919050565b600060208201905081810360008301526141e68161395e565b9050919050565b60006020820190508181036000830152614206816139c4565b9050919050565b6000602082019050818103600083015261422681613a2a565b9050919050565b6000602082019050818103600083015261424681613a90565b9050919050565b6000602082019050818103600083015261426681613af6565b9050919050565b6000602082019050818103600083015261428681613b5c565b9050919050565b600060208201905081810360008301526142a681613b9c565b9050919050565b600060208201905081810360008301526142c681613c02565b9050919050565b600060208201905081810360008301526142e681613c42565b9050919050565b6000602082019050818103600083015261430681613ca8565b9050919050565b6000602082019050818103600083015261432681613d0e565b9050919050565b6000602082019050818103600083015261434681613d74565b9050919050565b6000602082019050818103600083015261436681613dda565b9050919050565b6000602082019050818103600083015261438681613e1a565b9050919050565b600060208201905081810360008301526143a681613e5a565b9050919050565b600060208201905081810360008301526143c681613e9a565b9050919050565b60006020820190506143e26000830184613eda565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561440f5761440e6147ec565b5b8060405250919050565b600067ffffffffffffffff821115614434576144336147ec565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614464576144636147ec565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144d282614650565b91506144dd83614650565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145125761451161475f565b5b828201905092915050565b600061452882614650565b915061453383614650565b9250826145435761454261478e565b5b828204905092915050565b600061455982614650565b915061456483614650565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561459d5761459c61475f565b5b828202905092915050565b60006145b382614650565b91506145be83614650565b9250828210156145d1576145d061475f565b5b828203905092915050565b60006145e782614630565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614694578082015181840152602081019050614679565b838111156146a3576000848401525b50505050565b600060028204905060018216806146c157607f821691505b602082108114156146d5576146d46147bd565b5b50919050565b60006146e682614650565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147195761471861475f565b5b600182019050919050565b6000819050919050565b600061473982614650565b915061474483614650565b9250826147545761475361478e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614835816145dc565b811461484057600080fd5b50565b61484c816145ee565b811461485757600080fd5b50565b614863816145fa565b811461486e57600080fd5b50565b61487a81614604565b811461488557600080fd5b50565b61489181614650565b811461489c57600080fd5b5056fea2646970667358221220101022a421bf07fa0da1d0c1f075f667fe28441c57f07639a13afa5c6bb7d1f464736f6c63430008000033000000000000000000000000e8d07a8601292b6d8eaf20e0a4fd88935aad6caf

Deployed Bytecode

0x60806040526004361061023b5760003560e01c806370a082311161012e578063c002d23d116100ab578063e985e9c51161006f578063e985e9c5146107da578063f0292a0314610817578063f2fde38b14610842578063fc5d630b1461086b578063ff501885146108945761023b565b8063c002d23d14610716578063c6f0a24d14610741578063c87b56dd1461076a578063de8b51e1146107a7578063e1d72ef7146107be5761023b565b8063a0712d68116100f2578063a0712d6814610652578063a22cb4651461066e578063b07e05c014610697578063b5657e1e146106c2578063b88d4fde146106ed5761023b565b806370a0823114610591578063715018a6146105ce57806377311049146105e55780638da5cb5b146105fc57806395d89b41146106275761023b565b806342842e0e116101bc5780636352211e116101805780636352211e146104cb578063644d4e8b1461050857806368428a1b1461051f5780636b4ac0001461054a5780636ba90c6e146105665761023b565b806342842e0e146103f6578063446dd33f1461041f5780634b3a134d1461044a57806353135ca014610475578063549527c3146104a05761023b565b806318160ddd1161020357806318160ddd1461033757806323b872dd1461036257806330176e131461038b57806332cb6b0c146103b45780633ccfd60b146103df5761023b565b806301ffc9a71461024057806303339bcb1461027d57806306fdde03146102a6578063081812fc146102d1578063095ea7b31461030e575b600080fd5b34801561024c57600080fd5b5061026760048036038101906102629190613350565b6108d1565b6040516102749190613fab565b60405180910390f35b34801561028957600080fd5b506102a4600480360381019061029f919061340c565b6109b3565b005b3480156102b257600080fd5b506102bb610aa7565b6040516102c8919061400b565b60405180910390f35b3480156102dd57600080fd5b506102f860048036038101906102f391906133e3565b610b39565b6040516103059190613f44565b60405180910390f35b34801561031a57600080fd5b50610335600480360381019061033091906132ad565b610bbe565b005b34801561034357600080fd5b5061034c610cd6565b60405161035991906143cd565b60405180910390f35b34801561036e57600080fd5b50610389600480360381019061038491906131a7565b610ce0565b005b34801561039757600080fd5b506103b260048036038101906103ad91906133a2565b610d40565b005b3480156103c057600080fd5b506103c9610dd6565b6040516103d691906143cd565b60405180910390f35b3480156103eb57600080fd5b506103f4610ddc565b005b34801561040257600080fd5b5061041d600480360381019061041891906131a7565b610ea7565b005b34801561042b57600080fd5b50610434610ec7565b60405161044191906143cd565b60405180910390f35b34801561045657600080fd5b5061045f610ecd565b60405161046c919061400b565b60405180910390f35b34801561048157600080fd5b5061048a610f5b565b6040516104979190613fab565b60405180910390f35b3480156104ac57600080fd5b506104b5610f6e565b6040516104c291906143cd565b60405180910390f35b3480156104d757600080fd5b506104f260048036038101906104ed91906133e3565b610f73565b6040516104ff9190613f44565b60405180910390f35b34801561051457600080fd5b5061051d611025565b005b34801561052b57600080fd5b506105346110cd565b6040516105419190613fab565b60405180910390f35b610564600480360381019061055f91906132e9565b6110e0565b005b34801561057257600080fd5b5061057b6113d3565b60405161058891906143cd565b60405180910390f35b34801561059d57600080fd5b506105b860048036038101906105b39190613142565b6113d8565b6040516105c591906143cd565b60405180910390f35b3480156105da57600080fd5b506105e3611490565b005b3480156105f157600080fd5b506105fa611518565b005b34801561060857600080fd5b506106116115c0565b60405161061e9190613f44565b60405180910390f35b34801561063357600080fd5b5061063c6115ea565b604051610649919061400b565b60405180910390f35b61066c600480360381019061066791906133e3565b61167c565b005b34801561067a57600080fd5b5061069560048036038101906106909190613271565b611817565b005b3480156106a357600080fd5b506106ac61182d565b6040516106b9919061400b565b60405180910390f35b3480156106ce57600080fd5b506106d76118bb565b6040516106e49190613fab565b60405180910390f35b3480156106f957600080fd5b50610714600480360381019061070f91906131f6565b6118ce565b005b34801561072257600080fd5b5061072b611930565b60405161073891906143cd565b60405180910390f35b34801561074d57600080fd5b50610768600480360381019061076391906133a2565b61193b565b005b34801561077657600080fd5b50610791600480360381019061078c91906133e3565b6119d1565b60405161079e919061400b565b60405180910390f35b3480156107b357600080fd5b506107bc611a78565b005b6107d860048036038101906107d391906133e3565b611b20565b005b3480156107e657600080fd5b5061080160048036038101906107fc919061316b565b611cbb565b60405161080e9190613fab565b60405180910390f35b34801561082357600080fd5b5061082c611d4f565b60405161083991906143cd565b60405180910390f35b34801561084e57600080fd5b5061086960048036038101906108649190613142565b611d54565b005b34801561087757600080fd5b50610892600480360381019061088d91906133a2565b611e4c565b005b3480156108a057600080fd5b506108bb60048036038101906108b69190613142565b611ee2565b6040516108c891906143cd565b60405180910390f35b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061099c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109ac57506109ab82611efa565b5b9050919050565b6109bb611f64565b73ffffffffffffffffffffffffffffffffffffffff166109d96115c0565b73ffffffffffffffffffffffffffffffffffffffff1614610a2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a26906142ad565b60405180910390fd5b606482600a54610a3f91906144c7565b1115610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a77906141cd565b60405180910390fd5b610a8a8282611f6c565b81600a6000828254610a9c91906144c7565b925050819055505050565b606060008054610ab6906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae2906146a9565b8015610b2f5780601f10610b0457610100808354040283529160200191610b2f565b820191906000526020600020905b815481529060010190602001808311610b1257829003601f168201915b5050505050905090565b6000610b4482611fb5565b610b83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7a9061428d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bc982610f73565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c3a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c319061430d565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c59611f64565b73ffffffffffffffffffffffffffffffffffffffff161480610c885750610c8781610c82611f64565b611cbb565b5b610cc7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cbe9061420d565b60405180910390fd5b610cd18383612021565b505050565b6000600954905090565b610cf1610ceb611f64565b826120da565b610d30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d279061432d565b60405180910390fd5b610d3b8383836121b8565b505050565b610d48611f64565b73ffffffffffffffffffffffffffffffffffffffff16610d666115c0565b73ffffffffffffffffffffffffffffffffffffffff1614610dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db3906142ad565b60405180910390fd5b80600c9080519060200190610dd2929190612f51565b5050565b61271081565b610de4611f64565b73ffffffffffffffffffffffffffffffffffffffff16610e026115c0565b73ffffffffffffffffffffffffffffffffffffffff1614610e58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4f906142ad565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610ea3573d6000803e3d6000fd5b5050565b610ec2838383604051806020016040528060008152506118ce565b505050565b61141f81565b600d8054610eda906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054610f06906146a9565b8015610f535780601f10610f2857610100808354040283529160200191610f53565b820191906000526020600020905b815481529060010190602001808311610f3657829003601f168201915b505050505081565b600f60009054906101000a900460ff1681565b600381565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561101c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110139061424d565b60405180910390fd5b80915050919050565b61102d611f64565b73ffffffffffffffffffffffffffffffffffffffff1661104b6115c0565b73ffffffffffffffffffffffffffffffffffffffff16146110a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611098906142ad565b60405180910390fd5b600f60019054906101000a900460ff1615600f60016101000a81548160ff021916908315150217905550565b600f60029054906101000a900460ff1681565b60026007541415611126576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111d906143ad565b60405180910390fd5b6002600781905550828261113a8282612414565b73ffffffffffffffffffffffffffffffffffffffff16600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146111c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c09061438d565b60405180910390fd5b600f60009054906101000a900460ff16611218576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120f9061404d565b60405180910390fd5b8266f523226980800061122b919061454e565b341461126c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112639061410d565b60405180910390fd5b600383601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546112b991906144c7565b11156112fa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f1906141ed565b60405180910390fd5b6127108360095461130b91906144c7565b1061134b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611342906140ed565b60405180910390fd5b6113558333611f6c565b82601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546113a491906144c7565b9250508190555082600b60008282546113bd91906144c7565b9250508190555050506001600781905550505050565b606481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611449576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114409061422d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611498611f64565b73ffffffffffffffffffffffffffffffffffffffff166114b66115c0565b73ffffffffffffffffffffffffffffffffffffffff161461150c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611503906142ad565b60405180910390fd5b611516600061248e565b565b611520611f64565b73ffffffffffffffffffffffffffffffffffffffff1661153e6115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611594576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158b906142ad565b60405180910390fd5b600f60009054906101000a900460ff1615600f60006101000a81548160ff021916908315150217905550565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546115f9906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611625906146a9565b80156116725780601f1061164757610100808354040283529160200191611672565b820191906000526020600020905b81548152906001019060200180831161165557829003601f168201915b5050505050905090565b600260075414156116c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116b9906143ad565b60405180910390fd5b6002600781905550600f60029054906101000a900460ff16611719576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117109061414d565b60405180910390fd5b8066f523226980800061172c919061454e565b341461176d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117649061410d565b60405180910390fd5b600a8111156117b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a89061412d565b60405180910390fd5b612710816009546117c291906144c7565b10611802576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f9906140ed565b60405180910390fd5b61180c8133611f6c565b600160078190555050565b611829611822611f64565b8383612554565b5050565b600e805461183a906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054611866906146a9565b80156118b35780601f10611888576101008083540402835291602001916118b3565b820191906000526020600020905b81548152906001019060200180831161189657829003601f168201915b505050505081565b600f60019054906101000a900460ff1681565b6118df6118d9611f64565b836120da565b61191e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119159061432d565b60405180910390fd5b61192a848484846126c1565b50505050565b66f523226980800081565b611943611f64565b73ffffffffffffffffffffffffffffffffffffffff166119616115c0565b73ffffffffffffffffffffffffffffffffffffffff16146119b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ae906142ad565b60405180910390fd5b80600e90805190602001906119cd929190612f51565b5050565b60606119dc82611fb5565b611a1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a12906142ed565b60405180910390fd5b6000611a2561271d565b90506000815111611a455760405180602001604052806000815250611a70565b80611a4f846127af565b604051602001611a60929190613f20565b6040516020818303038152906040525b915050919050565b611a80611f64565b73ffffffffffffffffffffffffffffffffffffffff16611a9e6115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611af4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611aeb906142ad565b60405180910390fd5b600f60029054906101000a900460ff1615600f60026101000a81548160ff021916908315150217905550565b60026007541415611b66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5d906143ad565b60405180910390fd5b6002600781905550600f60019054906101000a900460ff16611bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb49061414d565b60405180910390fd5b8066f5232269808000611bd0919061454e565b3414611c11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c089061410d565b60405180910390fd5b600a811115611c55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4c9061412d565b60405180910390fd5b61141f81600954611c6691906144c7565b10611ca6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c9d906140ed565b60405180910390fd5b611cb08133611f6c565b600160078190555050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600a81565b611d5c611f64565b73ffffffffffffffffffffffffffffffffffffffff16611d7a6115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc7906142ad565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e37906140ad565b60405180910390fd5b611e498161248e565b50565b611e54611f64565b73ffffffffffffffffffffffffffffffffffffffff16611e726115c0565b73ffffffffffffffffffffffffffffffffffffffff1614611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf906142ad565b60405180910390fd5b80600d9080519060200190611ede929190612f51565b5050565b60106020528060005260406000206000915090505481565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b60005b82811015611fb057611f838260095461295c565b600160096000828254611f9691906144c7565b925050819055508080611fa8906146db565b915050611f6f565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661209483610f73565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006120e582611fb5565b612124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211b906141ad565b60405180910390fd5b600061212f83610f73565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061219e57508373ffffffffffffffffffffffffffffffffffffffff1661218684610b39565b73ffffffffffffffffffffffffffffffffffffffff16145b806121af57506121ae8185611cbb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166121d882610f73565b73ffffffffffffffffffffffffffffffffffffffff161461222e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612225906142cd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122959061416d565b60405180910390fd5b6122a983838361297a565b6122b4600082612021565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461230491906145a8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461235b91906144c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000604182511461245a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124519061436d565b60405180910390fd5b60008060006020850151925060408501519150606085015160001a90506124838682858561297f565b935050505092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156125c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ba9061418d565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516126b49190613fab565b60405180910390a3505050565b6126cc8484846121b8565b6126d884848484612b12565b612717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161270e9061408d565b60405180910390fd5b50505050565b6060600c805461272c906146a9565b80601f0160208091040260200160405190810160405280929190818152602001828054612758906146a9565b80156127a55780601f1061277a576101008083540402835291602001916127a5565b820191906000526020600020905b81548152906001019060200180831161278857829003601f168201915b5050505050905090565b606060008214156127f7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612957565b600082905060005b60008214612829578080612812906146db565b915050600a82612822919061451d565b91506127ff565b60008167ffffffffffffffff81111561286b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561289d5781602001600182028036833780820191505090505b5090505b60008514612950576001826128b691906145a8565b9150600a856128c5919061472e565b60306128d191906144c7565b60f81b81838151811061290d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612949919061451d565b94506128a1565b8093505050505b919050565b612976828260405180602001604052806000815250612ca9565b5050565b505050565b60007f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08260001c11156129e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129de9061434d565b60405180910390fd5b601b8460ff1614806129fc5750601c8460ff16145b612a3b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a329061402d565b60405180910390fd5b60006001612a4887612d04565b86868660405160008152602001604052604051612a689493929190613fc6565b6020604051602081039080840390855afa158015612a8a573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b06576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612afd9061406d565b60405180910390fd5b80915050949350505050565b6000612b338473ffffffffffffffffffffffffffffffffffffffff16612d70565b15612c9c578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612b5c611f64565b8786866040518563ffffffff1660e01b8152600401612b7e9493929190613f5f565b602060405180830381600087803b158015612b9857600080fd5b505af1925050508015612bc957506040513d601f19601f82011682018060405250810190612bc69190613379565b60015b612c4c573d8060008114612bf9576040519150601f19603f3d011682016040523d82523d6000602084013e612bfe565b606091505b50600081511415612c44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3b9061408d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612ca1565b600190505b949350505050565b612cb38383612d83565b612cc06000848484612b12565b612cff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cf69061408d565b60405180910390fd5b505050565b6000806040518060400160405280601c81526020017f19457468657265756d205369676e6564204d6573736167653a0a33320000000081525090508083604051602001612d52929190613ef8565b60405160208183030381529060405280519060200120915050919050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612df3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dea9061426d565b60405180910390fd5b612dfc81611fb5565b15612e3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e33906140cd565b60405180910390fd5b612e486000838361297a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e9891906144c7565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b828054612f5d906146a9565b90600052602060002090601f016020900481019282612f7f5760008555612fc6565b82601f10612f9857805160ff1916838001178555612fc6565b82800160010185558215612fc6579182015b82811115612fc5578251825591602001919060010190612faa565b5b509050612fd39190612fd7565b5090565b5b80821115612ff0576000816000905550600101612fd8565b5090565b600061300761300284614419565b6143e8565b90508281526020810184848401111561301f57600080fd5b61302a848285614667565b509392505050565b600061304561304084614449565b6143e8565b90508281526020810184848401111561305d57600080fd5b613068848285614667565b509392505050565b60008135905061307f8161482c565b92915050565b60008135905061309481614843565b92915050565b6000813590506130a98161485a565b92915050565b6000813590506130be81614871565b92915050565b6000815190506130d381614871565b92915050565b600082601f8301126130ea57600080fd5b81356130fa848260208601612ff4565b91505092915050565b600082601f83011261311457600080fd5b8135613124848260208601613032565b91505092915050565b60008135905061313c81614888565b92915050565b60006020828403121561315457600080fd5b600061316284828501613070565b91505092915050565b6000806040838503121561317e57600080fd5b600061318c85828601613070565b925050602061319d85828601613070565b9150509250929050565b6000806000606084860312156131bc57600080fd5b60006131ca86828701613070565b93505060206131db86828701613070565b92505060406131ec8682870161312d565b9150509250925092565b6000806000806080858703121561320c57600080fd5b600061321a87828801613070565b945050602061322b87828801613070565b935050604061323c8782880161312d565b925050606085013567ffffffffffffffff81111561325957600080fd5b613265878288016130d9565b91505092959194509250565b6000806040838503121561328457600080fd5b600061329285828601613070565b92505060206132a385828601613085565b9150509250929050565b600080604083850312156132c057600080fd5b60006132ce85828601613070565b92505060206132df8582860161312d565b9150509250929050565b6000806000606084860312156132fe57600080fd5b600061330c8682870161309a565b935050602084013567ffffffffffffffff81111561332957600080fd5b613335868287016130d9565b92505060406133468682870161312d565b9150509250925092565b60006020828403121561336257600080fd5b6000613370848285016130af565b91505092915050565b60006020828403121561338b57600080fd5b6000613399848285016130c4565b91505092915050565b6000602082840312156133b457600080fd5b600082013567ffffffffffffffff8111156133ce57600080fd5b6133da84828501613103565b91505092915050565b6000602082840312156133f557600080fd5b60006134038482850161312d565b91505092915050565b6000806040838503121561341f57600080fd5b600061342d8582860161312d565b925050602061343e85828601613070565b9150509250929050565b613451816145dc565b82525050565b613460816145ee565b82525050565b61346f816145fa565b82525050565b613486613481826145fa565b614724565b82525050565b600061349782614479565b6134a1818561448f565b93506134b1818560208601614676565b6134ba8161481b565b840191505092915050565b60006134d082614479565b6134da81856144a0565b93506134ea818560208601614676565b80840191505092915050565b600061350182614484565b61350b81856144ab565b935061351b818560208601614676565b6135248161481b565b840191505092915050565b600061353a82614484565b61354481856144bc565b9350613554818560208601614676565b80840191505092915050565b600061356d601b836144ab565b91507f696e76616c6964207369676e6174757265202776272076616c756500000000006000830152602082019050919050565b60006135ad6017836144ab565b91507f50726573616c6520686173206e6f7420737461727465640000000000000000006000830152602082019050919050565b60006135ed6011836144ab565b91507f696e76616c6964207369676e61747572650000000000000000000000000000006000830152602082019050919050565b600061362d6032836144ab565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006136936026836144ab565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006136f9601c836144ab565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006137396020836144ab565b91507f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736000830152602082019050919050565b60006137796019836144ab565b91507f496e76616c696420457468657220616d6f756e742073656e74000000000000006000830152602082019050919050565b60006137b9602a836144ab565b91507f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960008301527f6e74206174206f6e6365000000000000000000000000000000000000000000006020830152604082019050919050565b600061381f601b836144ab565b91507f5075626c69632073616c6520686173206e6f74207374617274656400000000006000830152602082019050919050565b600061385f6024836144ab565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006138c56019836144ab565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b6000613905602c836144ab565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b600061396b6029836144ab565b91507f45786365656473206d6178696d756d206e756d626572206f662072657365727660008301527f656420746f6b656e7300000000000000000000000000000000000000000000006020830152604082019050919050565b60006139d16021836144ab565b91507f457863656564732072656d61696e696e672070726573616c652062616c616e6360008301527f65000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613a376038836144ab565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613a9d602a836144ab565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b036029836144ab565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613b696020836144ab565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613ba9602c836144ab565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613c0f6020836144ab565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613c4f6029836144ab565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000613cb5602f836144ab565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613d1b6021836144ab565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613d816031836144ab565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613de7601b836144ab565b91507f696e76616c6964207369676e6174757265202773272076616c756500000000006000830152602082019050919050565b6000613e276018836144ab565b91507f696e76616c6964207369676e6174757265206c656e67746800000000000000006000830152602082019050919050565b6000613e67601b836144ab565b91507f496e76616c69642077686974656c697374207369676e617475726500000000006000830152602082019050919050565b6000613ea7601f836144ab565b91507f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006000830152602082019050919050565b613ee381614650565b82525050565b613ef28161465a565b82525050565b6000613f0482856134c5565b9150613f108284613475565b6020820191508190509392505050565b6000613f2c828561352f565b9150613f38828461352f565b91508190509392505050565b6000602082019050613f596000830184613448565b92915050565b6000608082019050613f746000830187613448565b613f816020830186613448565b613f8e6040830185613eda565b8181036060830152613fa0818461348c565b905095945050505050565b6000602082019050613fc06000830184613457565b92915050565b6000608082019050613fdb6000830187613466565b613fe86020830186613ee9565b613ff56040830185613466565b6140026060830184613466565b95945050505050565b6000602082019050818103600083015261402581846134f6565b905092915050565b6000602082019050818103600083015261404681613560565b9050919050565b60006020820190508181036000830152614066816135a0565b9050919050565b60006020820190508181036000830152614086816135e0565b9050919050565b600060208201905081810360008301526140a681613620565b9050919050565b600060208201905081810360008301526140c681613686565b9050919050565b600060208201905081810360008301526140e6816136ec565b9050919050565b600060208201905081810360008301526141068161372c565b9050919050565b600060208201905081810360008301526141268161376c565b9050919050565b60006020820190508181036000830152614146816137ac565b9050919050565b6000602082019050818103600083015261416681613812565b9050919050565b6000602082019050818103600083015261418681613852565b9050919050565b600060208201905081810360008301526141a6816138b8565b9050919050565b600060208201905081810360008301526141c6816138f8565b9050919050565b600060208201905081810360008301526141e68161395e565b9050919050565b60006020820190508181036000830152614206816139c4565b9050919050565b6000602082019050818103600083015261422681613a2a565b9050919050565b6000602082019050818103600083015261424681613a90565b9050919050565b6000602082019050818103600083015261426681613af6565b9050919050565b6000602082019050818103600083015261428681613b5c565b9050919050565b600060208201905081810360008301526142a681613b9c565b9050919050565b600060208201905081810360008301526142c681613c02565b9050919050565b600060208201905081810360008301526142e681613c42565b9050919050565b6000602082019050818103600083015261430681613ca8565b9050919050565b6000602082019050818103600083015261432681613d0e565b9050919050565b6000602082019050818103600083015261434681613d74565b9050919050565b6000602082019050818103600083015261436681613dda565b9050919050565b6000602082019050818103600083015261438681613e1a565b9050919050565b600060208201905081810360008301526143a681613e5a565b9050919050565b600060208201905081810360008301526143c681613e9a565b9050919050565b60006020820190506143e26000830184613eda565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561440f5761440e6147ec565b5b8060405250919050565b600067ffffffffffffffff821115614434576144336147ec565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff821115614464576144636147ec565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006144d282614650565b91506144dd83614650565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145125761451161475f565b5b828201905092915050565b600061452882614650565b915061453383614650565b9250826145435761454261478e565b5b828204905092915050565b600061455982614650565b915061456483614650565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561459d5761459c61475f565b5b828202905092915050565b60006145b382614650565b91506145be83614650565b9250828210156145d1576145d061475f565b5b828203905092915050565b60006145e782614630565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614694578082015181840152602081019050614679565b838111156146a3576000848401525b50505050565b600060028204905060018216806146c157607f821691505b602082108114156146d5576146d46147bd565b5b50919050565b60006146e682614650565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147195761471861475f565b5b600182019050919050565b6000819050919050565b600061473982614650565b915061474483614650565b9250826147545761475361478e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614835816145dc565b811461484057600080fd5b50565b61484c816145ee565b811461485757600080fd5b50565b614863816145fa565b811461486e57600080fd5b50565b61487a81614604565b811461488557600080fd5b50565b61489181614650565b811461489c57600080fd5b5056fea2646970667358221220101022a421bf07fa0da1d0c1f075f667fe28441c57f07639a13afa5c6bb7d1f464736f6c63430008000033

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

000000000000000000000000e8d07a8601292b6d8eaf20e0a4fd88935aad6caf

-----Decoded View---------------
Arg [0] : signer (address): 0xE8D07A8601292b6d8EAf20e0A4FD88935aAD6CaF

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


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.