ETH Price: $3,607.66 (-4.05%)

Chillin Ape Surf Club (CASC)
 

Overview

TokenID

1165

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ChillinApeSurfClub

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 2000 runs

Other Settings:
byzantium EvmVersion
File 1 of 14 : ChillinApeSurfClub.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract ChillinApeSurfClub is ERC721, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint;

    Counters.Counter private _tokenIdCounter;
    uint public constant MAX_TOKENS = 2500;

    bool public revealed = false;
    string public notRevealedURI = 'https://api.chillinapesurfclub.com/tokens/0.json';
    string public baseURI = 'https://api.chillinapesurfclub.com/tokens/';
    string public baseExtension = '.json';

    bool public freeMintActive = false;
    mapping(address => uint) public freeWhitelist;

    bool public presaleMintActive = false;
    uint public presalePrice = 0.05 ether;
    uint public presaleMaxMint = 3;
    bytes32 public presaleWhitelist = 0x06cc5af35f40ebf87b2e70c0c7430a0ab2335be9ecd995b7cbef0c95337257ea;
    mapping(address => uint) public presaleClaimed;

    bool public publicMintActive = false;
    uint public publicPrice = 0.08 ether;
    uint public publicMaxMint = 5;

    mapping(address => bool) public owners;
    address[4] public withdrawAddresses = [
        0xE5D63D77E908Bf91F49C75A14F4437EA9c80d33c,
        0x391E02C23a04B59110Af9f0Cc446DF406A813934,
        0x62082343631C4aaED61FFEE138DE6750A5995e37,
        0xf1a314DB5e8361311624eb957042D82e2d4911c0
    ];
    uint[4] public withdrawPercentages = [2500, 2500, 2500, 2500];

    constructor() ERC721('Chillin Ape Surf Club', 'CASC') {
        owners[msg.sender] = true;
        owners[0xE5D63D77E908Bf91F49C75A14F4437EA9c80d33c] = true;
        owners[0x391E02C23a04B59110Af9f0Cc446DF406A813934] = true;
        owners[0x62082343631C4aaED61FFEE138DE6750A5995e37] = true;
    }


    // Owner methods.
    function safeMint(address to, uint _mintAmount) public onlyOwner {
        require(_mintAmount > 0, 'Invalid mint amount.');
        require(_mintAmount <= 50, 'Mint amount exceeded.');
        require(_tokenIdCounter.current() + _mintAmount < MAX_TOKENS, 'Max amount reached.');
        for (uint i = 1; i <= _mintAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(to, _tokenIdCounter.current());
        }
    }


    // Sales status methods.
    function setMintStatus(bool _freeMintActive, bool _presaleMintActive, bool _publicMintActive) public onlyOwners {
        freeMintActive = _freeMintActive;
        presaleMintActive = _presaleMintActive;
        publicMintActive = _publicMintActive;
    }

    function getMintStatus() external view returns (bool[3] memory) {
        return [freeMintActive, presaleMintActive, publicMintActive];
    }

    function setMintConditions(uint _presalePrice, uint _presaleMaxMint, uint _publicPrice, uint _publicMaxMint) public onlyOwner {
        presalePrice = _presalePrice;
        presaleMaxMint = _presaleMaxMint;
        publicPrice = _publicPrice;
        publicMaxMint = _publicMaxMint;
    }

    function getMintConditions() external view returns (uint[4] memory) {
        return [presalePrice, presaleMaxMint, publicPrice, publicMaxMint];
    }


    // Mint methods.
    function freeMint(uint _mintAmount) external {
        require(freeMintActive, 'Free mint is not active.');
        require(_mintAmount > 0, 'Invalid mint amount.');
        require(_mintAmount <= freeWhitelist[msg.sender], 'Mint amount exceeded.');
        require(_tokenIdCounter.current() + _mintAmount <= MAX_TOKENS, 'Max amount reached.');

        freeWhitelist[msg.sender] -= _mintAmount;
        for (uint i = 1; i <= _mintAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

    function presaleMint(bytes32[] calldata _proof, uint _mintAmount) external payable {
        require(presaleMintActive, 'Presale mint is not active.');
        require(_mintAmount > 0, 'Invalid mint amount.');
        require(_mintAmount + presaleClaimed[msg.sender] <= presaleMaxMint, 'Mint amount exceeded.');
        require(MerkleProof.verify(_proof, presaleWhitelist, keccak256(abi.encodePacked(msg.sender))), 'Invalid proof.');
        require(msg.value >= presalePrice * _mintAmount, 'Invalid price.');
        require(_tokenIdCounter.current() + _mintAmount <= MAX_TOKENS, 'Max amount reached.');

        presaleClaimed[msg.sender] += _mintAmount;
        for (uint i = 1; i <= _mintAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

    function publicMint(uint _mintAmount) external payable {
        require(publicMintActive, 'Public mint is not active.');
        require(_mintAmount > 0, 'Invalid mint amount.');
        require(_mintAmount <= publicMaxMint, 'Mint amount exceeded.');
        require(msg.value >= publicPrice * _mintAmount, 'Invalid price.');
        require(_tokenIdCounter.current() + _mintAmount <= MAX_TOKENS, 'Max amount reached.');

        for (uint i = 1; i <= _mintAmount; i++) {
            _tokenIdCounter.increment();
            _safeMint(msg.sender, _tokenIdCounter.current());
        }
    }

    function totalSupply() external view returns (uint) {
        return _tokenIdCounter.current();
    }

    // Lists methods.
    function addFreeWhitelist(address[] memory _users, uint[] memory _mints) external onlyOwner {
        require(_users.length > 0 && _users.length == _mints.length);
        for (uint i = 0; i < _users.length; i++) {
            freeWhitelist[_users[i]] = _mints[i];
        }
    }

    function removeFreeWhitelist(address[] memory _users) external onlyOwner {
        for (uint i = 0; i < _users.length; i++) {
            freeWhitelist[_users[i]] = 0;
        }
    }

    function availableFreeMints() external view returns (uint) {
        return freeWhitelist[msg.sender];
    }

    function setPresaleWhitelist(bytes32 _presaleWhitelist) external onlyOwner {
        presaleWhitelist = _presaleWhitelist;
    }

    function availablePresaleMints() external view returns (uint) {
        if (presaleClaimed[msg.sender] > presaleMaxMint) {
            return 0;
        }

        return presaleMaxMint - presaleClaimed[msg.sender];
    }

    // Token methods.
    function setRevealed(bool _revealed) external onlyOwner {
        revealed = _revealed;
    }

    function setNotRevealedURI(string calldata _notRevealedURI) external onlyOwner {
        notRevealedURI = _notRevealedURI;
    }

    function setBaseURI(string calldata _baseURI, string calldata _baseExtension) external onlyOwner {
        baseURI = _baseURI;
        baseExtension = _baseExtension;
    }

    function tokenURI(uint tokenId) public view override returns (string memory) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

        if (!revealed) {
            return notRevealedURI;
        }

        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString(), baseExtension)) : notRevealedURI;
    }

    function tokensOfOwner(address owner) external view returns(uint[] memory) {
        uint[] memory tokens = new uint[](balanceOf(owner));
        uint index = 0;
        for (uint i = 1; i <= _tokenIdCounter.current(); i++) {
            if (ownerOf(i) == owner) {
                tokens[index++] = i;
            }
        }

        return tokens;
    }


    // Withdraw methods.
    function withdraw() public onlyOwners {
        uint balance = address(this).balance;
        require(balance > 0, 'Insufficient funds.');
        for (uint i = 0; i < withdrawAddresses.length; i++) {
            _withdraw(withdrawAddresses[i], SafeMath.div(SafeMath.mul(balance, withdrawPercentages[i]), 10000));
        }
    }

    function _withdraw(address _addr, uint _amt) private {
        (bool success,) = _addr.call{value: _amt}('');
        require(success, 'Withdraw failed.');
    }

    function emergencyWithdraw() external onlyOwner {
        require(block.timestamp >= 1651276800, 'Emergency withdraw not yet available.');
        (bool success, ) = payable(msg.sender).call{value: address(this).balance}('');
        require(success, 'Withdraw failed.');
    }


    // Modifiers.
    modifier onlyOwners() {
        require(owners[msg.sender], 'Caller is not one of the owners');
        _;
    }
}

