ETH Price: $3,376.31 (+3.62%)

Token

GM Key (GMK)
 

Overview

Max Total Supply

777 GMK

Holders

570

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
4 GMK
0x14cb4b434ee01a692b231a3499d26ed93f4fcffd
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The GM Key grants access to the GM Squad Alpha Group!

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GMKey

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

contract GMKey is ERC721A, Ownable, ReentrancyGuard {
  using SafeMath for uint256;
  using ECDSA for bytes32;
  using Counters for Counters.Counter;
  using Strings for uint256;

  uint256 public constant MAX_GM_KEY = 777;
  uint256 public MAX_GM_KEY_PER_PURCHASE = 7;
  uint256 public MAX_GM_KEY_WHITELIST_CAP = 1;
  uint256 public constant GM_KEY_PRICE = 0.14 ether;
  uint256 public constant GM_KEY_PRESALE_PRICE = 0.07 ether;
  uint256 public constant RESERVED_GM_KEY = 30;
  
  bytes32 public merkleroot;
  string public tokenBaseURI;
  bool public presaleActive = false;
  bool public mintActive = false;
  bool public reservesMinted = false;
  bool public reveal = false;

  mapping(address => uint256) private whitelistAddressMintCount;

  /**
   * @dev Contract Methods
   */
  constructor(
    uint256 _maxGMKeyPerPurchase
  ) ERC721A("GM Key", "GMK", _maxGMKeyPerPurchase, MAX_GM_KEY) {}
  /********
   * Mint *
   ********/
  function presaleMint(uint256 _quantity, bytes32[] calldata _merkleProof) external payable nonReentrant {
    require(verifyMerkleProof(keccak256(abi.encodePacked(msg.sender)), _merkleProof), "Invalid whitelist signature");
    require(presaleActive, "Presale is not active");
    require(_quantity <= MAX_GM_KEY_WHITELIST_CAP, "This is above the max allowed mints for presale");
    require(msg.value >= GM_KEY_PRESALE_PRICE.mul(_quantity), "The ether value sent is not correct");
    require(whitelistAddressMintCount[msg.sender].add(_quantity) <= MAX_GM_KEY_WHITELIST_CAP, "This purchase would exceed the maximum you are allowed to mint in the presale");
    require(totalSupply().add(_quantity) <= MAX_GM_KEY - RESERVED_GM_KEY, "This purchase would exceed max supply for presale");

    whitelistAddressMintCount[msg.sender] += _quantity;
    _safeMintGMKey(_quantity);
  }

  function publicMint(uint256 _quantity) external payable {
    require(mintActive, "Sale is not active.");
    require(_quantity <= MAX_GM_KEY_PER_PURCHASE, "Quantity is more than allowed per transaction.");
    require(msg.value >= GM_KEY_PRICE.mul(_quantity), "The ether value sent is not correct");

    _safeMintGMKey(_quantity);
  }

  function _safeMintGMKey(uint256 _quantity) internal {
    require(_quantity > 0, "You must mint at least 1 gm key nft");
    require(totalSupply().add(_quantity) <= MAX_GM_KEY, "This purchase would exceed max supply");
    _safeMint(msg.sender, _quantity);
  }

  /*
   * Note: Mint reserved gm key.
   */

  function mintReservedGMKey() external onlyOwner {
    require(!reservesMinted, "Reserves have already been minted.");
    require(totalSupply().add(RESERVED_GM_KEY) <= MAX_GM_KEY, "This mint would exceed max supply");
    _safeMint(msg.sender, RESERVED_GM_KEY);

    reservesMinted = true;
  }

  function setPresaleActive(bool _active) external onlyOwner {
    presaleActive = _active;
  }

  function setMintActive(bool _active) external onlyOwner {
    mintActive = _active;
  }

  function setMerkleRoot(bytes32 MR) external onlyOwner {
    merkleroot = MR;
  }

  function setReveal(bool _reveal) external onlyOwner {
    reveal = _reveal;
  }

  function setWhitelistCap(uint256 _cap) external onlyOwner {
    MAX_GM_KEY_WHITELIST_CAP = _cap;
  }

  function setTokenBaseURI(string memory _baseURI) external onlyOwner {
    tokenBaseURI = _baseURI;
  }

  function tokenURI(uint256 _tokenId) override public view returns (string memory) {
    if (!reveal) {
      return string(abi.encodePacked(tokenBaseURI));
    }

    require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");

    return string(abi.encodePacked(tokenBaseURI, _tokenId.toString()));
  }

  /**************
   * Withdrawal *
   **************/

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

  /************
   * Security *
   ************/

  function verifyMerkleProof(bytes32 leaf, bytes32[] memory _merkleProof) private view returns(bool) {
    return MerkleProof.verify(_merkleProof, merkleroot, leaf);
  }
}

File 2 of 17 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 3 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 17 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

