ETH Price: $2,446.06 (+0.72%)
 

Overview

Max Total Supply

766 MonkeyPoly

Holders

308

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 MonkeyPoly
0xaf3367db7df081d102d3e4bad21d7f1219c70b71
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:
MonkeyPoly

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion
File 1 of 15 : MonkeyPoly.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "./ERC721A.sol";

//███    ███  ██████  ███    ██ ██   ██ ███████ ██    ██ ██████   ██████  ██      ██    ██
//████  ████ ██    ██ ████   ██ ██  ██  ██       ██  ██  ██   ██ ██    ██ ██       ██  ██
//██ ████ ██ ██    ██ ██ ██  ██ █████   █████     ████   ██████  ██    ██ ██        ████
//██  ██  ██ ██    ██ ██  ██ ██ ██  ██  ██         ██    ██      ██    ██ ██         ██
//██      ██  ██████  ██   ████ ██   ██ ███████    ██    ██       ██████  ███████    ██
contract MonkeyPoly is ERC721A, Ownable, Pausable {
	using Address for address;
	using Strings for uint256;
	using MerkleProof for bytes32[];

	address proxyRegistryAddress;

	//the merkle root
	bytes32 public root = 0x21a69ae93781ffea397668022e64c09ba2760422692a9d74a8fd2e87deb26f71;

	string public _contractBaseURI = "https://unreveal.monkeypoly.com/";
	string public _contractURI = "https://monkeypoly.com/contract_uri/contract_uri.json";

	uint256 public tokenPrice = 0.03 ether; //price per token

	mapping(address => uint256) public usedAddresses; //used addresses for whitelist

	bool public locked; //baseURI & contractURI lock
	uint256 public maxSupply = 9999; //tokenIDs start from 0

	uint256 public whitelistStartTime = block.timestamp - 1; //TODO: change to real;
	uint256 public publicSaleStartTime = block.timestamp - 1; //TODO: change to real;

	constructor() ERC721A("MonkeyPoly", "MonkeyPoly", 5) {
		_safeMint(msg.sender, 1); //mints 1 nft to the owner for configuring opensea
	}

	/**
	 * @dev whitelist buy
	 */
	function whitelistBuy(
		uint256 qty,
		uint256 tokenId,
		bytes32[] calldata proof
	) external payable whenNotPaused {
		require(qty <= 2, "max 2");
		require(tokenPrice * qty == msg.value, "exact amount needed");
		require(usedAddresses[msg.sender] + qty <= 2, "max per wallet reached");
		require(block.timestamp > whitelistStartTime, "not live");
		require(isTokenValid(msg.sender, tokenId, proof), "invalid merkle proof");

		usedAddresses[msg.sender] += qty;

		_safeMint(msg.sender, qty);
	}

	/**
	 * @dev everyone can mint freely
	 */
	function buy(uint256 qty) external payable whenNotPaused {
		require(tokenPrice * qty == msg.value, "exact amount needed");
		require(qty < 6, "max 5 at once");
		require(totalSupply() + qty <= maxSupply, "out of stock");
		require(block.timestamp > publicSaleStartTime, "not live");

		_safeMint(msg.sender, qty);
	}

	/**
	 * @dev can airdrop tokens
	 */
	function adminMint(address to, uint256 qty) external onlyOwner {
		require(totalSupply() + qty <= maxSupply, "out of stock");
		_safeMint(to, qty);
	}

	/**
	 * @dev verification function for merkle root
	 */
	function isTokenValid(
		address _to,
		uint256 _tokenId,
		bytes32[] memory _proof
	) public view returns (bool) {
		// construct Merkle tree leaf from the inputs supplied
		bytes32 leaf = keccak256(abi.encodePacked(_to, _tokenId));
		// verify the proof supplied, and return the verification result
		return _proof.verify(root, leaf);
	}

	function setMerkleRoot(bytes32 _root) external onlyOwner {
		root = _root;
	}

	//----------------------------------
	//----------- other code -----------
	//----------------------------------
	function tokensOfOwner(address _owner) external view returns (uint256[] memory) {
		uint256 tokenCount = balanceOf(_owner);
		if (tokenCount == 0) {
			return new uint256[](0);
		} else {
			uint256[] memory result = new uint256[](tokenCount);
			uint256 index;
			for (index = 0; index < tokenCount; index++) {
				result[index] = tokenOfOwnerByIndex(_owner, index);
			}
			return result;
		}
	}

	function tokenURI(uint256 _tokenId) public view override returns (string memory) {
		require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
		return string(abi.encodePacked(_contractBaseURI, _tokenId.toString(), ".json"));
	}

	function setBaseURI(string memory newBaseURI) external onlyOwner {
		require(!locked, "locked functions");
		_contractBaseURI = newBaseURI;
	}

	function setContractURI(string memory newuri) external onlyOwner {
		require(!locked, "locked functions");
		_contractURI = newuri;
	}

	function contractURI() public view returns (string memory) {
		return _contractURI;
	}

	function reclaimERC20(IERC20 erc20Token) external onlyOwner {
		erc20Token.transfer(msg.sender, erc20Token.balanceOf(address(this)));
	}

	function reclaimERC721(IERC721 erc721Token, uint256 id) external onlyOwner {
		erc721Token.safeTransferFrom(address(this), msg.sender, id);
	}

	function setWhitelistStartTime(uint256 newTime) external onlyOwner {
		whitelistStartTime = newTime;
	}

	function setPublicSaleStartTime(uint256 newTime) external onlyOwner {
		publicSaleStartTime = newTime;
	}

	//change the price per token
	function setCost(uint256 newPrice) external onlyOwner {
		tokenPrice = newPrice;
	}

	//change the max supply
	function setmaxMintAmount(uint256 newMaxSupply) public onlyOwner {
		maxSupply = newMaxSupply;
	}

	//blocks staking but doesn't block unstaking / claiming
	function setPaused(bool _setPaused) public onlyOwner {
		return (_setPaused) ? _pause() : _unpause();
	}

	//sets the opensea proxy
	function setProxyRegistry(address _newRegistry) external onlyOwner {
		proxyRegistryAddress = _newRegistry;
	}

	// and for the eternity!
	function lockBaseURIandContractURI() external onlyOwner {
		locked = true;
	}

	// earnings withdrawal
	function withdraw() public payable onlyOwner {
		uint256 _total_owner = address(this).balance;

		(bool all1, ) = payable(0xed6f9E7d3A94141E28cA5D1905d2EA9F085D00FA).call{
			value: (_total_owner * 1) / 3
		}(""); //l
		require(all1);
		(bool all2, ) = payable(0x318cbB40Fdaf1A2Ab545B957518cb95D7c18ED32).call{
			value: (_total_owner * 1) / 3
		}(""); //sc
		require(all2);
		(bool all3, ) = payable(0x831C6bF9562791480802055Eb51311f6EedCA783).call{
			value: (_total_owner * 1) / 3
		}(""); //sp
		require(all3);
	}

	/**
	 * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
	 */
	function isApprovedForAll(address owner, address operator) public view override returns (bool) {
		// Whitelist OpenSea proxy contract for easy trading.
		ProxyRegistry proxyRegistry = ProxyRegistry(proxyRegistryAddress);
		if (address(proxyRegistry.proxies(owner)) == operator) {
			return true;
		}
		return super.isApprovedForAll(owner, operator);
	}
}