File 2 of 14 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

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

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

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

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

        _afterTokenTransfer(owner, address(0), tokenId);
    }

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"},{"internalType":"uint256[]","name":"_mints","type":"uint256[]"}],"name":"addFreeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableFreeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"availablePresaleMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"freeMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeWhitelist","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":[],"name":"getMintConditions","outputs":[{"internalType":"uint256[4]","name":"","type":"uint256[4]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getMintStatus","outputs":[{"internalType":"bool[3]","name":"","type":"bool[3]"}],"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":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"owners","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"presaleMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleWhitelist","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"removeFreeWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"safeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"string","name":"_baseExtension","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presalePrice","type":"uint256"},{"internalType":"uint256","name":"_presaleMaxMint","type":"uint256"},{"internalType":"uint256","name":"_publicPrice","type":"uint256"},{"internalType":"uint256","name":"_publicMaxMint","type":"uint256"}],"name":"setMintConditions","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_freeMintActive","type":"bool"},{"internalType":"bool","name":"_presaleMintActive","type":"bool"},{"internalType":"bool","name":"_publicMintActive","type":"bool"}],"name":"setMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_presaleWhitelist","type":"bytes32"}],"name":"setPresaleWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawPercentages","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

6008805460ff1916905560e060405260306080818152906200449c60a03980516200003391600991602090910190620003a1565b506040518060600160405280602a8152602001620044cc602a913980516200006491600a91602090910190620003a1565b506040805180820190915260058082527f2e6a736f6e0000000000000000000000000000000000000000000000000000006020909201918252620000ab91600b91620003a1565b50600c805460ff19908116909155600e80548216905566b1a2bc2ec50000600f5560036010557f06cc5af35f40ebf87b2e70c0c7430a0ab2335be9ecd995b7cbef0c95337257ea60115560138054909116905567011c37937e08000060145560056015556040805160808101825273e5d63d77e908bf91f49c75a14f4437ea9c80d33c815273391e02c23a04b59110af9f0cc446df406a81393460208201527362082343631c4aaed61ffee138de6750a5995e379181019190915273f1a314db5e8361311624eb957042d82e2d4911c060608201526200019090601790600462000430565b50604080516080810182526109c4808252602082018190529181018290526060810191909152620001c690601b9060046200047b565b50348015620001d457600080fd5b50604080518082018252601581527f4368696c6c696e20417065205375726620436c7562000000000000000000000060208083019182528351808501909452600484527f43415343000000000000000000000000000000000000000000000000000000009084015281519192916200024f91600091620003a1565b50805162000265906001906020840190620003a1565b50505062000294620002856200034b640100000000026401000000009004565b6401000000006200034f810204565b3360009081526016602052604081208054600160ff1991821681179092557f7312c8591be6ede1634ab0a8199ab9cccdede08a2421506a89f086ab426eab0180548216831790557f86b57a86eedad5f60a54977a7e8e7a70b1c72010fdbd4f3f689a79368828a95780548216831790557362082343631c4aaed61ffee138de6750a5995e379092527ff509e4c42de16906e242de0abcd1e5dff0d210f4189799e59bf718070364d28c80549092161790556200051e565b3390565b60068054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620003af90620004c9565b90600052602060002090601f016020900481019282620003d357600085556200041e565b82601f10620003ee57805160ff19168380011785556200041e565b828001600101855582156200041e579182015b828111156200041e57825182559160200191906001019062000401565b506200042c929150620004b2565b5090565b82600481019282156200041e579160200282015b828111156200041e5782518254600160a060020a031916600160a060020a0390911617825560209092019160019091019062000444565b82600481019282156200041e579160200282015b828111156200041e578251829061ffff169055916020019190600101906200048f565b5b808211156200042c5760008155600101620004b3565b600281046001821680620004de57607f821691505b60208210810362000518577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b613f6e806200052e6000396000f3fe608060405260043610610371576000357c01000000000000000000000000000000000000000000000000000000009004806372250380116101d8578063c668286211610114578063e4c6f228116100b2578063f2fde38b1161008c578063f2fde38b146109b9578063f47c84c5146109d9578063f9765bc1146109ef578063fde5f54814610a1c57600080fd5b8063e4c6f22814610923578063e985e9c514610943578063f2c4ce1e1461099957600080fd5b8063ced867d1116100ee578063ced867d1146108ac578063d86bed9b146108ce578063db2e21bc146108ee578063e0a808531461090357600080fd5b8063c66828621461085d578063c87b56dd14610872578063cb5bc2aa1461089257600080fd5b806395d89b4111610181578063a945bf801161015b578063a945bf80146107f7578063b67c25a31461080d578063b88d4fde14610827578063bd95a98c1461084757600080fd5b806395d89b41146107a2578063a1448194146107b7578063a22cb465146107d757600080fd5b80638da5cb5b116101b25780638da5cb5b1461073f578063941ada0e1461076a578063946ef42a1461078c57600080fd5b806372250380146106dd5780637c928fe9146106f25780638462151c1461071257600080fd5b8063305c7d4a116102b257806351830227116102505780636790a9de1161022a5780636790a9de146106735780636c0360eb1461069357806370a08231146106a8578063715018a6146106c857600080fd5b806351830227146106195780636352211e146106335780636356512d1461065357600080fd5b806342842e0e1161028c57806342842e0e146105a2578063445ed9e3146105c257806344bb8279146105d75780634ec64103146105f757600080fd5b8063305c7d4a146105575780633ccfd60b1461056d5780633f6a6e801461058257600080fd5b806309ec7ba91161031f57806318160ddd116102f957806318160ddd146104ef57806323b872dd146105045780632977d9f6146105245780632db115441461054457600080fd5b806309ec7ba9146104885780630f4ed54d146104a257806316d4e2b9146104cf57600080fd5b806306fdde031161035057806306fdde03146103ff578063081812fc14610421578063095ea7b31461046657600080fd5b80620e7fa81461037657806301ffc9a71461039f578063022914a7146103cf575b600080fd5b34801561038257600080fd5b5061038c600f5481565b6040519081526020015b60405180910390f35b3480156103ab57600080fd5b506103bf6103ba366004613565565b610a2f565b6040519015158152602001610396565b3480156103db57600080fd5b506103bf6103ea3660046135ab565b60166020526000908152604090205460ff1681565b34801561040b57600080fd5b50610414610b14565b604051610396919061361e565b34801561042d57600080fd5b5061044161043c366004613631565b610ba6565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610396565b34801561047257600080fd5b5061048661048136600461364a565b610c73565b005b34801561049457600080fd5b50600e546103bf9060ff1681565b3480156104ae57600080fd5b5061038c6104bd3660046135ab565b600d6020526000908152604090205481565b3480156104db57600080fd5b506104866104ea366004613767565b610ddb565b3480156104fb57600080fd5b5061038c610ecb565b34801561051057600080fd5b5061048661051f36600461379c565b610edb565b34801561053057600080fd5b5061048661053f3660046137d8565b610f6a565b610486610552366004613631565b610fed565b34801561056357600080fd5b5061038c60155481565b34801561057957600080fd5b50610486611207565b34801561058e57600080fd5b5061048661059d36600461380a565b61133f565b3480156105ae57600080fd5b506104866105bd36600461379c565b61145e565b3480156105ce57600080fd5b5061038c611479565b3480156105e357600080fd5b506104416105f2366004613631565b6114b7565b34801561060357600080fd5b50336000908152600d602052604090205461038c565b34801561062557600080fd5b506008546103bf9060ff1681565b34801561063f57600080fd5b5061044161064e366004613631565b6114e4565b34801561065f57600080fd5b5061048661066e3660046138d2565b611584565b34801561067f57600080fd5b5061048661068e36600461395e565b61161c565b34801561069f57600080fd5b506104146116ab565b3480156106b457600080fd5b5061038c6106c33660046135ab565b611739565b3480156106d457600080fd5b506104866117f5565b3480156106e957600080fd5b50610414611870565b3480156106fe57600080fd5b5061048661070d366004613631565b61187d565b34801561071e57600080fd5b5061073261072d3660046135ab565b611a5f565b60405161039691906139ca565b34801561074b57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff16610441565b34801561077657600080fd5b5061077f611b3f565b6040516103969190613a0e565b34801561079857600080fd5b5061038c60105481565b3480156107ae57600080fd5b50610414611b7a565b3480156107c357600080fd5b506104866107d236600461364a565b611b89565b3480156107e357600080fd5b506104866107f2366004613a41565b611d4c565b34801561080357600080fd5b5061038c60145481565b34801561081957600080fd5b506013546103bf9060ff1681565b34801561083357600080fd5b50610486610842366004613a74565b611d57565b34801561085357600080fd5b5061038c60115481565b34801561086957600080fd5b50610414611ded565b34801561087e57600080fd5b5061041461088d366004613631565b611dfa565b34801561089e57600080fd5b50600c546103bf9060ff1681565b3480156108b857600080fd5b506108c1612012565b6040516103969190613b34565b3480156108da57600080fd5b5061038c6108e9366004613631565b612048565b3480156108fa57600080fd5b5061048661205f565b34801561090f57600080fd5b5061048661091e366004613b5c565b6121f4565b34801561092f57600080fd5b5061048661093e366004613631565b612276565b34801561094f57600080fd5b506103bf61095e366004613b77565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109a557600080fd5b506104866109b4366004613ba1565b6122ea565b3480156109c557600080fd5b506104866109d43660046135ab565b612365565b3480156109e557600080fd5b5061038c6109c481565b3480156109fb57600080fd5b5061038c610a0a3660046135ab565b60126020526000908152604090205481565b610486610a2a366004613be3565b61246e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ac257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b0e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610b2390613c5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90613c5d565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610c4a57604051600080516020613f19833981519152815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610c7e826114e4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d2957604051600080516020613f19833981519152815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c41565b3373ffffffffffffffffffffffffffffffffffffffff82161480610d525750610d52813361095e565b610dcc57604051600080516020613f19833981519152815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c41565b610dd68383612787565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610e4a57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b60005b8151811015610ec7576000600d6000848481518110610e6e57610e6e613cb0565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610ebf90613d0e565b915050610e4d565b5050565b6000610ed660075490565b905090565b610ee5338261281c565b610f5f57604051600080516020613f19833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c41565b610dd683838361297a565b60065473ffffffffffffffffffffffffffffffffffffffff163314610fd957604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b600f93909355601091909155601455601555565b60135460ff1661104757604051600080516020613f19833981519152815260206004820152601a60248201527f5075626c6963206d696e74206973206e6f74206163746976652e0000000000006044820152606401610c41565b6000811161109f57604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b6015548111156110f957604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b806014546111079190613d28565b34101561115e57604051600080516020613f19833981519152815260206004820152600e60248201527f496e76616c69642070726963652e0000000000000000000000000000000000006044820152606401610c41565b6109c48161116b60075490565b6111759190613d47565b11156111cb57604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b60015b818111610ec7576111e3600780546001019055565b6111f5336111f060075490565b612bb2565b806111ff81613d0e565b9150506111ce565b3360009081526016602052604090205460ff1661126e57604051600080516020613f19833981519152815260206004820152601f60248201527f43616c6c6572206973206e6f74206f6e65206f6620746865206f776e657273006044820152606401610c41565b3031806112c557604051600080516020613f19833981519152815260206004820152601360248201527f496e73756666696369656e742066756e64732e000000000000000000000000006044820152606401610c41565b60005b6004811015610ec75761132d601782600481106112e7576112e7613cb0565b015473ffffffffffffffffffffffffffffffffffffffff1661132861132085601b866004811061131957611319613cb0565b0154612bcc565b612710612bdf565b612beb565b8061133781613d0e565b9150506112c8565b60065473ffffffffffffffffffffffffffffffffffffffff1633146113ae57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b600082511180156113c0575080518251145b6113c957600080fd5b60005b8251811015610dd6578181815181106113e7576113e7613cb0565b6020026020010151600d600085848151811061140557611405613cb0565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061145690613d0e565b9150506113cc565b610dd683838360405180602001604052806000815250611d57565b601054336000908152601260205260408120549091101561149a5750600090565b33600090815260126020526040902054601054610ed69190613d5f565b601781600481106114c757600080fd5b015473ffffffffffffffffffffffffffffffffffffffff16905081565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610b0e57604051600080516020613f19833981519152815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c41565b3360009081526016602052604090205460ff166115eb57604051600080516020613f19833981519152815260206004820152601f60248201527f43616c6c6572206973206e6f74206f6e65206f6620746865206f776e657273006044820152606401610c41565b600c805493151560ff19948516179055600e8054921515928416929092179091556013805491151591909216179055565b60065473ffffffffffffffffffffffffffffffffffffffff16331461168b57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b611697600a8585613462565b506116a4600b8383613462565b5050505050565b600a80546116b890613c5d565b80601f01602080910402602001604051908101604052809291908181526020018280546116e490613c5d565b80156117315780601f1061170657610100808354040283529160200191611731565b820191906000526020600020905b81548152906001019060200180831161171457829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82166117cc57604051600080516020613f19833981519152815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c41565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff16331461186457604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b61186e6000612ca3565b565b600980546116b890613c5d565b600c5460ff166118d757604051600080516020613f19833981519152815260206004820152601860248201527f46726565206d696e74206973206e6f74206163746976652e00000000000000006044820152606401610c41565b6000811161192f57604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b336000908152600d602052604090205481111561199657604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b6109c4816119a360075490565b6119ad9190613d47565b1115611a0357604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b336000908152600d602052604081208054839290611a22908490613d5f565b90915550600190505b818111610ec757611a40600780546001019055565b611a4d336111f060075490565b80611a5781613d0e565b915050611a2b565b60606000611a6c83611739565b67ffffffffffffffff811115611a8457611a84613674565b604051908082528060200260200182016040528015611aad578160200160208202803683370190505b509050600060015b6007548111611b36578473ffffffffffffffffffffffffffffffffffffffff16611ade826114e4565b73ffffffffffffffffffffffffffffffffffffffff1603611b2457808383611b0581613d0e565b945081518110611b1757611b17613cb0565b6020026020010181815250505b80611b2e81613d0e565b915050611ab5565b50909392505050565b611b476134e6565b5060408051606081018252600c5460ff90811615158252600e548116151560208301526013541615159181019190915290565b606060018054610b2390613c5d565b60065473ffffffffffffffffffffffffffffffffffffffff163314611bf857604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b60008111611c5057604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b6032811115611ca957604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b6109c481611cb660075490565b611cc09190613d47565b10611d1557604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b60015b818111610dd657611d2d600780546001019055565b611d3a836111f060075490565b80611d4481613d0e565b915050611d18565b610ec7338383612d0f565b611d61338361281c565b611ddb57604051600080516020613f19833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c41565b611de784848484612e0c565b50505050565b600b80546116b890613c5d565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611e9c57604051600080516020613f19833981519152815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c41565b60085460ff16611f385760098054611eb390613c5d565b80601f0160208091040260200160405190810160405280929190818152602001828054611edf90613c5d565b8015611f2c5780601f10611f0157610100808354040283529160200191611f2c565b820191906000526020600020905b815481529060010190602001808311611f0f57829003601f168201915b50505050509050919050565b6000600a8054611f4790613c5d565b905011611fde5760098054611f5b90613c5d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f8790613c5d565b8015611fd45780601f10611fa957610100808354040283529160200191611fd4565b820191906000526020600020905b815481529060010190602001808311611fb757829003601f168201915b5050505050610b0e565b600a611fe983612e9d565b600b604051602001611ffd93929190613e28565b60405160208183030381529060405292915050565b61201a613504565b6040518060800160405280600f54815260200160105481526020016014548152602001601554815250905090565b601b816004811061205857600080fd5b0154905081565b60065473ffffffffffffffffffffffffffffffffffffffff1633146120ce57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b63626c7c0042101561215057604051600080516020613f19833981519152815260206004820152602560248201527f456d657267656e6379207769746864726177206e6f742079657420617661696c60448201527f61626c652e0000000000000000000000000000000000000000000000000000006064820152608401610c41565b60405160009033903031908381818185875af1925050503d8060008114612193576040519150601f19603f3d011682016040523d82523d6000602084013e612198565b606091505b50509050806121f157604051600080516020613f19833981519152815260206004820152601060248201527f5769746864726177206661696c65642e000000000000000000000000000000006044820152606401610c41565b50565b60065473ffffffffffffffffffffffffffffffffffffffff16331461226357604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b6008805460ff1916911515919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff1633146122e557604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b601155565b60065473ffffffffffffffffffffffffffffffffffffffff16331461235957604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b610dd660098383613462565b60065473ffffffffffffffffffffffffffffffffffffffff1633146123d457604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b73ffffffffffffffffffffffffffffffffffffffff811661246557604051600080516020613f19833981519152815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c41565b6121f181612ca3565b600e5460ff166124c857604051600080516020613f19833981519152815260206004820152601b60248201527f50726573616c65206d696e74206973206e6f74206163746976652e00000000006044820152606401610c41565b6000811161252057604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b6010543360009081526012602052604090205461253d9083613d47565b111561259357604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b612605838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011546040516c0100000000000000000000000033026020820152909250603401905060405160208183030381529060405280519060200120612ff1565b61265957604051600080516020613f19833981519152815260206004820152600e60248201527f496e76616c69642070726f6f662e0000000000000000000000000000000000006044820152606401610c41565b80600f546126679190613d28565b3410156126be57604051600080516020613f19833981519152815260206004820152600e60248201527f496e76616c69642070726963652e0000000000000000000000000000000000006044820152606401610c41565b6109c4816126cb60075490565b6126d59190613d47565b111561272b57604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b336000908152601260205260408120805483929061274a908490613d47565b90915550600190505b818111611de757612768600780546001019055565b612775336111f060075490565b8061277f81613d0e565b915050612753565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff841690811790915581906127d6826114e4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166128bb57604051600080516020613f19833981519152815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c41565b60006128c6836114e4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061293557508373ffffffffffffffffffffffffffffffffffffffff1661291d84610ba6565b73ffffffffffffffffffffffffffffffffffffffff16145b80612972575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661299a826114e4565b73ffffffffffffffffffffffffffffffffffffffff1614612a2b57604051600080516020613f19833981519152815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610c41565b73ffffffffffffffffffffffffffffffffffffffff8216612abb57604051600080516020613f198339815191528152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c41565b612ac6600082612787565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612afc908490613d5f565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612b37908490613d47565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610ec7828260405180602001604052806000815250613007565b6000612bd88284613d28565b9392505050565b6000612bd88284613e8a565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612c45576040519150601f19603f3d011682016040523d82523d6000602084013e612c4a565b606091505b5050905080610dd657604051600080516020613f19833981519152815260206004820152601060248201527f5769746864726177206661696c65642e000000000000000000000000000000006044820152606401610c41565b6006805473ffffffffffffffffffffffffffffffffffffffff83811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d9257604051600080516020613f19833981519152815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c41565b73ffffffffffffffffffffffffffffffffffffffff838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612e1784848461297a565b612e2384848484613098565b611de757604051600080516020613f19833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c41565b606081600003612ee057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612f0a5780612ef481613d0e565b9150612f039050600a83613e8a565b9150612ee4565b60008167ffffffffffffffff811115612f2557612f25613674565b6040519080825280601f01601f191660200182016040528015612f4f576020820181803683370190505b5090505b841561297257612f64600183613d5f565b9150612f71600a86613e9e565b612f7c906030613d47565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612fb057612fb0613cb0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612fea600a86613e8a565b9450612f53565b600082612ffe858461325b565b14949350505050565b61301183836132cf565b61301e6000848484613098565b610dd657604051600080516020613f19833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c41565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613250576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061310f903390899088908890600401613eb2565b6020604051808303816000875af192505050801561314a575060408051601f3d908101601f1916820190925261314791810190613efb565b60015b613205573d808015613178576040519150601f19603f3d011682016040523d82523d6000602084013e61317d565b606091505b5080516000036131fd57604051600080516020613f19833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c41565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612972565b506001949350505050565b600081815b84518110156132c757600085828151811061327d5761327d613cb0565b602002602001015190508083116132a357600083815260208290526040902092506132b4565b600081815260208490526040902092505b50806132bf81613d0e565b915050613260565b509392505050565b73ffffffffffffffffffffffffffffffffffffffff821661333a57604051600080516020613f19833981519152815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c41565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156133b457604051600080516020613f19833981519152815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c41565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906133ea908490613d47565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461346e90613c5d565b90600052602060002090601f01602090048101928261349057600085556134d6565b82601f106134a95782800160ff198235161785556134d6565b828001600101855582156134d6579182015b828111156134d65782358255916020019190600101906134bb565b506134e2929150613522565b5090565b60405180606001604052806003906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b5b808211156134e25760008155600101613523565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146121f157600080fd5b60006020828403121561357757600080fd5b8135612bd881613537565b803573ffffffffffffffffffffffffffffffffffffffff811681146135a657600080fd5b919050565b6000602082840312156135bd57600080fd5b612bd882613582565b60005b838110156135e15781810151838201526020016135c9565b83811115611de75750506000910152565b6000815180845261360a8160208601602086016135c6565b601f01601f19169290920160200192915050565b602081526000612bd860208301846135f2565b60006020828403121561364357600080fd5b5035919050565b6000806040838503121561365d57600080fd5b61366683613582565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156136cc576136cc613674565b604052919050565b600067ffffffffffffffff8211156136ee576136ee613674565b5060209081020190565b600082601f83011261370957600080fd5b8135602061371e613719836136d4565b6136a3565b8281529181028401810191818101908684111561373a57600080fd5b8286015b8481101561375c5761374f81613582565b835291830191830161373e565b509695505050505050565b60006020828403121561377957600080fd5b813567ffffffffffffffff81111561379057600080fd5b612972848285016136f8565b6000806000606084860312156137b157600080fd5b6137ba84613582565b92506137c860208501613582565b9150604084013590509250925092565b600080600080608085870312156137ee57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561381d57600080fd5b823567ffffffffffffffff8082111561383557600080fd5b613841868387016136f8565b935060209150818501358181111561385857600080fd5b85019050601f8101861361386b57600080fd5b8035613879613719826136d4565b8181529083028201830190838101908883111561389557600080fd5b928401925b828410156138b35783358252928401929084019061389a565b80955050505050509250929050565b803580151581146135a657600080fd5b6000806000606084860312156138e757600080fd5b6138f0846138c2565b92506138fe602085016138c2565b915061390c604085016138c2565b90509250925092565b60008083601f84011261392757600080fd5b50813567ffffffffffffffff81111561393f57600080fd5b60208301915083602082850101111561395757600080fd5b9250929050565b6000806000806040858703121561397457600080fd5b843567ffffffffffffffff8082111561398c57600080fd5b61399888838901613915565b909650945060208701359150808211156139b157600080fd5b506139be87828801613915565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b81811015613a02578351835292840192918401916001016139e6565b50909695505050505050565b60608101818360005b6003811015613a385781511515835260209283019290910190600101613a17565b50505092915050565b60008060408385031215613a5457600080fd5b613a5d83613582565b9150613a6b602084016138c2565b90509250929050565b60008060008060808587031215613a8a57600080fd5b613a9385613582565b93506020613aa2818701613582565b935060408601359250606086013567ffffffffffffffff80821115613ac657600080fd5b818801915088601f830112613ada57600080fd5b813581811115613aec57613aec613674565b613afe84601f19601f840116016136a3565b91508082528984828501011115613b1457600080fd5b808484018584013760008482840101525080935050505092959194509250565b60808101818360005b6004811015613a38578151835260209283019290910190600101613b3d565b600060208284031215613b6e57600080fd5b612bd8826138c2565b60008060408385031215613b8a57600080fd5b613b9383613582565b9150613a6b60208401613582565b60008060208385031215613bb457600080fd5b823567ffffffffffffffff811115613bcb57600080fd5b613bd785828601613915565b90969095509350505050565b600080600060408486031215613bf857600080fd5b833567ffffffffffffffff80821115613c1057600080fd5b818601915086601f830112613c2457600080fd5b813581811115613c3357600080fd5b8760208083028501011115613c4757600080fd5b6020928301989097509590910135949350505050565b600281046001821680613c7157607f821691505b602082108103613caa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006000198203613d2157613d21613cdf565b5060010190565b6000816000190483118215151615613d4257613d42613cdf565b500290565b60008219821115613d5a57613d5a613cdf565b500190565b600082821015613d7157613d71613cdf565b500390565b805460009060028104600180831680613d9057607f831692505b60208084108203613dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b818015613dde5760018114613def57613e1c565b60ff19861689528489019650613e1c565b60008881526020902060005b86811015613e145781548b820152908501908301613dfb565b505084890196505b50505050505092915050565b6000613e348286613d76565b8451613e448183602089016135c6565b613e5081830186613d76565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613e9957613e99613e5b565b500490565b600082613ead57613ead613e5b565b500690565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613ef160808301846135f2565b9695505050505050565b600060208284031215613f0d57600080fd5b8151612bd88161353756fe08c379a000000000000000000000000000000000000000000000000000000000a264697066735822122008d65e536c5176b9c2e04e7e8132efd239bf090a4949f172d667db45c8e74fea64736f6c634300080d003368747470733a2f2f6170692e6368696c6c696e61706573757266636c75622e636f6d2f746f6b656e732f302e6a736f6e68747470733a2f2f6170692e6368696c6c696e61706573757266636c75622e636f6d2f746f6b656e732f

