ETH Price: $3,486.54 (+3.93%)

Token

Llamafrens (LF)
 

Overview

Max Total Supply

555 LF

Holders

391

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 LF
0xec0becfb61010241c982c119c373436890988119
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:
Llamafrens

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion
File 1 of 2 : Llamafrens.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "./ERC721_efficient.sol";

contract Llamafrens is ERC721Enumerable, Ownable {
    uint256 public PRE_PRICE = 0.04 ether;
    uint256 public PRICE = 0.04 ether;
    address immutable ASTERIA_ADDRESS =
        0x92768aC8daf1005d00C48Ba30A9925ef12d59f8A;
    address immutable AYDAN_ADDRESS =
        0x59cA02155ea6a106015B2d869814D4Ddd951889F;

    uint256 public immutable MAX_SUPPLY_PLUS1 = 556;
    uint256 public immutable MAX_PRESALE_PLUS1 = 556;
    uint256 public immutable MAX_PER_TXN_PLUS1 = 3;

    enum SaleState { pause, presale, publicsale }
    SaleState public saleState;

    bytes32 public MerkleRoot = 0x043187469c11d994528ce9cfc4d390f2e7c7b41a0cc2cbc52b96aabf046ad3b6;
    mapping(address => uint256) public mintedPresale;     

    bool public isTeamReserved;
    address public proxyRegistryAddress = 0xa5409ec958C83C3f309868babACA7c86DCB077c1;
    mapping(address => bool) public projectProxy;

    string public revealedURI;
    string public unrevealedURI = "ipfs://QmbXK2DMeZPMAmveRvKhxnCa2RkFfwsRMpCuWbhr87A4YD";
    bool public isRevealed;

    constructor() ERC721("Llamafrens", "LF") {}

    /**
     * USER FUNCTIONS
     */

    function mint(uint256 _amount) external payable {
        require(saleState == SaleState.publicsale, "public sale not active");
        require(msg.sender == tx.origin, "no proxy transactions");
        require(_amount < MAX_PER_TXN_PLUS1, "max per session exceeded");
        require(msg.value >= _amount * PRICE, "not enough ETH");

        uint256 _supply = totalSupply();
        require(_supply + _amount < MAX_SUPPLY_PLUS1, "max supply exceeded");

        for (uint256 i = 0; i < _amount; ) {
            _mint(msg.sender, _supply + i);
            unchecked { ++i; }
        }
    }

    function mintPresale(bytes32[] memory _proof) external payable {
        require(saleState == SaleState.presale, "presale not active");
        require(msg.sender == tx.origin, "no proxy transactions");
        require(msg.value >= PRE_PRICE, "not enough ETH");
        require(mintedPresale[msg.sender] < 1, "address already minted");

        require(
            MerkleProof.verify(
                _proof,
                MerkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ),
            "invalid sender proof"
        );

        uint256 _next_token = totalSupply();
        unchecked { _next_token++; }

        require(_next_token < MAX_PRESALE_PLUS1, "max presale supply exceeded");

        mintedPresale[msg.sender] = 1;
        _mint(msg.sender, _next_token); 
    }

    /**
     * VIEW FUNCTIONS
     */

    function checkProof(address a, bytes32[] memory proof) external view returns (bool) {
        return
            MerkleProof.verify(
                proof,
                MerkleRoot,
                keccak256(abi.encodePacked(a))
            );
    }

    function tokensOfWalletOwner(address _owner)
        public
        view
        returns (uint256[] memory)
    {
        uint256 tokenCount = balanceOf(_owner);
        uint256[] memory tokenIds = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokenIds;
    }

    /**
     * OVERRIDE FUNCTIONS
     */

    function isApprovedForAll(address _owner, address operator)
        public
        view
        override(ERC721, IERC721)
        returns (bool)
    {
        MarketplaceProxyRegistry proxyRegistry = MarketplaceProxyRegistry(
            proxyRegistryAddress
        );
        if (
            address(proxyRegistry) != address(0) &&
            (address(proxyRegistry.proxies(_owner)) == operator ||
                projectProxy[operator])
        ) return true;
        return super.isApprovedForAll(_owner, operator);
    }

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

        if (isRevealed) {
            return
                bytes(revealedURI).length > 0
                    ? string(
                        abi.encodePacked(revealedURI, Strings.toString(tokenId))
                    )
                    : "";
        }
        return
            bytes(unrevealedURI).length > 0
                ? string(abi.encodePacked(unrevealedURI))
                : "";
    }

    /**
     * OWNER FUNCTIONS
     */
    function teamReserveMint() external onlyOwner {
        require(!isTeamReserved, "team reserves have already been minted");
        uint256 i = 0;
        for ( ; i < 26 ; ) {
            _mint(AYDAN_ADDRESS, i);
            unchecked { ++i; }
        }
        isTeamReserved = true;
    }

    function setBaseURI(
        string memory unrevealedbaseURI_,
        string memory revealedbaseURI_
    ) public onlyOwner {
        unrevealedURI = unrevealedbaseURI_;
        revealedURI = revealedbaseURI_;
    }

    function setIsRevealed() public onlyOwner {
        isRevealed = !isRevealed;
    }

    function setMerkleRoot(bytes32 _MerkleRoot) public onlyOwner {
        MerkleRoot = _MerkleRoot;
    }

    function setSaleState(SaleState _newState) public onlyOwner {
        saleState = _newState;
    }

    function setPrice(uint256 pub_price, uint256 pre_price) public onlyOwner {
        PRICE = pub_price;
        PRE_PRICE = pre_price;
    }

    function setProxyRegistry(address _proxyRegistryAddress) public onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    function withdraw() public onlyOwner {
        (bool asteria_success, ) = ASTERIA_ADDRESS.call{value: address(this).balance / 20}("");
        require(asteria_success, "asteria withdraw failed");

        (bool success, ) = AYDAN_ADDRESS.call{value: address(this).balance}("");
        require(success, "withdraw failed");
    }
}

contract OwnableDelegateProxy {}

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