File 6 of 17 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 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 7 of 17 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Assumes the number of issuable tokens (collection size) is capped and fits in a uint128.
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable collectionSize;
  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // 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
   * `maxBatchSize` refers to how much a minter can mint at a time.
   * `collectionSize_` refers to how many tokens are in the collection.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    uint256 collectionSize_
  ) {
    require(
      collectionSize_ > 0,
      "ERC721A: collection must have a nonzero supply"
    );
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
    collectionSize = collectionSize_;
  }

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

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

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(collectionSize). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

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

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @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 override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

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

    _approve(to, tokenId, owner);
  }

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

    return _tokenApprovals[tokenId];
  }

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

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

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

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

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - there must be `quantity` tokens remaining unminted in the total collection.
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * 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
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > collectionSize - 1) {
      endIndex = collectionSize - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @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(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * 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`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 10 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

File 12 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 16 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_maxGMKeyPerPurchase","type":"uint256"}],"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":"GM_KEY_PRESALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GM_KEY_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GM_KEY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GM_KEY_PER_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_GM_KEY_WHITELIST_CAP","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESERVED_GM_KEY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleroot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintReservedGMKey","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"uint256","name":"_quantity","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reservesMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"MR","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_active","type":"bool"}],"name":"setPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"setReveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setTokenBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cap","type":"uint256"}],"name":"setWhitelistCap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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"}]

60c06040526000805560006007556007600a556001600b556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff0219169083151502179055506000600e60026101000a81548160ff0219169083151502179055506000600e60036101000a81548160ff0219169083151502179055503480156200009057600080fd5b5060405162005ad138038062005ad18339818101604052810190620000b69190620003e5565b6040518060400160405280600681526020017f474d204b657900000000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f474d4b000000000000000000000000000000000000000000000000000000000081525082610309600081116200016c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000163906200049e565b60405180910390fd5b60008211620001b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001a99062000536565b60405180910390fd5b8360019080519060200190620001ca929190620002f5565b508260029080519060200190620001e3929190620002f5565b508160a08181525050806080818152505050505050620002186200020c6200022760201b60201c565b6200022f60201b60201c565b600160098190555050620005bc565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003039062000587565b90600052602060002090601f01602090048101928262000327576000855562000373565b82601f106200034257805160ff191683800117855562000373565b8280016001018555821562000373579182015b828111156200037257825182559160200191906001019062000355565b5b50905062000382919062000386565b5090565b5b80821115620003a157600081600090555060010162000387565b5090565b600080fd5b6000819050919050565b620003bf81620003aa565b8114620003cb57600080fd5b50565b600081519050620003df81620003b4565b92915050565b600060208284031215620003fe57620003fd620003a5565b5b60006200040e84828501620003ce565b91505092915050565b600082825260208201905092915050565b7f455243373231413a20636f6c6c656374696f6e206d757374206861766520612060008201527f6e6f6e7a65726f20737570706c79000000000000000000000000000000000000602082015250565b600062000486602e8362000417565b9150620004938262000428565b604082019050919050565b60006020820190508181036000830152620004b98162000477565b9050919050565b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b60006200051e60278362000417565b91506200052b82620004c0565b604082019050919050565b6000602082019050818103600083015262000551816200050f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620005a057607f821691505b602082108103620005b657620005b562000558565b5b50919050565b60805160a0516154e4620005ed6000396000818161290e015281816129370152612f410152600050506154e46000f3fe6080604052600436106102515760003560e01c8063715018a611610139578063a475b5dd116100b6578063cc41d7951161007a578063cc41d79514610881578063d7224ba0146108ac578063e3e1e8ef146108d7578063e985e9c5146108f3578063ee1cc94414610930578063f2fde38b1461095957610251565b8063a475b5dd1461079a578063b2db56a2146107c5578063b6c7ecf5146107f0578063b88d4fde1461081b578063c87b56dd1461084457610251565b80638da5cb5b116100fd5780638da5cb5b146106c95780638ef79e91146106f457806395d89b411461071d578063a20e0bca14610748578063a22cb4651461077157610251565b8063715018a614610608578063728efc281461061f578063773406af1461064a5780637cb647591461067557806386c7a2a61461069e57610251565b80632f745c59116101d25780634e99b800116101965780634e99b800146104d05780634f6ccce7146104fb57806353135ca0146105385780636352211e146105635780636aad3206146105a057806370a08231146105cb57610251565b80632f745c59146103ff5780633ccfd60b1461043c5780633f8121a21461045357806342842e0e1461047c5780634862d9e4146104a557610251565b8063181ce98f11610219578063181ce98f1461034f57806323b872dd1461036657806325fd90f31461038f5780632a3f300c146103ba5780632db11544146103e357610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806318160ddd14610324575b600080fd5b34801561026257600080fd5b5061027d6004803603810190610278919061357a565b610982565b60405161028a91906135c2565b60405180910390f35b34801561029f57600080fd5b506102a8610acc565b6040516102b59190613676565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e091906136ce565b610b5e565b6040516102f2919061373c565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613783565b610be3565b005b34801561033057600080fd5b50610339610cfb565b60405161034691906137d2565b60405180910390f35b34801561035b57600080fd5b50610364610d04565b005b34801561037257600080fd5b5061038d600480360381019061038891906137ed565b610e57565b005b34801561039b57600080fd5b506103a4610e67565b6040516103b191906135c2565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc919061386c565b610e7a565b005b6103fd60048036038101906103f891906136ce565b610f13565b005b34801561040b57600080fd5b5061042660048036038101906104219190613783565b611010565b60405161043391906137d2565b60405180910390f35b34801561044857600080fd5b5061045161120c565b005b34801561045f57600080fd5b5061047a6004803603810190610475919061386c565b6112d7565b005b34801561048857600080fd5b506104a3600480360381019061049e91906137ed565b611370565b005b3480156104b157600080fd5b506104ba611390565b6040516104c791906137d2565b60405180910390f35b3480156104dc57600080fd5b506104e5611396565b6040516104f29190613676565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906136ce565b611424565b60405161052f91906137d2565b60405180910390f35b34801561054457600080fd5b5061054d611477565b60405161055a91906135c2565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906136ce565b61148a565b604051610597919061373c565b60405180910390f35b3480156105ac57600080fd5b506105b56114a0565b6040516105c291906137d2565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190613899565b6114ab565b6040516105ff91906137d2565b60405180910390f35b34801561061457600080fd5b5061061d611593565b005b34801561062b57600080fd5b5061063461161b565b60405161064191906137d2565b60405180910390f35b34801561065657600080fd5b5061065f611621565b60405161066c91906137d2565b60405180910390f35b34801561068157600080fd5b5061069c600480360381019061069791906138fc565b611626565b005b3480156106aa57600080fd5b506106b36116ac565b6040516106c091906137d2565b60405180910390f35b3480156106d557600080fd5b506106de6116b2565b6040516106eb919061373c565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613a5e565b6116dc565b005b34801561072957600080fd5b50610732611772565b60405161073f9190613676565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a91906136ce565b611804565b005b34801561077d57600080fd5b5061079860048036038101906107939190613aa7565b61188a565b005b3480156107a657600080fd5b506107af611a0a565b6040516107bc91906135c2565b60405180910390f35b3480156107d157600080fd5b506107da611a1d565b6040516107e791906137d2565b60405180910390f35b3480156107fc57600080fd5b50610805611a29565b6040516108129190613af6565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613bb2565b611a2f565b005b34801561085057600080fd5b5061086b600480360381019061086691906136ce565b611a8b565b6040516108789190613676565b60405180910390f35b34801561088d57600080fd5b50610896611b44565b6040516108a391906135c2565b60405180910390f35b3480156108b857600080fd5b506108c1611b57565b6040516108ce91906137d2565b60405180910390f35b6108f160048036038101906108ec9190613c95565b611b5d565b005b3480156108ff57600080fd5b5061091a60048036038101906109159190613cf5565b611eb6565b60405161092791906135c2565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061386c565b611f4a565b005b34801561096557600080fd5b50610980600480360381019061097b9190613899565b611fe3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac55750610ac4826120da565b5b9050919050565b606060018054610adb90613d64565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0790613d64565b8015610b545780601f10610b2957610100808354040283529160200191610b54565b820191906000526020600020905b815481529060010190602001808311610b3757829003601f168201915b5050505050905090565b6000610b6982612144565b610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f90613e07565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bee8261148a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590613e99565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7d612151565b73ffffffffffffffffffffffffffffffffffffffff161480610cac5750610cab81610ca6612151565b611eb6565b5b610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce290613f2b565b60405180910390fd5b610cf6838383612159565b505050565b60008054905090565b610d0c612151565b73ffffffffffffffffffffffffffffffffffffffff16610d2a6116b2565b73ffffffffffffffffffffffffffffffffffffffff1614610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790613f97565b60405180910390fd5b600e60029054906101000a900460ff1615610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790614029565b60405180910390fd5b610309610dee601e610de0610cfb565b61220b90919063ffffffff16565b1115610e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e26906140bb565b60405180910390fd5b610e3a33601e612221565b6001600e60026101000a81548160ff021916908315150217905550565b610e6283838361223f565b505050565b600e60019054906101000a900460ff1681565b610e82612151565b73ffffffffffffffffffffffffffffffffffffffff16610ea06116b2565b73ffffffffffffffffffffffffffffffffffffffff1614610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90613f97565b60405180910390fd5b80600e60036101000a81548160ff02191690831515021790555050565b600e60019054906101000a900460ff16610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5990614127565b60405180910390fd5b600a54811115610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e906141b9565b60405180910390fd5b610fc2816701f161421c8e00006127f690919063ffffffff16565b341015611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb9061424b565b60405180910390fd5b61100d8161280c565b50565b600061101b836114ab565b821061105c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611053906142dd565b60405180910390fd5b6000611066610cfb565b905060008060005b838110156111ca576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461116057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111b6578684036111a7578195505050505050611206565b83806111b29061432c565b9450505b5080806111c29061432c565b91505061106e565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd906143e6565b60405180910390fd5b92915050565b611214612151565b73ffffffffffffffffffffffffffffffffffffffff166112326116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613f97565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112d3573d6000803e3d6000fd5b5050565b6112df612151565b73ffffffffffffffffffffffffffffffffffffffff166112fd6116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90613f97565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b61138b83838360405180602001604052806000815250611a2f565b505050565b61030981565b600d80546113a390613d64565b80601f01602080910402602001604051908101604052809291908181526020018280546113cf90613d64565b801561141c5780601f106113f15761010080835404028352916020019161141c565b820191906000526020600020905b8154815290600101906020018083116113ff57829003601f168201915b505050505081565b600061142e610cfb565b821061146f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146690614478565b60405180910390fd5b819050919050565b600e60009054906101000a900460ff1681565b6000611495826128ba565b600001519050919050565b66f8b0a10e47000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061450a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61159b612151565b73ffffffffffffffffffffffffffffffffffffffff166115b96116b2565b73ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690613f97565b60405180910390fd5b6116196000612abd565b565b600a5481565b601e81565b61162e612151565b73ffffffffffffffffffffffffffffffffffffffff1661164c6116b2565b73ffffffffffffffffffffffffffffffffffffffff16146116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990613f97565b60405180910390fd5b80600c8190555050565b600b5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116e4612151565b73ffffffffffffffffffffffffffffffffffffffff166117026116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f90613f97565b60405180910390fd5b80600d908051906020019061176e929190613431565b5050565b60606002805461178190613d64565b80601f01602080910402602001604051908101604052809291908181526020018280546117ad90613d64565b80156117fa5780601f106117cf576101008083540402835291602001916117fa565b820191906000526020600020905b8154815290600101906020018083116117dd57829003601f168201915b5050505050905090565b61180c612151565b73ffffffffffffffffffffffffffffffffffffffff1661182a6116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790613f97565b60405180910390fd5b80600b8190555050565b611892612151565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f690614576565b60405180910390fd5b806006600061190c612151565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119b9612151565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119fe91906135c2565b60405180910390a35050565b600e60039054906101000a900460ff1681565b6701f161421c8e000081565b600c5481565b611a3a84848461223f565b611a4684848484612b83565b611a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7c90614608565b60405180910390fd5b50505050565b6060600e60039054906101000a900460ff16611ac957600d604051602001611ab391906146c7565b6040516020818303038152906040529050611b3f565b611ad282612144565b611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614750565b60405180910390fd5b600d611b1c83612d0a565b604051602001611b2d9291906147a1565b60405160208183030381529060405290505b919050565b600e60029054906101000a900460ff1681565b60075481565b600260095403611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990614811565b60405180910390fd5b6002600981905550611c1b33604051602001611bbe9190614879565b60405160208183030381529060405280519060200120838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e6a565b611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c51906148e0565b60405180910390fd5b600e60009054906101000a900460ff16611ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca09061494c565b60405180910390fd5b600b54831115611cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce5906149de565b60405180910390fd5b611d088366f8b0a10e4700006127f690919063ffffffff16565b341015611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d419061424b565b60405180910390fd5b600b54611d9f84600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461220b90919063ffffffff16565b1115611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd790614a96565b60405180910390fd5b601e610309611def9190614ab6565b611e0984611dfb610cfb565b61220b90919063ffffffff16565b1115611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4190614b5c565b60405180910390fd5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e999190614b7c565b92505081905550611ea98361280c565b6001600981905550505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f52612151565b73ffffffffffffffffffffffffffffffffffffffff16611f706116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd90613f97565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b611feb612151565b73ffffffffffffffffffffffffffffffffffffffff166120096116b2565b73ffffffffffffffffffffffffffffffffffffffff161461205f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205690613f97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590614c44565b60405180910390fd5b6120d781612abd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600081836122199190614b7c565b905092915050565b61223b828260405180602001604052806000815250612e81565b5050565b600061224a826128ba565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612271612151565b73ffffffffffffffffffffffffffffffffffffffff1614806122cd5750612296612151565b73ffffffffffffffffffffffffffffffffffffffff166122b584610b5e565b73ffffffffffffffffffffffffffffffffffffffff16145b806122e957506122e882600001516122e3612151565b611eb6565b5b90508061232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614cd6565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490614d68565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390614dfa565b60405180910390fd5b612419858585600161335f565b6124296000848460000151612159565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166124979190614e36565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661253b9190614e6a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846126419190614b7c565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612786576126b681612144565b15612785576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127ee8686866001613365565b505050505050565b600081836128049190614eb0565b905092915050565b6000811161284f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284690614f7c565b60405180910390fd5b61030961286c8261285e610cfb565b61220b90919063ffffffff16565b11156128ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a49061500e565b60405180910390fd5b6128b73382612221565b50565b6128c26134b7565b6128cb82612144565b61290a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612901906150a0565b60405180910390fd5b60007f0000000000000000000000000000000000000000000000000000000000000000831061296e5760017f0000000000000000000000000000000000000000000000000000000000000000846129619190614ab6565b61296b9190614b7c565b90505b60008390505b818110612a7c576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a6857809350505050612ab8565b508080612a74906150c0565b915050612974565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aaf9061515b565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612ba48473ffffffffffffffffffffffffffffffffffffffff1661336b565b15612cfd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bcd612151565b8786866040518563ffffffff1660e01b8152600401612bef94939291906151d0565b6020604051808303816000875af1925050508015612c2b57506040513d601f19601f82011682018060405250810190612c289190615231565b60015b612cad573d8060008114612c5b576040519150601f19603f3d011682016040523d82523d6000602084013e612c60565b606091505b506000815103612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c90614608565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d02565b600190505b949350505050565b606060008203612d51576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e65565b600082905060005b60008214612d83578080612d6c9061432c565b915050600a82612d7c919061528d565b9150612d59565b60008167ffffffffffffffff811115612d9f57612d9e613933565b5b6040519080825280601f01601f191660200182016040528015612dd15781602001600182028036833780820191505090505b5090505b60008514612e5e57600182612dea9190614ab6565b9150600a85612df991906152be565b6030612e059190614b7c565b60f81b818381518110612e1b57612e1a6152ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e57919061528d565b9450612dd5565b8093505050505b919050565b6000612e7982600c548561338e565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eed90615390565b60405180910390fd5b612eff81612144565b15612f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f36906153fc565b60405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000831115612fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f999061548e565b60405180910390fd5b612faf600085838661335f565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516130ac9190614e6a565b6fffffffffffffffffffffffffffffffff1681526020018583602001516130d39190614e6a565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561334257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132e26000888488612b83565b613321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331890614608565b60405180910390fd5b818061332c9061432c565b925050808061333a9061432c565b915050613271565b50806000819055506133576000878588613365565b505050505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008261339b85846133a5565b1490509392505050565b60008082905060005b845181101561340f5760008582815181106133cc576133cb6152ef565b5b602002602001015190508083116133ee576133e7838261341a565b92506133fb565b6133f8818461341a565b92505b5080806134079061432c565b9150506133ae565b508091505092915050565b600082600052816020526040600020905092915050565b82805461343d90613d64565b90600052602060002090601f01602090048101928261345f57600085556134a6565b82601f1061347857805160ff19168380011785556134a6565b828001600101855582156134a6579182015b828111156134a557825182559160200191906001019061348a565b5b5090506134b391906134f1565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561350a5760008160009055506001016134f2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61355781613522565b811461356257600080fd5b50565b6000813590506135748161354e565b92915050565b6000602082840312156135905761358f613518565b5b600061359e84828501613565565b91505092915050565b60008115159050919050565b6135bc816135a7565b82525050565b60006020820190506135d760008301846135b3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136175780820151818401526020810190506135fc565b83811115613626576000848401525b50505050565b6000601f19601f8301169050919050565b6000613648826135dd565b61365281856135e8565b93506136628185602086016135f9565b61366b8161362c565b840191505092915050565b60006020820190508181036000830152613690818461363d565b905092915050565b6000819050919050565b6136ab81613698565b81146136b657600080fd5b50565b6000813590506136c8816136a2565b92915050565b6000602082840312156136e4576136e3613518565b5b60006136f2848285016136b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613726826136fb565b9050919050565b6137368161371b565b82525050565b6000602082019050613751600083018461372d565b92915050565b6137608161371b565b811461376b57600080fd5b50565b60008135905061377d81613757565b92915050565b6000806040838503121561379a57613799613518565b5b60006137a88582860161376e565b92505060206137b9858286016136b9565b9150509250929050565b6137cc81613698565b82525050565b60006020820190506137e760008301846137c3565b92915050565b60008060006060848603121561380657613805613518565b5b60006138148682870161376e565b93505060206138258682870161376e565b9250506040613836868287016136b9565b9150509250925092565b613849816135a7565b811461385457600080fd5b50565b60008135905061386681613840565b92915050565b60006020828403121561388257613881613518565b5b600061389084828501613857565b91505092915050565b6000602082840312156138af576138ae613518565b5b60006138bd8482850161376e565b91505092915050565b6000819050919050565b6138d9816138c6565b81146138e457600080fd5b50565b6000813590506138f6816138d0565b92915050565b60006020828403121561391257613911613518565b5b6000613920848285016138e7565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61396b8261362c565b810181811067ffffffffffffffff8211171561398a57613989613933565b5b80604052505050565b600061399d61350e565b90506139a98282613962565b919050565b600067ffffffffffffffff8211156139c9576139c8613933565b5b6139d28261362c565b9050602081019050919050565b82818337600083830152505050565b6000613a016139fc846139ae565b613993565b905082815260208101848484011115613a1d57613a1c61392e565b5b613a288482856139df565b509392505050565b600082601f830112613a4557613a44613929565b5b8135613a558482602086016139ee565b91505092915050565b600060208284031215613a7457613a73613518565b5b600082013567ffffffffffffffff811115613a9257613a9161351d565b5b613a9e84828501613a30565b91505092915050565b60008060408385031215613abe57613abd613518565b5b6000613acc8582860161376e565b9250506020613add85828601613857565b9150509250929050565b613af0816138c6565b82525050565b6000602082019050613b0b6000830184613ae7565b92915050565b600067ffffffffffffffff821115613b2c57613b2b613933565b5b613b358261362c565b9050602081019050919050565b6000613b55613b5084613b11565b613993565b905082815260208101848484011115613b7157613b7061392e565b5b613b7c8482856139df565b509392505050565b600082601f830112613b9957613b98613929565b5b8135613ba9848260208601613b42565b91505092915050565b60008060008060808587031215613bcc57613bcb613518565b5b6000613bda8782880161376e565b9450506020613beb8782880161376e565b9350506040613bfc878288016136b9565b925050606085013567ffffffffffffffff811115613c1d57613c1c61351d565b5b613c2987828801613b84565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613c5557613c54613929565b5b8235905067ffffffffffffffff811115613c7257613c71613c35565b5b602083019150836020820283011115613c8e57613c8d613c3a565b5b9250929050565b600080600060408486031215613cae57613cad613518565b5b6000613cbc868287016136b9565b935050602084013567ffffffffffffffff811115613cdd57613cdc61351d565b5b613ce986828701613c3f565b92509250509250925092565b60008060408385031215613d0c57613d0b613518565b5b6000613d1a8582860161376e565b9250506020613d2b8582860161376e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d7c57607f821691505b602082108103613d8f57613d8e613d35565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613df1602d836135e8565b9150613dfc82613d95565b604082019050919050565b60006020820190508181036000830152613e2081613de4565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e836022836135e8565b9150613e8e82613e27565b604082019050919050565b60006020820190508181036000830152613eb281613e76565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613f156039836135e8565b9150613f2082613eb9565b604082019050919050565b60006020820190508181036000830152613f4481613f08565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f816020836135e8565b9150613f8c82613f4b565b602082019050919050565b60006020820190508181036000830152613fb081613f74565b9050919050565b7f5265736572766573206861766520616c7265616479206265656e206d696e746560008201527f642e000000000000000000000000000000000000000000000000000000000000602082015250565b60006140136022836135e8565b915061401e82613fb7565b604082019050919050565b6000602082019050818103600083015261404281614006565b9050919050565b7f54686973206d696e7420776f756c6420657863656564206d617820737570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a56021836135e8565b91506140b082614049565b604082019050919050565b600060208201905081810360008301526140d481614098565b9050919050565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b60006141116013836135e8565b915061411c826140db565b602082019050919050565b6000602082019050818103600083015261414081614104565b9050919050565b7f5175616e74697479206973206d6f7265207468616e20616c6c6f77656420706560008201527f72207472616e73616374696f6e2e000000000000000000000000000000000000602082015250565b60006141a3602e836135e8565b91506141ae82614147565b604082019050919050565b600060208201905081810360008301526141d281614196565b9050919050565b7f5468652065746865722076616c75652073656e74206973206e6f7420636f727260008201527f6563740000000000000000000000000000000000000000000000000000000000602082015250565b60006142356023836135e8565b9150614240826141d9565b604082019050919050565b6000602082019050818103600083015261426481614228565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006142c76022836135e8565b91506142d28261426b565b604082019050919050565b600060208201905081810360008301526142f6816142ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061433782613698565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614369576143686142fd565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006143d0602e836135e8565b91506143db82614374565b604082019050919050565b600060208201905081810360008301526143ff816143c3565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b60006144626023836135e8565b915061446d82614406565b604082019050919050565b6000602082019050818103600083015261449181614455565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006144f4602b836135e8565b91506144ff82614498565b604082019050919050565b60006020820190508181036000830152614523816144e7565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614560601a836135e8565b915061456b8261452a565b602082019050919050565b6000602082019050818103600083015261458f81614553565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006145f26033836135e8565b91506145fd82614596565b604082019050919050565b60006020820190508181036000830152614621816145e5565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461465581613d64565b61465f8186614628565b9450600182166000811461467a576001811461468b576146be565b60ff198316865281860193506146be565b61469485614633565b60005b838110156146b657815481890152600182019150602081019050614697565b838801955050505b50505092915050565b60006146d38284614648565b915081905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061473a602f836135e8565b9150614745826146de565b604082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b600061477b826135dd565b6147858185614628565b93506147958185602086016135f9565b80840191505092915050565b60006147ad8285614648565b91506147b98284614770565b91508190509392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006147fb601f836135e8565b9150614806826147c5565b602082019050919050565b6000602082019050818103600083015261482a816147ee565b9050919050565b60008160601b9050919050565b600061484982614831565b9050919050565b600061485b8261483e565b9050919050565b61487361486e8261371b565b614850565b82525050565b60006148858284614862565b60148201915081905092915050565b7f496e76616c69642077686974656c697374207369676e61747572650000000000600082015250565b60006148ca601b836135e8565b91506148d582614894565b602082019050919050565b600060208201905081810360008301526148f9816148bd565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b60006149366015836135e8565b915061494182614900565b602082019050919050565b6000602082019050818103600083015261496581614929565b9050919050565b7f546869732069732061626f766520746865206d617820616c6c6f776564206d6960008201527f6e747320666f722070726573616c650000000000000000000000000000000000602082015250565b60006149c8602f836135e8565b91506149d38261496c565b604082019050919050565b600060208201905081810360008301526149f7816149bb565b9050919050565b7f5468697320707572636861736520776f756c642065786365656420746865206d60008201527f6178696d756d20796f752061726520616c6c6f77656420746f206d696e74206960208201527f6e207468652070726573616c6500000000000000000000000000000000000000604082015250565b6000614a80604d836135e8565b9150614a8b826149fe565b606082019050919050565b60006020820190508181036000830152614aaf81614a73565b9050919050565b6000614ac182613698565b9150614acc83613698565b925082821015614adf57614ade6142fd565b5b828203905092915050565b7f5468697320707572636861736520776f756c6420657863656564206d6178207360008201527f7570706c7920666f722070726573616c65000000000000000000000000000000602082015250565b6000614b466031836135e8565b9150614b5182614aea565b604082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b6000614b8782613698565b9150614b9283613698565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bc757614bc66142fd565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c2e6026836135e8565b9150614c3982614bd2565b604082019050919050565b60006020820190508181036000830152614c5d81614c21565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614cc06032836135e8565b9150614ccb82614c64565b604082019050919050565b60006020820190508181036000830152614cef81614cb3565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614d526026836135e8565b9150614d5d82614cf6565b604082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614de46025836135e8565b9150614def82614d88565b604082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000614e4182614e1a565b9150614e4c83614e1a565b925082821015614e5f57614e5e6142fd565b5b828203905092915050565b6000614e7582614e1a565b9150614e8083614e1a565b9250826fffffffffffffffffffffffffffffffff03821115614ea557614ea46142fd565b5b828201905092915050565b6000614ebb82613698565b9150614ec683613698565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614eff57614efe6142fd565b5b828202905092915050565b7f596f75206d757374206d696e74206174206c65617374203120676d206b65792060008201527f6e66740000000000000000000000000000000000000000000000000000000000602082015250565b6000614f666023836135e8565b9150614f7182614f0a565b604082019050919050565b60006020820190508181036000830152614f9581614f59565b9050919050565b7f5468697320707572636861736520776f756c6420657863656564206d6178207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b6000614ff86025836135e8565b915061500382614f9c565b604082019050919050565b6000602082019050818103600083015261502781614feb565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061508a602a836135e8565b91506150958261502e565b604082019050919050565b600060208201905081810360008301526150b98161507d565b9050919050565b60006150cb82613698565b9150600082036150de576150dd6142fd565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615145602f836135e8565b9150615150826150e9565b604082019050919050565b6000602082019050818103600083015261517481615138565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151a28261517b565b6151ac8185615186565b93506151bc8185602086016135f9565b6151c58161362c565b840191505092915050565b60006080820190506151e5600083018761372d565b6151f2602083018661372d565b6151ff60408301856137c3565b81810360608301526152118184615197565b905095945050505050565b60008151905061522b8161354e565b92915050565b60006020828403121561524757615246613518565b5b60006152558482850161521c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061529882613698565b91506152a383613698565b9250826152b3576152b261525e565b5b828204905092915050565b60006152c982613698565b91506152d483613698565b9250826152e4576152e361525e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061537a6021836135e8565b91506153858261531e565b604082019050919050565b600060208201905081810360008301526153a98161536d565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b60006153e6601d836135e8565b91506153f1826153b0565b602082019050919050565b60006020820190508181036000830152615415816153d9565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b60006154786022836135e8565b91506154838261541c565b604082019050919050565b600060208201905081810360008301526154a78161546b565b905091905056fea2646970667358221220f1d58b29c76a9c34a2fd34de88d395f2078fa753c98bf595a01f7ed6aa0955fe64736f6c634300080d0033000000000000000000000000000000000000000000000000000000000000001e

Deployed Bytecode

0x6080604052600436106102515760003560e01c8063715018a611610139578063a475b5dd116100b6578063cc41d7951161007a578063cc41d79514610881578063d7224ba0146108ac578063e3e1e8ef146108d7578063e985e9c5146108f3578063ee1cc94414610930578063f2fde38b1461095957610251565b8063a475b5dd1461079a578063b2db56a2146107c5578063b6c7ecf5146107f0578063b88d4fde1461081b578063c87b56dd1461084457610251565b80638da5cb5b116100fd5780638da5cb5b146106c95780638ef79e91146106f457806395d89b411461071d578063a20e0bca14610748578063a22cb4651461077157610251565b8063715018a614610608578063728efc281461061f578063773406af1461064a5780637cb647591461067557806386c7a2a61461069e57610251565b80632f745c59116101d25780634e99b800116101965780634e99b800146104d05780634f6ccce7146104fb57806353135ca0146105385780636352211e146105635780636aad3206146105a057806370a08231146105cb57610251565b80632f745c59146103ff5780633ccfd60b1461043c5780633f8121a21461045357806342842e0e1461047c5780634862d9e4146104a557610251565b8063181ce98f11610219578063181ce98f1461034f57806323b872dd1461036657806325fd90f31461038f5780632a3f300c146103ba5780632db11544146103e357610251565b806301ffc9a71461025657806306fdde0314610293578063081812fc146102be578063095ea7b3146102fb57806318160ddd14610324575b600080fd5b34801561026257600080fd5b5061027d6004803603810190610278919061357a565b610982565b60405161028a91906135c2565b60405180910390f35b34801561029f57600080fd5b506102a8610acc565b6040516102b59190613676565b60405180910390f35b3480156102ca57600080fd5b506102e560048036038101906102e091906136ce565b610b5e565b6040516102f2919061373c565b60405180910390f35b34801561030757600080fd5b50610322600480360381019061031d9190613783565b610be3565b005b34801561033057600080fd5b50610339610cfb565b60405161034691906137d2565b60405180910390f35b34801561035b57600080fd5b50610364610d04565b005b34801561037257600080fd5b5061038d600480360381019061038891906137ed565b610e57565b005b34801561039b57600080fd5b506103a4610e67565b6040516103b191906135c2565b60405180910390f35b3480156103c657600080fd5b506103e160048036038101906103dc919061386c565b610e7a565b005b6103fd60048036038101906103f891906136ce565b610f13565b005b34801561040b57600080fd5b5061042660048036038101906104219190613783565b611010565b60405161043391906137d2565b60405180910390f35b34801561044857600080fd5b5061045161120c565b005b34801561045f57600080fd5b5061047a6004803603810190610475919061386c565b6112d7565b005b34801561048857600080fd5b506104a3600480360381019061049e91906137ed565b611370565b005b3480156104b157600080fd5b506104ba611390565b6040516104c791906137d2565b60405180910390f35b3480156104dc57600080fd5b506104e5611396565b6040516104f29190613676565b60405180910390f35b34801561050757600080fd5b50610522600480360381019061051d91906136ce565b611424565b60405161052f91906137d2565b60405180910390f35b34801561054457600080fd5b5061054d611477565b60405161055a91906135c2565b60405180910390f35b34801561056f57600080fd5b5061058a600480360381019061058591906136ce565b61148a565b604051610597919061373c565b60405180910390f35b3480156105ac57600080fd5b506105b56114a0565b6040516105c291906137d2565b60405180910390f35b3480156105d757600080fd5b506105f260048036038101906105ed9190613899565b6114ab565b6040516105ff91906137d2565b60405180910390f35b34801561061457600080fd5b5061061d611593565b005b34801561062b57600080fd5b5061063461161b565b60405161064191906137d2565b60405180910390f35b34801561065657600080fd5b5061065f611621565b60405161066c91906137d2565b60405180910390f35b34801561068157600080fd5b5061069c600480360381019061069791906138fc565b611626565b005b3480156106aa57600080fd5b506106b36116ac565b6040516106c091906137d2565b60405180910390f35b3480156106d557600080fd5b506106de6116b2565b6040516106eb919061373c565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613a5e565b6116dc565b005b34801561072957600080fd5b50610732611772565b60405161073f9190613676565b60405180910390f35b34801561075457600080fd5b5061076f600480360381019061076a91906136ce565b611804565b005b34801561077d57600080fd5b5061079860048036038101906107939190613aa7565b61188a565b005b3480156107a657600080fd5b506107af611a0a565b6040516107bc91906135c2565b60405180910390f35b3480156107d157600080fd5b506107da611a1d565b6040516107e791906137d2565b60405180910390f35b3480156107fc57600080fd5b50610805611a29565b6040516108129190613af6565b60405180910390f35b34801561082757600080fd5b50610842600480360381019061083d9190613bb2565b611a2f565b005b34801561085057600080fd5b5061086b600480360381019061086691906136ce565b611a8b565b6040516108789190613676565b60405180910390f35b34801561088d57600080fd5b50610896611b44565b6040516108a391906135c2565b60405180910390f35b3480156108b857600080fd5b506108c1611b57565b6040516108ce91906137d2565b60405180910390f35b6108f160048036038101906108ec9190613c95565b611b5d565b005b3480156108ff57600080fd5b5061091a60048036038101906109159190613cf5565b611eb6565b60405161092791906135c2565b60405180910390f35b34801561093c57600080fd5b506109576004803603810190610952919061386c565b611f4a565b005b34801561096557600080fd5b50610980600480360381019061097b9190613899565b611fe3565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a4d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ab557507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610ac55750610ac4826120da565b5b9050919050565b606060018054610adb90613d64565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0790613d64565b8015610b545780601f10610b2957610100808354040283529160200191610b54565b820191906000526020600020905b815481529060010190602001808311610b3757829003601f168201915b5050505050905090565b6000610b6982612144565b610ba8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9f90613e07565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bee8261148a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610c5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5590613e99565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610c7d612151565b73ffffffffffffffffffffffffffffffffffffffff161480610cac5750610cab81610ca6612151565b611eb6565b5b610ceb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce290613f2b565b60405180910390fd5b610cf6838383612159565b505050565b60008054905090565b610d0c612151565b73ffffffffffffffffffffffffffffffffffffffff16610d2a6116b2565b73ffffffffffffffffffffffffffffffffffffffff1614610d80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7790613f97565b60405180910390fd5b600e60029054906101000a900460ff1615610dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc790614029565b60405180910390fd5b610309610dee601e610de0610cfb565b61220b90919063ffffffff16565b1115610e2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e26906140bb565b60405180910390fd5b610e3a33601e612221565b6001600e60026101000a81548160ff021916908315150217905550565b610e6283838361223f565b505050565b600e60019054906101000a900460ff1681565b610e82612151565b73ffffffffffffffffffffffffffffffffffffffff16610ea06116b2565b73ffffffffffffffffffffffffffffffffffffffff1614610ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eed90613f97565b60405180910390fd5b80600e60036101000a81548160ff02191690831515021790555050565b600e60019054906101000a900460ff16610f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5990614127565b60405180910390fd5b600a54811115610fa7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9e906141b9565b60405180910390fd5b610fc2816701f161421c8e00006127f690919063ffffffff16565b341015611004576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffb9061424b565b60405180910390fd5b61100d8161280c565b50565b600061101b836114ab565b821061105c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611053906142dd565b60405180910390fd5b6000611066610cfb565b905060008060005b838110156111ca576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461116057806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036111b6578684036111a7578195505050505050611206565b83806111b29061432c565b9450505b5080806111c29061432c565b91505061106e565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111fd906143e6565b60405180910390fd5b92915050565b611214612151565b73ffffffffffffffffffffffffffffffffffffffff166112326116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161127f90613f97565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156112d3573d6000803e3d6000fd5b5050565b6112df612151565b73ffffffffffffffffffffffffffffffffffffffff166112fd6116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611353576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134a90613f97565b60405180910390fd5b80600e60006101000a81548160ff02191690831515021790555050565b61138b83838360405180602001604052806000815250611a2f565b505050565b61030981565b600d80546113a390613d64565b80601f01602080910402602001604051908101604052809291908181526020018280546113cf90613d64565b801561141c5780601f106113f15761010080835404028352916020019161141c565b820191906000526020600020905b8154815290600101906020018083116113ff57829003601f168201915b505050505081565b600061142e610cfb565b821061146f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146690614478565b60405180910390fd5b819050919050565b600e60009054906101000a900460ff1681565b6000611495826128ba565b600001519050919050565b66f8b0a10e47000081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361151b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115129061450a565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61159b612151565b73ffffffffffffffffffffffffffffffffffffffff166115b96116b2565b73ffffffffffffffffffffffffffffffffffffffff161461160f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160690613f97565b60405180910390fd5b6116196000612abd565b565b600a5481565b601e81565b61162e612151565b73ffffffffffffffffffffffffffffffffffffffff1661164c6116b2565b73ffffffffffffffffffffffffffffffffffffffff16146116a2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169990613f97565b60405180910390fd5b80600c8190555050565b600b5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6116e4612151565b73ffffffffffffffffffffffffffffffffffffffff166117026116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611758576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174f90613f97565b60405180910390fd5b80600d908051906020019061176e929190613431565b5050565b60606002805461178190613d64565b80601f01602080910402602001604051908101604052809291908181526020018280546117ad90613d64565b80156117fa5780601f106117cf576101008083540402835291602001916117fa565b820191906000526020600020905b8154815290600101906020018083116117dd57829003601f168201915b5050505050905090565b61180c612151565b73ffffffffffffffffffffffffffffffffffffffff1661182a6116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611880576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187790613f97565b60405180910390fd5b80600b8190555050565b611892612151565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036118ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f690614576565b60405180910390fd5b806006600061190c612151565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119b9612151565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119fe91906135c2565b60405180910390a35050565b600e60039054906101000a900460ff1681565b6701f161421c8e000081565b600c5481565b611a3a84848461223f565b611a4684848484612b83565b611a85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a7c90614608565b60405180910390fd5b50505050565b6060600e60039054906101000a900460ff16611ac957600d604051602001611ab391906146c7565b6040516020818303038152906040529050611b3f565b611ad282612144565b611b11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0890614750565b60405180910390fd5b600d611b1c83612d0a565b604051602001611b2d9291906147a1565b60405160208183030381529060405290505b919050565b600e60029054906101000a900460ff1681565b60075481565b600260095403611ba2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9990614811565b60405180910390fd5b6002600981905550611c1b33604051602001611bbe9190614879565b60405160208183030381529060405280519060200120838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050612e6a565b611c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c51906148e0565b60405180910390fd5b600e60009054906101000a900460ff16611ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca09061494c565b60405180910390fd5b600b54831115611cee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ce5906149de565b60405180910390fd5b611d088366f8b0a10e4700006127f690919063ffffffff16565b341015611d4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d419061424b565b60405180910390fd5b600b54611d9f84600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461220b90919063ffffffff16565b1115611de0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd790614a96565b60405180910390fd5b601e610309611def9190614ab6565b611e0984611dfb610cfb565b61220b90919063ffffffff16565b1115611e4a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4190614b5c565b60405180910390fd5b82600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e999190614b7c565b92505081905550611ea98361280c565b6001600981905550505050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611f52612151565b73ffffffffffffffffffffffffffffffffffffffff16611f706116b2565b73ffffffffffffffffffffffffffffffffffffffff1614611fc6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fbd90613f97565b60405180910390fd5b80600e60016101000a81548160ff02191690831515021790555050565b611feb612151565b73ffffffffffffffffffffffffffffffffffffffff166120096116b2565b73ffffffffffffffffffffffffffffffffffffffff161461205f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161205690613f97565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036120ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120c590614c44565b60405180910390fd5b6120d781612abd565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600081836122199190614b7c565b905092915050565b61223b828260405180602001604052806000815250612e81565b5050565b600061224a826128ba565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612271612151565b73ffffffffffffffffffffffffffffffffffffffff1614806122cd5750612296612151565b73ffffffffffffffffffffffffffffffffffffffff166122b584610b5e565b73ffffffffffffffffffffffffffffffffffffffff16145b806122e957506122e882600001516122e3612151565b611eb6565b5b90508061232b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232290614cd6565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff161461239d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239490614d68565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361240c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161240390614dfa565b60405180910390fd5b612419858585600161335f565b6124296000848460000151612159565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166124979190614e36565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff1661253b9190614e6a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555090505060006001846126419190614b7c565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603612786576126b681612144565b15612785576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127ee8686866001613365565b505050505050565b600081836128049190614eb0565b905092915050565b6000811161284f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161284690614f7c565b60405180910390fd5b61030961286c8261285e610cfb565b61220b90919063ffffffff16565b11156128ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128a49061500e565b60405180910390fd5b6128b73382612221565b50565b6128c26134b7565b6128cb82612144565b61290a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612901906150a0565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000001e831061296e5760017f000000000000000000000000000000000000000000000000000000000000001e846129619190614ab6565b61296b9190614b7c565b90505b60008390505b818110612a7c576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612a6857809350505050612ab8565b508080612a74906150c0565b915050612974565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aaf9061515b565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612ba48473ffffffffffffffffffffffffffffffffffffffff1661336b565b15612cfd578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612bcd612151565b8786866040518563ffffffff1660e01b8152600401612bef94939291906151d0565b6020604051808303816000875af1925050508015612c2b57506040513d601f19601f82011682018060405250810190612c289190615231565b60015b612cad573d8060008114612c5b576040519150601f19603f3d011682016040523d82523d6000602084013e612c60565b606091505b506000815103612ca5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c9c90614608565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612d02565b600190505b949350505050565b606060008203612d51576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e65565b600082905060005b60008214612d83578080612d6c9061432c565b915050600a82612d7c919061528d565b9150612d59565b60008167ffffffffffffffff811115612d9f57612d9e613933565b5b6040519080825280601f01601f191660200182016040528015612dd15781602001600182028036833780820191505090505b5090505b60008514612e5e57600182612dea9190614ab6565b9150600a85612df991906152be565b6030612e059190614b7c565b60f81b818381518110612e1b57612e1a6152ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e57919061528d565b9450612dd5565b8093505050505b919050565b6000612e7982600c548561338e565b905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eed90615390565b60405180910390fd5b612eff81612144565b15612f3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f36906153fc565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000001e831115612fa2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f999061548e565b60405180910390fd5b612faf600085838661335f565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516130ac9190614e6a565b6fffffffffffffffffffffffffffffffff1681526020018583602001516130d39190614e6a565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561334257818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132e26000888488612b83565b613321576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331890614608565b60405180910390fd5b818061332c9061432c565b925050808061333a9061432c565b915050613271565b50806000819055506133576000878588613365565b505050505050565b50505050565b50505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008261339b85846133a5565b1490509392505050565b60008082905060005b845181101561340f5760008582815181106133cc576133cb6152ef565b5b602002602001015190508083116133ee576133e7838261341a565b92506133fb565b6133f8818461341a565b92505b5080806134079061432c565b9150506133ae565b508091505092915050565b600082600052816020526040600020905092915050565b82805461343d90613d64565b90600052602060002090601f01602090048101928261345f57600085556134a6565b82601f1061347857805160ff19168380011785556134a6565b828001600101855582156134a6579182015b828111156134a557825182559160200191906001019061348a565b5b5090506134b391906134f1565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b8082111561350a5760008160009055506001016134f2565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61355781613522565b811461356257600080fd5b50565b6000813590506135748161354e565b92915050565b6000602082840312156135905761358f613518565b5b600061359e84828501613565565b91505092915050565b60008115159050919050565b6135bc816135a7565b82525050565b60006020820190506135d760008301846135b3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156136175780820151818401526020810190506135fc565b83811115613626576000848401525b50505050565b6000601f19601f8301169050919050565b6000613648826135dd565b61365281856135e8565b93506136628185602086016135f9565b61366b8161362c565b840191505092915050565b60006020820190508181036000830152613690818461363d565b905092915050565b6000819050919050565b6136ab81613698565b81146136b657600080fd5b50565b6000813590506136c8816136a2565b92915050565b6000602082840312156136e4576136e3613518565b5b60006136f2848285016136b9565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613726826136fb565b9050919050565b6137368161371b565b82525050565b6000602082019050613751600083018461372d565b92915050565b6137608161371b565b811461376b57600080fd5b50565b60008135905061377d81613757565b92915050565b6000806040838503121561379a57613799613518565b5b60006137a88582860161376e565b92505060206137b9858286016136b9565b9150509250929050565b6137cc81613698565b82525050565b60006020820190506137e760008301846137c3565b92915050565b60008060006060848603121561380657613805613518565b5b60006138148682870161376e565b93505060206138258682870161376e565b9250506040613836868287016136b9565b9150509250925092565b613849816135a7565b811461385457600080fd5b50565b60008135905061386681613840565b92915050565b60006020828403121561388257613881613518565b5b600061389084828501613857565b91505092915050565b6000602082840312156138af576138ae613518565b5b60006138bd8482850161376e565b91505092915050565b6000819050919050565b6138d9816138c6565b81146138e457600080fd5b50565b6000813590506138f6816138d0565b92915050565b60006020828403121561391257613911613518565b5b6000613920848285016138e7565b91505092915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61396b8261362c565b810181811067ffffffffffffffff8211171561398a57613989613933565b5b80604052505050565b600061399d61350e565b90506139a98282613962565b919050565b600067ffffffffffffffff8211156139c9576139c8613933565b5b6139d28261362c565b9050602081019050919050565b82818337600083830152505050565b6000613a016139fc846139ae565b613993565b905082815260208101848484011115613a1d57613a1c61392e565b5b613a288482856139df565b509392505050565b600082601f830112613a4557613a44613929565b5b8135613a558482602086016139ee565b91505092915050565b600060208284031215613a7457613a73613518565b5b600082013567ffffffffffffffff811115613a9257613a9161351d565b5b613a9e84828501613a30565b91505092915050565b60008060408385031215613abe57613abd613518565b5b6000613acc8582860161376e565b9250506020613add85828601613857565b9150509250929050565b613af0816138c6565b82525050565b6000602082019050613b0b6000830184613ae7565b92915050565b600067ffffffffffffffff821115613b2c57613b2b613933565b5b613b358261362c565b9050602081019050919050565b6000613b55613b5084613b11565b613993565b905082815260208101848484011115613b7157613b7061392e565b5b613b7c8482856139df565b509392505050565b600082601f830112613b9957613b98613929565b5b8135613ba9848260208601613b42565b91505092915050565b60008060008060808587031215613bcc57613bcb613518565b5b6000613bda8782880161376e565b9450506020613beb8782880161376e565b9350506040613bfc878288016136b9565b925050606085013567ffffffffffffffff811115613c1d57613c1c61351d565b5b613c2987828801613b84565b91505092959194509250565b600080fd5b600080fd5b60008083601f840112613c5557613c54613929565b5b8235905067ffffffffffffffff811115613c7257613c71613c35565b5b602083019150836020820283011115613c8e57613c8d613c3a565b5b9250929050565b600080600060408486031215613cae57613cad613518565b5b6000613cbc868287016136b9565b935050602084013567ffffffffffffffff811115613cdd57613cdc61351d565b5b613ce986828701613c3f565b92509250509250925092565b60008060408385031215613d0c57613d0b613518565b5b6000613d1a8582860161376e565b9250506020613d2b8582860161376e565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613d7c57607f821691505b602082108103613d8f57613d8e613d35565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b6000613df1602d836135e8565b9150613dfc82613d95565b604082019050919050565b60006020820190508181036000830152613e2081613de4565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b6000613e836022836135e8565b9150613e8e82613e27565b604082019050919050565b60006020820190508181036000830152613eb281613e76565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b6000613f156039836135e8565b9150613f2082613eb9565b604082019050919050565b60006020820190508181036000830152613f4481613f08565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613f816020836135e8565b9150613f8c82613f4b565b602082019050919050565b60006020820190508181036000830152613fb081613f74565b9050919050565b7f5265736572766573206861766520616c7265616479206265656e206d696e746560008201527f642e000000000000000000000000000000000000000000000000000000000000602082015250565b60006140136022836135e8565b915061401e82613fb7565b604082019050919050565b6000602082019050818103600083015261404281614006565b9050919050565b7f54686973206d696e7420776f756c6420657863656564206d617820737570706c60008201527f7900000000000000000000000000000000000000000000000000000000000000602082015250565b60006140a56021836135e8565b91506140b082614049565b604082019050919050565b600060208201905081810360008301526140d481614098565b9050919050565b7f53616c65206973206e6f74206163746976652e00000000000000000000000000600082015250565b60006141116013836135e8565b915061411c826140db565b602082019050919050565b6000602082019050818103600083015261414081614104565b9050919050565b7f5175616e74697479206973206d6f7265207468616e20616c6c6f77656420706560008201527f72207472616e73616374696f6e2e000000000000000000000000000000000000602082015250565b60006141a3602e836135e8565b91506141ae82614147565b604082019050919050565b600060208201905081810360008301526141d281614196565b9050919050565b7f5468652065746865722076616c75652073656e74206973206e6f7420636f727260008201527f6563740000000000000000000000000000000000000000000000000000000000602082015250565b60006142356023836135e8565b9150614240826141d9565b604082019050919050565b6000602082019050818103600083015261426481614228565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006142c76022836135e8565b91506142d28261426b565b604082019050919050565b600060208201905081810360008301526142f6816142ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061433782613698565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614369576143686142fd565b5b600182019050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b60006143d0602e836135e8565b91506143db82614374565b604082019050919050565b600060208201905081810360008301526143ff816143c3565b9050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b60006144626023836135e8565b915061446d82614406565b604082019050919050565b6000602082019050818103600083015261449181614455565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b60006144f4602b836135e8565b91506144ff82614498565b604082019050919050565b60006020820190508181036000830152614523816144e7565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000614560601a836135e8565b915061456b8261452a565b602082019050919050565b6000602082019050818103600083015261458f81614553565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b60006145f26033836135e8565b91506145fd82614596565b604082019050919050565b60006020820190508181036000830152614621816145e5565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b6000815461465581613d64565b61465f8186614628565b9450600182166000811461467a576001811461468b576146be565b60ff198316865281860193506146be565b61469485614633565b60005b838110156146b657815481890152600182019150602081019050614697565b838801955050505b50505092915050565b60006146d38284614648565b915081905092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061473a602f836135e8565b9150614745826146de565b604082019050919050565b600060208201905081810360008301526147698161472d565b9050919050565b600061477b826135dd565b6147858185614628565b93506147958185602086016135f9565b80840191505092915050565b60006147ad8285614648565b91506147b98284614770565b91508190509392505050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006147fb601f836135e8565b9150614806826147c5565b602082019050919050565b6000602082019050818103600083015261482a816147ee565b9050919050565b60008160601b9050919050565b600061484982614831565b9050919050565b600061485b8261483e565b9050919050565b61487361486e8261371b565b614850565b82525050565b60006148858284614862565b60148201915081905092915050565b7f496e76616c69642077686974656c697374207369676e61747572650000000000600082015250565b60006148ca601b836135e8565b91506148d582614894565b602082019050919050565b600060208201905081810360008301526148f9816148bd565b9050919050565b7f50726573616c65206973206e6f74206163746976650000000000000000000000600082015250565b60006149366015836135e8565b915061494182614900565b602082019050919050565b6000602082019050818103600083015261496581614929565b9050919050565b7f546869732069732061626f766520746865206d617820616c6c6f776564206d6960008201527f6e747320666f722070726573616c650000000000000000000000000000000000602082015250565b60006149c8602f836135e8565b91506149d38261496c565b604082019050919050565b600060208201905081810360008301526149f7816149bb565b9050919050565b7f5468697320707572636861736520776f756c642065786365656420746865206d60008201527f6178696d756d20796f752061726520616c6c6f77656420746f206d696e74206960208201527f6e207468652070726573616c6500000000000000000000000000000000000000604082015250565b6000614a80604d836135e8565b9150614a8b826149fe565b606082019050919050565b60006020820190508181036000830152614aaf81614a73565b9050919050565b6000614ac182613698565b9150614acc83613698565b925082821015614adf57614ade6142fd565b5b828203905092915050565b7f5468697320707572636861736520776f756c6420657863656564206d6178207360008201527f7570706c7920666f722070726573616c65000000000000000000000000000000602082015250565b6000614b466031836135e8565b9150614b5182614aea565b604082019050919050565b60006020820190508181036000830152614b7581614b39565b9050919050565b6000614b8782613698565b9150614b9283613698565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bc757614bc66142fd565b5b828201905092915050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c2e6026836135e8565b9150614c3982614bd2565b604082019050919050565b60006020820190508181036000830152614c5d81614c21565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000614cc06032836135e8565b9150614ccb82614c64565b604082019050919050565b60006020820190508181036000830152614cef81614cb3565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000614d526026836135e8565b9150614d5d82614cf6565b604082019050919050565b60006020820190508181036000830152614d8181614d45565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000614de46025836135e8565b9150614def82614d88565b604082019050919050565b60006020820190508181036000830152614e1381614dd7565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b6000614e4182614e1a565b9150614e4c83614e1a565b925082821015614e5f57614e5e6142fd565b5b828203905092915050565b6000614e7582614e1a565b9150614e8083614e1a565b9250826fffffffffffffffffffffffffffffffff03821115614ea557614ea46142fd565b5b828201905092915050565b6000614ebb82613698565b9150614ec683613698565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614eff57614efe6142fd565b5b828202905092915050565b7f596f75206d757374206d696e74206174206c65617374203120676d206b65792060008201527f6e66740000000000000000000000000000000000000000000000000000000000602082015250565b6000614f666023836135e8565b9150614f7182614f0a565b604082019050919050565b60006020820190508181036000830152614f9581614f59565b9050919050565b7f5468697320707572636861736520776f756c6420657863656564206d6178207360008201527f7570706c79000000000000000000000000000000000000000000000000000000602082015250565b6000614ff86025836135e8565b915061500382614f9c565b604082019050919050565b6000602082019050818103600083015261502781614feb565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b600061508a602a836135e8565b91506150958261502e565b604082019050919050565b600060208201905081810360008301526150b98161507d565b9050919050565b60006150cb82613698565b9150600082036150de576150dd6142fd565b5b600182039050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000615145602f836135e8565b9150615150826150e9565b604082019050919050565b6000602082019050818103600083015261517481615138565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151a28261517b565b6151ac8185615186565b93506151bc8185602086016135f9565b6151c58161362c565b840191505092915050565b60006080820190506151e5600083018761372d565b6151f2602083018661372d565b6151ff60408301856137c3565b81810360608301526152118184615197565b905095945050505050565b60008151905061522b8161354e565b92915050565b60006020828403121561524757615246613518565b5b60006152558482850161521c565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061529882613698565b91506152a383613698565b9250826152b3576152b261525e565b5b828204905092915050565b60006152c982613698565b91506152d483613698565b9250826152e4576152e361525e565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b600061537a6021836135e8565b91506153858261531e565b604082019050919050565b600060208201905081810360008301526153a98161536d565b9050919050565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b60006153e6601d836135e8565b91506153f1826153b0565b602082019050919050565b60006020820190508181036000830152615415816153d9565b9050919050565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b60006154786022836135e8565b91506154838261541c565b604082019050919050565b600060208201905081810360008301526154a78161546b565b905091905056fea2646970667358221220f1d58b29c76a9c34a2fd34de88d395f2078fa753c98bf595a01f7ed6aa0955fe64736f6c634300080d0033

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

000000000000000000000000000000000000000000000000000000000000001e

-----Decoded View---------------
Arg [0] : _maxGMKeyPerPurchase (uint256): 30

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000000000001e


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.