Deployed Bytecode

0x608060405260043610610371576000357c01000000000000000000000000000000000000000000000000000000009004806372250380116101d8578063c668286211610114578063e4c6f228116100b2578063f2fde38b1161008c578063f2fde38b146109b9578063f47c84c5146109d9578063f9765bc1146109ef578063fde5f54814610a1c57600080fd5b8063e4c6f22814610923578063e985e9c514610943578063f2c4ce1e1461099957600080fd5b8063ced867d1116100ee578063ced867d1146108ac578063d86bed9b146108ce578063db2e21bc146108ee578063e0a808531461090357600080fd5b8063c66828621461085d578063c87b56dd14610872578063cb5bc2aa1461089257600080fd5b806395d89b4111610181578063a945bf801161015b578063a945bf80146107f7578063b67c25a31461080d578063b88d4fde14610827578063bd95a98c1461084757600080fd5b806395d89b41146107a2578063a1448194146107b7578063a22cb465146107d757600080fd5b80638da5cb5b116101b25780638da5cb5b1461073f578063941ada0e1461076a578063946ef42a1461078c57600080fd5b806372250380146106dd5780637c928fe9146106f25780638462151c1461071257600080fd5b8063305c7d4a116102b257806351830227116102505780636790a9de1161022a5780636790a9de146106735780636c0360eb1461069357806370a08231146106a8578063715018a6146106c857600080fd5b806351830227146106195780636352211e146106335780636356512d1461065357600080fd5b806342842e0e1161028c57806342842e0e146105a2578063445ed9e3146105c257806344bb8279146105d75780634ec64103146105f757600080fd5b8063305c7d4a146105575780633ccfd60b1461056d5780633f6a6e801461058257600080fd5b806309ec7ba91161031f57806318160ddd116102f957806318160ddd146104ef57806323b872dd146105045780632977d9f6146105245780632db115441461054457600080fd5b806309ec7ba9146104885780630f4ed54d146104a257806316d4e2b9146104cf57600080fd5b806306fdde031161035057806306fdde03146103ff578063081812fc14610421578063095ea7b31461046657600080fd5b80620e7fa81461037657806301ffc9a71461039f578063022914a7146103cf575b600080fd5b34801561038257600080fd5b5061038c600f5481565b6040519081526020015b60405180910390f35b3480156103ab57600080fd5b506103bf6103ba366004613565565b610a2f565b6040519015158152602001610396565b3480156103db57600080fd5b506103bf6103ea3660046135ab565b60166020526000908152604090205460ff1681565b34801561040b57600080fd5b50610414610b14565b604051610396919061361e565b34801561042d57600080fd5b5061044161043c366004613631565b610ba6565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610396565b34801561047257600080fd5b5061048661048136600461364a565b610c73565b005b34801561049457600080fd5b50600e546103bf9060ff1681565b3480156104ae57600080fd5b5061038c6104bd3660046135ab565b600d6020526000908152604090205481565b3480156104db57600080fd5b506104866104ea366004613767565b610ddb565b3480156104fb57600080fd5b5061038c610ecb565b34801561051057600080fd5b5061048661051f36600461379c565b610edb565b34801561053057600080fd5b5061048661053f3660046137d8565b610f6a565b610486610552366004613631565b610fed565b34801561056357600080fd5b5061038c60155481565b34801561057957600080fd5b50610486611207565b34801561058e57600080fd5b5061048661059d36600461380a565b61133f565b3480156105ae57600080fd5b506104866105bd36600461379c565b61145e565b3480156105ce57600080fd5b5061038c611479565b3480156105e357600080fd5b506104416105f2366004613631565b6114b7565b34801561060357600080fd5b50336000908152600d602052604090205461038c565b34801561062557600080fd5b506008546103bf9060ff1681565b34801561063f57600080fd5b5061044161064e366004613631565b6114e4565b34801561065f57600080fd5b5061048661066e3660046138d2565b611584565b34801561067f57600080fd5b5061048661068e36600461395e565b61161c565b34801561069f57600080fd5b506104146116ab565b3480156106b457600080fd5b5061038c6106c33660046135ab565b611739565b3480156106d457600080fd5b506104866117f5565b3480156106e957600080fd5b50610414611870565b3480156106fe57600080fd5b5061048661070d366004613631565b61187d565b34801561071e57600080fd5b5061073261072d3660046135ab565b611a5f565b60405161039691906139ca565b34801561074b57600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff16610441565b34801561077657600080fd5b5061077f611b3f565b6040516103969190613a0e565b34801561079857600080fd5b5061038c60105481565b3480156107ae57600080fd5b50610414611b7a565b3480156107c357600080fd5b506104866107d236600461364a565b611b89565b3480156107e357600080fd5b506104866107f2366004613a41565b611d4c565b34801561080357600080fd5b5061038c60145481565b34801561081957600080fd5b506013546103bf9060ff1681565b34801561083357600080fd5b50610486610842366004613a74565b611d57565b34801561085357600080fd5b5061038c60115481565b34801561086957600080fd5b50610414611ded565b34801561087e57600080fd5b5061041461088d366004613631565b611dfa565b34801561089e57600080fd5b50600c546103bf9060ff1681565b3480156108b857600080fd5b506108c1612012565b6040516103969190613b34565b3480156108da57600080fd5b5061038c6108e9366004613631565b612048565b3480156108fa57600080fd5b5061048661205f565b34801561090f57600080fd5b5061048661091e366004613b5c565b6121f4565b34801561092f57600080fd5b5061048661093e366004613631565b612276565b34801561094f57600080fd5b506103bf61095e366004613b77565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156109a557600080fd5b506104866109b4366004613ba1565b6122ea565b3480156109c557600080fd5b506104866109d43660046135ab565b612365565b3480156109e557600080fd5b5061038c6109c481565b3480156109fb57600080fd5b5061038c610a0a3660046135ab565b60126020526000908152604090205481565b610486610a2a366004613be3565b61246e565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610ac257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b0e57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060008054610b2390613c5d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b4f90613c5d565b8015610b9c5780601f10610b7157610100808354040283529160200191610b9c565b820191906000526020600020905b815481529060010190602001808311610b7f57829003601f168201915b5050505050905090565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610c4a57604051600080516020613f19833981519152815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610c7e826114e4565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d2957604051600080516020613f19833981519152815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c41565b3373ffffffffffffffffffffffffffffffffffffffff82161480610d525750610d52813361095e565b610dcc57604051600080516020613f19833981519152815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c41565b610dd68383612787565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314610e4a57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b60005b8151811015610ec7576000600d6000848481518110610e6e57610e6e613cb0565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080610ebf90613d0e565b915050610e4d565b5050565b6000610ed660075490565b905090565b610ee5338261281c565b610f5f57604051600080516020613f19833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c41565b610dd683838361297a565b60065473ffffffffffffffffffffffffffffffffffffffff163314610fd957604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b600f93909355601091909155601455601555565b60135460ff1661104757604051600080516020613f19833981519152815260206004820152601a60248201527f5075626c6963206d696e74206973206e6f74206163746976652e0000000000006044820152606401610c41565b6000811161109f57604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b6015548111156110f957604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b806014546111079190613d28565b34101561115e57604051600080516020613f19833981519152815260206004820152600e60248201527f496e76616c69642070726963652e0000000000000000000000000000000000006044820152606401610c41565b6109c48161116b60075490565b6111759190613d47565b11156111cb57604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b60015b818111610ec7576111e3600780546001019055565b6111f5336111f060075490565b612bb2565b806111ff81613d0e565b9150506111ce565b3360009081526016602052604090205460ff1661126e57604051600080516020613f19833981519152815260206004820152601f60248201527f43616c6c6572206973206e6f74206f6e65206f6620746865206f776e657273006044820152606401610c41565b3031806112c557604051600080516020613f19833981519152815260206004820152601360248201527f496e73756666696369656e742066756e64732e000000000000000000000000006044820152606401610c41565b60005b6004811015610ec75761132d601782600481106112e7576112e7613cb0565b015473ffffffffffffffffffffffffffffffffffffffff1661132861132085601b866004811061131957611319613cb0565b0154612bcc565b612710612bdf565b612beb565b8061133781613d0e565b9150506112c8565b60065473ffffffffffffffffffffffffffffffffffffffff1633146113ae57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b600082511180156113c0575080518251145b6113c957600080fd5b60005b8251811015610dd6578181815181106113e7576113e7613cb0565b6020026020010151600d600085848151811061140557611405613cb0565b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061145690613d0e565b9150506113cc565b610dd683838360405180602001604052806000815250611d57565b601054336000908152601260205260408120549091101561149a5750600090565b33600090815260126020526040902054601054610ed69190613d5f565b601781600481106114c757600080fd5b015473ffffffffffffffffffffffffffffffffffffffff16905081565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610b0e57604051600080516020613f19833981519152815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c41565b3360009081526016602052604090205460ff166115eb57604051600080516020613f19833981519152815260206004820152601f60248201527f43616c6c6572206973206e6f74206f6e65206f6620746865206f776e657273006044820152606401610c41565b600c805493151560ff19948516179055600e8054921515928416929092179091556013805491151591909216179055565b60065473ffffffffffffffffffffffffffffffffffffffff16331461168b57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b611697600a8585613462565b506116a4600b8383613462565b5050505050565b600a80546116b890613c5d565b80601f01602080910402602001604051908101604052809291908181526020018280546116e490613c5d565b80156117315780601f1061170657610100808354040283529160200191611731565b820191906000526020600020905b81548152906001019060200180831161171457829003601f168201915b505050505081565b600073ffffffffffffffffffffffffffffffffffffffff82166117cc57604051600080516020613f19833981519152815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c41565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff16331461186457604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b61186e6000612ca3565b565b600980546116b890613c5d565b600c5460ff166118d757604051600080516020613f19833981519152815260206004820152601860248201527f46726565206d696e74206973206e6f74206163746976652e00000000000000006044820152606401610c41565b6000811161192f57604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b336000908152600d602052604090205481111561199657604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b6109c4816119a360075490565b6119ad9190613d47565b1115611a0357604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b336000908152600d602052604081208054839290611a22908490613d5f565b90915550600190505b818111610ec757611a40600780546001019055565b611a4d336111f060075490565b80611a5781613d0e565b915050611a2b565b60606000611a6c83611739565b67ffffffffffffffff811115611a8457611a84613674565b604051908082528060200260200182016040528015611aad578160200160208202803683370190505b509050600060015b6007548111611b36578473ffffffffffffffffffffffffffffffffffffffff16611ade826114e4565b73ffffffffffffffffffffffffffffffffffffffff1603611b2457808383611b0581613d0e565b945081518110611b1757611b17613cb0565b6020026020010181815250505b80611b2e81613d0e565b915050611ab5565b50909392505050565b611b476134e6565b5060408051606081018252600c5460ff90811615158252600e548116151560208301526013541615159181019190915290565b606060018054610b2390613c5d565b60065473ffffffffffffffffffffffffffffffffffffffff163314611bf857604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b60008111611c5057604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b6032811115611ca957604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b6109c481611cb660075490565b611cc09190613d47565b10611d1557604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b60015b818111610dd657611d2d600780546001019055565b611d3a836111f060075490565b80611d4481613d0e565b915050611d18565b610ec7338383612d0f565b611d61338361281c565b611ddb57604051600080516020613f19833981519152815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610c41565b611de784848484612e0c565b50505050565b600b80546116b890613c5d565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16611e9c57604051600080516020613f19833981519152815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c41565b60085460ff16611f385760098054611eb390613c5d565b80601f0160208091040260200160405190810160405280929190818152602001828054611edf90613c5d565b8015611f2c5780601f10611f0157610100808354040283529160200191611f2c565b820191906000526020600020905b815481529060010190602001808311611f0f57829003601f168201915b50505050509050919050565b6000600a8054611f4790613c5d565b905011611fde5760098054611f5b90613c5d565b80601f0160208091040260200160405190810160405280929190818152602001828054611f8790613c5d565b8015611fd45780601f10611fa957610100808354040283529160200191611fd4565b820191906000526020600020905b815481529060010190602001808311611fb757829003601f168201915b5050505050610b0e565b600a611fe983612e9d565b600b604051602001611ffd93929190613e28565b60405160208183030381529060405292915050565b61201a613504565b6040518060800160405280600f54815260200160105481526020016014548152602001601554815250905090565b601b816004811061205857600080fd5b0154905081565b60065473ffffffffffffffffffffffffffffffffffffffff1633146120ce57604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b63626c7c0042101561215057604051600080516020613f19833981519152815260206004820152602560248201527f456d657267656e6379207769746864726177206e6f742079657420617661696c60448201527f61626c652e0000000000000000000000000000000000000000000000000000006064820152608401610c41565b60405160009033903031908381818185875af1925050503d8060008114612193576040519150601f19603f3d011682016040523d82523d6000602084013e612198565b606091505b50509050806121f157604051600080516020613f19833981519152815260206004820152601060248201527f5769746864726177206661696c65642e000000000000000000000000000000006044820152606401610c41565b50565b60065473ffffffffffffffffffffffffffffffffffffffff16331461226357604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b6008805460ff1916911515919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff1633146122e557604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b601155565b60065473ffffffffffffffffffffffffffffffffffffffff16331461235957604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b610dd660098383613462565b60065473ffffffffffffffffffffffffffffffffffffffff1633146123d457604051600080516020613f19833981519152815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610c41565b73ffffffffffffffffffffffffffffffffffffffff811661246557604051600080516020613f19833981519152815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c41565b6121f181612ca3565b600e5460ff166124c857604051600080516020613f19833981519152815260206004820152601b60248201527f50726573616c65206d696e74206973206e6f74206163746976652e00000000006044820152606401610c41565b6000811161252057604051600080516020613f19833981519152815260206004820152601460248201527f496e76616c6964206d696e7420616d6f756e742e0000000000000000000000006044820152606401610c41565b6010543360009081526012602052604090205461253d9083613d47565b111561259357604051600080516020613f19833981519152815260206004820152601560248201527f4d696e7420616d6f756e742065786365656465642e00000000000000000000006044820152606401610c41565b612605838380806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506011546040516c0100000000000000000000000033026020820152909250603401905060405160208183030381529060405280519060200120612ff1565b61265957604051600080516020613f19833981519152815260206004820152600e60248201527f496e76616c69642070726f6f662e0000000000000000000000000000000000006044820152606401610c41565b80600f546126679190613d28565b3410156126be57604051600080516020613f19833981519152815260206004820152600e60248201527f496e76616c69642070726963652e0000000000000000000000000000000000006044820152606401610c41565b6109c4816126cb60075490565b6126d59190613d47565b111561272b57604051600080516020613f19833981519152815260206004820152601360248201527f4d617820616d6f756e7420726561636865642e000000000000000000000000006044820152606401610c41565b336000908152601260205260408120805483929061274a908490613d47565b90915550600190505b818111611de757612768600780546001019055565b612775336111f060075490565b8061277f81613d0e565b915050612753565b6000818152600460205260409020805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff841690811790915581906127d6826114e4565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff166128bb57604051600080516020613f19833981519152815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610c41565b60006128c6836114e4565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061293557508373ffffffffffffffffffffffffffffffffffffffff1661291d84610ba6565b73ffffffffffffffffffffffffffffffffffffffff16145b80612972575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661299a826114e4565b73ffffffffffffffffffffffffffffffffffffffff1614612a2b57604051600080516020613f19833981519152815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610c41565b73ffffffffffffffffffffffffffffffffffffffff8216612abb57604051600080516020613f198339815191528152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c41565b612ac6600082612787565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600360205260408120805460019290612afc908490613d5f565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290612b37908490613d47565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b610ec7828260405180602001604052806000815250613007565b6000612bd88284613d28565b9392505050565b6000612bd88284613e8a565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612c45576040519150601f19603f3d011682016040523d82523d6000602084013e612c4a565b606091505b5050905080610dd657604051600080516020613f19833981519152815260206004820152601060248201527f5769746864726177206661696c65642e000000000000000000000000000000006044820152606401610c41565b6006805473ffffffffffffffffffffffffffffffffffffffff83811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d9257604051600080516020613f19833981519152815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c41565b73ffffffffffffffffffffffffffffffffffffffff838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612e1784848461297a565b612e2384848484613098565b611de757604051600080516020613f19833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c41565b606081600003612ee057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612f0a5780612ef481613d0e565b9150612f039050600a83613e8a565b9150612ee4565b60008167ffffffffffffffff811115612f2557612f25613674565b6040519080825280601f01601f191660200182016040528015612f4f576020820181803683370190505b5090505b841561297257612f64600183613d5f565b9150612f71600a86613e9e565b612f7c906030613d47565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110612fb057612fb0613cb0565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612fea600a86613e8a565b9450612f53565b600082612ffe858461325b565b14949350505050565b61301183836132cf565b61301e6000848484613098565b610dd657604051600080516020613f19833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c41565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613250576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a029061310f903390899088908890600401613eb2565b6020604051808303816000875af192505050801561314a575060408051601f3d908101601f1916820190925261314791810190613efb565b60015b613205573d808015613178576040519150601f19603f3d011682016040523d82523d6000602084013e61317d565b606091505b5080516000036131fd57604051600080516020613f19833981519152815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610c41565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050612972565b506001949350505050565b600081815b84518110156132c757600085828151811061327d5761327d613cb0565b602002602001015190508083116132a357600083815260208290526040902092506132b4565b600081815260208490526040902092505b50806132bf81613d0e565b915050613260565b509392505050565b73ffffffffffffffffffffffffffffffffffffffff821661333a57604051600080516020613f19833981519152815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c41565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156133b457604051600080516020613f19833981519152815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c41565b73ffffffffffffffffffffffffffffffffffffffff821660009081526003602052604081208054600192906133ea908490613d47565b9091555050600081815260026020526040808220805473ffffffffffffffffffffffffffffffffffffffff191673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461346e90613c5d565b90600052602060002090601f01602090048101928261349057600085556134d6565b82601f106134a95782800160ff198235161785556134d6565b828001600101855582156134d6579182015b828111156134d65782358255916020019190600101906134bb565b506134e2929150613522565b5090565b60405180606001604052806003906020820280368337509192915050565b60405180608001604052806004906020820280368337509192915050565b5b808211156134e25760008155600101613523565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146121f157600080fd5b60006020828403121561357757600080fd5b8135612bd881613537565b803573ffffffffffffffffffffffffffffffffffffffff811681146135a657600080fd5b919050565b6000602082840312156135bd57600080fd5b612bd882613582565b60005b838110156135e15781810151838201526020016135c9565b83811115611de75750506000910152565b6000815180845261360a8160208601602086016135c6565b601f01601f19169290920160200192915050565b602081526000612bd860208301846135f2565b60006020828403121561364357600080fd5b5035919050565b6000806040838503121561365d57600080fd5b61366683613582565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156136cc576136cc613674565b604052919050565b600067ffffffffffffffff8211156136ee576136ee613674565b5060209081020190565b600082601f83011261370957600080fd5b8135602061371e613719836136d4565b6136a3565b8281529181028401810191818101908684111561373a57600080fd5b8286015b8481101561375c5761374f81613582565b835291830191830161373e565b509695505050505050565b60006020828403121561377957600080fd5b813567ffffffffffffffff81111561379057600080fd5b612972848285016136f8565b6000806000606084860312156137b157600080fd5b6137ba84613582565b92506137c860208501613582565b9150604084013590509250925092565b600080600080608085870312156137ee57600080fd5b5050823594602084013594506040840135936060013592509050565b6000806040838503121561381d57600080fd5b823567ffffffffffffffff8082111561383557600080fd5b613841868387016136f8565b935060209150818501358181111561385857600080fd5b85019050601f8101861361386b57600080fd5b8035613879613719826136d4565b8181529083028201830190838101908883111561389557600080fd5b928401925b828410156138b35783358252928401929084019061389a565b80955050505050509250929050565b803580151581146135a657600080fd5b6000806000606084860312156138e757600080fd5b6138f0846138c2565b92506138fe602085016138c2565b915061390c604085016138c2565b90509250925092565b60008083601f84011261392757600080fd5b50813567ffffffffffffffff81111561393f57600080fd5b60208301915083602082850101111561395757600080fd5b9250929050565b6000806000806040858703121561397457600080fd5b843567ffffffffffffffff8082111561398c57600080fd5b61399888838901613915565b909650945060208701359150808211156139b157600080fd5b506139be87828801613915565b95989497509550505050565b6020808252825182820181905260009190848201906040850190845b81811015613a02578351835292840192918401916001016139e6565b50909695505050505050565b60608101818360005b6003811015613a385781511515835260209283019290910190600101613a17565b50505092915050565b60008060408385031215613a5457600080fd5b613a5d83613582565b9150613a6b602084016138c2565b90509250929050565b60008060008060808587031215613a8a57600080fd5b613a9385613582565b93506020613aa2818701613582565b935060408601359250606086013567ffffffffffffffff80821115613ac657600080fd5b818801915088601f830112613ada57600080fd5b813581811115613aec57613aec613674565b613afe84601f19601f840116016136a3565b91508082528984828501011115613b1457600080fd5b808484018584013760008482840101525080935050505092959194509250565b60808101818360005b6004811015613a38578151835260209283019290910190600101613b3d565b600060208284031215613b6e57600080fd5b612bd8826138c2565b60008060408385031215613b8a57600080fd5b613b9383613582565b9150613a6b60208401613582565b60008060208385031215613bb457600080fd5b823567ffffffffffffffff811115613bcb57600080fd5b613bd785828601613915565b90969095509350505050565b600080600060408486031215613bf857600080fd5b833567ffffffffffffffff80821115613c1057600080fd5b818601915086601f830112613c2457600080fd5b813581811115613c3357600080fd5b8760208083028501011115613c4757600080fd5b6020928301989097509590910135949350505050565b600281046001821680613c7157607f821691505b602082108103613caa577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006000198203613d2157613d21613cdf565b5060010190565b6000816000190483118215151615613d4257613d42613cdf565b500290565b60008219821115613d5a57613d5a613cdf565b500190565b600082821015613d7157613d71613cdf565b500390565b805460009060028104600180831680613d9057607f831692505b60208084108203613dca577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b818015613dde5760018114613def57613e1c565b60ff19861689528489019650613e1c565b60008881526020902060005b86811015613e145781548b820152908501908301613dfb565b505084890196505b50505050505092915050565b6000613e348286613d76565b8451613e448183602089016135c6565b613e5081830186613d76565b979650505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613e9957613e99613e5b565b500490565b600082613ead57613ead613e5b565b500690565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152613ef160808301846135f2565b9695505050505050565b600060208284031215613f0d57600080fd5b8151612bd88161353756fe08c379a000000000000000000000000000000000000000000000000000000000a264697066735822122008d65e536c5176b9c2e04e7e8132efd239bf090a4949f172d667db45c8e74fea64736f6c634300080d0033

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

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