//opensea removal of approvals
contract OwnableDelegateProxy {

}

contract ProxyRegistry {
	mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 15 : 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 4 of 15 : 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 5 of 15 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 7 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 8 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

File 9 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.11;

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

contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
	using Address for address;
	using Strings for uint256;

	struct TokenOwnership {
		address addr;
		uint64 startTimestamp;
	}

	struct AddressData {
		uint128 balance;
		uint128 numberMinted;
	}

	uint256 private currentIndex = 0;

	address private burned = address(1);

	uint256 internal immutable maxBatchSize;

	// Token name
	string private _name;

	// Token symbol
	string private _symbol;

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

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

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

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

	/**
	 * @dev
	 * `maxBatchSize` refers to how much a minter can mint at a time.
	 */
	constructor(
		string memory name_,
		string memory symbol_,
		uint256 maxBatchSize_
	) {
		require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
		_name = name_;
		_symbol = symbol_;
		maxBatchSize = maxBatchSize_;
	}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

		_approve(to, tokenId, owner);
	}

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

		return _tokenApprovals[tokenId];
	}

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

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

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

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

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

	/**
	 * @dev See {IERC721-safeTransferFrom}.
	 */
	function safeTransferFrom(
		address from,
		address to,
		uint256 tokenId,
		bytes memory _data
	) public override {
		_transfer(from, to, tokenId);
		require(
			_checkOnERC721Received(from, to, tokenId, _data),
			"ERC721A: transfer to non ERC721Receiver implementer"
		);
	}

	/**
	 * @dev Returns whether `tokenId` exists.
	 *
	 * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
	 *
	 * Tokens start existing when they are minted (`_mint`),
	 */
	function _exists(uint256 tokenId) internal view returns (bool) {
		return tokenId < currentIndex;
	}

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

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

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

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

		uint256 updatedIndex = startTokenId;

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

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

	//change the ownership of a token. limited to the quantities put in require!
	// function _changeOwnership(uint256 tokenId, address to) internal {
	// 	TokenOwnership memory prevOwnership = ownershipOf(tokenId);
	// 	_addressData[prevOwnership.addr].balance -= 1;
	// 	_ownerships[tokenId] = TokenOwnership(burned, uint64(block.timestamp));

	// 	_beforeTokenTransfers(address(0), to, tokenId, 1);

	// 	AddressData memory addressData = _addressData[to];
	// 	_addressData[to] = AddressData(addressData.balance + 1, addressData.numberMinted + 1);
	// 	_ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

	// 	emit Transfer(address(0), to, tokenId);
	// 	_afterTokenTransfers(address(0), to, tokenId, 1);
	// }

	/**
	 * @dev Transfers `tokenId` from `from` to `to`.
	 *
	 * Requirements:
	 *
	 * - `to` cannot be the zero address.
	 * - `tokenId` token must be owned by `from`.
	 *
	 * Emits a {Transfer} event.
	 */
	function _transfer(
		address from,
		address to,
		uint256 tokenId
	) private {
		TokenOwnership memory prevOwnership = ownershipOf(tokenId);

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

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

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

		_beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

	uint256 public nextOwnerToExplicitlySet = 0;

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

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

	/**
	 * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
	 *
	 * startTokenId - the first token id to be transferred
	 * quantity - the amount to be transferred
	 *
	 * Calling conditions:
	 *
	 * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
	 * transferred to `to`.
	 * - When `from` is zero, `tokenId` will be minted for `to`.
	 */
	function _beforeTokenTransfers(
		address from,
		address to,
		uint256 startTokenId,
		uint256 quantity
	) internal virtual {}

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

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"_contractBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"adminMint","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"isTokenValid","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseURIandContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"locked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20Token","type":"address"}],"name":"reclaimERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"erc721Token","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"reclaimERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newuri","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_setPaused","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newRegistry","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setPublicSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newTime","type":"uint256"}],"name":"setWhitelistStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMaxSupply","type":"uint256"}],"name":"setmaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"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":[{"internalType":"address","name":"","type":"address"}],"name":"usedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistBuy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"whitelistStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6000808055600180546001600160a01b031916811790556008557f21a69ae93781ffea397668022e64c09ba2760422692a9d74a8fd2e87deb26f71600b5560e0604052602060a08190527f68747470733a2f2f756e72657665616c2e6d6f6e6b6579706f6c792e636f6d2f60c09081526200007e91600c919062000675565b5060405180606001604052806035815260200162004a10603591398051620000af91600d9160209091019062000675565b50666a94d74f430000600e5561270f601155620000ce60014262000731565b601255620000de60014262000731565b601355348015620000ee57600080fd5b50604080518082018252600a808252694d6f6e6b6579506f6c7960b01b602080840182905284518086019095529184529083015290600562000134565b60405180910390fd5b82516200014990600290602086019062000675565b5081516200015f90600390602085019062000675565b50608052506200017190503362000191565b6009805460ff60a01b191690556200018b336001620001e3565b62000882565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b620002058282604051806020016040528060008152506200020960201b60201c565b5050565b6000546001600160a01b0384166200026e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b60648201526084016200012b565b6200027a816000541190565b15620002c95760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e74656400000060448201526064016200012b565b608051831115620003285760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b60648201526084016200012b565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b9091041691810191909152815180830190925280519091908190620003869087906200074b565b6001600160801b03168152602001858360200151620003a691906200074b565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b029790961696909617909455845180860186529182526001600160401b034281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156200050a5760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a46200048c600088848862000515565b620004e55760405162461bcd60e51b8152602060048201526033602482015260008051602062004a4583398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b60648201526084016200012b565b81620004f18162000779565b9250508080620005019062000779565b9150506200043c565b506000555050505050565b600062000536846001600160a01b03166200066f60201b620025ca1760201c565b156200066357604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906200057090339089908890889060040162000797565b6020604051808303816000875af1925050508015620005ae575060408051601f3d908101601f19168201909252620005ab9181019062000812565b60015b62000648573d808015620005df576040519150601f19603f3d011682016040523d82523d6000602084013e620005e4565b606091505b508051620006405760405162461bcd60e51b8152602060048201526033602482015260008051602062004a4583398151915260448201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b60648201526084016200012b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000667565b5060015b949350505050565b3b151590565b828054620006839062000845565b90600052602060002090601f016020900481019282620006a75760008555620006f2565b82601f10620006c257805160ff1916838001178555620006f2565b82800160010185558215620006f2579182015b82811115620006f2578251825591602001919060010190620006d5565b506200070092915062000704565b5090565b5b8082111562000700576000815560010162000705565b634e487b7160e01b600052601160045260246000fd5b6000828210156200074657620007466200071b565b500390565b60006001600160801b038281168482168083038211156200077057620007706200071b565b01949350505050565b60006000198214156200079057620007906200071b565b5060010190565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b82811015620007e65785810182015185820160a001528101620007c8565b82811115620007f957600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200082557600080fd5b81516001600160e01b0319811681146200083e57600080fd5b9392505050565b600181811c908216806200085a57607f821691505b602082108114156200087c57634e487b7160e01b600052602260045260246000fd5b50919050565b608051614164620008ac60003960008181612d8101528181612dab01526133f801526141646000f3fe60806040526004361061031e5760003560e01c80637cb64759116101a5578063adfdeef9116100ec578063d7224ba011610095578063e8a3d4851161006f578063e8a3d48514610894578063e985e9c5146108a9578063ebf0c717146108c9578063f2fde38b146108df57600080fd5b8063d7224ba01461084b578063d96a094a14610861578063e58306f91461087457600080fd5b8063c87b56dd116100c6578063c87b56dd146107fb578063cf3090121461081b578063d5abeb011461083557600080fd5b8063adfdeef9146107a6578063b88d4fde146107c6578063c0e72740146107e657600080fd5b80638da5cb5b1161014e57806395d89b411161012857806395d89b4114610744578063a22cb46514610759578063acdce2731461077957600080fd5b80638da5cb5b146106e35780639292caaf1461070e578063938e3d7b1461072457600080fd5b80638462151c1161017f5780638462151c146106835780638905fd4f146106b0578063898aa67f146106d057600080fd5b80637cb647591461062d5780637f00c7a61461064d5780637ff9b5961461066d57600080fd5b806344a0d68a116102695780636b7d24701161021257806370a08231116101ec57806370a08231146105e35780637101ebca14610603578063715018a61461061857600080fd5b80636b7d24701461058d5780636bb7b1d9146105ad5780636d5d40c6146105c357600080fd5b806355f804b31161024357806355f804b31461051d5780635c975abb1461053d5780636352211e1461056d57600080fd5b806344a0d68a146104c85780634db6f635146104e85780634f6ccce7146104fd57600080fd5b80631c0ce3d3116102cb5780632f745c59116102a55780632f745c59146104805780633ccfd60b146104a057806342842e0e146104a857600080fd5b80631c0ce3d31461042057806323b872dd14610440578063275efe1a1461046057600080fd5b8063095ea7b3116102fc578063095ea7b3146103bf57806316c38b3c146103e157806318160ddd1461040157600080fd5b806301ffc9a71461032357806306fdde0314610358578063081812fc1461037a575b600080fd5b34801561032f57600080fd5b5061034361033e3660046137ca565b6108ff565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b5061036d610a30565b60405161034f9190613864565b34801561038657600080fd5b5061039a610395366004613877565b610ac2565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161034f565b3480156103cb57600080fd5b506103df6103da3660046138b2565b610b6f565b005b3480156103ed57600080fd5b506103df6103fc3660046138ec565b610cc9565b34801561040d57600080fd5b506000545b60405190815260200161034f565b34801561042c57600080fd5b506103df61043b366004613877565b610d48565b34801561044c57600080fd5b506103df61045b366004613909565b610db4565b34801561046c57600080fd5b5061034361047b3660046139c8565b610dbf565b34801561048c57600080fd5b5061041261049b3660046138b2565b610e35565b6103df611005565b3480156104b457600080fd5b506103df6104c3366004613909565b6111ea565b3480156104d457600080fd5b506103df6104e3366004613877565b611205565b3480156104f457600080fd5b506103df611271565b34801561050957600080fd5b50610412610518366004613877565b611305565b34801561052957600080fd5b506103df610538366004613b02565b611381565b34801561054957600080fd5b5060095474010000000000000000000000000000000000000000900460ff16610343565b34801561057957600080fd5b5061039a610588366004613877565b611452565b34801561059957600080fd5b506103df6105a83660046138b2565b611464565b3480156105b957600080fd5b5061041260135481565b3480156105cf57600080fd5b506103df6105de366004613877565b61155b565b3480156105ef57600080fd5b506104126105fe366004613b4b565b6115c7565b34801561060f57600080fd5b5061036d61168d565b34801561062457600080fd5b506103df61171b565b34801561063957600080fd5b506103df610648366004613877565b61178e565b34801561065957600080fd5b506103df610668366004613877565b6117fa565b34801561067957600080fd5b50610412600e5481565b34801561068f57600080fd5b506106a361069e366004613b4b565b611866565b60405161034f9190613b68565b3480156106bc57600080fd5b506103df6106cb366004613b4b565b611925565b6103df6106de366004613bac565b611ab8565b3480156106ef57600080fd5b5060095473ffffffffffffffffffffffffffffffffffffffff1661039a565b34801561071a57600080fd5b5061041260125481565b34801561073057600080fd5b506103df61073f366004613b02565b611d46565b34801561075057600080fd5b5061036d611e13565b34801561076557600080fd5b506103df610774366004613c2f565b611e22565b34801561078557600080fd5b50610412610794366004613b4b565b600f6020526000908152604090205481565b3480156107b257600080fd5b506103df6107c1366004613b4b565b611f1f565b3480156107d257600080fd5b506103df6107e1366004613c68565b611fcd565b3480156107f257600080fd5b5061036d612056565b34801561080757600080fd5b5061036d610816366004613877565b612063565b34801561082757600080fd5b506010546103439060ff1681565b34801561084157600080fd5b5061041260115481565b34801561085757600080fd5b5061041260085481565b6103df61086f366004613877565b612114565b34801561088057600080fd5b506103df61088f3660046138b2565b6122eb565b3480156108a057600080fd5b5061036d6123c1565b3480156108b557600080fd5b506103436108c4366004613ce8565b6123d0565b3480156108d557600080fd5b50610412600b5481565b3480156108eb57600080fd5b506103df6108fa366004613b4b565b6124d1565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061099257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109de57507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610a2a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060028054610a3f90613d16565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6b90613d16565b8015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b5050505050905090565b6000610acf826000541190565b610b465760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b7a82611452565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c1e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c475750610c4781336123d0565b610cb95760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b3d565b610cc48383836125d0565b505050565b60095473ffffffffffffffffffffffffffffffffffffffff163314610d305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b80610d4057610d3d612651565b50565b610d3d612730565b60095473ffffffffffffffffffffffffffffffffffffffff163314610daf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601255565b610cc4838383612802565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b166020820152603481018390526000908190605401604051602081830303815290604052805190602001209050610e2c600b548285612cd69092919063ffffffff16565b95945050505050565b6000610e40836115c7565b8210610eb45760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b600080549080805b83811015610f965760008181526004602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215610f2d57805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f835786841415610f7557509350610a2a92505050565b83610f7f81613d93565b9450505b5080610f8e81613d93565b915050610ebc565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610b3d565b60095473ffffffffffffffffffffffffffffffffffffffff16331461106c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b47600073ed6f9e7d3a94141e28ca5d1905d2ea9f085d00fa6003611091846001613dcc565b61109b9190613e38565b604051600081818185875af1925050503d80600081146110d7576040519150601f19603f3d011682016040523d82523d6000602084013e6110dc565b606091505b50509050806110ea57600080fd5b600073318cbb40fdaf1a2ab545b957518cb95d7c18ed32600361110e856001613dcc565b6111189190613e38565b604051600081818185875af1925050503d8060008114611154576040519150601f19603f3d011682016040523d82523d6000602084013e611159565b606091505b505090508061116757600080fd5b600073831c6bf9562791480802055eb51311f6eedca783600361118b866001613dcc565b6111959190613e38565b604051600081818185875af1925050503d80600081146111d1576040519150601f19603f3d011682016040523d82523d6000602084013e6111d6565b606091505b50509050806111e457600080fd5b50505050565b610cc483838360405180602001604052806000815250611fcd565b60095473ffffffffffffffffffffffffffffffffffffffff16331461126c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b600e55565b60095473ffffffffffffffffffffffffffffffffffffffff1633146112d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60008054821061137d5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b5090565b60095473ffffffffffffffffffffffffffffffffffffffff1633146113e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b60105460ff161561143b5760405162461bcd60e51b815260206004820152601060248201527f6c6f636b65642066756e6374696f6e73000000000000000000000000000000006044820152606401610b3d565b805161144e90600c90602084019061370c565b5050565b600061145d82612cec565b5192915050565b60095473ffffffffffffffffffffffffffffffffffffffff1633146114cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b6040517f42842e0e0000000000000000000000000000000000000000000000000000000081523060048201523360248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906342842e0e90606401600060405180830381600087803b15801561153f57600080fd5b505af1158015611553573d6000803e3d6000fd5b505050505050565b60095473ffffffffffffffffffffffffffffffffffffffff1633146115c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601355565b600073ffffffffffffffffffffffffffffffffffffffff82166116525760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610b3d565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600560205260409020546fffffffffffffffffffffffffffffffff1690565b600c805461169a90613d16565b80601f01602080910402602001604051908101604052809291908181526020018280546116c690613d16565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b505050505081565b60095473ffffffffffffffffffffffffffffffffffffffff1633146117825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b61178c6000612ed5565b565b60095473ffffffffffffffffffffffffffffffffffffffff1633146117f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b600b55565b60095473ffffffffffffffffffffffffffffffffffffffff1633146118615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601155565b60606000611873836115c7565b9050806118945760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156118af576118af61394a565b6040519080825280602002602001820160405280156118d8578160200160208202803683370190505b50905060005b8281101561188c576118f08582610e35565b82828151811061190257611902613e4c565b60209081029190910101528061191781613d93565b9150506118de565b50919050565b60095473ffffffffffffffffffffffffffffffffffffffff16331461198c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff82169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190613e7b565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015611a94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144e9190613e94565b60095474010000000000000000000000000000000000000000900460ff1615611b235760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b3d565b6002841115611b745760405162461bcd60e51b815260206004820152600560248201527f6d617820320000000000000000000000000000000000000000000000000000006044820152606401610b3d565b3484600e54611b839190613dcc565b14611bd05760405162461bcd60e51b815260206004820152601360248201527f657861637420616d6f756e74206e6565646564000000000000000000000000006044820152606401610b3d565b336000908152600f6020526040902054600290611bee908690613eb1565b1115611c3c5760405162461bcd60e51b815260206004820152601660248201527f6d6178207065722077616c6c65742072656163686564000000000000000000006044820152606401610b3d565b6012544211611c8d5760405162461bcd60e51b815260206004820152600860248201527f6e6f74206c6976650000000000000000000000000000000000000000000000006044820152606401610b3d565b611ccb3384848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610dbf92505050565b611d175760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964206d65726b6c652070726f6f660000000000000000000000006044820152606401610b3d565b336000908152600f602052604081208054869290611d36908490613eb1565b909155506111e490503385612f4c565b60095473ffffffffffffffffffffffffffffffffffffffff163314611dad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b60105460ff1615611e005760405162461bcd60e51b815260206004820152601060248201527f6c6f636b65642066756e6374696f6e73000000000000000000000000000000006044820152606401610b3d565b805161144e90600d90602084019061370c565b606060038054610a3f90613d16565b73ffffffffffffffffffffffffffffffffffffffff8216331415611e885760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610b3d565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60095473ffffffffffffffffffffffffffffffffffffffff163314611f865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611fd8848484612802565b611fe484848484612f66565b6111e45760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b3d565b600d805461169a90613d16565b6060612070826000541190565b6120e25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610b3d565b600c6120ed8361313c565b6040516020016120fe929190613ee5565b6040516020818303038152906040529050919050565b60095474010000000000000000000000000000000000000000900460ff161561217f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b3d565b3481600e5461218e9190613dcc565b146121db5760405162461bcd60e51b815260206004820152601360248201527f657861637420616d6f756e74206e6565646564000000000000000000000000006044820152606401610b3d565b6006811061222b5760405162461bcd60e51b815260206004820152600d60248201527f6d61782035206174206f6e6365000000000000000000000000000000000000006044820152606401610b3d565b6011548161223860005490565b6122429190613eb1565b11156122905760405162461bcd60e51b815260206004820152600c60248201527f6f7574206f662073746f636b00000000000000000000000000000000000000006044820152606401610b3d565b60135442116122e15760405162461bcd60e51b815260206004820152600860248201527f6e6f74206c6976650000000000000000000000000000000000000000000000006044820152606401610b3d565b610d3d3382612f4c565b60095473ffffffffffffffffffffffffffffffffffffffff1633146123525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b6011548161235f60005490565b6123699190613eb1565b11156123b75760405162461bcd60e51b815260206004820152600c60248201527f6f7574206f662073746f636b00000000000000000000000000000000000000006044820152606401610b3d565b61144e8282612f4c565b6060600d8054610a3f90613d16565b600a546040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246c9190613fe6565b73ffffffffffffffffffffffffffffffffffffffff161415612492576001915050610a2a565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b60095473ffffffffffffffffffffffffffffffffffffffff1633146125385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b73ffffffffffffffffffffffffffffffffffffffff81166125c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b3d565b610d3d81612ed5565b3b151590565b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095474010000000000000000000000000000000000000000900460ff166126bb5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b3d565b600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60095474010000000000000000000000000000000000000000900460ff161561279b5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b3d565b600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127063390565b600061280d82612cec565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061286b57503361285384610ac2565b73ffffffffffffffffffffffffffffffffffffffff16145b8061287d5750815161287d90336123d0565b9050806128f25760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610b3d565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129975760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610b3d565b73ffffffffffffffffffffffffffffffffffffffff8416612a205760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b3d565b612a3060008484600001516125d0565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600560205260408120805460019290612a789084906fffffffffffffffffffffffffffffffff16614003565b82546101009290920a6fffffffffffffffffffffffffffffffff81810219909316918316021790915573ffffffffffffffffffffffffffffffffffffffff861660009081526005602052604081208054600194509092612ada91859116614034565b82546fffffffffffffffffffffffffffffffff9182166101009390930a92830291909202199091161790555060408051808201825273ffffffffffffffffffffffffffffffffffffffff808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009091169190921617179055612ba1846001613eb1565b60008181526004602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16612c7657612bd8816000541190565b15612c7657604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611553565b600082612ce3858461326e565b14949350505050565b6040805180820190915260008082526020820152612d0b826000541190565b612d7d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610b3d565b60007f00000000000000000000000000000000000000000000000000000000000000008310612dde57612dd07f000000000000000000000000000000000000000000000000000000000000000084614068565b612ddb906001613eb1565b90505b825b818110612e665760008181526004602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215612e5357949350505050565b5080612e5e8161407f565b915050612de0565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610b3d565b6009805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61144e828260405180602001604052806000815250613312565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613131576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612fdd9033908990889088906004016140b4565b6020604051808303816000875af1925050508015613036575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613033918101906140fd565b60015b6130e6573d808015613064576040519150601f19603f3d011682016040523d82523d6000602084013e613069565b606091505b5080516130de5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b3d565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506124c9565b506001949350505050565b60608161317c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156131a6578061319081613d93565b915061319f9050600a83613e38565b9150613180565b60008167ffffffffffffffff8111156131c1576131c161394a565b6040519080825280601f01601f1916602001820160405280156131eb576020820181803683370190505b5090505b84156124c957613200600183614068565b915061320d600a8661411a565b613218906030613eb1565b60f81b81838151811061322d5761322d613e4c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613267600a86613e38565b94506131ef565b600081815b845181101561188c57600085828151811061329057613290613e4c565b602002602001015190508083116132d25760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506132ff565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061330a81613d93565b915050613273565b60005473ffffffffffffffffffffffffffffffffffffffff841661339e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b6133a9816000541190565b156133f65760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610b3d565b7f000000000000000000000000000000000000000000000000000000000000000083111561348c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600560209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff8082168352700100000000000000000000000000000000909104169181019190915281518083019092528051909190819061350b908790614034565b6fffffffffffffffffffffffffffffffff1681526020018583602001516135329190614034565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b8581101561370157604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461366f6000888488612f66565b6136e15760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b3d565b816136eb81613d93565b92505080806136f990613d93565b915050613615565b506000819055611553565b82805461371890613d16565b90600052602060002090601f01602090048101928261373a5760008555613780565b82601f1061375357805160ff1916838001178555613780565b82800160010185558215613780579182015b82811115613780578251825591602001919060010190613765565b5061137d9291505b8082111561137d5760008155600101613788565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610d3d57600080fd5b6000602082840312156137dc57600080fd5b81356137e78161379c565b9392505050565b60005b838110156138095781810151838201526020016137f1565b838111156111e45750506000910152565b600081518084526138328160208601602086016137ee565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006137e7602083018461381a565b60006020828403121561388957600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610d3d57600080fd5b600080604083850312156138c557600080fd5b82356138d081613890565b946020939093013593505050565b8015158114610d3d57600080fd5b6000602082840312156138fe57600080fd5b81356137e7816138de565b60008060006060848603121561391e57600080fd5b833561392981613890565b9250602084013561393981613890565b929592945050506040919091013590565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156139c0576139c061394a565b604052919050565b6000806000606084860312156139dd57600080fd5b83356139e881613890565b92506020848101359250604085013567ffffffffffffffff80821115613a0d57600080fd5b818701915087601f830112613a2157600080fd5b813581811115613a3357613a3361394a565b8060051b9150613a44848301613979565b818152918301840191848101908a841115613a5e57600080fd5b938501935b83851015613a7c57843582529385019390850190613a63565b8096505050505050509250925092565b600067ffffffffffffffff831115613aa657613aa661394a565b613ad760207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613979565b9050828152838383011115613aeb57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613b1457600080fd5b813567ffffffffffffffff811115613b2b57600080fd5b8201601f81018413613b3c57600080fd5b6124c984823560208401613a8c565b600060208284031215613b5d57600080fd5b81356137e781613890565b6020808252825182820181905260009190848201906040850190845b81811015613ba057835183529284019291840191600101613b84565b50909695505050505050565b60008060008060608587031215613bc257600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115613be857600080fd5b818701915087601f830112613bfc57600080fd5b813581811115613c0b57600080fd5b8860208260051b8501011115613c2057600080fd5b95989497505060200194505050565b60008060408385031215613c4257600080fd5b8235613c4d81613890565b91506020830135613c5d816138de565b809150509250929050565b60008060008060808587031215613c7e57600080fd5b8435613c8981613890565b93506020850135613c9981613890565b925060408501359150606085013567ffffffffffffffff811115613cbc57600080fd5b8501601f81018713613ccd57600080fd5b613cdc87823560208401613a8c565b91505092959194509250565b60008060408385031215613cfb57600080fd5b8235613d0681613890565b91506020830135613c5d81613890565b600181811c90821680613d2a57607f821691505b6020821081141561191f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dc557613dc5613d64565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e0457613e04613d64565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613e4757613e47613e09565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215613e8d57600080fd5b5051919050565b600060208284031215613ea657600080fd5b81516137e7816138de565b60008219821115613ec457613ec4613d64565b500190565b60008151613edb8185602086016137ee565b9290920192915050565b600080845481600182811c915080831680613f0157607f831692505b6020808410821415613f3a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613f4e5760018114613f7d57613faa565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613faa565b60008b81526020902060005b86811015613fa25781548b820152908501908301613f89565b505084890196505b505050505050610e2c613fbd8286613ec9565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b600060208284031215613ff857600080fd5b81516137e781613890565b60006fffffffffffffffffffffffffffffffff8381169083168181101561402c5761402c613d64565b039392505050565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561405f5761405f613d64565b01949350505050565b60008282101561407a5761407a613d64565b500390565b60008161408e5761408e613d64565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526140f3608083018461381a565b9695505050505050565b60006020828403121561410f57600080fd5b81516137e78161379c565b60008261412957614129613e09565b50069056fea2646970667358221220dde4193ab21dddd55724ca1df3b922c9d7c599812a1c499987af2ed9124f427b64736f6c634300080b003368747470733a2f2f6d6f6e6b6579706f6c792e636f6d2f636f6e74726163745f7572692f636f6e74726163745f7572692e6a736f6e455243373231413a207472616e7366657220746f206e6f6e2045524337323152

Deployed Bytecode

0x60806040526004361061031e5760003560e01c80637cb64759116101a5578063adfdeef9116100ec578063d7224ba011610095578063e8a3d4851161006f578063e8a3d48514610894578063e985e9c5146108a9578063ebf0c717146108c9578063f2fde38b146108df57600080fd5b8063d7224ba01461084b578063d96a094a14610861578063e58306f91461087457600080fd5b8063c87b56dd116100c6578063c87b56dd146107fb578063cf3090121461081b578063d5abeb011461083557600080fd5b8063adfdeef9146107a6578063b88d4fde146107c6578063c0e72740146107e657600080fd5b80638da5cb5b1161014e57806395d89b411161012857806395d89b4114610744578063a22cb46514610759578063acdce2731461077957600080fd5b80638da5cb5b146106e35780639292caaf1461070e578063938e3d7b1461072457600080fd5b80638462151c1161017f5780638462151c146106835780638905fd4f146106b0578063898aa67f146106d057600080fd5b80637cb647591461062d5780637f00c7a61461064d5780637ff9b5961461066d57600080fd5b806344a0d68a116102695780636b7d24701161021257806370a08231116101ec57806370a08231146105e35780637101ebca14610603578063715018a61461061857600080fd5b80636b7d24701461058d5780636bb7b1d9146105ad5780636d5d40c6146105c357600080fd5b806355f804b31161024357806355f804b31461051d5780635c975abb1461053d5780636352211e1461056d57600080fd5b806344a0d68a146104c85780634db6f635146104e85780634f6ccce7146104fd57600080fd5b80631c0ce3d3116102cb5780632f745c59116102a55780632f745c59146104805780633ccfd60b146104a057806342842e0e146104a857600080fd5b80631c0ce3d31461042057806323b872dd14610440578063275efe1a1461046057600080fd5b8063095ea7b3116102fc578063095ea7b3146103bf57806316c38b3c146103e157806318160ddd1461040157600080fd5b806301ffc9a71461032357806306fdde0314610358578063081812fc1461037a575b600080fd5b34801561032f57600080fd5b5061034361033e3660046137ca565b6108ff565b60405190151581526020015b60405180910390f35b34801561036457600080fd5b5061036d610a30565b60405161034f9190613864565b34801561038657600080fd5b5061039a610395366004613877565b610ac2565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161034f565b3480156103cb57600080fd5b506103df6103da3660046138b2565b610b6f565b005b3480156103ed57600080fd5b506103df6103fc3660046138ec565b610cc9565b34801561040d57600080fd5b506000545b60405190815260200161034f565b34801561042c57600080fd5b506103df61043b366004613877565b610d48565b34801561044c57600080fd5b506103df61045b366004613909565b610db4565b34801561046c57600080fd5b5061034361047b3660046139c8565b610dbf565b34801561048c57600080fd5b5061041261049b3660046138b2565b610e35565b6103df611005565b3480156104b457600080fd5b506103df6104c3366004613909565b6111ea565b3480156104d457600080fd5b506103df6104e3366004613877565b611205565b3480156104f457600080fd5b506103df611271565b34801561050957600080fd5b50610412610518366004613877565b611305565b34801561052957600080fd5b506103df610538366004613b02565b611381565b34801561054957600080fd5b5060095474010000000000000000000000000000000000000000900460ff16610343565b34801561057957600080fd5b5061039a610588366004613877565b611452565b34801561059957600080fd5b506103df6105a83660046138b2565b611464565b3480156105b957600080fd5b5061041260135481565b3480156105cf57600080fd5b506103df6105de366004613877565b61155b565b3480156105ef57600080fd5b506104126105fe366004613b4b565b6115c7565b34801561060f57600080fd5b5061036d61168d565b34801561062457600080fd5b506103df61171b565b34801561063957600080fd5b506103df610648366004613877565b61178e565b34801561065957600080fd5b506103df610668366004613877565b6117fa565b34801561067957600080fd5b50610412600e5481565b34801561068f57600080fd5b506106a361069e366004613b4b565b611866565b60405161034f9190613b68565b3480156106bc57600080fd5b506103df6106cb366004613b4b565b611925565b6103df6106de366004613bac565b611ab8565b3480156106ef57600080fd5b5060095473ffffffffffffffffffffffffffffffffffffffff1661039a565b34801561071a57600080fd5b5061041260125481565b34801561073057600080fd5b506103df61073f366004613b02565b611d46565b34801561075057600080fd5b5061036d611e13565b34801561076557600080fd5b506103df610774366004613c2f565b611e22565b34801561078557600080fd5b50610412610794366004613b4b565b600f6020526000908152604090205481565b3480156107b257600080fd5b506103df6107c1366004613b4b565b611f1f565b3480156107d257600080fd5b506103df6107e1366004613c68565b611fcd565b3480156107f257600080fd5b5061036d612056565b34801561080757600080fd5b5061036d610816366004613877565b612063565b34801561082757600080fd5b506010546103439060ff1681565b34801561084157600080fd5b5061041260115481565b34801561085757600080fd5b5061041260085481565b6103df61086f366004613877565b612114565b34801561088057600080fd5b506103df61088f3660046138b2565b6122eb565b3480156108a057600080fd5b5061036d6123c1565b3480156108b557600080fd5b506103436108c4366004613ce8565b6123d0565b3480156108d557600080fd5b50610412600b5481565b3480156108eb57600080fd5b506103df6108fa366004613b4b565b6124d1565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061099257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806109de57507fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d6300000000000000000000000000000000000000000000000000000000145b80610a2a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060028054610a3f90613d16565b80601f0160208091040260200160405190810160405280929190818152602001828054610a6b90613d16565b8015610ab85780601f10610a8d57610100808354040283529160200191610ab8565b820191906000526020600020905b815481529060010190602001808311610a9b57829003601f168201915b5050505050905090565b6000610acf826000541190565b610b465760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526006602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610b7a82611452565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610c1e5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f65720000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b3373ffffffffffffffffffffffffffffffffffffffff82161480610c475750610c4781336123d0565b610cb95760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610b3d565b610cc48383836125d0565b505050565b60095473ffffffffffffffffffffffffffffffffffffffff163314610d305760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b80610d4057610d3d612651565b50565b610d3d612730565b60095473ffffffffffffffffffffffffffffffffffffffff163314610daf5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601255565b610cc4838383612802565b6040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b166020820152603481018390526000908190605401604051602081830303815290604052805190602001209050610e2c600b548285612cd69092919063ffffffff16565b95945050505050565b6000610e40836115c7565b8210610eb45760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f64730000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b600080549080805b83811015610f965760008181526004602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215610f2d57805192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610f835786841415610f7557509350610a2a92505050565b83610f7f81613d93565b9450505b5080610f8e81613d93565b915050610ebc565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e6465780000000000000000000000000000000000006064820152608401610b3d565b60095473ffffffffffffffffffffffffffffffffffffffff16331461106c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b47600073ed6f9e7d3a94141e28ca5d1905d2ea9f085d00fa6003611091846001613dcc565b61109b9190613e38565b604051600081818185875af1925050503d80600081146110d7576040519150601f19603f3d011682016040523d82523d6000602084013e6110dc565b606091505b50509050806110ea57600080fd5b600073318cbb40fdaf1a2ab545b957518cb95d7c18ed32600361110e856001613dcc565b6111189190613e38565b604051600081818185875af1925050503d8060008114611154576040519150601f19603f3d011682016040523d82523d6000602084013e611159565b606091505b505090508061116757600080fd5b600073831c6bf9562791480802055eb51311f6eedca783600361118b866001613dcc565b6111959190613e38565b604051600081818185875af1925050503d80600081146111d1576040519150601f19603f3d011682016040523d82523d6000602084013e6111d6565b606091505b50509050806111e457600080fd5b50505050565b610cc483838360405180602001604052806000815250611fcd565b60095473ffffffffffffffffffffffffffffffffffffffff16331461126c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b600e55565b60095473ffffffffffffffffffffffffffffffffffffffff1633146112d85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60008054821061137d5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e647300000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b5090565b60095473ffffffffffffffffffffffffffffffffffffffff1633146113e85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b60105460ff161561143b5760405162461bcd60e51b815260206004820152601060248201527f6c6f636b65642066756e6374696f6e73000000000000000000000000000000006044820152606401610b3d565b805161144e90600c90602084019061370c565b5050565b600061145d82612cec565b5192915050565b60095473ffffffffffffffffffffffffffffffffffffffff1633146114cb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b6040517f42842e0e0000000000000000000000000000000000000000000000000000000081523060048201523360248201526044810182905273ffffffffffffffffffffffffffffffffffffffff8316906342842e0e90606401600060405180830381600087803b15801561153f57600080fd5b505af1158015611553573d6000803e3d6000fd5b505050505050565b60095473ffffffffffffffffffffffffffffffffffffffff1633146115c25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601355565b600073ffffffffffffffffffffffffffffffffffffffff82166116525760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f20616464726573730000000000000000000000000000000000000000006064820152608401610b3d565b5073ffffffffffffffffffffffffffffffffffffffff166000908152600560205260409020546fffffffffffffffffffffffffffffffff1690565b600c805461169a90613d16565b80601f01602080910402602001604051908101604052809291908181526020018280546116c690613d16565b80156117135780601f106116e857610100808354040283529160200191611713565b820191906000526020600020905b8154815290600101906020018083116116f657829003601f168201915b505050505081565b60095473ffffffffffffffffffffffffffffffffffffffff1633146117825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b61178c6000612ed5565b565b60095473ffffffffffffffffffffffffffffffffffffffff1633146117f55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b600b55565b60095473ffffffffffffffffffffffffffffffffffffffff1633146118615760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b601155565b60606000611873836115c7565b9050806118945760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156118af576118af61394a565b6040519080825280602002602001820160405280156118d8578160200160208202803683370190505b50905060005b8281101561188c576118f08582610e35565b82828151811061190257611902613e4c565b60209081029190910101528061191781613d93565b9150506118de565b50919050565b60095473ffffffffffffffffffffffffffffffffffffffff16331461198c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015273ffffffffffffffffffffffffffffffffffffffff82169063a9059cbb90339083906370a0823190602401602060405180830381865afa158015611a00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a249190613e7b565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff909216600483015260248201526044016020604051808303816000875af1158015611a94573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061144e9190613e94565b60095474010000000000000000000000000000000000000000900460ff1615611b235760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b3d565b6002841115611b745760405162461bcd60e51b815260206004820152600560248201527f6d617820320000000000000000000000000000000000000000000000000000006044820152606401610b3d565b3484600e54611b839190613dcc565b14611bd05760405162461bcd60e51b815260206004820152601360248201527f657861637420616d6f756e74206e6565646564000000000000000000000000006044820152606401610b3d565b336000908152600f6020526040902054600290611bee908690613eb1565b1115611c3c5760405162461bcd60e51b815260206004820152601660248201527f6d6178207065722077616c6c65742072656163686564000000000000000000006044820152606401610b3d565b6012544211611c8d5760405162461bcd60e51b815260206004820152600860248201527f6e6f74206c6976650000000000000000000000000000000000000000000000006044820152606401610b3d565b611ccb3384848480806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250610dbf92505050565b611d175760405162461bcd60e51b815260206004820152601460248201527f696e76616c6964206d65726b6c652070726f6f660000000000000000000000006044820152606401610b3d565b336000908152600f602052604081208054869290611d36908490613eb1565b909155506111e490503385612f4c565b60095473ffffffffffffffffffffffffffffffffffffffff163314611dad5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b60105460ff1615611e005760405162461bcd60e51b815260206004820152601060248201527f6c6f636b65642066756e6374696f6e73000000000000000000000000000000006044820152606401610b3d565b805161144e90600d90602084019061370c565b606060038054610a3f90613d16565b73ffffffffffffffffffffffffffffffffffffffff8216331415611e885760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610b3d565b33600081815260076020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60095473ffffffffffffffffffffffffffffffffffffffff163314611f865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b600a80547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b611fd8848484612802565b611fe484848484612f66565b6111e45760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b3d565b600d805461169a90613d16565b6060612070826000541190565b6120e25760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610b3d565b600c6120ed8361313c565b6040516020016120fe929190613ee5565b6040516020818303038152906040529050919050565b60095474010000000000000000000000000000000000000000900460ff161561217f5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b3d565b3481600e5461218e9190613dcc565b146121db5760405162461bcd60e51b815260206004820152601360248201527f657861637420616d6f756e74206e6565646564000000000000000000000000006044820152606401610b3d565b6006811061222b5760405162461bcd60e51b815260206004820152600d60248201527f6d61782035206174206f6e6365000000000000000000000000000000000000006044820152606401610b3d565b6011548161223860005490565b6122429190613eb1565b11156122905760405162461bcd60e51b815260206004820152600c60248201527f6f7574206f662073746f636b00000000000000000000000000000000000000006044820152606401610b3d565b60135442116122e15760405162461bcd60e51b815260206004820152600860248201527f6e6f74206c6976650000000000000000000000000000000000000000000000006044820152606401610b3d565b610d3d3382612f4c565b60095473ffffffffffffffffffffffffffffffffffffffff1633146123525760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b6011548161235f60005490565b6123699190613eb1565b11156123b75760405162461bcd60e51b815260206004820152600c60248201527f6f7574206f662073746f636b00000000000000000000000000000000000000006044820152606401610b3d565b61144e8282612f4c565b6060600d8054610a3f90613d16565b600a546040517fc455279100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015612448573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061246c9190613fe6565b73ffffffffffffffffffffffffffffffffffffffff161415612492576001915050610a2a565b73ffffffffffffffffffffffffffffffffffffffff80851660009081526007602090815260408083209387168352929052205460ff165b949350505050565b60095473ffffffffffffffffffffffffffffffffffffffff1633146125385760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b3d565b73ffffffffffffffffffffffffffffffffffffffff81166125c15760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610b3d565b610d3d81612ed5565b3b151590565b60008281526006602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff87811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b60095474010000000000000000000000000000000000000000900460ff166126bb5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610b3d565b600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b60095474010000000000000000000000000000000000000000900460ff161561279b5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610b3d565b600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127063390565b600061280d82612cec565b805190915060009073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16148061286b57503361285384610ac2565b73ffffffffffffffffffffffffffffffffffffffff16145b8061287d5750815161287d90336123d0565b9050806128f25760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f76656400000000000000000000000000006064820152608401610b3d565b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff16146129975760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e657200000000000000000000000000000000000000000000000000006064820152608401610b3d565b73ffffffffffffffffffffffffffffffffffffffff8416612a205760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610b3d565b612a3060008484600001516125d0565b73ffffffffffffffffffffffffffffffffffffffff85166000908152600560205260408120805460019290612a789084906fffffffffffffffffffffffffffffffff16614003565b82546101009290920a6fffffffffffffffffffffffffffffffff81810219909316918316021790915573ffffffffffffffffffffffffffffffffffffffff861660009081526005602052604081208054600194509092612ada91859116614034565b82546fffffffffffffffffffffffffffffffff9182166101009390930a92830291909202199091161790555060408051808201825273ffffffffffffffffffffffffffffffffffffffff808716825267ffffffffffffffff42811660208085019182526000898152600490915294852093518454915190921674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009091169190921617179055612ba1846001613eb1565b60008181526004602052604090205490915073ffffffffffffffffffffffffffffffffffffffff16612c7657612bd8816000541190565b15612c7657604080518082018252845173ffffffffffffffffffffffffffffffffffffffff908116825260208087015167ffffffffffffffff908116828501908152600087815260049093529490912092518354945190911674010000000000000000000000000000000000000000027fffffffff000000000000000000000000000000000000000000000000000000009094169116179190911790555b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611553565b600082612ce3858461326e565b14949350505050565b6040805180820190915260008082526020820152612d0b826000541190565b612d7d5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e000000000000000000000000000000000000000000006064820152608401610b3d565b60007f00000000000000000000000000000000000000000000000000000000000000058310612dde57612dd07f000000000000000000000000000000000000000000000000000000000000000584614068565b612ddb906001613eb1565b90505b825b818110612e665760008181526004602090815260409182902082518084019093525473ffffffffffffffffffffffffffffffffffffffff81168084527401000000000000000000000000000000000000000090910467ffffffffffffffff169183019190915215612e5357949350505050565b5080612e5e8161407f565b915050612de0565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201527f206f776e6572206f6620746f6b656e00000000000000000000000000000000006064820152608401610b3d565b6009805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61144e828260405180602001604052806000815250613312565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613131576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612fdd9033908990889088906004016140b4565b6020604051808303816000875af1925050508015613036575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252613033918101906140fd565b60015b6130e6573d808015613064576040519150601f19603f3d011682016040523d82523d6000602084013e613069565b606091505b5080516130de5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b3d565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506124c9565b506001949350505050565b60608161317c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156131a6578061319081613d93565b915061319f9050600a83613e38565b9150613180565b60008167ffffffffffffffff8111156131c1576131c161394a565b6040519080825280601f01601f1916602001820160405280156131eb576020820181803683370190505b5090505b84156124c957613200600183614068565b915061320d600a8661411a565b613218906030613eb1565b60f81b81838151811061322d5761322d613e4c565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350613267600a86613e38565b94506131ef565b600081815b845181101561188c57600085828151811061329057613290613e4c565b602002602001015190508083116132d25760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506132ff565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061330a81613d93565b915050613273565b60005473ffffffffffffffffffffffffffffffffffffffff841661339e5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b6133a9816000541190565b156133f65760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610b3d565b7f000000000000000000000000000000000000000000000000000000000000000583111561348c5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960448201527f67680000000000000000000000000000000000000000000000000000000000006064820152608401610b3d565b73ffffffffffffffffffffffffffffffffffffffff84166000908152600560209081526040918290208251808401845290546fffffffffffffffffffffffffffffffff8082168352700100000000000000000000000000000000909104169181019190915281518083019092528051909190819061350b908790614034565b6fffffffffffffffffffffffffffffffff1681526020018583602001516135329190614034565b6fffffffffffffffffffffffffffffffff90811690915273ffffffffffffffffffffffffffffffffffffffff808816600081815260056020908152604080832087519783015187167001000000000000000000000000000000000297909616969096179094558451808601865291825267ffffffffffffffff428116838601908152888352600490955294812091518254945190951674010000000000000000000000000000000000000000027fffffffff0000000000000000000000000000000000000000000000000000000090941694909216939093179190911790915582905b8581101561370157604051829073ffffffffffffffffffffffffffffffffffffffff8916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461366f6000888488612f66565b6136e15760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e746572000000000000000000000000006064820152608401610b3d565b816136eb81613d93565b92505080806136f990613d93565b915050613615565b506000819055611553565b82805461371890613d16565b90600052602060002090601f01602090048101928261373a5760008555613780565b82601f1061375357805160ff1916838001178555613780565b82800160010185558215613780579182015b82811115613780578251825591602001919060010190613765565b5061137d9291505b8082111561137d5760008155600101613788565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610d3d57600080fd5b6000602082840312156137dc57600080fd5b81356137e78161379c565b9392505050565b60005b838110156138095781810151838201526020016137f1565b838111156111e45750506000910152565b600081518084526138328160208601602086016137ee565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6020815260006137e7602083018461381a565b60006020828403121561388957600080fd5b5035919050565b73ffffffffffffffffffffffffffffffffffffffff81168114610d3d57600080fd5b600080604083850312156138c557600080fd5b82356138d081613890565b946020939093013593505050565b8015158114610d3d57600080fd5b6000602082840312156138fe57600080fd5b81356137e7816138de565b60008060006060848603121561391e57600080fd5b833561392981613890565b9250602084013561393981613890565b929592945050506040919091013590565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff811182821017156139c0576139c061394a565b604052919050565b6000806000606084860312156139dd57600080fd5b83356139e881613890565b92506020848101359250604085013567ffffffffffffffff80821115613a0d57600080fd5b818701915087601f830112613a2157600080fd5b813581811115613a3357613a3361394a565b8060051b9150613a44848301613979565b818152918301840191848101908a841115613a5e57600080fd5b938501935b83851015613a7c57843582529385019390850190613a63565b8096505050505050509250925092565b600067ffffffffffffffff831115613aa657613aa661394a565b613ad760207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f86011601613979565b9050828152838383011115613aeb57600080fd5b828260208301376000602084830101529392505050565b600060208284031215613b1457600080fd5b813567ffffffffffffffff811115613b2b57600080fd5b8201601f81018413613b3c57600080fd5b6124c984823560208401613a8c565b600060208284031215613b5d57600080fd5b81356137e781613890565b6020808252825182820181905260009190848201906040850190845b81811015613ba057835183529284019291840191600101613b84565b50909695505050505050565b60008060008060608587031215613bc257600080fd5b8435935060208501359250604085013567ffffffffffffffff80821115613be857600080fd5b818701915087601f830112613bfc57600080fd5b813581811115613c0b57600080fd5b8860208260051b8501011115613c2057600080fd5b95989497505060200194505050565b60008060408385031215613c4257600080fd5b8235613c4d81613890565b91506020830135613c5d816138de565b809150509250929050565b60008060008060808587031215613c7e57600080fd5b8435613c8981613890565b93506020850135613c9981613890565b925060408501359150606085013567ffffffffffffffff811115613cbc57600080fd5b8501601f81018713613ccd57600080fd5b613cdc87823560208401613a8c565b91505092959194509250565b60008060408385031215613cfb57600080fd5b8235613d0681613890565b91506020830135613c5d81613890565b600181811c90821680613d2a57607f821691505b6020821081141561191f577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613dc557613dc5613d64565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e0457613e04613d64565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613e4757613e47613e09565b500490565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215613e8d57600080fd5b5051919050565b600060208284031215613ea657600080fd5b81516137e7816138de565b60008219821115613ec457613ec4613d64565b500190565b60008151613edb8185602086016137ee565b9290920192915050565b600080845481600182811c915080831680613f0157607f831692505b6020808410821415613f3a577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613f4e5760018114613f7d57613faa565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613faa565b60008b81526020902060005b86811015613fa25781548b820152908501908301613f89565b505084890196505b505050505050610e2c613fbd8286613ec9565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b600060208284031215613ff857600080fd5b81516137e781613890565b60006fffffffffffffffffffffffffffffffff8381169083168181101561402c5761402c613d64565b039392505050565b60006fffffffffffffffffffffffffffffffff80831681851680830382111561405f5761405f613d64565b01949350505050565b60008282101561407a5761407a613d64565b500390565b60008161408e5761408e613d64565b507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526140f3608083018461381a565b9695505050505050565b60006020828403121561410f57600080fd5b81516137e78161379c565b60008261412957614129613e09565b50069056fea2646970667358221220dde4193ab21dddd55724ca1df3b922c9d7c599812a1c499987af2ed9124f427b64736f6c634300080b0033

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

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