File 2 of 2 : ERC721_efficient.sol
/**
* Flattened contract dependencies for ERC721 NFT projects
* @Danny_One
*
*
* Added Merkle Proof presale list
* Improved Enumerable per new best practices to save gas
* 
* Flattened from:
*	MerkleProof.sol - Nuclear Nerds (2022-01-16)
*   ERC721Enumerable.sol - Nuclear Nerds (2022-01-04)
*   IERC721Enumerable.sol - Open Zeppelin (2022-01-04)
* 	OpenZeppelin (on 2021-11-18):
* 		ERC721.sol
* 		IERC721.sol
* 		IERC721Receiver.sol
* 		IERC721Metadata.sol
* 		Address.sol
* 		Context.sol
* 		Ownable.sol
* 		Strings.sol
* 		Counters.sol
* 		ERC165.sol
* 		IERC165.sol
* 	nonReentrant (custom)
* 	
**/


// 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 = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

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




// OpenZeppelin Contracts v4.3.2 (utils/introspection/IERC165.sol)


/**
 * @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);
}



// OpenZeppelin Contracts v4.3.2 (utils/introspection/ERC165.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;
    }
}






// OpenZeppelin Contracts v4.3.2 (utils/Strings.sol)


/**
 * @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);
    }
}







// OpenZeppelin Contracts v4.3.2 (utils/Context.sol)


/**
 * @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;
    }
}




// OpenZeppelin Contracts v4.3.2 (access/Ownable.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);
    }
}




// OpenZeppelin Contracts v4.3.2 (utils/Address.sol)


/**
 * @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);
            }
        }
    }
}






// OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721.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;
}







// OpenZeppelin Contracts v4.3.2 (token/ERC721/extensions/IERC721Metadata.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);
}





// OpenZeppelin Contracts v4.3.2 (token/ERC721/IERC721Receiver.sol)


/**
 * @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);
}




// OpenZeppelin Contracts v4.3.2 (utils/Counters.sol)


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

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

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

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

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





/**
 * @title nonReentrant module to prevent recursive calling of functions
 * @dev See https://medium.com/coinmonks/protect-your-solidity-smart-contracts-from-reentrancy-attacks-9972c3af7c21
 * part of a flattened ERC721 dependency collection compiled by Danny_One
 */
 
abstract contract nonReentrant {
    bool private _reentryKey = false;
    modifier reentryLock {
        require(!_reentryKey, "cannot reenter a locked function");
        _reentryKey = true;
        _;
        _reentryKey = false;
    }
}






// OpenZeppelin Contracts v4.3.2 (token/ERC721/ERC721.sol)



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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;
	
	// Base URI
    string private _baseURI;
	
	// Owner array
	address[] internal _owners;
	
	// Removed for optimization
    // Mapping from token ID to owner address
    // mapping(uint256 => address) private _owners;
    // Mapping owner address to token count
    // mapping(address => uint256) private _balances;

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

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

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

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

    /**
     * @dev See {IERC721-balanceOf}.
	 * updated for owner array
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
		uint256 _ownerBalance = 0;
		for(uint i = 0; i < _owners.length; i++) {
			if(_owners[i] == owner) _ownerBalance ++;
		}
        return _ownerBalance;
    }
	
	
    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
     * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
     * by default, can be overriden in child contracts.
     */
    function baseURI() internal view virtual returns (string memory) {
        return _baseURI;
    }
	
    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }


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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _owners.push(to);

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

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

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

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

        _owners[tokenId] = address(0);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

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

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

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




// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.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);
}





