ETH Price: $3,357.07 (-0.94%)
Gas: 5.41 Gwei

Token

Dogface Army 2nd Battalion (DF 2)
 

Overview

Max Total Supply

2,220 DF 2

Holders

309

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
2 DF 2
0xfe1df549f241ad798819012ae70a94603eef128d
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:
Dogface

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : Dogface2.sol
/**
 *Submitted for verification at Etherscan.io on 2022-11-04
*/

// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

pragma solidity ^0.8.0;

/**
 * @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() {
        _setOwner(_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 {
        _setOwner(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"
        );
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

abstract contract ERC721B is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    address[] internal _owners;

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

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

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

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

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

        uint256 count = 0;
        uint256 length = _owners.length;
        for (uint256 i = 0; i < length; ++i) {
            if (owner == _owners[i]) {
                ++count;
            }
        }

        delete length;
        return count;
    }

    /**
     * @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 {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721B.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
    {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public 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 = ERC721B.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 = ERC721B.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(
            ERC721B.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(ERC721B.ownerOf(tokenId), to, tokenId);
    }

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

pragma solidity ^0.8.0;

/**
 * @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.
 */
abstract contract ERC721EnumerableB is ERC721B, IERC721Enumerable {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(IERC165, ERC721B)
        returns (bool)
    {
        return
            interfaceId == type(IERC721Enumerable).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

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

        delete count;
        delete length;
        require(false, "ERC721Enumerable: owner index out of bounds");
    }

    /**
     * @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 < ERC721EnumerableB.totalSupply(),
            "ERC721Enumerable: global index out of bounds"
        );
        return index;
    }
}

pragma solidity ^0.8.0;

abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

// File @openzeppelin/contracts/utils/[email protected]

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value)
        private
        view
        returns (bool)
    {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index)
        private
        view
        returns (bytes32)
    {
        require(
            set._values.length > index,
            "EnumerableSet: index out of bounds"
        );
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index)
        internal
        view
        returns (bytes32)
    {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index)
        internal
        view
        returns (address)
    {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value)
        internal
        returns (bool)
    {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value)
        internal
        view
        returns (bool)
    {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index)
        internal
        view
        returns (uint256)
    {
        return uint256(_at(set._inner, index));
    }
}

pragma solidity ^0.8.0;

library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

pragma solidity ^0.8.0;

contract Dogface is Ownable, ERC721EnumerableB, ReentrancyGuard {
    using SafeMath for uint256;

    uint256 public collectionTotal = 2220;
    uint256 public maxcouponTokens = 1887;
    bool public saleIsActive = false;
    using EnumerableSet for EnumerableSet.AddressSet;

    string private _tokenURISuffix = ".json";
    string private _tokneURI =
        "https://dogface.mypinata.cloud/ipfs/QmbPRu7pKRag9Lbzup71CecMMxvyb4cscRMsHd8pP7TRbH";

    mapping(address => uint256) public whiteListBalance;
    mapping(address => uint256) public couponBalance;

    mapping(address => uint256[]) private _balances;

    mapping(uint256 => uint256) public keyURI;
    mapping(address => bool) public couponMintStatus;
    mapping(address => uint8) public publicMintLimit;
    EnumerableSet.AddressSet couponUsers;

    mapping(address => bool) public allowMint;
    mapping(address => uint256) public allowMintAmount;

    uint256 public withdrawnFunds;
    string private merkleRoot;
    bytes32 public couponRoot;

    /* Veteran Wallet */
    address public w1 = 0xA37b3373931aBb6A5D207b79ee65c6aAae15aF30;
    /* DAO */
    address public w2 = 0x9519A27015AD44E114b12B8011070D517F64296F;
    /* 2nd Battalion Wallets */
    address public w3 = 0x77D8F58337192dAfF1F5e987b3908990d6408327;
    address public w4 = 0x6edAe52cb47664183002b556305C1856C6b7191e;

    event TotalMinted(address indexed _from, uint256 _value);

    constructor() ERC721B("Dogface Army 2nd Battalion", "DF 2") {}

    fallback() external payable {}

    receive() external payable {}

    function couponMint(bytes32[] calldata proof, uint256 amount)
        external
        nonReentrant
    {
        uint256 tokenId = totalSupply() + 1;
        require(saleIsActive, "Sale is not active");
        require(msg.sender == tx.origin, "Interaction not allowed");
        require(
            couponMintStatus[msg.sender] != true,
            "You can't mint over one nft using same coupon."
        );
        require(tokenId + amount - 1 <= maxcouponTokens, "Mint/order exceeds coupon supply");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender, amount));
        require(
            MerkleProof.verify(proof, couponRoot, leaf),
            "This user is not allowed to mint"
        );
        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, (tokenId + i - 1));
        }

        if (couponUsers.contains(msg.sender) == false) {
            couponUsers.add(msg.sender);
        }
        couponMintStatus[msg.sender] = true;
        emit TotalMinted(msg.sender, totalSupply());
    }

    function publicMint() external nonReentrant {
        uint256 tokenId = totalSupply() + 1;
        require(saleIsActive, "Sale is not active");
        require(tokenId > maxcouponTokens, "You can't public mint yet");
        require(tokenId <= collectionTotal, "Mint/order exceeds total supply");
        require(publicMintLimit[msg.sender] < 9, "You can't mint nfts over 8.");

        _safeMint(msg.sender, tokenId);
        publicMintLimit[msg.sender]++;
        emit TotalMinted(msg.sender, totalSupply());
    }

    function publicBatchMint(uint256 amount)
        external
        onlyOwner
        nonReentrant
    {
        uint256 tokenId = totalSupply() + 1;
        require(saleIsActive, "Sale is not active");
        require(tokenId > maxcouponTokens, "You can't public mint yet");
        require(tokenId + amount - 1 <= collectionTotal, "Mint/order exceeds total supply");

        for (uint256 i = 0; i < amount; i++) {
            _safeMint(msg.sender, (tokenId + i -1));
            emit TotalMinted(msg.sender, totalSupply());
        }
    }

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

        return string(abi.encodePacked(_tokneURI, toString(tokenId), ".json"));
    }

    function setBaseURI(string calldata _newBaseURI) external onlyOwner {
        _tokneURI = _newBaseURI;
    }

    function _generateLeaf(address account) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked(account));
    }

    function _generateCouponLeaf(string memory coupon)
        internal
        pure
        returns (bytes32)
    {
        return keccak256(abi.encodePacked(coupon));
    }

    function toggleSale(bool _saleIsActive) external onlyOwner {
        if (saleIsActive != _saleIsActive) {
            saleIsActive = _saleIsActive;
        }
    }

    function setRoot(string memory _root) external onlyOwner {
        merkleRoot = _root;
    }

    function setCoupons(bytes32 _root) external onlyOwner {
        couponRoot = _root;

        for (uint256 i = 0; i < couponUsers.length(); i++) {
            couponMintStatus[couponUsers.at(i)] = false;
        }
    }

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

    function tokenOfOwnerByIndex(address owner, uint256 index)
        public
        view
        virtual
        override
        returns (uint256 tokenId)
    {
        require(
            index < ERC721B.balanceOf(owner),
            "ERC721Enumerable: owner index out of bounds"
        );
        return _balances[owner][index];
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        address zero = address(0);
        if (from != zero || to == zero) {
            uint256 length = _balances[from].length;
            for (uint256 i; i < length; ++i) {
                if (_balances[from][i] == tokenId) {
                    _balances[from][i] = _balances[from][length - 1];
                    _balances[from].pop();
                    break;
                }
            }
            delete length;
        }

        if (from == zero || to != zero) {
            _balances[to].push(tokenId);
        }
    }

    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) {
        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);
    }

    function withdraw(address wallet) public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Insufficent balance");

        _widthdraw(wallet, address(this).balance);
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Insufficent balance");
        _widthdraw(w1, ((balance * 10) / 100));
        _widthdraw(w2, ((balance * 20) / 100));
        _widthdraw(w3, ((balance * 35) / 100));
        _widthdraw(w4, ((balance * 35) / 100));
    }

    function _widthdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Failed to withdraw Ether");
    }

    //****Functions below added by HalfSuperShop.com dev 🐸 ****
    function setAllowedMinter (address _user ,uint256 _amount) external onlyOwner{
        if(_amount == 0){
            allowMint[_user] = false;
        }
        else{
            allowMint[_user] = true;
        }
        allowMintAmount[_user] = _amount;
    }

    function allowedMint (uint256 _amount) external nonReentrant{
        uint256 tokenId = totalSupply() + 1;
        require(_amount != 0, "Amount must be 1 or more");
        require(tokenId + _amount - 1 <= collectionTotal, "Mint/order exceeds total supply");
        require(saleIsActive, "Sale is not active");
        require(allowMint[msg.sender], "You are not allowed to mint");
        require(_amount <= allowMintAmount[msg.sender], "You can't mint more than allowed");

        if(_amount > 1){
            for (uint256 i = 0; i < _amount; i++) {
                _safeMint(msg.sender, (tokenId + i -1));
            }
        }
        else{
            _safeMint(msg.sender, tokenId);
        }

        allowMintAmount[msg.sender] -= _amount;

        if(allowMintAmount[msg.sender] <= 0){
            allowMint[msg.sender] = false;
        }
        emit TotalMinted(msg.sender, totalSupply());
    }

    function setMaxCoupons (uint256 _amount) external onlyOwner{
        maxcouponTokens = _amount;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"TotalMinted","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowMint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"allowMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"allowedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"couponBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"couponMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"couponMintStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"couponRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"keyURI","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxcouponTokens","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":"uint256","name":"amount","type":"uint256"}],"name":"publicBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicMintLimit","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setAllowedMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setCoupons","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"setMaxCoupons","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_root","type":"string"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_saleIsActive","type":"bool"}],"name":"toggleSale","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":"uri","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"w1","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w2","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w3","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"w4","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whiteListBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawnFunds","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6108ac60075561075f6008556009805460ff1916905560c06040526005608081905264173539b7b760d91b60a09081526200003e91600a9190620001fc565b50604051806080016040528060528152602001620034ce6052913980516200006f91600b91602090910190620001fc565b50601980546001600160a01b031990811673a37b3373931abb6a5d207b79ee65c6aaae15af3017909155601a80548216739519a27015ad44e114b12b8011070d517f64296f179055601b805482167377d8f58337192daff1f5e987b3908990d6408327179055601c8054909116736edae52cb47664183002b556305c1856c6b7191e1790553480156200010157600080fd5b506040518060400160405280601a81526020017f446f67666163652041726d7920326e642042617474616c696f6e000000000000815250604051806040016040528060048152602001632223101960e11b8152506200016f62000169620001a860201b60201c565b620001ac565b815162000184906001906020850190620001fc565b5080516200019a906002906020840190620001fc565b5050600160065550620002df565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200020a90620002a2565b90600052602060002090601f0160209004810192826200022e576000855562000279565b82601f106200024957805160ff191683800117855562000279565b8280016001018555821562000279579182015b82811115620002795782518255916020019190600101906200025c565b50620002879291506200028b565b5090565b5b808211156200028757600081556001016200028c565b600181811c90821680620002b757607f821691505b60208210811415620002d957634e487b7160e01b600052602260045260246000fd5b50919050565b6131df80620002ef6000396000f3fe6080604052600436106102745760003560e01c80637e44755b1161014e578063a22cb465116100bb578063d8cf17f711610077578063d8cf17f7146107cd578063e3d538d91461080f578063e64710701461082f578063e985e9c51461084f578063eb8d244414610898578063f2fde38b146108b257005b8063a22cb4651461070d578063aab402e51461072d578063b88d4fde1461074d578063bb0cdf8d1461076d578063c87b56dd1461078d578063ca8279b9146107ad57005b806395d89b411161010a57806395d89b41146106485780639c1d8a5b1461065d5780639c7cabf31461067d5780639dd1cfb8146106aa5780639e0f52b8146106d7578063a044c987146106ed57005b80637e44755b146105a9578063853828b6146105c957806389d0c6ea146105de5780638da5cb5b146105fe5780638f6dda9d1461061c578063906280c31461063257005b80633fce584e116101ec57806355f804b3116101a857806355f804b3146104e457806357e4be9a146105045780636352211e14610524578063640cff981461054457806370a0823114610574578063715018a61461059457005b80633fce584e14610411578063421eabf01461043e57806342842e0e1461046e5780634cafdb6d1461048e5780634f6ccce7146104a457806351cff8d9146104c457005b8063095ea7b31161023b578063095ea7b31461036757806318160ddd1461038757806323b872dd1461039c57806326092b83146103bc5780632f745c59146103d15780633602deb2146103f157005b806301ffc9a71461027d57806303cf8a20146102b2578063069070d2146102ea57806306fdde0314610325578063081812fc1461034757005b3661027b57005b005b34801561028957600080fd5b5061029d610298366004612be9565b6108d2565b60405190151581526020015b60405180910390f35b3480156102be57600080fd5b50601a546102d2906001600160a01b031681565b6040516001600160a01b0390911681526020016102a9565b3480156102f657600080fd5b506103176103053660046129e0565b600c6020526000908152604090205481565b6040519081526020016102a9565b34801561033157600080fd5b5061033a6108fd565b6040516102a99190612e1e565b34801561035357600080fd5b506102d2610362366004612bd0565b61098f565b34801561037357600080fd5b5061027b610382366004612b10565b610a1c565b34801561039357600080fd5b50600354610317565b3480156103a857600080fd5b5061027b6103b7366004612a2e565b610b32565b3480156103c857600080fd5b5061027b610b63565b3480156103dd57600080fd5b506103176103ec366004612b10565b610d15565b3480156103fd57600080fd5b50601c546102d2906001600160a01b031681565b34801561041d57600080fd5b5061031761042c366004612bd0565b600f6020526000908152604090205481565b34801561044a57600080fd5b5061029d6104593660046129e0565b60106020526000908152604090205460ff1681565b34801561047a57600080fd5b5061027b610489366004612a2e565b610dbf565b34801561049a57600080fd5b5061031760075481565b3480156104b057600080fd5b506103176104bf366004612bd0565b610dda565b3480156104d057600080fd5b5061027b6104df3660046129e0565b610e4c565b3480156104f057600080fd5b5061027b6104ff366004612c23565b610ec8565b34801561051057600080fd5b5061027b61051f366004612bd0565b610efe565b34801561053057600080fd5b506102d261053f366004612bd0565b61117a565b34801561055057600080fd5b5061029d61055f3660046129e0565b60146020526000908152604090205460ff1681565b34801561058057600080fd5b5061031761058f3660046129e0565b611206565b3480156105a057600080fd5b5061027b61124a565b3480156105b557600080fd5b506019546102d2906001600160a01b031681565b3480156105d557600080fd5b5061027b611280565b3480156105ea57600080fd5b5061027b6105f9366004612bd0565b611374565b34801561060a57600080fd5b506000546001600160a01b03166102d2565b34801561062857600080fd5b5061031760185481565b34801561063e57600080fd5b5061031760165481565b34801561065457600080fd5b5061033a6113a3565b34801561066957600080fd5b5061027b610678366004612c95565b6113b2565b34801561068957600080fd5b506103176106983660046129e0565b60156020526000908152604090205481565b3480156106b657600080fd5b506103176106c53660046129e0565b600d6020526000908152604090205481565b3480156106e357600080fd5b5061031760085481565b3480156106f957600080fd5b50601b546102d2906001600160a01b031681565b34801561071957600080fd5b5061027b610728366004612ae6565b6113ef565b34801561073957600080fd5b5061027b610748366004612bb5565b6114b4565b34801561075957600080fd5b5061027b610768366004612a6a565b611501565b34801561077957600080fd5b5061027b610788366004612b3a565b611539565b34801561079957600080fd5b5061033a6107a8366004612bd0565b611834565b3480156107b957600080fd5b5061027b6107c8366004612b10565b6118d5565b3480156107d957600080fd5b506107fd6107e83660046129e0565b60116020526000908152604090205460ff1681565b60405160ff90911681526020016102a9565b34801561081b57600080fd5b5061027b61082a366004612bd0565b611969565b34801561083b57600080fd5b5061027b61084a366004612bd0565b6119f6565b34801561085b57600080fd5b5061029d61086a3660046129fb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108a457600080fd5b5060095461029d9060ff1681565b3480156108be57600080fd5b5061027b6108cd3660046129e0565b611b68565b60006001600160e01b0319821663780e9d6360e01b14806108f757506108f782611c00565b92915050565b60606001805461090c9061307b565b80601f01602080910402602001604051908101604052809291908181526020018280546109389061307b565b80156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b5050505050905090565b600061099a82611c50565b610a005760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a278261117a565b9050806001600160a01b0316836001600160a01b03161415610a955760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109f7565b336001600160a01b0382161480610ab15750610ab1813361086a565b610b235760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109f7565b610b2d8383611c9a565b505050565b610b3c3382611d08565b610b585760405162461bcd60e51b81526004016109f790612f65565b610b2d838383611df2565b60026006541415610b865760405162461bcd60e51b81526004016109f790612fb6565b60026006556000610b9660035490565b610ba1906001612fed565b60095490915060ff16610bc65760405162461bcd60e51b81526004016109f790612e83565b6008548111610c135760405162461bcd60e51b8152602060048201526019602482015278165bdd4818d85b89dd081c1d589b1a58c81b5a5b9d081e595d603a1b60448201526064016109f7565b600754811115610c355760405162461bcd60e51b81526004016109f790612ef9565b33600090815260116020526040902054600960ff90911610610c995760405162461bcd60e51b815260206004820152601b60248201527f596f752063616e2774206d696e74206e667473206f76657220382e000000000060448201526064016109f7565b610ca33382611f53565b336000908152601160205260408120805460ff1691610cc1836130d1565b91906101000a81548160ff021916908360ff16021790555050336001600160a01b031660008051602061318a833981519152610cfc60035490565b60405190815260200160405180910390a2506001600655565b6000610d2083611f6d565b8210610d825760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109f7565b6001600160a01b0383166000908152600e60205260409020805483908110610dac57610dac613147565b9060005260206000200154905092915050565b610b2d83838360405180602001604052806000815250611501565b6000610de560035490565b8210610e485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109f7565b5090565b6000546001600160a01b03163314610e765760405162461bcd60e51b81526004016109f790612f30565b4780610eba5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b60448201526064016109f7565b610ec48247611ffc565b5050565b6000546001600160a01b03163314610ef25760405162461bcd60e51b81526004016109f790612f30565b610b2d600b8383612835565b60026006541415610f215760405162461bcd60e51b81526004016109f790612fb6565b60026006556000610f3160035490565b610f3c906001612fed565b905081610f8b5760405162461bcd60e51b815260206004820152601860248201527f416d6f756e74206d7573742062652031206f72206d6f7265000000000000000060448201526064016109f7565b6007546001610f9a8484612fed565b610fa49190613038565b1115610fc25760405162461bcd60e51b81526004016109f790612ef9565b60095460ff16610fe45760405162461bcd60e51b81526004016109f790612e83565b3360009081526014602052604090205460ff166110435760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420616c6c6f77656420746f206d696e74000000000060448201526064016109f7565b336000908152601560205260409020548211156110a25760405162461bcd60e51b815260206004820181905260248201527f596f752063616e2774206d696e74206d6f7265207468616e20616c6c6f77656460448201526064016109f7565b60018211156110ed5760005b828110156110e7576110d53360016110c68486612fed565b6110d09190613038565b611f53565b806110df816130b6565b9150506110ae565b506110f7565b6110f73382611f53565b3360009081526015602052604081208054849290611116908490613038565b90915550503360009081526015602052604090205461114757336000908152601460205260409020805460ff191690555b3360008051602061318a83398151915261116060035490565b60405190815260200160405180910390a250506001600655565b6000806003838154811061119057611190613147565b6000918252602090912001546001600160a01b03169050806108f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109f7565b60006001600160a01b03821661122e5760405162461bcd60e51b81526004016109f790612eaf565b506001600160a01b03166000908152600e602052604090205490565b6000546001600160a01b031633146112745760405162461bcd60e51b81526004016109f790612f30565b61127e600061209f565b565b6000546001600160a01b031633146112aa5760405162461bcd60e51b81526004016109f790612f30565b47806112ee5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b60448201526064016109f7565b60195461131a906001600160a01b0316606461130b84600a613019565b6113159190613005565b611ffc565b601a54611337906001600160a01b0316606461130b846014613019565b601b54611354906001600160a01b0316606461130b846023613019565b601c54611371906001600160a01b0316606461130b846023613019565b50565b6000546001600160a01b0316331461139e5760405162461bcd60e51b81526004016109f790612f30565b600855565b60606002805461090c9061307b565b6000546001600160a01b031633146113dc5760405162461bcd60e51b81526004016109f790612f30565b8051610ec49060179060208401906128b5565b6001600160a01b0382163314156114485760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109f7565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146114de5760405162461bcd60e51b81526004016109f790612f30565b60095460ff16151581151514611371576009805482151560ff1990911617905550565b61150b3383611d08565b6115275760405162461bcd60e51b81526004016109f790612f65565b611533848484846120ef565b50505050565b6002600654141561155c5760405162461bcd60e51b81526004016109f790612fb6565b6002600655600061156c60035490565b611577906001612fed565b60095490915060ff1661159c5760405162461bcd60e51b81526004016109f790612e83565b3332146115eb5760405162461bcd60e51b815260206004820152601760248201527f496e746572616374696f6e206e6f7420616c6c6f77656400000000000000000060448201526064016109f7565b3360009081526010602052604090205460ff161515600114156116675760405162461bcd60e51b815260206004820152602e60248201527f596f752063616e2774206d696e74206f766572206f6e65206e6674207573696e60448201526d339039b0b6b29031b7bab837b71760911b60648201526084016109f7565b60085460016116768484612fed565b6116809190613038565b11156116ce5760405162461bcd60e51b815260206004820181905260248201527f4d696e742f6f72646572206578636565647320636f75706f6e20737570706c7960448201526064016109f7565b6040516bffffffffffffffffffffffff193360601b1660208201526034810183905260009060540160405160208183030381529060405280519060200120905061174f858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018549150849050612122565b61179b5760405162461bcd60e51b815260206004820181905260248201527f546869732075736572206973206e6f7420616c6c6f77656420746f206d696e7460448201526064016109f7565b60005b838110156117c8576117b63360016110c68487612fed565b806117c0816130b6565b91505061179e565b506117d4601233612138565b6117e5576117e360123361215d565b505b336000818152601060205260409020805460ff1916600117905560008051602061318a83398151915261181760035490565b60405190815260200160405180910390a250506001600655505050565b606061183f82611c50565b6118a35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109f7565b600b6118ae83612172565b6040516020016118bf929190612d26565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146118ff5760405162461bcd60e51b81526004016109f790612f30565b80611929576001600160a01b0382166000908152601460205260409020805460ff1916905561194d565b6001600160a01b0382166000908152601460205260409020805460ff191660011790555b6001600160a01b03909116600090815260156020526040902055565b6000546001600160a01b031633146119935760405162461bcd60e51b81526004016109f790612f30565b601881905560005b6119a56012612270565b811015610ec45760006010816119bc60128561227a565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806119ee816130b6565b91505061199b565b6000546001600160a01b03163314611a205760405162461bcd60e51b81526004016109f790612f30565b60026006541415611a435760405162461bcd60e51b81526004016109f790612fb6565b60026006556000611a5360035490565b611a5e906001612fed565b60095490915060ff16611a835760405162461bcd60e51b81526004016109f790612e83565b6008548111611ad05760405162461bcd60e51b8152602060048201526019602482015278165bdd4818d85b89dd081c1d589b1a58c81b5a5b9d081e595d603a1b60448201526064016109f7565b6007546001611adf8484612fed565b611ae99190613038565b1115611b075760405162461bcd60e51b81526004016109f790612ef9565b60005b82811015611b5e57611b223360016110c68486612fed565b3360008051602061318a833981519152611b3b60035490565b60405190815260200160405180910390a280611b56816130b6565b915050611b0a565b5050600160065550565b6000546001600160a01b03163314611b925760405162461bcd60e51b81526004016109f790612f30565b6001600160a01b038116611bf75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109f7565b6113718161209f565b60006001600160e01b031982166380ac58cd60e01b1480611c3157506001600160e01b03198216635b5e139f60e01b145b806108f757506301ffc9a760e01b6001600160e01b03198316146108f7565b600354600090821080156108f7575060006001600160a01b031660038381548110611c7d57611c7d613147565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ccf8261117a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d1382611c50565b611d745760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109f7565b6000611d7f8361117a565b9050806001600160a01b0316846001600160a01b03161480611dba5750836001600160a01b0316611daf8461098f565b6001600160a01b0316145b80611dea57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e058261117a565b6001600160a01b031614611e6d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109f7565b6001600160a01b038216611ecf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109f7565b611eda838383612286565b611ee5600082611c9a565b8160038281548110611ef957611ef9613147565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610ec4828260405180602001604052806000815250612453565b60006001600160a01b038216611f955760405162461bcd60e51b81526004016109f790612eaf565b600354600090815b81811015611ff35760038181548110611fb857611fb8613147565b6000918252602090912001546001600160a01b0386811691161415611fe357611fe0836130b6565b92505b611fec816130b6565b9050611f9d565b50909392505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612049576040519150601f19603f3d011682016040523d82523d6000602084013e61204e565b606091505b5050905080610b2d5760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f207769746864726177204574686572000000000000000060448201526064016109f7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6120fa848484611df2565b61210684848484612486565b6115335760405162461bcd60e51b81526004016109f790612e31565b60008261212f8584612593565b14949350505050565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000612156836001600160a01b03841661263f565b6060816121965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c057806121aa816130b6565b91506121b99050600a83613005565b915061219a565b60008167ffffffffffffffff8111156121db576121db61315d565b6040519080825280601f01601f191660200182016040528015612205576020820181803683370190505b5090505b8415611dea5761221a600183613038565b9150612227600a866130f1565b612232906030612fed565b60f81b81838151811061224757612247613147565b60200101906001600160f81b031916908160001a905350612269600a86613005565b9450612209565b60006108f7825490565b6000612156838361268e565b60006001600160a01b0384161515806122b05750806001600160a01b0316836001600160a01b0316145b156123ed576001600160a01b0384166000908152600e6020526040812054905b818110156123ea576001600160a01b0386166000908152600e6020526040902080548591908390811061230557612305613147565b906000526020600020015414156123da576001600160a01b0386166000908152600e60205260409020612339600184613038565b8154811061234957612349613147565b9060005260206000200154600e6000886001600160a01b03166001600160a01b03168152602001908152602001600020828154811061238a5761238a613147565b60009182526020808320909101929092556001600160a01b0388168152600e909152604090208054806123bf576123bf613131565b600190038181906000526020600020016000905590556123ea565b6123e3816130b6565b90506122d0565b50505b806001600160a01b0316846001600160a01b0316148061241f5750806001600160a01b0316836001600160a01b031614155b1561153357506001600160a01b03919091166000908152600e60209081526040822080546001810182559083529120015550565b61245d8383612701565b61246a6000848484612486565b610b2d5760405162461bcd60e51b81526004016109f790612e31565b60006001600160a01b0384163b1561258857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124ca903390899088908890600401612de1565b602060405180830381600087803b1580156124e457600080fd5b505af1925050508015612514575060408051601f3d908101601f1916820190925261251191810190612c06565b60015b61256e573d808015612542576040519150601f19603f3d011682016040523d82523d6000602084013e612547565b606091505b5080516125665760405162461bcd60e51b81526004016109f790612e31565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dea565b506001949350505050565b600081815b84518110156126375760008582815181106125b5576125b5613147565b602002602001015190508083116125f7576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612624565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061262f816130b6565b915050612598565b509392505050565b6000818152600183016020526040812054612686575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108f7565b5060006108f7565b815460009082106126ec5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016109f7565b826000018281548110610dac57610dac613147565b6001600160a01b0382166127575760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109f7565b61276081611c50565b156127ad5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109f7565b6127b960008383612286565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546128419061307b565b90600052602060002090601f01602090048101928261286357600085556128a9565b82601f1061287c5782800160ff198235161785556128a9565b828001600101855582156128a9579182015b828111156128a957823582559160200191906001019061288e565b50610e48929150612929565b8280546128c19061307b565b90600052602060002090601f0160209004810192826128e357600085556128a9565b82601f106128fc57805160ff19168380011785556128a9565b828001600101855582156128a9579182015b828111156128a957825182559160200191906001019061290e565b5b80821115610e48576000815560010161292a565b600067ffffffffffffffff808411156129595761295961315d565b604051601f8501601f19908116603f011681019082821181831017156129815761298161315d565b8160405280935085815286868601111561299a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146129cb57600080fd5b919050565b803580151581146129cb57600080fd5b6000602082840312156129f257600080fd5b612156826129b4565b60008060408385031215612a0e57600080fd5b612a17836129b4565b9150612a25602084016129b4565b90509250929050565b600080600060608486031215612a4357600080fd5b612a4c846129b4565b9250612a5a602085016129b4565b9150604084013590509250925092565b60008060008060808587031215612a8057600080fd5b612a89856129b4565b9350612a97602086016129b4565b925060408501359150606085013567ffffffffffffffff811115612aba57600080fd5b8501601f81018713612acb57600080fd5b612ada8782356020840161293e565b91505092959194509250565b60008060408385031215612af957600080fd5b612b02836129b4565b9150612a25602084016129d0565b60008060408385031215612b2357600080fd5b612b2c836129b4565b946020939093013593505050565b600080600060408486031215612b4f57600080fd5b833567ffffffffffffffff80821115612b6757600080fd5b818601915086601f830112612b7b57600080fd5b813581811115612b8a57600080fd5b8760208260051b8501011115612b9f57600080fd5b6020928301989097509590910135949350505050565b600060208284031215612bc757600080fd5b612156826129d0565b600060208284031215612be257600080fd5b5035919050565b600060208284031215612bfb57600080fd5b813561215681613173565b600060208284031215612c1857600080fd5b815161215681613173565b60008060208385031215612c3657600080fd5b823567ffffffffffffffff80821115612c4e57600080fd5b818501915085601f830112612c6257600080fd5b813581811115612c7157600080fd5b866020828501011115612c8357600080fd5b60209290920196919550909350505050565b600060208284031215612ca757600080fd5b813567ffffffffffffffff811115612cbe57600080fd5b8201601f81018413612ccf57600080fd5b611dea8482356020840161293e565b60008151808452612cf681602086016020860161304f565b601f01601f19169290920160200192915050565b60008151612d1c81856020860161304f565b9290920192915050565b600080845481600182811c915080831680612d4257607f831692505b6020808410821415612d6257634e487b7160e01b86526022600452602486fd5b818015612d765760018114612d8757612db4565b60ff19861689528489019650612db4565b60008b81526020902060005b86811015612dac5781548b820152908501908301612d93565b505084890196505b505050505050612dd8612dc78286612d0a565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e1490830184612cde565b9695505050505050565b6020815260006121566020830184612cde565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526012908201527153616c65206973206e6f742061637469766560701b604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252601f908201527f4d696e742f6f72646572206578636565647320746f74616c20737570706c7900604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561300057613000613105565b500190565b6000826130145761301461311b565b500490565b600081600019048311821515161561303357613033613105565b500290565b60008282101561304a5761304a613105565b500390565b60005b8381101561306a578181015183820152602001613052565b838111156115335750506000910152565b600181811c9082168061308f57607f821691505b602082108114156130b057634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130ca576130ca613105565b5060010190565b600060ff821660ff8114156130e8576130e8613105565b60010192915050565b6000826131005761310061311b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461137157600080fdfebe911fb2f9c16db8da0a4439c3aa4d120ad5eb58246a912047cd8a37b25e4d42a2646970667358221220be5e82afc3d18fdf2d21f80ae906eb31e5b022c914617ce88f36c6a0c6dbe76264736f6c6343000807003368747470733a2f2f646f67666163652e6d7970696e6174612e636c6f75642f697066732f516d6250527537704b526167394c627a757037314365634d4d7876796234637363524d7348643870503754526248

Deployed Bytecode

0x6080604052600436106102745760003560e01c80637e44755b1161014e578063a22cb465116100bb578063d8cf17f711610077578063d8cf17f7146107cd578063e3d538d91461080f578063e64710701461082f578063e985e9c51461084f578063eb8d244414610898578063f2fde38b146108b257005b8063a22cb4651461070d578063aab402e51461072d578063b88d4fde1461074d578063bb0cdf8d1461076d578063c87b56dd1461078d578063ca8279b9146107ad57005b806395d89b411161010a57806395d89b41146106485780639c1d8a5b1461065d5780639c7cabf31461067d5780639dd1cfb8146106aa5780639e0f52b8146106d7578063a044c987146106ed57005b80637e44755b146105a9578063853828b6146105c957806389d0c6ea146105de5780638da5cb5b146105fe5780638f6dda9d1461061c578063906280c31461063257005b80633fce584e116101ec57806355f804b3116101a857806355f804b3146104e457806357e4be9a146105045780636352211e14610524578063640cff981461054457806370a0823114610574578063715018a61461059457005b80633fce584e14610411578063421eabf01461043e57806342842e0e1461046e5780634cafdb6d1461048e5780634f6ccce7146104a457806351cff8d9146104c457005b8063095ea7b31161023b578063095ea7b31461036757806318160ddd1461038757806323b872dd1461039c57806326092b83146103bc5780632f745c59146103d15780633602deb2146103f157005b806301ffc9a71461027d57806303cf8a20146102b2578063069070d2146102ea57806306fdde0314610325578063081812fc1461034757005b3661027b57005b005b34801561028957600080fd5b5061029d610298366004612be9565b6108d2565b60405190151581526020015b60405180910390f35b3480156102be57600080fd5b50601a546102d2906001600160a01b031681565b6040516001600160a01b0390911681526020016102a9565b3480156102f657600080fd5b506103176103053660046129e0565b600c6020526000908152604090205481565b6040519081526020016102a9565b34801561033157600080fd5b5061033a6108fd565b6040516102a99190612e1e565b34801561035357600080fd5b506102d2610362366004612bd0565b61098f565b34801561037357600080fd5b5061027b610382366004612b10565b610a1c565b34801561039357600080fd5b50600354610317565b3480156103a857600080fd5b5061027b6103b7366004612a2e565b610b32565b3480156103c857600080fd5b5061027b610b63565b3480156103dd57600080fd5b506103176103ec366004612b10565b610d15565b3480156103fd57600080fd5b50601c546102d2906001600160a01b031681565b34801561041d57600080fd5b5061031761042c366004612bd0565b600f6020526000908152604090205481565b34801561044a57600080fd5b5061029d6104593660046129e0565b60106020526000908152604090205460ff1681565b34801561047a57600080fd5b5061027b610489366004612a2e565b610dbf565b34801561049a57600080fd5b5061031760075481565b3480156104b057600080fd5b506103176104bf366004612bd0565b610dda565b3480156104d057600080fd5b5061027b6104df3660046129e0565b610e4c565b3480156104f057600080fd5b5061027b6104ff366004612c23565b610ec8565b34801561051057600080fd5b5061027b61051f366004612bd0565b610efe565b34801561053057600080fd5b506102d261053f366004612bd0565b61117a565b34801561055057600080fd5b5061029d61055f3660046129e0565b60146020526000908152604090205460ff1681565b34801561058057600080fd5b5061031761058f3660046129e0565b611206565b3480156105a057600080fd5b5061027b61124a565b3480156105b557600080fd5b506019546102d2906001600160a01b031681565b3480156105d557600080fd5b5061027b611280565b3480156105ea57600080fd5b5061027b6105f9366004612bd0565b611374565b34801561060a57600080fd5b506000546001600160a01b03166102d2565b34801561062857600080fd5b5061031760185481565b34801561063e57600080fd5b5061031760165481565b34801561065457600080fd5b5061033a6113a3565b34801561066957600080fd5b5061027b610678366004612c95565b6113b2565b34801561068957600080fd5b506103176106983660046129e0565b60156020526000908152604090205481565b3480156106b657600080fd5b506103176106c53660046129e0565b600d6020526000908152604090205481565b3480156106e357600080fd5b5061031760085481565b3480156106f957600080fd5b50601b546102d2906001600160a01b031681565b34801561071957600080fd5b5061027b610728366004612ae6565b6113ef565b34801561073957600080fd5b5061027b610748366004612bb5565b6114b4565b34801561075957600080fd5b5061027b610768366004612a6a565b611501565b34801561077957600080fd5b5061027b610788366004612b3a565b611539565b34801561079957600080fd5b5061033a6107a8366004612bd0565b611834565b3480156107b957600080fd5b5061027b6107c8366004612b10565b6118d5565b3480156107d957600080fd5b506107fd6107e83660046129e0565b60116020526000908152604090205460ff1681565b60405160ff90911681526020016102a9565b34801561081b57600080fd5b5061027b61082a366004612bd0565b611969565b34801561083b57600080fd5b5061027b61084a366004612bd0565b6119f6565b34801561085b57600080fd5b5061029d61086a3660046129fb565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b3480156108a457600080fd5b5060095461029d9060ff1681565b3480156108be57600080fd5b5061027b6108cd3660046129e0565b611b68565b60006001600160e01b0319821663780e9d6360e01b14806108f757506108f782611c00565b92915050565b60606001805461090c9061307b565b80601f01602080910402602001604051908101604052809291908181526020018280546109389061307b565b80156109855780601f1061095a57610100808354040283529160200191610985565b820191906000526020600020905b81548152906001019060200180831161096857829003601f168201915b5050505050905090565b600061099a82611c50565b610a005760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610a278261117a565b9050806001600160a01b0316836001600160a01b03161415610a955760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016109f7565b336001600160a01b0382161480610ab15750610ab1813361086a565b610b235760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109f7565b610b2d8383611c9a565b505050565b610b3c3382611d08565b610b585760405162461bcd60e51b81526004016109f790612f65565b610b2d838383611df2565b60026006541415610b865760405162461bcd60e51b81526004016109f790612fb6565b60026006556000610b9660035490565b610ba1906001612fed565b60095490915060ff16610bc65760405162461bcd60e51b81526004016109f790612e83565b6008548111610c135760405162461bcd60e51b8152602060048201526019602482015278165bdd4818d85b89dd081c1d589b1a58c81b5a5b9d081e595d603a1b60448201526064016109f7565b600754811115610c355760405162461bcd60e51b81526004016109f790612ef9565b33600090815260116020526040902054600960ff90911610610c995760405162461bcd60e51b815260206004820152601b60248201527f596f752063616e2774206d696e74206e667473206f76657220382e000000000060448201526064016109f7565b610ca33382611f53565b336000908152601160205260408120805460ff1691610cc1836130d1565b91906101000a81548160ff021916908360ff16021790555050336001600160a01b031660008051602061318a833981519152610cfc60035490565b60405190815260200160405180910390a2506001600655565b6000610d2083611f6d565b8210610d825760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b60648201526084016109f7565b6001600160a01b0383166000908152600e60205260409020805483908110610dac57610dac613147565b9060005260206000200154905092915050565b610b2d83838360405180602001604052806000815250611501565b6000610de560035490565b8210610e485760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b60648201526084016109f7565b5090565b6000546001600160a01b03163314610e765760405162461bcd60e51b81526004016109f790612f30565b4780610eba5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b60448201526064016109f7565b610ec48247611ffc565b5050565b6000546001600160a01b03163314610ef25760405162461bcd60e51b81526004016109f790612f30565b610b2d600b8383612835565b60026006541415610f215760405162461bcd60e51b81526004016109f790612fb6565b60026006556000610f3160035490565b610f3c906001612fed565b905081610f8b5760405162461bcd60e51b815260206004820152601860248201527f416d6f756e74206d7573742062652031206f72206d6f7265000000000000000060448201526064016109f7565b6007546001610f9a8484612fed565b610fa49190613038565b1115610fc25760405162461bcd60e51b81526004016109f790612ef9565b60095460ff16610fe45760405162461bcd60e51b81526004016109f790612e83565b3360009081526014602052604090205460ff166110435760405162461bcd60e51b815260206004820152601b60248201527f596f7520617265206e6f7420616c6c6f77656420746f206d696e74000000000060448201526064016109f7565b336000908152601560205260409020548211156110a25760405162461bcd60e51b815260206004820181905260248201527f596f752063616e2774206d696e74206d6f7265207468616e20616c6c6f77656460448201526064016109f7565b60018211156110ed5760005b828110156110e7576110d53360016110c68486612fed565b6110d09190613038565b611f53565b806110df816130b6565b9150506110ae565b506110f7565b6110f73382611f53565b3360009081526015602052604081208054849290611116908490613038565b90915550503360009081526015602052604090205461114757336000908152601460205260409020805460ff191690555b3360008051602061318a83398151915261116060035490565b60405190815260200160405180910390a250506001600655565b6000806003838154811061119057611190613147565b6000918252602090912001546001600160a01b03169050806108f75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016109f7565b60006001600160a01b03821661122e5760405162461bcd60e51b81526004016109f790612eaf565b506001600160a01b03166000908152600e602052604090205490565b6000546001600160a01b031633146112745760405162461bcd60e51b81526004016109f790612f30565b61127e600061209f565b565b6000546001600160a01b031633146112aa5760405162461bcd60e51b81526004016109f790612f30565b47806112ee5760405162461bcd60e51b8152602060048201526013602482015272496e737566666963656e742062616c616e636560681b60448201526064016109f7565b60195461131a906001600160a01b0316606461130b84600a613019565b6113159190613005565b611ffc565b601a54611337906001600160a01b0316606461130b846014613019565b601b54611354906001600160a01b0316606461130b846023613019565b601c54611371906001600160a01b0316606461130b846023613019565b50565b6000546001600160a01b0316331461139e5760405162461bcd60e51b81526004016109f790612f30565b600855565b60606002805461090c9061307b565b6000546001600160a01b031633146113dc5760405162461bcd60e51b81526004016109f790612f30565b8051610ec49060179060208401906128b5565b6001600160a01b0382163314156114485760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109f7565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b031633146114de5760405162461bcd60e51b81526004016109f790612f30565b60095460ff16151581151514611371576009805482151560ff1990911617905550565b61150b3383611d08565b6115275760405162461bcd60e51b81526004016109f790612f65565b611533848484846120ef565b50505050565b6002600654141561155c5760405162461bcd60e51b81526004016109f790612fb6565b6002600655600061156c60035490565b611577906001612fed565b60095490915060ff1661159c5760405162461bcd60e51b81526004016109f790612e83565b3332146115eb5760405162461bcd60e51b815260206004820152601760248201527f496e746572616374696f6e206e6f7420616c6c6f77656400000000000000000060448201526064016109f7565b3360009081526010602052604090205460ff161515600114156116675760405162461bcd60e51b815260206004820152602e60248201527f596f752063616e2774206d696e74206f766572206f6e65206e6674207573696e60448201526d339039b0b6b29031b7bab837b71760911b60648201526084016109f7565b60085460016116768484612fed565b6116809190613038565b11156116ce5760405162461bcd60e51b815260206004820181905260248201527f4d696e742f6f72646572206578636565647320636f75706f6e20737570706c7960448201526064016109f7565b6040516bffffffffffffffffffffffff193360601b1660208201526034810183905260009060540160405160208183030381529060405280519060200120905061174f858580806020026020016040519081016040528093929190818152602001838360200280828437600092019190915250506018549150849050612122565b61179b5760405162461bcd60e51b815260206004820181905260248201527f546869732075736572206973206e6f7420616c6c6f77656420746f206d696e7460448201526064016109f7565b60005b838110156117c8576117b63360016110c68487612fed565b806117c0816130b6565b91505061179e565b506117d4601233612138565b6117e5576117e360123361215d565b505b336000818152601060205260409020805460ff1916600117905560008051602061318a83398151915261181760035490565b60405190815260200160405180910390a250506001600655505050565b606061183f82611c50565b6118a35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016109f7565b600b6118ae83612172565b6040516020016118bf929190612d26565b6040516020818303038152906040529050919050565b6000546001600160a01b031633146118ff5760405162461bcd60e51b81526004016109f790612f30565b80611929576001600160a01b0382166000908152601460205260409020805460ff1916905561194d565b6001600160a01b0382166000908152601460205260409020805460ff191660011790555b6001600160a01b03909116600090815260156020526040902055565b6000546001600160a01b031633146119935760405162461bcd60e51b81526004016109f790612f30565b601881905560005b6119a56012612270565b811015610ec45760006010816119bc60128561227a565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055806119ee816130b6565b91505061199b565b6000546001600160a01b03163314611a205760405162461bcd60e51b81526004016109f790612f30565b60026006541415611a435760405162461bcd60e51b81526004016109f790612fb6565b60026006556000611a5360035490565b611a5e906001612fed565b60095490915060ff16611a835760405162461bcd60e51b81526004016109f790612e83565b6008548111611ad05760405162461bcd60e51b8152602060048201526019602482015278165bdd4818d85b89dd081c1d589b1a58c81b5a5b9d081e595d603a1b60448201526064016109f7565b6007546001611adf8484612fed565b611ae99190613038565b1115611b075760405162461bcd60e51b81526004016109f790612ef9565b60005b82811015611b5e57611b223360016110c68486612fed565b3360008051602061318a833981519152611b3b60035490565b60405190815260200160405180910390a280611b56816130b6565b915050611b0a565b5050600160065550565b6000546001600160a01b03163314611b925760405162461bcd60e51b81526004016109f790612f30565b6001600160a01b038116611bf75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016109f7565b6113718161209f565b60006001600160e01b031982166380ac58cd60e01b1480611c3157506001600160e01b03198216635b5e139f60e01b145b806108f757506301ffc9a760e01b6001600160e01b03198316146108f7565b600354600090821080156108f7575060006001600160a01b031660038381548110611c7d57611c7d613147565b6000918252602090912001546001600160a01b0316141592915050565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611ccf8261117a565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611d1382611c50565b611d745760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016109f7565b6000611d7f8361117a565b9050806001600160a01b0316846001600160a01b03161480611dba5750836001600160a01b0316611daf8461098f565b6001600160a01b0316145b80611dea57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611e058261117a565b6001600160a01b031614611e6d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016109f7565b6001600160a01b038216611ecf5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016109f7565b611eda838383612286565b611ee5600082611c9a565b8160038281548110611ef957611ef9613147565b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b610ec4828260405180602001604052806000815250612453565b60006001600160a01b038216611f955760405162461bcd60e51b81526004016109f790612eaf565b600354600090815b81811015611ff35760038181548110611fb857611fb8613147565b6000918252602090912001546001600160a01b0386811691161415611fe357611fe0836130b6565b92505b611fec816130b6565b9050611f9d565b50909392505050565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612049576040519150601f19603f3d011682016040523d82523d6000602084013e61204e565b606091505b5050905080610b2d5760405162461bcd60e51b815260206004820152601860248201527f4661696c656420746f207769746864726177204574686572000000000000000060448201526064016109f7565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6120fa848484611df2565b61210684848484612486565b6115335760405162461bcd60e51b81526004016109f790612e31565b60008261212f8584612593565b14949350505050565b6001600160a01b038116600090815260018301602052604081205415155b9392505050565b6000612156836001600160a01b03841661263f565b6060816121965750506040805180820190915260018152600360fc1b602082015290565b8160005b81156121c057806121aa816130b6565b91506121b99050600a83613005565b915061219a565b60008167ffffffffffffffff8111156121db576121db61315d565b6040519080825280601f01601f191660200182016040528015612205576020820181803683370190505b5090505b8415611dea5761221a600183613038565b9150612227600a866130f1565b612232906030612fed565b60f81b81838151811061224757612247613147565b60200101906001600160f81b031916908160001a905350612269600a86613005565b9450612209565b60006108f7825490565b6000612156838361268e565b60006001600160a01b0384161515806122b05750806001600160a01b0316836001600160a01b0316145b156123ed576001600160a01b0384166000908152600e6020526040812054905b818110156123ea576001600160a01b0386166000908152600e6020526040902080548591908390811061230557612305613147565b906000526020600020015414156123da576001600160a01b0386166000908152600e60205260409020612339600184613038565b8154811061234957612349613147565b9060005260206000200154600e6000886001600160a01b03166001600160a01b03168152602001908152602001600020828154811061238a5761238a613147565b60009182526020808320909101929092556001600160a01b0388168152600e909152604090208054806123bf576123bf613131565b600190038181906000526020600020016000905590556123ea565b6123e3816130b6565b90506122d0565b50505b806001600160a01b0316846001600160a01b0316148061241f5750806001600160a01b0316836001600160a01b031614155b1561153357506001600160a01b03919091166000908152600e60209081526040822080546001810182559083529120015550565b61245d8383612701565b61246a6000848484612486565b610b2d5760405162461bcd60e51b81526004016109f790612e31565b60006001600160a01b0384163b1561258857604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906124ca903390899088908890600401612de1565b602060405180830381600087803b1580156124e457600080fd5b505af1925050508015612514575060408051601f3d908101601f1916820190925261251191810190612c06565b60015b61256e573d808015612542576040519150601f19603f3d011682016040523d82523d6000602084013e612547565b606091505b5080516125665760405162461bcd60e51b81526004016109f790612e31565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dea565b506001949350505050565b600081815b84518110156126375760008582815181106125b5576125b5613147565b602002602001015190508083116125f7576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612624565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061262f816130b6565b915050612598565b509392505050565b6000818152600183016020526040812054612686575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556108f7565b5060006108f7565b815460009082106126ec5760405162461bcd60e51b815260206004820152602260248201527f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e604482015261647360f01b60648201526084016109f7565b826000018281548110610dac57610dac613147565b6001600160a01b0382166127575760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109f7565b61276081611c50565b156127ad5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109f7565b6127b960008383612286565b6003805460018101825560009182527fc2575a0e9e593c00f959f8c92f12db2869c3395a3b0502d05e2516446f71f85b0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546128419061307b565b90600052602060002090601f01602090048101928261286357600085556128a9565b82601f1061287c5782800160ff198235161785556128a9565b828001600101855582156128a9579182015b828111156128a957823582559160200191906001019061288e565b50610e48929150612929565b8280546128c19061307b565b90600052602060002090601f0160209004810192826128e357600085556128a9565b82601f106128fc57805160ff19168380011785556128a9565b828001600101855582156128a9579182015b828111156128a957825182559160200191906001019061290e565b5b80821115610e48576000815560010161292a565b600067ffffffffffffffff808411156129595761295961315d565b604051601f8501601f19908116603f011681019082821181831017156129815761298161315d565b8160405280935085815286868601111561299a57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146129cb57600080fd5b919050565b803580151581146129cb57600080fd5b6000602082840312156129f257600080fd5b612156826129b4565b60008060408385031215612a0e57600080fd5b612a17836129b4565b9150612a25602084016129b4565b90509250929050565b600080600060608486031215612a4357600080fd5b612a4c846129b4565b9250612a5a602085016129b4565b9150604084013590509250925092565b60008060008060808587031215612a8057600080fd5b612a89856129b4565b9350612a97602086016129b4565b925060408501359150606085013567ffffffffffffffff811115612aba57600080fd5b8501601f81018713612acb57600080fd5b612ada8782356020840161293e565b91505092959194509250565b60008060408385031215612af957600080fd5b612b02836129b4565b9150612a25602084016129d0565b60008060408385031215612b2357600080fd5b612b2c836129b4565b946020939093013593505050565b600080600060408486031215612b4f57600080fd5b833567ffffffffffffffff80821115612b6757600080fd5b818601915086601f830112612b7b57600080fd5b813581811115612b8a57600080fd5b8760208260051b8501011115612b9f57600080fd5b6020928301989097509590910135949350505050565b600060208284031215612bc757600080fd5b612156826129d0565b600060208284031215612be257600080fd5b5035919050565b600060208284031215612bfb57600080fd5b813561215681613173565b600060208284031215612c1857600080fd5b815161215681613173565b60008060208385031215612c3657600080fd5b823567ffffffffffffffff80821115612c4e57600080fd5b818501915085601f830112612c6257600080fd5b813581811115612c7157600080fd5b866020828501011115612c8357600080fd5b60209290920196919550909350505050565b600060208284031215612ca757600080fd5b813567ffffffffffffffff811115612cbe57600080fd5b8201601f81018413612ccf57600080fd5b611dea8482356020840161293e565b60008151808452612cf681602086016020860161304f565b601f01601f19169290920160200192915050565b60008151612d1c81856020860161304f565b9290920192915050565b600080845481600182811c915080831680612d4257607f831692505b6020808410821415612d6257634e487b7160e01b86526022600452602486fd5b818015612d765760018114612d8757612db4565b60ff19861689528489019650612db4565b60008b81526020902060005b86811015612dac5781548b820152908501908301612d93565b505084890196505b505050505050612dd8612dc78286612d0a565b64173539b7b760d91b815260050190565b95945050505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612e1490830184612cde565b9695505050505050565b6020815260006121566020830184612cde565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526012908201527153616c65206973206e6f742061637469766560701b604082015260600190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b6020808252601f908201527f4d696e742f6f72646572206578636565647320746f74616c20737570706c7900604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6000821982111561300057613000613105565b500190565b6000826130145761301461311b565b500490565b600081600019048311821515161561303357613033613105565b500290565b60008282101561304a5761304a613105565b500390565b60005b8381101561306a578181015183820152602001613052565b838111156115335750506000910152565b600181811c9082168061308f57607f821691505b602082108114156130b057634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156130ca576130ca613105565b5060010190565b600060ff821660ff8114156130e8576130e8613105565b60010192915050565b6000826131005761310061311b565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461137157600080fdfebe911fb2f9c16db8da0a4439c3aa4d120ad5eb58246a912047cd8a37b25e4d42a2646970667358221220be5e82afc3d18fdf2d21f80ae906eb31e5b022c914617ce88f36c6a0c6dbe76264736f6c63430008070033

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.