ETH Price: $3,167.55 (-7.83%)
Gas: 10 Gwei

Token

NounBears (NB)
 

Overview

Max Total Supply

3,009 NB

Holders

482

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
funkykong.eth
Balance
5 NB
0xe8112dc79B6F9d8f1e3A9e663aD895cE7Ab47e7F
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:
NounBears

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : NounBears.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.14;


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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// 
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)
/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

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

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

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

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

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

// 
// Creator: Chiru Labs
/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 *
 * Assumes that an owner cannot have more than the 2**128 - 1 (max value of uint128) of supply
 */
contract ERC721A is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using Address for address;
    using Strings for uint256;

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

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

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

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

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity, _data, true);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(
        address to,
        uint256 quantity,
        bytes memory _data,
        bool safe
    ) internal {
        uint256 startTokenId = currentIndex;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;

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

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            _ownerships[tokenId].addr = to;
            _ownerships[tokenId].startTimestamp = uint64(block.timestamp);

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

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

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

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

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

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

//
contract NounBears is ERC721A, Ownable {
    using Counters for Counters.Counter;
    using Strings for uint256;

    Counters.Counter private tokenIdCounter;

    string baseURI;

    uint256 free = 0 ether;
    uint256 price = 0.01 ether;
    uint256 public maximumSupply = 4444;
    uint256 public maxFreeMint = 1111;
    uint256 public maxForWallet = 10;

    mapping (address => uint256) mintedByWallet;

    bool public saleState = false;
    
    constructor() ERC721A("NounBears", "NB") {
        setBaseURI("ipfs://QmYFTvMJbjoaXqxfjuZNDXPrrDavVArmpXey2T8d1fiAhR/");
        tokenIdCounter.increment();
    }

    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

    function changeMaxFree(uint256 newMax) external onlyOwner{
        maxFreeMint = newMax;
    }

    function changeMaxWallet(uint256 newMax) external onlyOwner{
        maxForWallet = newMax;
    }

    function getCurrentMintPrice() public view returns (uint256 currentPrice){
    if(totalSupply() < maxFreeMint){
      return free;
    }else{
      return price;
    }
    }

    function mint(uint256 amount) public payable {
        uint256 supply = tokenIdCounter.current();

        require(msg.value >= getCurrentMintPrice() * amount, "Not enough Ether sent");
        require(amount <= 5, "You can mint maximum 5 per tx.");
        require(supply + amount <= maximumSupply, "Exceeds maximum supply");
        require(saleState, "Sale paused");
        require(mintedByWallet[msg.sender] + amount <= maxForWallet,"it exceeds max per wallet");

        mintedByWallet[msg.sender] += amount;

        internalMint(msg.sender, amount);
    }

    function internalMint(address wallet, uint256 amount) internal {

        _safeMint(wallet, amount);

        for (uint256 i = 0; i < amount; i++) {
            tokenIdCounter.increment(); 
        }
    }

    function mintToWallets(address[] memory wallets) external onlyOwner{

        for(uint256 i = 0; i < wallets.length; i++){
            internalMint(wallets[i], 1);
        }

    }



    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        return string(abi.encodePacked(baseURI, tokenId.toString(), ".json"));
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        baseURI = _newBaseURI;
    }


    function saleSwitch() public onlyOwner {
        saleState = !saleState;
    }

    function withdrawAll() public onlyOwner {
        uint256 balance = address(this).balance;
        require(payable(msg.sender).send(balance));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"changeMaxFree","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"changeMaxWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentMintPrice","outputs":[{"internalType":"uint256","name":"currentPrice","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxForWallet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxFreeMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"}],"name":"mintToWallets","outputs":[],"stateMutability":"nonpayable","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":[],"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":"saleState","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleSwitch","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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600a55662386f26fc10000600b5561115c600c55610457600d55600a600e556000601060006101000a81548160ff0219169083151502179055503480156200004d57600080fd5b506040518060400160405280600981526020017f4e6f756e426561727300000000000000000000000000000000000000000000008152506040518060400160405280600281526020017f4e420000000000000000000000000000000000000000000000000000000000008152508160019080519060200190620000d29291906200030e565b508060029080519060200190620000eb9291906200030e565b5050506200010e620001026200015560201b60201c565b6200015d60201b60201c565b6200013860405180606001604052806036815260200162004798603691396200022360201b60201c565b6200014f6008620002ce60201b620019691760201c565b620004a5565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002336200015560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000259620002e460201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620002b2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002a9906200041f565b60405180910390fd5b8060099080519060200190620002ca9291906200030e565b5050565b6001816000016000828254019250508190555050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200031c9062000470565b90600052602060002090601f0160209004810192826200034057600085556200038c565b82601f106200035b57805160ff19168380011785556200038c565b828001600101855582156200038c579182015b828111156200038b5782518255916020019190600101906200036e565b5b5090506200039b91906200039f565b5090565b5b80821115620003ba576000816000905550600101620003a0565b5090565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000407602083620003be565b91506200041482620003cf565b602082019050919050565b600060208201905081810360008301526200043a81620003f8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200048957607f821691505b6020821081036200049f576200049e62000441565b5b50919050565b6142e380620004b56000396000f3fe6080604052600436106101d85760003560e01c8063603f4d5211610102578063a22cb46511610095578063e437b45011610064578063e437b4501461069b578063e82ded21146106b2578063e985e9c5146106dd578063f2fde38b1461071a576101d8565b8063a22cb465146105e1578063a591252d1461060a578063b88d4fde14610635578063c87b56dd1461065e576101d8565b8063853828b6116100d1578063853828b6146105585780638da5cb5b1461056f57806395d89b411461059a578063a0712d68146105c5576101d8565b8063603f4d521461049c5780636352211e146104c757806370a0823114610504578063715018a614610541576101d8565b806318160ddd1161017a57806342842e0e1161014957806342842e0e146103e45780634f6ccce71461040d57806355122b011461044a57806355f804b314610473576101d8565b806318160ddd1461032a57806323b872dd146103555780632f745c591461037e578063421f9c9f146103bb576101d8565b8063081812fc116101b6578063081812fc14610270578063095ea7b3146102ad5780630b006d60146102d6578063101cd991146102ff576101d8565b806301ffc9a7146101dd5780630480e58b1461021a57806306fdde0314610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612a9e565b610743565b6040516102119190612ae6565b60405180910390f35b34801561022657600080fd5b5061022f61088d565b60405161023c9190612b1a565b60405180910390f35b34801561025157600080fd5b5061025a610893565b6040516102679190612bce565b60405180910390f35b34801561027c57600080fd5b5061029760048036038101906102929190612c1c565b610925565b6040516102a49190612c8a565b60405180910390f35b3480156102b957600080fd5b506102d460048036038101906102cf9190612cd1565b6109aa565b005b3480156102e257600080fd5b506102fd60048036038101906102f89190612c1c565b610ac2565b005b34801561030b57600080fd5b50610314610b48565b6040516103219190612b1a565b60405180910390f35b34801561033657600080fd5b5061033f610b4e565b60405161034c9190612b1a565b60405180910390f35b34801561036157600080fd5b5061037c60048036038101906103779190612d11565b610b57565b005b34801561038a57600080fd5b506103a560048036038101906103a09190612cd1565b610b67565b6040516103b29190612b1a565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd9190612eac565b610d57565b005b3480156103f057600080fd5b5061040b60048036038101906104069190612d11565b610e1b565b005b34801561041957600080fd5b50610434600480360381019061042f9190612c1c565b610e3b565b6040516104419190612b1a565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190612c1c565b610e8e565b005b34801561047f57600080fd5b5061049a60048036038101906104959190612faa565b610f14565b005b3480156104a857600080fd5b506104b1610faa565b6040516104be9190612ae6565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190612c1c565b610fbd565b6040516104fb9190612c8a565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190612ff3565b610fd3565b6040516105389190612b1a565b60405180910390f35b34801561054d57600080fd5b506105566110bb565b005b34801561056457600080fd5b5061056d611143565b005b34801561057b57600080fd5b50610584611205565b6040516105919190612c8a565b60405180910390f35b3480156105a657600080fd5b506105af61122f565b6040516105bc9190612bce565b60405180910390f35b6105df60048036038101906105da9190612c1c565b6112c1565b005b3480156105ed57600080fd5b506106086004803603810190610603919061304c565b6114fa565b005b34801561061657600080fd5b5061061f61167a565b60405161062c9190612b1a565b60405180910390f35b34801561064157600080fd5b5061065c6004803603810190610657919061312d565b611680565b005b34801561066a57600080fd5b5061068560048036038101906106809190612c1c565b6116dc565b6040516106929190612bce565b60405180910390f35b3480156106a757600080fd5b506106b0611710565b005b3480156106be57600080fd5b506106c76117b8565b6040516106d49190612b1a565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff91906131b0565b6117de565b6040516107119190612ae6565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190612ff3565b611872565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061087657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088657506108858261197f565b5b9050919050565b600c5481565b6060600180546108a29061321f565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce9061321f565b801561091b5780601f106108f05761010080835404028352916020019161091b565b820191906000526020600020905b8154815290600101906020018083116108fe57829003601f168201915b5050505050905090565b6000610930826119e9565b61096f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610966906132c2565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b582610fbd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c90613354565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a446119f6565b73ffffffffffffffffffffffffffffffffffffffff161480610a735750610a7281610a6d6119f6565b6117de565b5b610ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa9906133e6565b60405180910390fd5b610abd8383836119fe565b505050565b610aca6119f6565b73ffffffffffffffffffffffffffffffffffffffff16610ae8611205565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590613452565b60405180910390fd5b80600e8190555050565b600e5481565b60008054905090565b610b62838383611ab0565b505050565b6000610b7283610fd3565b8210610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa906134e4565b60405180910390fd5b6000610bbd610b4e565b905060008060005b83811015610d15576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610cb757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d0757868403610cfe578195505050505050610d51565b83806001019450505b508080600101915050610bc5565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4890613576565b60405180910390fd5b92915050565b610d5f6119f6565b73ffffffffffffffffffffffffffffffffffffffff16610d7d611205565b73ffffffffffffffffffffffffffffffffffffffff1614610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca90613452565b60405180910390fd5b60005b8151811015610e1757610e04828281518110610df557610df4613596565b5b60200260200101516001611fee565b8080610e0f906135f4565b915050610dd6565b5050565b610e3683838360405180602001604052806000815250611680565b505050565b6000610e45610b4e565b8210610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d906136ae565b60405180910390fd5b819050919050565b610e966119f6565b73ffffffffffffffffffffffffffffffffffffffff16610eb4611205565b73ffffffffffffffffffffffffffffffffffffffff1614610f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0190613452565b60405180910390fd5b80600d8190555050565b610f1c6119f6565b73ffffffffffffffffffffffffffffffffffffffff16610f3a611205565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790613452565b60405180910390fd5b8060099080519060200190610fa6929190612955565b5050565b601060009054906101000a900460ff1681565b6000610fc882612025565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90613740565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6110c36119f6565b73ffffffffffffffffffffffffffffffffffffffff166110e1611205565b73ffffffffffffffffffffffffffffffffffffffff1614611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90613452565b60405180910390fd5b61114160006121bf565b565b61114b6119f6565b73ffffffffffffffffffffffffffffffffffffffff16611169611205565b73ffffffffffffffffffffffffffffffffffffffff16146111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690613452565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061120257600080fd5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461123e9061321f565b80601f016020809104026020016040519081016040528092919081815260200182805461126a9061321f565b80156112b75780601f1061128c576101008083540402835291602001916112b7565b820191906000526020600020905b81548152906001019060200180831161129a57829003601f168201915b5050505050905090565b60006112cd6008612285565b9050816112d86117b8565b6112e29190613760565b341015611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90613806565b60405180910390fd5b6005821115611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f90613872565b60405180910390fd5b600c5482826113779190613892565b11156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90613934565b60405180910390fd5b601060009054906101000a900460ff16611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe906139a0565b60405180910390fd5b600e5482600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114559190613892565b1115611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d90613a0c565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114e59190613892565b925050819055506114f63383611fee565b5050565b6115026119f6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361156f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156690613a78565b60405180910390fd5b806006600061157c6119f6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116296119f6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161166e9190612ae6565b60405180910390a35050565b600d5481565b61168b848484611ab0565b61169784848484612293565b6116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90613b0a565b60405180910390fd5b50505050565b606060096116e98361241a565b6040516020016116fa929190613c46565b6040516020818303038152906040529050919050565b6117186119f6565b73ffffffffffffffffffffffffffffffffffffffff16611736611205565b73ffffffffffffffffffffffffffffffffffffffff161461178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390613452565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600d546117c5610b4e565b10156117d557600a5490506117db565b600b5490505b90565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61187a6119f6565b73ffffffffffffffffffffffffffffffffffffffff16611898611205565b73ffffffffffffffffffffffffffffffffffffffff16146118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e590613452565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195490613ce7565b60405180910390fd5b611966816121bf565b50565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611abb82612025565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611ae26119f6565b73ffffffffffffffffffffffffffffffffffffffff161480611b3e5750611b076119f6565b73ffffffffffffffffffffffffffffffffffffffff16611b2684610925565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b5a5750611b598260000151611b546119f6565b6117de565b5b905080611b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9390613d79565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0590613e0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7490613e9d565b60405180910390fd5b611c8a858585600161257a565b611c9a60008484600001516119fe565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611f7e57611edd816119e9565b15611f7d5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fe78585856001612580565b5050505050565b611ff88282612586565b60005b818110156120205761200d6008611969565b8080612018906135f4565b915050611ffb565b505050565b61202d6129db565b612036826119e9565b612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c90613f2f565b60405180910390fd5b60008290505b6000811061217e576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461216f5780925050506121ba565b5080806001900391505061207b565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b190613fc1565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b60006122b48473ffffffffffffffffffffffffffffffffffffffff166125a4565b1561240d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122dd6119f6565b8786866040518563ffffffff1660e01b81526004016122ff9493929190614036565b6020604051808303816000875af192505050801561233b57506040513d601f19601f820116820180604052508101906123389190614097565b60015b6123bd573d806000811461236b576040519150601f19603f3d011682016040523d82523d6000602084013e612370565b606091505b5060008151036123b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac90613b0a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612412565b600190505b949350505050565b606060008203612461576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612575565b600082905060005b6000821461249357808061247c906135f4565b915050600a8261248c91906140f3565b9150612469565b60008167ffffffffffffffff8111156124af576124ae612d69565b5b6040519080825280601f01601f1916602001820160405280156124e15781602001600182028036833780820191505090505b5090505b6000851461256e576001826124fa9190614124565b9150600a856125099190614158565b60306125159190613892565b60f81b81838151811061252b5761252a613596565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561256791906140f3565b94506124e5565b8093505050505b919050565b50505050565b50505050565b6125a08282604051806020016040528060008152506125c7565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6125d483838360016125d9565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361264e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612645906141fb565b60405180910390fd5b60008403612691576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126889061428d565b60405180910390fd5b61269e600086838761257a565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561293857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315612923576128e36000888488612293565b612922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291990613b0a565b60405180910390fd5b5b8180600101925050808060010191505061286c565b50806000819055505061294e6000868387612580565b5050505050565b8280546129619061321f565b90600052602060002090601f01602090048101928261298357600085556129ca565b82601f1061299c57805160ff19168380011785556129ca565b828001600101855582156129ca579182015b828111156129c95782518255916020019190600101906129ae565b5b5090506129d79190612a15565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612a2e576000816000905550600101612a16565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a7b81612a46565b8114612a8657600080fd5b50565b600081359050612a9881612a72565b92915050565b600060208284031215612ab457612ab3612a3c565b5b6000612ac284828501612a89565b91505092915050565b60008115159050919050565b612ae081612acb565b82525050565b6000602082019050612afb6000830184612ad7565b92915050565b6000819050919050565b612b1481612b01565b82525050565b6000602082019050612b2f6000830184612b0b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b6f578082015181840152602081019050612b54565b83811115612b7e576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ba082612b35565b612baa8185612b40565b9350612bba818560208601612b51565b612bc381612b84565b840191505092915050565b60006020820190508181036000830152612be88184612b95565b905092915050565b612bf981612b01565b8114612c0457600080fd5b50565b600081359050612c1681612bf0565b92915050565b600060208284031215612c3257612c31612a3c565b5b6000612c4084828501612c07565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c7482612c49565b9050919050565b612c8481612c69565b82525050565b6000602082019050612c9f6000830184612c7b565b92915050565b612cae81612c69565b8114612cb957600080fd5b50565b600081359050612ccb81612ca5565b92915050565b60008060408385031215612ce857612ce7612a3c565b5b6000612cf685828601612cbc565b9250506020612d0785828601612c07565b9150509250929050565b600080600060608486031215612d2a57612d29612a3c565b5b6000612d3886828701612cbc565b9350506020612d4986828701612cbc565b9250506040612d5a86828701612c07565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612da182612b84565b810181811067ffffffffffffffff82111715612dc057612dbf612d69565b5b80604052505050565b6000612dd3612a32565b9050612ddf8282612d98565b919050565b600067ffffffffffffffff821115612dff57612dfe612d69565b5b602082029050602081019050919050565b600080fd5b6000612e28612e2384612de4565b612dc9565b90508083825260208201905060208402830185811115612e4b57612e4a612e10565b5b835b81811015612e745780612e608882612cbc565b845260208401935050602081019050612e4d565b5050509392505050565b600082601f830112612e9357612e92612d64565b5b8135612ea3848260208601612e15565b91505092915050565b600060208284031215612ec257612ec1612a3c565b5b600082013567ffffffffffffffff811115612ee057612edf612a41565b5b612eec84828501612e7e565b91505092915050565b600080fd5b600067ffffffffffffffff821115612f1557612f14612d69565b5b612f1e82612b84565b9050602081019050919050565b82818337600083830152505050565b6000612f4d612f4884612efa565b612dc9565b905082815260208101848484011115612f6957612f68612ef5565b5b612f74848285612f2b565b509392505050565b600082601f830112612f9157612f90612d64565b5b8135612fa1848260208601612f3a565b91505092915050565b600060208284031215612fc057612fbf612a3c565b5b600082013567ffffffffffffffff811115612fde57612fdd612a41565b5b612fea84828501612f7c565b91505092915050565b60006020828403121561300957613008612a3c565b5b600061301784828501612cbc565b91505092915050565b61302981612acb565b811461303457600080fd5b50565b60008135905061304681613020565b92915050565b6000806040838503121561306357613062612a3c565b5b600061307185828601612cbc565b925050602061308285828601613037565b9150509250929050565b600067ffffffffffffffff8211156130a7576130a6612d69565b5b6130b082612b84565b9050602081019050919050565b60006130d06130cb8461308c565b612dc9565b9050828152602081018484840111156130ec576130eb612ef5565b5b6130f7848285612f2b565b509392505050565b600082601f83011261311457613113612d64565b5b81356131248482602086016130bd565b91505092915050565b6000806000806080858703121561314757613146612a3c565b5b600061315587828801612cbc565b945050602061316687828801612cbc565b935050604061317787828801612c07565b925050606085013567ffffffffffffffff81111561319857613197612a41565b5b6131a4878288016130ff565b91505092959194509250565b600080604083850312156131c7576131c6612a3c565b5b60006131d585828601612cbc565b92505060206131e685828601612cbc565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061323757607f821691505b60208210810361324a576132496131f0565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006132ac602d83612b40565b91506132b782613250565b604082019050919050565b600060208201905081810360008301526132db8161329f565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061333e602283612b40565b9150613349826132e2565b604082019050919050565b6000602082019050818103600083015261336d81613331565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b60006133d0603983612b40565b91506133db82613374565b604082019050919050565b600060208201905081810360008301526133ff816133c3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061343c602083612b40565b915061344782613406565b602082019050919050565b6000602082019050818103600083015261346b8161342f565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006134ce602283612b40565b91506134d982613472565b604082019050919050565b600060208201905081810360008301526134fd816134c1565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613560602e83612b40565b915061356b82613504565b604082019050919050565b6000602082019050818103600083015261358f81613553565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135ff82612b01565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613631576136306135c5565b5b600182019050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000613698602383612b40565b91506136a38261363c565b604082019050919050565b600060208201905081810360008301526136c78161368b565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061372a602b83612b40565b9150613735826136ce565b604082019050919050565b600060208201905081810360008301526137598161371d565b9050919050565b600061376b82612b01565b915061377683612b01565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137af576137ae6135c5565b5b828202905092915050565b7f4e6f7420656e6f7567682045746865722073656e740000000000000000000000600082015250565b60006137f0601583612b40565b91506137fb826137ba565b602082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b7f596f752063616e206d696e74206d6178696d756d2035207065722074782e0000600082015250565b600061385c601e83612b40565b915061386782613826565b602082019050919050565b6000602082019050818103600083015261388b8161384f565b9050919050565b600061389d82612b01565b91506138a883612b01565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138dd576138dc6135c5565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b600061391e601683612b40565b9150613929826138e8565b602082019050919050565b6000602082019050818103600083015261394d81613911565b9050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b600061398a600b83612b40565b915061399582613954565b602082019050919050565b600060208201905081810360008301526139b98161397d565b9050919050565b7f69742065786365656473206d6178207065722077616c6c657400000000000000600082015250565b60006139f6601983612b40565b9150613a01826139c0565b602082019050919050565b60006020820190508181036000830152613a25816139e9565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613a62601a83612b40565b9150613a6d82613a2c565b602082019050919050565b60006020820190508181036000830152613a9181613a55565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000613af4603383612b40565b9150613aff82613a98565b604082019050919050565b60006020820190508181036000830152613b2381613ae7565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613b578161321f565b613b618186613b2a565b94506001821660008114613b7c5760018114613b8d57613bc0565b60ff19831686528186019350613bc0565b613b9685613b35565b60005b83811015613bb857815481890152600182019150602081019050613b99565b838801955050505b50505092915050565b6000613bd482612b35565b613bde8185613b2a565b9350613bee818560208601612b51565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613c30600583613b2a565b9150613c3b82613bfa565b600582019050919050565b6000613c528285613b4a565b9150613c5e8284613bc9565b9150613c6982613c23565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cd1602683612b40565b9150613cdc82613c75565b604082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613d63603283612b40565b9150613d6e82613d07565b604082019050919050565b60006020820190508181036000830152613d9281613d56565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000613df5602683612b40565b9150613e0082613d99565b604082019050919050565b60006020820190508181036000830152613e2481613de8565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613e87602583612b40565b9150613e9282613e2b565b604082019050919050565b60006020820190508181036000830152613eb681613e7a565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000613f19602a83612b40565b9150613f2482613ebd565b604082019050919050565b60006020820190508181036000830152613f4881613f0c565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000613fab602f83612b40565b9150613fb682613f4f565b604082019050919050565b60006020820190508181036000830152613fda81613f9e565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061400882613fe1565b6140128185613fec565b9350614022818560208601612b51565b61402b81612b84565b840191505092915050565b600060808201905061404b6000830187612c7b565b6140586020830186612c7b565b6140656040830185612b0b565b81810360608301526140778184613ffd565b905095945050505050565b60008151905061409181612a72565b92915050565b6000602082840312156140ad576140ac612a3c565b5b60006140bb84828501614082565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140fe82612b01565b915061410983612b01565b925082614119576141186140c4565b5b828204905092915050565b600061412f82612b01565b915061413a83612b01565b92508282101561414d5761414c6135c5565b5b828203905092915050565b600061416382612b01565b915061416e83612b01565b92508261417e5761417d6140c4565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006141e5602183612b40565b91506141f082614189565b604082019050919050565b60006020820190508181036000830152614214816141d8565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000614277602883612b40565b91506142828261421b565b604082019050919050565b600060208201905081810360008301526142a68161426a565b905091905056fea2646970667358221220f770ba89b067a58d0d38ac07f3a003405810027ef80e923c01ca4ac3ae925f5a64736f6c634300080e0033697066733a2f2f516d594654764d4a626a6f61587178666a755a4e44585072724461765641726d70586579325438643166694168522f

Deployed Bytecode

0x6080604052600436106101d85760003560e01c8063603f4d5211610102578063a22cb46511610095578063e437b45011610064578063e437b4501461069b578063e82ded21146106b2578063e985e9c5146106dd578063f2fde38b1461071a576101d8565b8063a22cb465146105e1578063a591252d1461060a578063b88d4fde14610635578063c87b56dd1461065e576101d8565b8063853828b6116100d1578063853828b6146105585780638da5cb5b1461056f57806395d89b411461059a578063a0712d68146105c5576101d8565b8063603f4d521461049c5780636352211e146104c757806370a0823114610504578063715018a614610541576101d8565b806318160ddd1161017a57806342842e0e1161014957806342842e0e146103e45780634f6ccce71461040d57806355122b011461044a57806355f804b314610473576101d8565b806318160ddd1461032a57806323b872dd146103555780632f745c591461037e578063421f9c9f146103bb576101d8565b8063081812fc116101b6578063081812fc14610270578063095ea7b3146102ad5780630b006d60146102d6578063101cd991146102ff576101d8565b806301ffc9a7146101dd5780630480e58b1461021a57806306fdde0314610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff9190612a9e565b610743565b6040516102119190612ae6565b60405180910390f35b34801561022657600080fd5b5061022f61088d565b60405161023c9190612b1a565b60405180910390f35b34801561025157600080fd5b5061025a610893565b6040516102679190612bce565b60405180910390f35b34801561027c57600080fd5b5061029760048036038101906102929190612c1c565b610925565b6040516102a49190612c8a565b60405180910390f35b3480156102b957600080fd5b506102d460048036038101906102cf9190612cd1565b6109aa565b005b3480156102e257600080fd5b506102fd60048036038101906102f89190612c1c565b610ac2565b005b34801561030b57600080fd5b50610314610b48565b6040516103219190612b1a565b60405180910390f35b34801561033657600080fd5b5061033f610b4e565b60405161034c9190612b1a565b60405180910390f35b34801561036157600080fd5b5061037c60048036038101906103779190612d11565b610b57565b005b34801561038a57600080fd5b506103a560048036038101906103a09190612cd1565b610b67565b6040516103b29190612b1a565b60405180910390f35b3480156103c757600080fd5b506103e260048036038101906103dd9190612eac565b610d57565b005b3480156103f057600080fd5b5061040b60048036038101906104069190612d11565b610e1b565b005b34801561041957600080fd5b50610434600480360381019061042f9190612c1c565b610e3b565b6040516104419190612b1a565b60405180910390f35b34801561045657600080fd5b50610471600480360381019061046c9190612c1c565b610e8e565b005b34801561047f57600080fd5b5061049a60048036038101906104959190612faa565b610f14565b005b3480156104a857600080fd5b506104b1610faa565b6040516104be9190612ae6565b60405180910390f35b3480156104d357600080fd5b506104ee60048036038101906104e99190612c1c565b610fbd565b6040516104fb9190612c8a565b60405180910390f35b34801561051057600080fd5b5061052b60048036038101906105269190612ff3565b610fd3565b6040516105389190612b1a565b60405180910390f35b34801561054d57600080fd5b506105566110bb565b005b34801561056457600080fd5b5061056d611143565b005b34801561057b57600080fd5b50610584611205565b6040516105919190612c8a565b60405180910390f35b3480156105a657600080fd5b506105af61122f565b6040516105bc9190612bce565b60405180910390f35b6105df60048036038101906105da9190612c1c565b6112c1565b005b3480156105ed57600080fd5b506106086004803603810190610603919061304c565b6114fa565b005b34801561061657600080fd5b5061061f61167a565b60405161062c9190612b1a565b60405180910390f35b34801561064157600080fd5b5061065c6004803603810190610657919061312d565b611680565b005b34801561066a57600080fd5b5061068560048036038101906106809190612c1c565b6116dc565b6040516106929190612bce565b60405180910390f35b3480156106a757600080fd5b506106b0611710565b005b3480156106be57600080fd5b506106c76117b8565b6040516106d49190612b1a565b60405180910390f35b3480156106e957600080fd5b5061070460048036038101906106ff91906131b0565b6117de565b6040516107119190612ae6565b60405180910390f35b34801561072657600080fd5b50610741600480360381019061073c9190612ff3565b611872565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061087657507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061088657506108858261197f565b5b9050919050565b600c5481565b6060600180546108a29061321f565b80601f01602080910402602001604051908101604052809291908181526020018280546108ce9061321f565b801561091b5780601f106108f05761010080835404028352916020019161091b565b820191906000526020600020905b8154815290600101906020018083116108fe57829003601f168201915b5050505050905090565b6000610930826119e9565b61096f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610966906132c2565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109b582610fbd565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1c90613354565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a446119f6565b73ffffffffffffffffffffffffffffffffffffffff161480610a735750610a7281610a6d6119f6565b6117de565b5b610ab2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa9906133e6565b60405180910390fd5b610abd8383836119fe565b505050565b610aca6119f6565b73ffffffffffffffffffffffffffffffffffffffff16610ae8611205565b73ffffffffffffffffffffffffffffffffffffffff1614610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590613452565b60405180910390fd5b80600e8190555050565b600e5481565b60008054905090565b610b62838383611ab0565b505050565b6000610b7283610fd3565b8210610bb3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610baa906134e4565b60405180910390fd5b6000610bbd610b4e565b905060008060005b83811015610d15576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614610cb757806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610d0757868403610cfe578195505050505050610d51565b83806001019450505b508080600101915050610bc5565b506040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4890613576565b60405180910390fd5b92915050565b610d5f6119f6565b73ffffffffffffffffffffffffffffffffffffffff16610d7d611205565b73ffffffffffffffffffffffffffffffffffffffff1614610dd3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dca90613452565b60405180910390fd5b60005b8151811015610e1757610e04828281518110610df557610df4613596565b5b60200260200101516001611fee565b8080610e0f906135f4565b915050610dd6565b5050565b610e3683838360405180602001604052806000815250611680565b505050565b6000610e45610b4e565b8210610e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7d906136ae565b60405180910390fd5b819050919050565b610e966119f6565b73ffffffffffffffffffffffffffffffffffffffff16610eb4611205565b73ffffffffffffffffffffffffffffffffffffffff1614610f0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0190613452565b60405180910390fd5b80600d8190555050565b610f1c6119f6565b73ffffffffffffffffffffffffffffffffffffffff16610f3a611205565b73ffffffffffffffffffffffffffffffffffffffff1614610f90576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f8790613452565b60405180910390fd5b8060099080519060200190610fa6929190612955565b5050565b601060009054906101000a900460ff1681565b6000610fc882612025565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611043576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103a90613740565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b6110c36119f6565b73ffffffffffffffffffffffffffffffffffffffff166110e1611205565b73ffffffffffffffffffffffffffffffffffffffff1614611137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161112e90613452565b60405180910390fd5b61114160006121bf565b565b61114b6119f6565b73ffffffffffffffffffffffffffffffffffffffff16611169611205565b73ffffffffffffffffffffffffffffffffffffffff16146111bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b690613452565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f1935050505061120257600080fd5b50565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606002805461123e9061321f565b80601f016020809104026020016040519081016040528092919081815260200182805461126a9061321f565b80156112b75780601f1061128c576101008083540402835291602001916112b7565b820191906000526020600020905b81548152906001019060200180831161129a57829003601f168201915b5050505050905090565b60006112cd6008612285565b9050816112d86117b8565b6112e29190613760565b341015611324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131b90613806565b60405180910390fd5b6005821115611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f90613872565b60405180910390fd5b600c5482826113779190613892565b11156113b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113af90613934565b60405180910390fd5b601060009054906101000a900460ff16611407576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113fe906139a0565b60405180910390fd5b600e5482600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546114559190613892565b1115611496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148d90613a0c565b60405180910390fd5b81600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546114e59190613892565b925050819055506114f63383611fee565b5050565b6115026119f6565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff160361156f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161156690613a78565b60405180910390fd5b806006600061157c6119f6565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116296119f6565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161166e9190612ae6565b60405180910390a35050565b600d5481565b61168b848484611ab0565b61169784848484612293565b6116d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116cd90613b0a565b60405180910390fd5b50505050565b606060096116e98361241a565b6040516020016116fa929190613c46565b6040516020818303038152906040529050919050565b6117186119f6565b73ffffffffffffffffffffffffffffffffffffffff16611736611205565b73ffffffffffffffffffffffffffffffffffffffff161461178c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161178390613452565b60405180910390fd5b601060009054906101000a900460ff1615601060006101000a81548160ff021916908315150217905550565b6000600d546117c5610b4e565b10156117d557600a5490506117db565b600b5490505b90565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61187a6119f6565b73ffffffffffffffffffffffffffffffffffffffff16611898611205565b73ffffffffffffffffffffffffffffffffffffffff16146118ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118e590613452565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361195d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161195490613ce7565b60405180910390fd5b611966816121bf565b50565b6001816000016000828254019250508190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000611abb82612025565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16611ae26119f6565b73ffffffffffffffffffffffffffffffffffffffff161480611b3e5750611b076119f6565b73ffffffffffffffffffffffffffffffffffffffff16611b2684610925565b73ffffffffffffffffffffffffffffffffffffffff16145b80611b5a5750611b598260000151611b546119f6565b6117de565b5b905080611b9c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9390613d79565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c0590613e0b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603611c7d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7490613e9d565b60405180910390fd5b611c8a858585600161257a565b611c9a60008484600001516119fe565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160392506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550836003600085815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600085815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600184019050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1603611f7e57611edd816119e9565b15611f7d5782600001516003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555082602001516003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b50828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611fe78585856001612580565b5050505050565b611ff88282612586565b60005b818110156120205761200d6008611969565b8080612018906135f4565b915050611ffb565b505050565b61202d6129db565b612036826119e9565b612075576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161206c90613f2f565b60405180910390fd5b60008290505b6000811061217e576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461216f5780925050506121ba565b5080806001900391505061207b565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b190613fc1565b60405180910390fd5b919050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081600001549050919050565b60006122b48473ffffffffffffffffffffffffffffffffffffffff166125a4565b1561240d578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026122dd6119f6565b8786866040518563ffffffff1660e01b81526004016122ff9493929190614036565b6020604051808303816000875af192505050801561233b57506040513d601f19601f820116820180604052508101906123389190614097565b60015b6123bd573d806000811461236b576040519150601f19603f3d011682016040523d82523d6000602084013e612370565b606091505b5060008151036123b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ac90613b0a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612412565b600190505b949350505050565b606060008203612461576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612575565b600082905060005b6000821461249357808061247c906135f4565b915050600a8261248c91906140f3565b9150612469565b60008167ffffffffffffffff8111156124af576124ae612d69565b5b6040519080825280601f01601f1916602001820160405280156124e15781602001600182028036833780820191505090505b5090505b6000851461256e576001826124fa9190614124565b9150600a856125099190614158565b60306125159190613892565b60f81b81838151811061252b5761252a613596565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561256791906140f3565b94506124e5565b8093505050505b919050565b50505050565b50505050565b6125a08282604051806020016040528060008152506125c7565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b6125d483838360016125d9565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361264e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612645906141fb565b60405180910390fd5b60008403612691576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126889061428d565b60405180910390fd5b61269e600086838761257a565b83600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555083600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550846003600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426003600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060005b8581101561293857818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48315612923576128e36000888488612293565b612922576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291990613b0a565b60405180910390fd5b5b8180600101925050808060010191505061286c565b50806000819055505061294e6000868387612580565b5050505050565b8280546129619061321f565b90600052602060002090601f01602090048101928261298357600085556129ca565b82601f1061299c57805160ff19168380011785556129ca565b828001600101855582156129ca579182015b828111156129c95782518255916020019190600101906129ae565b5b5090506129d79190612a15565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115612a2e576000816000905550600101612a16565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b612a7b81612a46565b8114612a8657600080fd5b50565b600081359050612a9881612a72565b92915050565b600060208284031215612ab457612ab3612a3c565b5b6000612ac284828501612a89565b91505092915050565b60008115159050919050565b612ae081612acb565b82525050565b6000602082019050612afb6000830184612ad7565b92915050565b6000819050919050565b612b1481612b01565b82525050565b6000602082019050612b2f6000830184612b0b565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015612b6f578082015181840152602081019050612b54565b83811115612b7e576000848401525b50505050565b6000601f19601f8301169050919050565b6000612ba082612b35565b612baa8185612b40565b9350612bba818560208601612b51565b612bc381612b84565b840191505092915050565b60006020820190508181036000830152612be88184612b95565b905092915050565b612bf981612b01565b8114612c0457600080fd5b50565b600081359050612c1681612bf0565b92915050565b600060208284031215612c3257612c31612a3c565b5b6000612c4084828501612c07565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612c7482612c49565b9050919050565b612c8481612c69565b82525050565b6000602082019050612c9f6000830184612c7b565b92915050565b612cae81612c69565b8114612cb957600080fd5b50565b600081359050612ccb81612ca5565b92915050565b60008060408385031215612ce857612ce7612a3c565b5b6000612cf685828601612cbc565b9250506020612d0785828601612c07565b9150509250929050565b600080600060608486031215612d2a57612d29612a3c565b5b6000612d3886828701612cbc565b9350506020612d4986828701612cbc565b9250506040612d5a86828701612c07565b9150509250925092565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612da182612b84565b810181811067ffffffffffffffff82111715612dc057612dbf612d69565b5b80604052505050565b6000612dd3612a32565b9050612ddf8282612d98565b919050565b600067ffffffffffffffff821115612dff57612dfe612d69565b5b602082029050602081019050919050565b600080fd5b6000612e28612e2384612de4565b612dc9565b90508083825260208201905060208402830185811115612e4b57612e4a612e10565b5b835b81811015612e745780612e608882612cbc565b845260208401935050602081019050612e4d565b5050509392505050565b600082601f830112612e9357612e92612d64565b5b8135612ea3848260208601612e15565b91505092915050565b600060208284031215612ec257612ec1612a3c565b5b600082013567ffffffffffffffff811115612ee057612edf612a41565b5b612eec84828501612e7e565b91505092915050565b600080fd5b600067ffffffffffffffff821115612f1557612f14612d69565b5b612f1e82612b84565b9050602081019050919050565b82818337600083830152505050565b6000612f4d612f4884612efa565b612dc9565b905082815260208101848484011115612f6957612f68612ef5565b5b612f74848285612f2b565b509392505050565b600082601f830112612f9157612f90612d64565b5b8135612fa1848260208601612f3a565b91505092915050565b600060208284031215612fc057612fbf612a3c565b5b600082013567ffffffffffffffff811115612fde57612fdd612a41565b5b612fea84828501612f7c565b91505092915050565b60006020828403121561300957613008612a3c565b5b600061301784828501612cbc565b91505092915050565b61302981612acb565b811461303457600080fd5b50565b60008135905061304681613020565b92915050565b6000806040838503121561306357613062612a3c565b5b600061307185828601612cbc565b925050602061308285828601613037565b9150509250929050565b600067ffffffffffffffff8211156130a7576130a6612d69565b5b6130b082612b84565b9050602081019050919050565b60006130d06130cb8461308c565b612dc9565b9050828152602081018484840111156130ec576130eb612ef5565b5b6130f7848285612f2b565b509392505050565b600082601f83011261311457613113612d64565b5b81356131248482602086016130bd565b91505092915050565b6000806000806080858703121561314757613146612a3c565b5b600061315587828801612cbc565b945050602061316687828801612cbc565b935050604061317787828801612c07565b925050606085013567ffffffffffffffff81111561319857613197612a41565b5b6131a4878288016130ff565b91505092959194509250565b600080604083850312156131c7576131c6612a3c565b5b60006131d585828601612cbc565b92505060206131e685828601612cbc565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061323757607f821691505b60208210810361324a576132496131f0565b5b50919050565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b60006132ac602d83612b40565b91506132b782613250565b604082019050919050565b600060208201905081810360008301526132db8161329f565b9050919050565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b600061333e602283612b40565b9150613349826132e2565b604082019050919050565b6000602082019050818103600083015261336d81613331565b9050919050565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b60006133d0603983612b40565b91506133db82613374565b604082019050919050565b600060208201905081810360008301526133ff816133c3565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061343c602083612b40565b915061344782613406565b602082019050919050565b6000602082019050818103600083015261346b8161342f565b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b60006134ce602283612b40565b91506134d982613472565b604082019050919050565b600060208201905081810360008301526134fd816134c1565b9050919050565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b6000613560602e83612b40565b915061356b82613504565b604082019050919050565b6000602082019050818103600083015261358f81613553565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006135ff82612b01565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613631576136306135c5565b5b600182019050919050565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b6000613698602383612b40565b91506136a38261363c565b604082019050919050565b600060208201905081810360008301526136c78161368b565b9050919050565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b600061372a602b83612b40565b9150613735826136ce565b604082019050919050565b600060208201905081810360008301526137598161371d565b9050919050565b600061376b82612b01565b915061377683612b01565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156137af576137ae6135c5565b5b828202905092915050565b7f4e6f7420656e6f7567682045746865722073656e740000000000000000000000600082015250565b60006137f0601583612b40565b91506137fb826137ba565b602082019050919050565b6000602082019050818103600083015261381f816137e3565b9050919050565b7f596f752063616e206d696e74206d6178696d756d2035207065722074782e0000600082015250565b600061385c601e83612b40565b915061386782613826565b602082019050919050565b6000602082019050818103600083015261388b8161384f565b9050919050565b600061389d82612b01565b91506138a883612b01565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156138dd576138dc6135c5565b5b828201905092915050565b7f45786365656473206d6178696d756d20737570706c7900000000000000000000600082015250565b600061391e601683612b40565b9150613929826138e8565b602082019050919050565b6000602082019050818103600083015261394d81613911565b9050919050565b7f53616c6520706175736564000000000000000000000000000000000000000000600082015250565b600061398a600b83612b40565b915061399582613954565b602082019050919050565b600060208201905081810360008301526139b98161397d565b9050919050565b7f69742065786365656473206d6178207065722077616c6c657400000000000000600082015250565b60006139f6601983612b40565b9150613a01826139c0565b602082019050919050565b60006020820190508181036000830152613a25816139e9565b9050919050565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b6000613a62601a83612b40565b9150613a6d82613a2c565b602082019050919050565b60006020820190508181036000830152613a9181613a55565b9050919050565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b6000613af4603383612b40565b9150613aff82613a98565b604082019050919050565b60006020820190508181036000830152613b2381613ae7565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154613b578161321f565b613b618186613b2a565b94506001821660008114613b7c5760018114613b8d57613bc0565b60ff19831686528186019350613bc0565b613b9685613b35565b60005b83811015613bb857815481890152600182019150602081019050613b99565b838801955050505b50505092915050565b6000613bd482612b35565b613bde8185613b2a565b9350613bee818560208601612b51565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000613c30600583613b2a565b9150613c3b82613bfa565b600582019050919050565b6000613c528285613b4a565b9150613c5e8284613bc9565b9150613c6982613c23565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000613cd1602683612b40565b9150613cdc82613c75565b604082019050919050565b60006020820190508181036000830152613d0081613cc4565b9050919050565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b6000613d63603283612b40565b9150613d6e82613d07565b604082019050919050565b60006020820190508181036000830152613d9281613d56565b9050919050565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b6000613df5602683612b40565b9150613e0082613d99565b604082019050919050565b60006020820190508181036000830152613e2481613de8565b9050919050565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b6000613e87602583612b40565b9150613e9282613e2b565b604082019050919050565b60006020820190508181036000830152613eb681613e7a565b9050919050565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b6000613f19602a83612b40565b9150613f2482613ebd565b604082019050919050565b60006020820190508181036000830152613f4881613f0c565b9050919050565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b6000613fab602f83612b40565b9150613fb682613f4f565b604082019050919050565b60006020820190508181036000830152613fda81613f9e565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061400882613fe1565b6140128185613fec565b9350614022818560208601612b51565b61402b81612b84565b840191505092915050565b600060808201905061404b6000830187612c7b565b6140586020830186612c7b565b6140656040830185612b0b565b81810360608301526140778184613ffd565b905095945050505050565b60008151905061409181612a72565b92915050565b6000602082840312156140ad576140ac612a3c565b5b60006140bb84828501614082565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140fe82612b01565b915061410983612b01565b925082614119576141186140c4565b5b828204905092915050565b600061412f82612b01565b915061413a83612b01565b92508282101561414d5761414c6135c5565b5b828203905092915050565b600061416382612b01565b915061416e83612b01565b92508261417e5761417d6140c4565b5b828206905092915050565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b60006141e5602183612b40565b91506141f082614189565b604082019050919050565b60006020820190508181036000830152614214816141d8565b9050919050565b7f455243373231413a207175616e74697479206d7573742062652067726561746560008201527f72207468616e2030000000000000000000000000000000000000000000000000602082015250565b6000614277602883612b40565b91506142828261421b565b604082019050919050565b600060208201905081810360008301526142a68161426a565b905091905056fea2646970667358221220f770ba89b067a58d0d38ac07f3a003405810027ef80e923c01ca4ac3ae925f5a64736f6c634300080e0033

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.