/**
 * borrowed from Nuclear Nerds implementation
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account but rips out the core of the gas-wasting processing that comes from OpenZeppelin.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

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

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

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

        uint count;
        for(uint i; i < _owners.length; i++){
            if(owner == _owners[i]){
                if(count == index) return i;
                else count++;
            }
        }

        revert("ERC721Enumerable: owner index out of bounds");
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 5000
  },
  "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":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_TXN_PLUS1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRESALE_PLUS1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY_PLUS1","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"a","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"checkProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isTeamReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mintPresale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintedPresale","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":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"saleState","outputs":[{"internalType":"enum Llamafrens.SaleState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"unrevealedbaseURI_","type":"string"},{"internalType":"string","name":"revealedbaseURI_","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setIsRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_MerkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"pub_price","type":"uint256"},{"internalType":"uint256","name":"pre_price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"enum Llamafrens.SaleState","name":"_newState","type":"uint8"}],"name":"setSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamReserveMint","outputs":[],"stateMutability":"nonpayable","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":"tokenId","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":"tokensOfWalletOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unrevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

668e1bc9bf04000060078190556008557392768ac8daf1005d00c48ba30a9925ef12d59f8a6080527359ca02155ea6a106015b2d869814d4ddd951889f60a05261022c60c081905260e0526003610100527f043187469c11d994528ce9cfc4d390f2e7c7b41a0cc2cbc52b96aabf046ad3b6600a55600c8054610100600160a81b03191674a5409ec958c83c3f309868babaca7c86dcb077c1001790556101806040526035610120818152906200365061014039600f90620000c290826200024d565b50348015620000d057600080fd5b506040518060400160405280600a8152602001694c6c616d616672656e7360b01b81525060405180604001604052806002815260200161262360f11b81525081600090816200012091906200024d565b5060016200012f82826200024d565b5050506200014c620001466200015260201b60201c565b62000156565b62000319565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001d357607f821691505b602082108103620001f457634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200024857600081815260208120601f850160051c81016020861015620002235750805b601f850160051c820191505b8181101562000244578281556001016200022f565b5050505b505050565b81516001600160401b03811115620002695762000269620001a8565b62000281816200027a8454620001be565b84620001fa565b602080601f831160018114620002b95760008415620002a05750858301515b600019600386901b1c1916600185901b17855562000244565b600085815260208120601f198616915b82811015620002ea57888601518255948401946001909101908401620002c9565b5085821015620003095787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60805160a05160c05160e051610100516132d66200037a6000396000818161033e01526118650152600081816107450152611605015260008181610813015261193d015260008181610e730152611d1001526000610db201526132d66000f3fe6080604052600436106102f25760003560e01c806370a082311161018f578063a22cb465116100e1578063ce4678f51161008a578063f2fde38b11610064578063f2fde38b14610855578063f7d9757714610875578063f7e8d6ea1461089557600080fd5b8063ce4678f5146107ec578063e1eb99ac14610801578063e985e9c51461083557600080fd5b8063b88d4fde116100bb578063b88d4fde14610787578063c87b56dd146107a7578063cd7c0326146107c757600080fd5b8063a22cb46514610713578063a8c94e4814610733578063adfdeef91461076757600080fd5b8063859b584c1161014357806395d89b411161011d57806395d89b41146106d65780639c53a40b146106eb578063a0712d681461070057600080fd5b8063859b584c146106755780638d859f3e146106a25780638da5cb5b146106b857600080fd5b80637cb64759116101745780637cb64759146106155780637d60157b146106355780637e75ecb11461064857600080fd5b806370a08231146105e0578063715018a61461060057600080fd5b806340f805bf116102485780635a67de07116101fc5780636352211e116101d65780636352211e1461058b5780636790a9de146105ab5780637035bf18146105cb57600080fd5b80635a67de07146105145780635bab26e214610534578063603f4d521461056457600080fd5b80634f6ccce71161022d5780634f6ccce7146104c457806354214f69146104e4578063556fedd2146104fe57600080fd5b806340f805bf1461048457806342842e0e146104a457600080fd5b8063132d3f6a116102aa5780632f745c59116102845780632f745c59146104355780633692214f146104555780633ccfd60b1461046f57600080fd5b8063132d3f6a146103ea57806318160ddd1461040057806323b872dd1461041557600080fd5b806306fdde03116102db57806306fdde031461036e578063081812fc14610390578063095ea7b3146103c857600080fd5b806301ffc9a7146102f7578063062203561461032c575b600080fd5b34801561030357600080fd5b50610317610312366004612a5d565b6108aa565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610323565b34801561037a57600080fd5b50610383610906565b6040516103239190612ad2565b34801561039c57600080fd5b506103b06103ab366004612ae5565b610998565b6040516001600160a01b039091168152602001610323565b3480156103d457600080fd5b506103e86103e3366004612b13565b610a36565b005b3480156103f657600080fd5b50610360600a5481565b34801561040c57600080fd5b50600354610360565b34801561042157600080fd5b506103e8610430366004612b3f565b610b67565b34801561044157600080fd5b50610360610450366004612b13565b610bee565b34801561046157600080fd5b50600c546103179060ff1681565b34801561047b57600080fd5b506103e8610d4c565b34801561049057600080fd5b5061031761049f366004612c47565b610f36565b3480156104b057600080fd5b506103e86104bf366004612b3f565b610f98565b3480156104d057600080fd5b506103606104df366004612ae5565b610fb3565b3480156104f057600080fd5b506010546103179060ff1681565b34801561050a57600080fd5b5061036060075481565b34801561052057600080fd5b506103e861052f366004612c97565b611031565b34801561054057600080fd5b5061031761054f366004612cb8565b600d6020526000908152604090205460ff1681565b34801561057057600080fd5b5060095461057e9060ff1681565b6040516103239190612ceb565b34801561059757600080fd5b506103b06105a6366004612ae5565b6110b2565b3480156105b757600080fd5b506103e86105c6366004612d8b565b611152565b3480156105d757600080fd5b506103836111c5565b3480156105ec57600080fd5b506103606105fb366004612cb8565b611253565b34801561060c57600080fd5b506103e861133d565b34801561062157600080fd5b506103e8610630366004612ae5565b6113a3565b6103e8610643366004612de5565b611402565b34801561065457600080fd5b50610360610663366004612cb8565b600b6020526000908152604090205481565b34801561068157600080fd5b50610695610690366004612cb8565b61168f565b6040516103239190612e1a565b3480156106ae57600080fd5b5061036060085481565b3480156106c457600080fd5b506006546001600160a01b03166103b0565b3480156106e257600080fd5b50610383611731565b3480156106f757600080fd5b506103e8611740565b6103e861070e366004612ae5565b6117ae565b34801561071f57600080fd5b506103e861072e366004612e5e565b6119d9565b34801561073f57600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000000081565b34801561077357600080fd5b506103e8610782366004612cb8565b6119e4565b34801561079357600080fd5b506103e86107a2366004612e9c565b611a7d565b3480156107b357600080fd5b506103836107c2366004612ae5565b611b0b565b3480156107d357600080fd5b50600c546103b09061010090046001600160a01b031681565b3480156107f857600080fd5b506103e8611c2c565b34801561080d57600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000000081565b34801561084157600080fd5b50610317610850366004612f1c565b611d4d565b34801561086157600080fd5b506103e8610870366004612cb8565b611e61565b34801561088157600080fd5b506103e8610890366004612f4a565b611f43565b3480156108a157600080fd5b50610383611fa8565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610900575061090082611fb5565b92915050565b60606000805461091590612f6c565b80601f016020809104026020016040519081016040528092919081815260200182805461094190612f6c565b801561098e5780601f106109635761010080835404028352916020019161098e565b820191906000526020600020905b81548152906001019060200180831161097157829003601f168201915b5050505050905090565b60006109a382612098565b610a1a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a41826110b2565b9050806001600160a01b0316836001600160a01b031603610aca5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b336001600160a01b0382161480610ae65750610ae68133611d4d565b610b585760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a11565b610b6283836120e2565b505050565b610b713382612168565b610be35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a11565b610b6283838361223b565b6000610bf983611253565b8210610c6d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a11565b6000805b600354811015610cdd5760038181548110610c8e57610c8e612fa6565b6000918252602090912001546001600160a01b0390811690861603610ccb57838203610cbd5791506109009050565b81610cc781612fd2565b9250505b80610cd581612fd2565b915050610c71565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a11565b6006546001600160a01b03163314610da65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b60006001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016610ddd601447613002565b604051600081818185875af1925050503d8060008114610e19576040519150601f19603f3d011682016040523d82523d6000602084013e610e1e565b606091505b5050905080610e6f5760405162461bcd60e51b815260206004820152601760248201527f61737465726961207769746864726177206661696c65640000000000000000006044820152606401610a11565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03164760405160006040518083038185875af1925050503d8060008114610edc576040519150601f19603f3d011682016040523d82523d6000602084013e610ee1565b606091505b5050905080610f325760405162461bcd60e51b815260206004820152600f60248201527f7769746864726177206661696c656400000000000000000000000000000000006044820152606401610a11565b5050565b600a546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b166020820152600091610f91918491906034015b604051602081830303815290604052805190602001206123d6565b9392505050565b610b6283838360405180602001604052806000815250611a7d565b600354600090821061102d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a11565b5090565b6006546001600160a01b0316331461108b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6009805482919060ff191660018360028111156110aa576110aa612cd5565b021790555050565b600080600383815481106110c8576110c8612fa6565b6000918252602090912001546001600160a01b03169050806109005760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a11565b6006546001600160a01b031633146111ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600f6111b88382613064565b50600e610b628282613064565b600f80546111d290612f6c565b80601f01602080910402602001604051908101604052809291908181526020018280546111fe90612f6c565b801561124b5780601f106112205761010080835404028352916020019161124b565b820191906000526020600020905b81548152906001019060200180831161122e57829003601f168201915b505050505081565b60006001600160a01b0382166112d15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a11565b6000805b60035481101561133657836001600160a01b0316600382815481106112fc576112fc612fa6565b6000918252602090912001546001600160a01b031603611324578161132081612fd2565b9250505b8061132e81612fd2565b9150506112d5565b5092915050565b6006546001600160a01b031633146113975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6113a160006123ec565b565b6006546001600160a01b031633146113fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600a55565b600160095460ff16600281111561141b5761141b612cd5565b146114685760405162461bcd60e51b815260206004820152601260248201527f70726573616c65206e6f742061637469766500000000000000000000000000006044820152606401610a11565b3332146114b75760405162461bcd60e51b815260206004820152601560248201527f6e6f2070726f7879207472616e73616374696f6e7300000000000000000000006044820152606401610a11565b6007543410156115095760405162461bcd60e51b815260206004820152600e60248201527f6e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a11565b336000908152600b60205260409020546001116115685760405162461bcd60e51b815260206004820152601660248201527f6164647265737320616c7265616479206d696e746564000000000000000000006044820152606401610a11565b600a546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526115a7918391603401610f76565b6115f35760405162461bcd60e51b815260206004820152601460248201527f696e76616c69642073656e6465722070726f6f660000000000000000000000006044820152606401610a11565b60006115fe60035490565b60010190507f000000000000000000000000000000000000000000000000000000000000000081106116725760405162461bcd60e51b815260206004820152601b60248201527f6d61782070726573616c6520737570706c7920657863656564656400000000006044820152606401610a11565b336000818152600b6020526040902060019055610f329082612456565b6060600061169c83611253565b905060008167ffffffffffffffff8111156116b9576116b9612b80565b6040519080825280602002602001820160405280156116e2578160200160208202803683370190505b50905060005b82811015611729576116fa8582610bee565b82828151811061170c5761170c612fa6565b60209081029190910101528061172181612fd2565b9150506116e8565b509392505050565b60606001805461091590612f6c565b6006546001600160a01b0316331461179a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6010805460ff19811660ff90911615179055565b600260095460ff1660028111156117c7576117c7612cd5565b146118145760405162461bcd60e51b815260206004820152601660248201527f7075626c69632073616c65206e6f7420616374697665000000000000000000006044820152606401610a11565b3332146118635760405162461bcd60e51b815260206004820152601560248201527f6e6f2070726f7879207472616e73616374696f6e7300000000000000000000006044820152606401610a11565b7f000000000000000000000000000000000000000000000000000000000000000081106118d25760405162461bcd60e51b815260206004820152601860248201527f6d6178207065722073657373696f6e20657863656564656400000000000000006044820152606401610a11565b6008546118df9082613124565b34101561192e5760405162461bcd60e51b815260206004820152600e60248201527f6e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a11565b600061193960035490565b90507f00000000000000000000000000000000000000000000000000000000000000006119668383613143565b106119b35760405162461bcd60e51b815260206004820152601360248201527f6d617820737570706c79206578636565646564000000000000000000000000006044820152606401610a11565b60005b82811015610b62576119d1336119cc8385613143565b612456565b6001016119b6565b610f32338383612596565b6006546001600160a01b03163314611a3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600c80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b611a873383612168565b611af95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a11565b611b0584848484612664565b50505050565b6060611b1682612098565b611b885760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a11565b60105460ff1615611bef576000600e8054611ba290612f6c565b905011611bbe5760405180602001604052806000815250610900565b600e611bc9836126ed565b604051602001611bda9291906131ce565b60405160208183030381529060405292915050565b6000600f8054611bfe90612f6c565b905011611c1a5760405180602001604052806000815250610900565b600f604051602001611bda91906131f3565b6006546001600160a01b03163314611c865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600c5460ff1615611cff5760405162461bcd60e51b815260206004820152602660248201527f7465616d207265736572766573206861766520616c7265616479206265656e2060448201527f6d696e74656400000000000000000000000000000000000000000000000000006064820152608401610a11565b60005b601a811015611d3d57611d357f000000000000000000000000000000000000000000000000000000000000000082612456565b600101611d02565b50600c805460ff19166001179055565b600c5460009061010090046001600160a01b03168015801590611e2057506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df391906131ff565b6001600160a01b03161480611e2057506001600160a01b0383166000908152600d602052604090205460ff165b15611e2f576001915050610900565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314611ebb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6001600160a01b038116611f375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a11565b611f40816123ec565b50565b6006546001600160a01b03163314611f9d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600891909155600755565b600e80546111d290612f6c565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061204857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061090057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610900565b60035460009082108015610900575060006001600160a01b0316600383815481106120c5576120c5612fa6565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061212f826110b2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061217382612098565b6121e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a11565b60006121f0836110b2565b9050806001600160a01b0316846001600160a01b0316148061222b5750836001600160a01b031661222084610998565b6001600160a01b0316145b80611e595750611e598185611d4d565b826001600160a01b031661224e826110b2565b6001600160a01b0316146122ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a11565b6001600160a01b0382166123455760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a11565b6123506000826120e2565b816003828154811061236457612364612fa6565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000826123e38584612822565b14949350505050565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166124ac5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a11565b6124b581612098565b156125025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a11565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316036125f75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a11565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61266f84848461223b565b61267b8484848461288e565b611b055760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b60608160000361273057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561275a578061274481612fd2565b91506127539050600a83613002565b9150612734565b60008167ffffffffffffffff81111561277557612775612b80565b6040519080825280601f01601f19166020018201604052801561279f576020820181803683370190505b5090505b8415611e59576127b460018361321c565b91506127c1600a86613233565b6127cc906030613143565b60f81b8183815181106127e1576127e1612fa6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061281b600a86613002565b94506127a3565b600081815b845181101561172957600085828151811061284457612844612fa6565b6020026020010151905080831161286a576000838152602082905260409020925061287b565b600081815260208490526040902092505b508061288681612fd2565b915050612827565b60006001600160a01b0384163b15612a24576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906128eb903390899088908890600401613247565b6020604051808303816000875af1925050508015612926575060408051601f3d908101601f1916820190925261292391810190613283565b60015b6129d9573d808015612954576040519150601f19603f3d011682016040523d82523d6000602084013e612959565b606091505b5080516000036129d15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611e59565b506001949350505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611f4057600080fd5b600060208284031215612a6f57600080fd5b8135610f9181612a2f565b60005b83811015612a95578181015183820152602001612a7d565b83811115611b055750506000910152565b60008151808452612abe816020860160208601612a7a565b601f01601f19169290920160200192915050565b602081526000610f916020830184612aa6565b600060208284031215612af757600080fd5b5035919050565b6001600160a01b0381168114611f4057600080fd5b60008060408385031215612b2657600080fd5b8235612b3181612afe565b946020939093013593505050565b600080600060608486031215612b5457600080fd5b8335612b5f81612afe565b92506020840135612b6f81612afe565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612bbf57612bbf612b80565b604052919050565b600082601f830112612bd857600080fd5b8135602067ffffffffffffffff821115612bf457612bf4612b80565b8160051b612c03828201612b96565b9283528481018201928281019087851115612c1d57600080fd5b83870192505b84831015612c3c57823582529183019190830190612c23565b979650505050505050565b60008060408385031215612c5a57600080fd5b8235612c6581612afe565b9150602083013567ffffffffffffffff811115612c8157600080fd5b612c8d85828601612bc7565b9150509250929050565b600060208284031215612ca957600080fd5b813560038110610f9157600080fd5b600060208284031215612cca57600080fd5b8135610f9181612afe565b634e487b7160e01b600052602160045260246000fd5b6020810160038310612d0d57634e487b7160e01b600052602160045260246000fd5b91905290565b600067ffffffffffffffff831115612d2d57612d2d612b80565b612d406020601f19601f86011601612b96565b9050828152838383011115612d5457600080fd5b828260208301376000602084830101529392505050565b600082601f830112612d7c57600080fd5b610f9183833560208501612d13565b60008060408385031215612d9e57600080fd5b823567ffffffffffffffff80821115612db657600080fd5b612dc286838701612d6b565b93506020850135915080821115612dd857600080fd5b50612c8d85828601612d6b565b600060208284031215612df757600080fd5b813567ffffffffffffffff811115612e0e57600080fd5b611e5984828501612bc7565b6020808252825182820181905260009190848201906040850190845b81811015612e5257835183529284019291840191600101612e36565b50909695505050505050565b60008060408385031215612e7157600080fd5b8235612e7c81612afe565b915060208301358015158114612e9157600080fd5b809150509250929050565b60008060008060808587031215612eb257600080fd5b8435612ebd81612afe565b93506020850135612ecd81612afe565b925060408501359150606085013567ffffffffffffffff811115612ef057600080fd5b8501601f81018713612f0157600080fd5b612f1087823560208401612d13565b91505092959194509250565b60008060408385031215612f2f57600080fd5b8235612f3a81612afe565b91506020830135612e9181612afe565b60008060408385031215612f5d57600080fd5b50508035926020909101359150565b600181811c90821680612f8057607f821691505b602082108103612fa057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198203612fe557612fe5612fbc565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261301157613011612fec565b500490565b601f821115610b6257600081815260208120601f850160051c8101602086101561303d5750805b601f850160051c820191505b8181101561305c57828155600101613049565b505050505050565b815167ffffffffffffffff81111561307e5761307e612b80565b6130928161308c8454612f6c565b84613016565b602080601f8311600181146130c757600084156130af5750858301515b600019600386901b1c1916600185901b17855561305c565b600085815260208120601f198616915b828110156130f6578886015182559484019460019091019084016130d7565b50858210156131145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600081600019048311821515161561313e5761313e612fbc565b500290565b6000821982111561315657613156612fbc565b500190565b6000815461316881612f6c565b600182811680156131805760018114613195576131c4565b60ff19841687528215158302870194506131c4565b8560005260208060002060005b858110156131bb5781548a8201529084019082016131a2565b50505082870194505b5050505092915050565b60006131da828561315b565b83516131ea818360208801612a7a565b01949350505050565b6000610f91828461315b565b60006020828403121561321157600080fd5b8151610f9181612afe565b60008282101561322e5761322e612fbc565b500390565b60008261324257613242612fec565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526132796080830184612aa6565b9695505050505050565b60006020828403121561329557600080fd5b8151610f9181612a2f56fea264697066735822122069568330b5b114e722785ccf5cb136dc889a7973f40da37ab1c53e6e4174f13364736f6c634300080f0033697066733a2f2f516d62584b32444d655a504d416d766552764b68786e436132526b46667773524d70437557626872383741345944

Deployed Bytecode

0x6080604052600436106102f25760003560e01c806370a082311161018f578063a22cb465116100e1578063ce4678f51161008a578063f2fde38b11610064578063f2fde38b14610855578063f7d9757714610875578063f7e8d6ea1461089557600080fd5b8063ce4678f5146107ec578063e1eb99ac14610801578063e985e9c51461083557600080fd5b8063b88d4fde116100bb578063b88d4fde14610787578063c87b56dd146107a7578063cd7c0326146107c757600080fd5b8063a22cb46514610713578063a8c94e4814610733578063adfdeef91461076757600080fd5b8063859b584c1161014357806395d89b411161011d57806395d89b41146106d65780639c53a40b146106eb578063a0712d681461070057600080fd5b8063859b584c146106755780638d859f3e146106a25780638da5cb5b146106b857600080fd5b80637cb64759116101745780637cb64759146106155780637d60157b146106355780637e75ecb11461064857600080fd5b806370a08231146105e0578063715018a61461060057600080fd5b806340f805bf116102485780635a67de07116101fc5780636352211e116101d65780636352211e1461058b5780636790a9de146105ab5780637035bf18146105cb57600080fd5b80635a67de07146105145780635bab26e214610534578063603f4d521461056457600080fd5b80634f6ccce71161022d5780634f6ccce7146104c457806354214f69146104e4578063556fedd2146104fe57600080fd5b806340f805bf1461048457806342842e0e146104a457600080fd5b8063132d3f6a116102aa5780632f745c59116102845780632f745c59146104355780633692214f146104555780633ccfd60b1461046f57600080fd5b8063132d3f6a146103ea57806318160ddd1461040057806323b872dd1461041557600080fd5b806306fdde03116102db57806306fdde031461036e578063081812fc14610390578063095ea7b3146103c857600080fd5b806301ffc9a7146102f7578063062203561461032c575b600080fd5b34801561030357600080fd5b50610317610312366004612a5d565b6108aa565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000000381565b604051908152602001610323565b34801561037a57600080fd5b50610383610906565b6040516103239190612ad2565b34801561039c57600080fd5b506103b06103ab366004612ae5565b610998565b6040516001600160a01b039091168152602001610323565b3480156103d457600080fd5b506103e86103e3366004612b13565b610a36565b005b3480156103f657600080fd5b50610360600a5481565b34801561040c57600080fd5b50600354610360565b34801561042157600080fd5b506103e8610430366004612b3f565b610b67565b34801561044157600080fd5b50610360610450366004612b13565b610bee565b34801561046157600080fd5b50600c546103179060ff1681565b34801561047b57600080fd5b506103e8610d4c565b34801561049057600080fd5b5061031761049f366004612c47565b610f36565b3480156104b057600080fd5b506103e86104bf366004612b3f565b610f98565b3480156104d057600080fd5b506103606104df366004612ae5565b610fb3565b3480156104f057600080fd5b506010546103179060ff1681565b34801561050a57600080fd5b5061036060075481565b34801561052057600080fd5b506103e861052f366004612c97565b611031565b34801561054057600080fd5b5061031761054f366004612cb8565b600d6020526000908152604090205460ff1681565b34801561057057600080fd5b5060095461057e9060ff1681565b6040516103239190612ceb565b34801561059757600080fd5b506103b06105a6366004612ae5565b6110b2565b3480156105b757600080fd5b506103e86105c6366004612d8b565b611152565b3480156105d757600080fd5b506103836111c5565b3480156105ec57600080fd5b506103606105fb366004612cb8565b611253565b34801561060c57600080fd5b506103e861133d565b34801561062157600080fd5b506103e8610630366004612ae5565b6113a3565b6103e8610643366004612de5565b611402565b34801561065457600080fd5b50610360610663366004612cb8565b600b6020526000908152604090205481565b34801561068157600080fd5b50610695610690366004612cb8565b61168f565b6040516103239190612e1a565b3480156106ae57600080fd5b5061036060085481565b3480156106c457600080fd5b506006546001600160a01b03166103b0565b3480156106e257600080fd5b50610383611731565b3480156106f757600080fd5b506103e8611740565b6103e861070e366004612ae5565b6117ae565b34801561071f57600080fd5b506103e861072e366004612e5e565b6119d9565b34801561073f57600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000022c81565b34801561077357600080fd5b506103e8610782366004612cb8565b6119e4565b34801561079357600080fd5b506103e86107a2366004612e9c565b611a7d565b3480156107b357600080fd5b506103836107c2366004612ae5565b611b0b565b3480156107d357600080fd5b50600c546103b09061010090046001600160a01b031681565b3480156107f857600080fd5b506103e8611c2c565b34801561080d57600080fd5b506103607f000000000000000000000000000000000000000000000000000000000000022c81565b34801561084157600080fd5b50610317610850366004612f1c565b611d4d565b34801561086157600080fd5b506103e8610870366004612cb8565b611e61565b34801561088157600080fd5b506103e8610890366004612f4a565b611f43565b3480156108a157600080fd5b50610383611fa8565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610900575061090082611fb5565b92915050565b60606000805461091590612f6c565b80601f016020809104026020016040519081016040528092919081815260200182805461094190612f6c565b801561098e5780601f106109635761010080835404028352916020019161098e565b820191906000526020600020905b81548152906001019060200180831161097157829003601f168201915b5050505050905090565b60006109a382612098565b610a1a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a41826110b2565b9050806001600160a01b0316836001600160a01b031603610aca5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a11565b336001600160a01b0382161480610ae65750610ae68133611d4d565b610b585760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a11565b610b6283836120e2565b505050565b610b713382612168565b610be35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a11565b610b6283838361223b565b6000610bf983611253565b8210610c6d5760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a11565b6000805b600354811015610cdd5760038181548110610c8e57610c8e612fa6565b6000918252602090912001546001600160a01b0390811690861603610ccb57838203610cbd5791506109009050565b81610cc781612fd2565b9250505b80610cd581612fd2565b915050610c71565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610a11565b6006546001600160a01b03163314610da65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b60006001600160a01b037f00000000000000000000000092768ac8daf1005d00c48ba30a9925ef12d59f8a16610ddd601447613002565b604051600081818185875af1925050503d8060008114610e19576040519150601f19603f3d011682016040523d82523d6000602084013e610e1e565b606091505b5050905080610e6f5760405162461bcd60e51b815260206004820152601760248201527f61737465726961207769746864726177206661696c65640000000000000000006044820152606401610a11565b60007f00000000000000000000000059ca02155ea6a106015b2d869814d4ddd951889f6001600160a01b03164760405160006040518083038185875af1925050503d8060008114610edc576040519150601f19603f3d011682016040523d82523d6000602084013e610ee1565b606091505b5050905080610f325760405162461bcd60e51b815260206004820152600f60248201527f7769746864726177206661696c656400000000000000000000000000000000006044820152606401610a11565b5050565b600a546040517fffffffffffffffffffffffffffffffffffffffff000000000000000000000000606085901b166020820152600091610f91918491906034015b604051602081830303815290604052805190602001206123d6565b9392505050565b610b6283838360405180602001604052806000815250611a7d565b600354600090821061102d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610a11565b5090565b6006546001600160a01b0316331461108b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6009805482919060ff191660018360028111156110aa576110aa612cd5565b021790555050565b600080600383815481106110c8576110c8612fa6565b6000918252602090912001546001600160a01b03169050806109005760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a11565b6006546001600160a01b031633146111ac5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600f6111b88382613064565b50600e610b628282613064565b600f80546111d290612f6c565b80601f01602080910402602001604051908101604052809291908181526020018280546111fe90612f6c565b801561124b5780601f106112205761010080835404028352916020019161124b565b820191906000526020600020905b81548152906001019060200180831161122e57829003601f168201915b505050505081565b60006001600160a01b0382166112d15760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a11565b6000805b60035481101561133657836001600160a01b0316600382815481106112fc576112fc612fa6565b6000918252602090912001546001600160a01b031603611324578161132081612fd2565b9250505b8061132e81612fd2565b9150506112d5565b5092915050565b6006546001600160a01b031633146113975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6113a160006123ec565b565b6006546001600160a01b031633146113fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600a55565b600160095460ff16600281111561141b5761141b612cd5565b146114685760405162461bcd60e51b815260206004820152601260248201527f70726573616c65206e6f742061637469766500000000000000000000000000006044820152606401610a11565b3332146114b75760405162461bcd60e51b815260206004820152601560248201527f6e6f2070726f7879207472616e73616374696f6e7300000000000000000000006044820152606401610a11565b6007543410156115095760405162461bcd60e51b815260206004820152600e60248201527f6e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a11565b336000908152600b60205260409020546001116115685760405162461bcd60e51b815260206004820152601660248201527f6164647265737320616c7265616479206d696e746564000000000000000000006044820152606401610a11565b600a546040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526115a7918391603401610f76565b6115f35760405162461bcd60e51b815260206004820152601460248201527f696e76616c69642073656e6465722070726f6f660000000000000000000000006044820152606401610a11565b60006115fe60035490565b60010190507f000000000000000000000000000000000000000000000000000000000000022c81106116725760405162461bcd60e51b815260206004820152601b60248201527f6d61782070726573616c6520737570706c7920657863656564656400000000006044820152606401610a11565b336000818152600b6020526040902060019055610f329082612456565b6060600061169c83611253565b905060008167ffffffffffffffff8111156116b9576116b9612b80565b6040519080825280602002602001820160405280156116e2578160200160208202803683370190505b50905060005b82811015611729576116fa8582610bee565b82828151811061170c5761170c612fa6565b60209081029190910101528061172181612fd2565b9150506116e8565b509392505050565b60606001805461091590612f6c565b6006546001600160a01b0316331461179a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6010805460ff19811660ff90911615179055565b600260095460ff1660028111156117c7576117c7612cd5565b146118145760405162461bcd60e51b815260206004820152601660248201527f7075626c69632073616c65206e6f7420616374697665000000000000000000006044820152606401610a11565b3332146118635760405162461bcd60e51b815260206004820152601560248201527f6e6f2070726f7879207472616e73616374696f6e7300000000000000000000006044820152606401610a11565b7f000000000000000000000000000000000000000000000000000000000000000381106118d25760405162461bcd60e51b815260206004820152601860248201527f6d6178207065722073657373696f6e20657863656564656400000000000000006044820152606401610a11565b6008546118df9082613124565b34101561192e5760405162461bcd60e51b815260206004820152600e60248201527f6e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610a11565b600061193960035490565b90507f000000000000000000000000000000000000000000000000000000000000022c6119668383613143565b106119b35760405162461bcd60e51b815260206004820152601360248201527f6d617820737570706c79206578636565646564000000000000000000000000006044820152606401610a11565b60005b82811015610b62576119d1336119cc8385613143565b612456565b6001016119b6565b610f32338383612596565b6006546001600160a01b03163314611a3e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600c80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b611a873383612168565b611af95760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610a11565b611b0584848484612664565b50505050565b6060611b1682612098565b611b885760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a11565b60105460ff1615611bef576000600e8054611ba290612f6c565b905011611bbe5760405180602001604052806000815250610900565b600e611bc9836126ed565b604051602001611bda9291906131ce565b60405160208183030381529060405292915050565b6000600f8054611bfe90612f6c565b905011611c1a5760405180602001604052806000815250610900565b600f604051602001611bda91906131f3565b6006546001600160a01b03163314611c865760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600c5460ff1615611cff5760405162461bcd60e51b815260206004820152602660248201527f7465616d207265736572766573206861766520616c7265616479206265656e2060448201527f6d696e74656400000000000000000000000000000000000000000000000000006064820152608401610a11565b60005b601a811015611d3d57611d357f00000000000000000000000059ca02155ea6a106015b2d869814d4ddd951889f82612456565b600101611d02565b50600c805460ff19166001179055565b600c5460009061010090046001600160a01b03168015801590611e2057506040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b038581166004830152808516919083169063c455279190602401602060405180830381865afa158015611dcf573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611df391906131ff565b6001600160a01b03161480611e2057506001600160a01b0383166000908152600d602052604090205460ff165b15611e2f576001915050610900565b6001600160a01b0380851660009081526005602090815260408083209387168352929052205460ff165b949350505050565b6006546001600160a01b03163314611ebb5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b6001600160a01b038116611f375760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a11565b611f40816123ec565b50565b6006546001600160a01b03163314611f9d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610a11565b600891909155600755565b600e80546111d290612f6c565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061204857507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061090057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610900565b60035460009082108015610900575060006001600160a01b0316600383815481106120c5576120c5612fa6565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061212f826110b2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061217382612098565b6121e55760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610a11565b60006121f0836110b2565b9050806001600160a01b0316846001600160a01b0316148061222b5750836001600160a01b031661222084610998565b6001600160a01b0316145b80611e595750611e598185611d4d565b826001600160a01b031661224e826110b2565b6001600160a01b0316146122ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a11565b6001600160a01b0382166123455760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a11565b6123506000826120e2565b816003828154811061236457612364612fa6565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6000826123e38584612822565b14949350505050565b600680546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6001600160a01b0382166124ac5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a11565b6124b581612098565b156125025760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a11565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b816001600160a01b0316836001600160a01b0316036125f75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a11565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61266f84848461223b565b61267b8484848461288e565b611b055760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b60608160000361273057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561275a578061274481612fd2565b91506127539050600a83613002565b9150612734565b60008167ffffffffffffffff81111561277557612775612b80565b6040519080825280601f01601f19166020018201604052801561279f576020820181803683370190505b5090505b8415611e59576127b460018361321c565b91506127c1600a86613233565b6127cc906030613143565b60f81b8183815181106127e1576127e1612fa6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061281b600a86613002565b94506127a3565b600081815b845181101561172957600085828151811061284457612844612fa6565b6020026020010151905080831161286a576000838152602082905260409020925061287b565b600081815260208490526040902092505b508061288681612fd2565b915050612827565b60006001600160a01b0384163b15612a24576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906128eb903390899088908890600401613247565b6020604051808303816000875af1925050508015612926575060408051601f3d908101601f1916820190925261292391810190613283565b60015b6129d9573d808015612954576040519150601f19603f3d011682016040523d82523d6000602084013e612959565b606091505b5080516000036129d15760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610a11565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611e59565b506001949350505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611f4057600080fd5b600060208284031215612a6f57600080fd5b8135610f9181612a2f565b60005b83811015612a95578181015183820152602001612a7d565b83811115611b055750506000910152565b60008151808452612abe816020860160208601612a7a565b601f01601f19169290920160200192915050565b602081526000610f916020830184612aa6565b600060208284031215612af757600080fd5b5035919050565b6001600160a01b0381168114611f4057600080fd5b60008060408385031215612b2657600080fd5b8235612b3181612afe565b946020939093013593505050565b600080600060608486031215612b5457600080fd5b8335612b5f81612afe565b92506020840135612b6f81612afe565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612bbf57612bbf612b80565b604052919050565b600082601f830112612bd857600080fd5b8135602067ffffffffffffffff821115612bf457612bf4612b80565b8160051b612c03828201612b96565b9283528481018201928281019087851115612c1d57600080fd5b83870192505b84831015612c3c57823582529183019190830190612c23565b979650505050505050565b60008060408385031215612c5a57600080fd5b8235612c6581612afe565b9150602083013567ffffffffffffffff811115612c8157600080fd5b612c8d85828601612bc7565b9150509250929050565b600060208284031215612ca957600080fd5b813560038110610f9157600080fd5b600060208284031215612cca57600080fd5b8135610f9181612afe565b634e487b7160e01b600052602160045260246000fd5b6020810160038310612d0d57634e487b7160e01b600052602160045260246000fd5b91905290565b600067ffffffffffffffff831115612d2d57612d2d612b80565b612d406020601f19601f86011601612b96565b9050828152838383011115612d5457600080fd5b828260208301376000602084830101529392505050565b600082601f830112612d7c57600080fd5b610f9183833560208501612d13565b60008060408385031215612d9e57600080fd5b823567ffffffffffffffff80821115612db657600080fd5b612dc286838701612d6b565b93506020850135915080821115612dd857600080fd5b50612c8d85828601612d6b565b600060208284031215612df757600080fd5b813567ffffffffffffffff811115612e0e57600080fd5b611e5984828501612bc7565b6020808252825182820181905260009190848201906040850190845b81811015612e5257835183529284019291840191600101612e36565b50909695505050505050565b60008060408385031215612e7157600080fd5b8235612e7c81612afe565b915060208301358015158114612e9157600080fd5b809150509250929050565b60008060008060808587031215612eb257600080fd5b8435612ebd81612afe565b93506020850135612ecd81612afe565b925060408501359150606085013567ffffffffffffffff811115612ef057600080fd5b8501601f81018713612f0157600080fd5b612f1087823560208401612d13565b91505092959194509250565b60008060408385031215612f2f57600080fd5b8235612f3a81612afe565b91506020830135612e9181612afe565b60008060408385031215612f5d57600080fd5b50508035926020909101359150565b600181811c90821680612f8057607f821691505b602082108103612fa057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198203612fe557612fe5612fbc565b5060010190565b634e487b7160e01b600052601260045260246000fd5b60008261301157613011612fec565b500490565b601f821115610b6257600081815260208120601f850160051c8101602086101561303d5750805b601f850160051c820191505b8181101561305c57828155600101613049565b505050505050565b815167ffffffffffffffff81111561307e5761307e612b80565b6130928161308c8454612f6c565b84613016565b602080601f8311600181146130c757600084156130af5750858301515b600019600386901b1c1916600185901b17855561305c565b600085815260208120601f198616915b828110156130f6578886015182559484019460019091019084016130d7565b50858210156131145787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600081600019048311821515161561313e5761313e612fbc565b500290565b6000821982111561315657613156612fbc565b500190565b6000815461316881612f6c565b600182811680156131805760018114613195576131c4565b60ff19841687528215158302870194506131c4565b8560005260208060002060005b858110156131bb5781548a8201529084019082016131a2565b50505082870194505b5050505092915050565b60006131da828561315b565b83516131ea818360208801612a7a565b01949350505050565b6000610f91828461315b565b60006020828403121561321157600080fd5b8151610f9181612afe565b60008282101561322e5761322e612fbc565b500390565b60008261324257613242612fec565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526132796080830184612aa6565b9695505050505050565b60006020828403121561329557600080fd5b8151610f9181612a2f56fea264697066735822122069568330b5b114e722785ccf5cb136dc889a7973f40da37ab1c53e6e4174f13364736f6c634300080f0033

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.