ETH Price: $3,270.94 (-4.09%)
Gas: 10 Gwei

Token

MuskyPunks (MUSKY)
 

Overview

Max Total Supply

1,235 MUSKY

Holders

337

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
5 MUSKY
0xf835787ae7b8128ef23583125228a5b41573d956
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:
MuskyPunks

Compiler Version
v0.8.6+commit.11564f7e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : MuskyPunks.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract MuskyPunks is ERC721, Ownable {
    string public baseURI;

    uint256 public constant MAX_SUPPLY = 10000;

    uint256 public constant MAX_MINT_PER_TX = 42;

    uint256 public constant MAX_PRE_MINT_SUPPLY = 100;

    uint256 public constant PRICE = 0.04 ether;

    uint256 public totalSupply = 0;

    uint256 public preMintSupply = 0;

    uint256 public mintableSupply = MAX_SUPPLY;

    uint256[MAX_SUPPLY] private indices;

    bool public mintable = false;

    event Mintable(bool mintable);

    event BaseURI(string baseURI);

    constructor() ERC721("MuskyPunks", "MUSKY") {}

    modifier isMintable() {
        require(mintable, "MuskyPunks: NFT cannot be minted yet.");
        _;
    }

    modifier isNotExceedMaxMintPerTx(uint256 amount) {
        require(
            amount <= MAX_MINT_PER_TX,
            "MuskyPunks: Mint amount exceeds max limit per tx."
        );
        _;
    }

    modifier isNotExceedMaxSupply(uint256 amount) {
        require(
            totalSupply + amount <= MAX_SUPPLY - MAX_PRE_MINT_SUPPLY,
            "MuskyPunks: There are no more remaining NFT's to mint."
        );
        _;
    }

    modifier isPaymentSufficient(uint256 amount) {
        require(
            msg.value == amount * PRICE,
            "MuskyPunks: There was not enough/extra ETH transferred to mint an NFT."
        );
        _;
    }

    modifier isNotExceedMaxPreMintSupply(uint256 amount) {
        require(
            preMintSupply + amount <= MAX_PRE_MINT_SUPPLY,
            "MuskyPunks: There are not enough NFT's to premint."
        );
        _;
    }

    function preMint(uint256 amount)
        public
        onlyOwner
        isNotExceedMaxPreMintSupply(amount)
    {
        for (uint256 index = 0; index < amount; index++) {
            preMintSupply++;

            _safeMint(msg.sender, getAvailableRandomTokenId());
        }
    }

    function mint(uint256 amount)
        public
        payable
        isMintable
        isNotExceedMaxMintPerTx(amount)
        isNotExceedMaxSupply(amount)
        isPaymentSufficient(amount)
    {
        for (uint256 index = 0; index < amount; index++) {
            _safeMint(msg.sender, getAvailableRandomTokenId());
        }
    }

    function getAvailableRandomTokenId() internal returns (uint256) {
        uint256 index = uint256(
            keccak256(
                abi.encodePacked(
                    msg.sender,
                    mintableSupply,
                    block.number,
                    block.difficulty,
                    block.timestamp,
                    blockhash(block.number - 1)
                )
            )
        ) % mintableSupply;

        uint256 tokenId = indices[index] != 0 ? indices[index] : index;

        mintableSupply--;

        totalSupply++;

        indices[index] = indices[mintableSupply] == 0
            ? mintableSupply
            : indices[mintableSupply];

        return tokenId + 1;
    }

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

        emit BaseURI(baseURI);
    }

    function setMintable(bool _mintable) public onlyOwner {
        mintable = _mintable;

        emit Mintable(mintable);
    }

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

    function withdraw() external onlyOwner {
        payable(owner()).transfer(address(this).balance);
    }
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 11 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev 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("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 4 of 11 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 11 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 6 of 11 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 7 of 11 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

File 8 of 11 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 9 of 11 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

File 10 of 11 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 11 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "evmVersion": "berlin",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"baseURI","type":"string"}],"name":"BaseURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"mintable","type":"bool"}],"name":"Mintable","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_MINT_PER_TX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PRE_MINT_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintableSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"preMintSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_URI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_mintable","type":"bool"}],"name":"setMintable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260006008819055600955612710600a5561271b805460ff191690553480156200002c57600080fd5b50604080518082018252600a8152694d75736b7950756e6b7360b01b6020808301918252835180850190945260058452644d55534b5960d81b9084015281519192916200007c916000916200010b565b508051620000929060019060208401906200010b565b505050620000af620000a9620000b560201b60201c565b620000b9565b620001ee565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200011990620001b1565b90600052602060002090601f0160209004810192826200013d576000855562000188565b82601f106200015857805160ff191683800117855562000188565b8280016001018555821562000188579182015b82811115620001885782518255916020019190600101906200016b565b50620001969291506200019a565b5090565b5b808211156200019657600081556001016200019b565b600181811c90821680620001c657607f821691505b60208210811415620001e857634e487b7160e01b600052602260045260246000fd5b50919050565b61209080620001fe6000396000f3fe6080604052600436106101cd5760003560e01c806370a08231116100f7578063a0712d6811610095578063c87b56dd11610064578063c87b56dd146104d8578063cc5c095c146104f8578063e985e9c51461050e578063f2fde38b1461055757600080fd5b8063a0712d6814610470578063a22cb46514610483578063b88d4fde146104a3578063bccd4dcf146104c357600080fd5b80638d859f3e116100d15780638d859f3e1461040d5780638da5cb5b146104285780638ecad7211461044657806395d89b411461045b57600080fd5b806370a08231146103b8578063715018a6146103d85780638ad433ac146103ed57600080fd5b806332cb6b0c1161016f5780634bf365df1161013e5780634bf365df1461034857806355f804b3146103635780636352211e146103835780636c0360eb146103a357600080fd5b806332cb6b0c146102e75780633a2f0907146102fd5780633ccfd60b1461031357806342842e0e1461032857600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a7578063285d70d4146102c757600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611c16565b610577565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105c9565b6040516101fe9190611d4a565b34801561023557600080fd5b50610249610244366004611c99565b61065b565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611bd1565b6106f5565b005b34801561028f57600080fd5b5061029960085481565b6040519081526020016101fe565b3480156102b357600080fd5b506102816102c2366004611aef565b61080b565b3480156102d357600080fd5b506102816102e2366004611bfb565b61083c565b3480156102f357600080fd5b5061029961271081565b34801561030957600080fd5b5061029960095481565b34801561031f57600080fd5b506102816108b5565b34801561033457600080fd5b50610281610343366004611aef565b61091b565b34801561035457600080fd5b5061271b546101f29060ff1681565b34801561036f57600080fd5b5061028161037e366004611c50565b610936565b34801561038f57600080fd5b5061024961039e366004611c99565b6109a4565b3480156103af57600080fd5b5061021c610a1b565b3480156103c457600080fd5b506102996103d3366004611aa1565b610aa9565b3480156103e457600080fd5b50610281610b30565b3480156103f957600080fd5b50610281610408366004611c99565b610b66565b34801561041957600080fd5b50610299668e1bc9bf04000081565b34801561043457600080fd5b506006546001600160a01b0316610249565b34801561045257600080fd5b50610299602a81565b34801561046757600080fd5b5061021c610c4d565b61028161047e366004611c99565b610c5c565b34801561048f57600080fd5b5061028161049e366004611ba7565b610e77565b3480156104af57600080fd5b506102816104be366004611b2b565b610f3c565b3480156104cf57600080fd5b50610299606481565b3480156104e457600080fd5b5061021c6104f3366004611c99565b610f74565b34801561050457600080fd5b50610299600a5481565b34801561051a57600080fd5b506101f2610529366004611abc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561056357600080fd5b50610281610572366004611aa1565b61104f565b60006001600160e01b031982166380ac58cd60e01b14806105a857506001600160e01b03198216635b5e139f60e01b145b806105c357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105d890611f82565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611f82565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106d95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610700826109a4565b9050806001600160a01b0316836001600160a01b0316141561076e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d0565b336001600160a01b038216148061078a575061078a8133610529565b6107fc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d0565b61080683836110e7565b505050565b6108153382611155565b6108315760405162461bcd60e51b81526004016106d090611e8c565b61080683838361124c565b6006546001600160a01b031633146108665760405162461bcd60e51b81526004016106d090611e57565b61271b805460ff191682151590811790915560405160ff909116151581527f376fb9037f5cd4338df0a05e4b353c0c01adbc9a440d6db61d829606a8bec978906020015b60405180910390a150565b6006546001600160a01b031633146108df5760405162461bcd60e51b81526004016106d090611e57565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610918573d6000803e3d6000fd5b50565b61080683838360405180602001604052806000815250610f3c565b6006546001600160a01b031633146109605760405162461bcd60e51b81526004016106d090611e57565b8051610973906007906020840190611966565b507f01e56a02aca7f26a28165a040851ba78f30282b55ca81c63a804cdc1e2dcea7260076040516108aa9190611d5d565b6000818152600260205260408120546001600160a01b0316806105c35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d0565b60078054610a2890611f82565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5490611f82565b8015610aa15780601f10610a7657610100808354040283529160200191610aa1565b820191906000526020600020905b815481529060010190602001808311610a8457829003601f168201915b505050505081565b60006001600160a01b038216610b145760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d0565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b5a5760405162461bcd60e51b81526004016106d090611e57565b610b6460006113ec565b565b6006546001600160a01b03163314610b905760405162461bcd60e51b81526004016106d090611e57565b80606481600954610ba19190611edd565b1115610c0a5760405162461bcd60e51b815260206004820152603260248201527f4d75736b7950756e6b733a20546865726520617265206e6f7420656e6f7567686044820152711027232a13b9903a3790383932b6b4b73a1760711b60648201526084016106d0565b60005b828110156108065760098054906000610c2583611fbd565b9190505550610c3b33610c3661143e565b611586565b80610c4581611fbd565b915050610c0d565b6060600180546105d890611f82565b61271b5460ff16610cbd5760405162461bcd60e51b815260206004820152602560248201527f4d75736b7950756e6b733a204e46542063616e6e6f74206265206d696e746564604482015264103cb2ba1760d91b60648201526084016106d0565b80602a811115610d295760405162461bcd60e51b815260206004820152603160248201527f4d75736b7950756e6b733a204d696e7420616d6f756e7420657863656564732060448201527036b0bc103634b6b4ba103832b9103a3c1760791b60648201526084016106d0565b81610d376064612710611f28565b81600854610d459190611edd565b1115610db25760405162461bcd60e51b815260206004820152603660248201527f4d75736b7950756e6b733a20546865726520617265206e6f206d6f726520726560448201527536b0b4b734b7339027232a13b9903a379036b4b73a1760511b60648201526084016106d0565b82610dc4668e1bc9bf04000082611f09565b3414610e475760405162461bcd60e51b815260206004820152604660248201527f4d75736b7950756e6b733a20546865726520776173206e6f7420656e6f75676860448201527f2f657874726120455448207472616e7366657272656420746f206d696e742061606482015265371027232a1760d11b608482015260a4016106d0565b60005b84811015610e7057610e5e33610c3661143e565b80610e6881611fbd565b915050610e4a565b5050505050565b6001600160a01b038216331415610ed05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d0565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f463383611155565b610f625760405162461bcd60e51b81526004016106d090611e8c565b610f6e848484846115a4565b50505050565b6000818152600260205260409020546060906001600160a01b0316610ff35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d0565b6000610ffd6115d7565b9050600081511161101d5760405180602001604052806000815250611048565b80611027846115e6565b604051602001611038929190611cde565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146110795760405162461bcd60e51b81526004016106d090611e57565b6001600160a01b0381166110de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d0565b610918816113ec565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061111c826109a4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d0565b60006111d9836109a4565b9050806001600160a01b0316846001600160a01b031614806112145750836001600160a01b03166112098461065b565b6001600160a01b0316145b8061124457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661125f826109a4565b6001600160a01b0316146112c75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d0565b6001600160a01b0382166113295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d0565b6113346000826110e7565b6001600160a01b038316600090815260036020526040812080546001929061135d908490611f28565b90915550506001600160a01b038216600090815260036020526040812080546001929061138b908490611edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a5460009081903381434442611456600184611f28565b60405160609690961b6bffffffffffffffffffffffff1916602087015260348601949094526054850192909252607484015260948301524060b482015260d4016040516020818303038152906040528051906020012060001c6114b99190611fd8565b90506000600b8261271081106114d1576114d1612018565b01546114dd57816114f4565b600b8261271081106114f1576114f1612018565b01545b600a8054919250600061150683611f6b565b90915550506008805490600061151b83611fbd565b9190505550600b600a54612710811061153657611536612018565b01541561155a57600b600a54612710811061155357611553612018565b015461155e565b600a545b600b83612710811061157257611572612018565b015561157f816001611edd565b9250505090565b6115a08282604051806020016040528060008152506116e4565b5050565b6115af84848461124c565b6115bb84848484611717565b610f6e5760405162461bcd60e51b81526004016106d090611e05565b6060600780546105d890611f82565b60608161160a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611634578061161e81611fbd565b915061162d9050600a83611ef5565b915061160e565b60008167ffffffffffffffff81111561164f5761164f61202e565b6040519080825280601f01601f191660200182016040528015611679576020820181803683370190505b5090505b84156112445761168e600183611f28565b915061169b600a86611fd8565b6116a6906030611edd565b60f81b8183815181106116bb576116bb612018565b60200101906001600160f81b031916908160001a9053506116dd600a86611ef5565b945061167d565b6116ee8383611824565b6116fb6000848484611717565b6108065760405162461bcd60e51b81526004016106d090611e05565b60006001600160a01b0384163b1561181957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061175b903390899088908890600401611d0d565b602060405180830381600087803b15801561177557600080fd5b505af19250505080156117a5575060408051601f3d908101601f191682019092526117a291810190611c33565b60015b6117ff573d8080156117d3576040519150601f19603f3d011682016040523d82523d6000602084013e6117d8565b606091505b5080516117f75760405162461bcd60e51b81526004016106d090611e05565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611244565b506001949350505050565b6001600160a01b03821661187a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d0565b6000818152600260205260409020546001600160a01b0316156118df5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d0565b6001600160a01b0382166000908152600360205260408120805460019290611908908490611edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461197290611f82565b90600052602060002090601f01602090048101928261199457600085556119da565b82601f106119ad57805160ff19168380011785556119da565b828001600101855582156119da579182015b828111156119da5782518255916020019190600101906119bf565b506119e69291506119ea565b5090565b5b808211156119e657600081556001016119eb565b600067ffffffffffffffff80841115611a1a57611a1a61202e565b604051601f8501601f19908116603f01168101908282118183101715611a4257611a4261202e565b81604052809350858152868686011115611a5b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a8c57600080fd5b919050565b80358015158114611a8c57600080fd5b600060208284031215611ab357600080fd5b61104882611a75565b60008060408385031215611acf57600080fd5b611ad883611a75565b9150611ae660208401611a75565b90509250929050565b600080600060608486031215611b0457600080fd5b611b0d84611a75565b9250611b1b60208501611a75565b9150604084013590509250925092565b60008060008060808587031215611b4157600080fd5b611b4a85611a75565b9350611b5860208601611a75565b925060408501359150606085013567ffffffffffffffff811115611b7b57600080fd5b8501601f81018713611b8c57600080fd5b611b9b878235602084016119ff565b91505092959194509250565b60008060408385031215611bba57600080fd5b611bc383611a75565b9150611ae660208401611a91565b60008060408385031215611be457600080fd5b611bed83611a75565b946020939093013593505050565b600060208284031215611c0d57600080fd5b61104882611a91565b600060208284031215611c2857600080fd5b813561104881612044565b600060208284031215611c4557600080fd5b815161104881612044565b600060208284031215611c6257600080fd5b813567ffffffffffffffff811115611c7957600080fd5b8201601f81018413611c8a57600080fd5b611244848235602084016119ff565b600060208284031215611cab57600080fd5b5035919050565b60008151808452611cca816020860160208601611f3f565b601f01601f19169290920160200192915050565b60008351611cf0818460208801611f3f565b835190830190611d04818360208801611f3f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d4090830184611cb2565b9695505050505050565b6020815260006110486020830184611cb2565b600060208083526000845481600182811c915080831680611d7f57607f831692505b858310811415611d9d57634e487b7160e01b85526022600452602485fd5b878601838152602001818015611dba5760018114611dcb57611df6565b60ff19861682528782019650611df6565b60008b81526020902060005b86811015611df057815484820152908501908901611dd7565b83019750505b50949998505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ef057611ef0611fec565b500190565b600082611f0457611f04612002565b500490565b6000816000190483118215151615611f2357611f23611fec565b500290565b600082821015611f3a57611f3a611fec565b500390565b60005b83811015611f5a578181015183820152602001611f42565b83811115610f6e5750506000910152565b600081611f7a57611f7a611fec565b506000190190565b600181811c90821680611f9657607f821691505b60208210811415611fb757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fd157611fd1611fec565b5060010190565b600082611fe757611fe7612002565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461091857600080fdfea2646970667358221220c25cbf669102d13e44a7f527b75bdfa494e99903f866f7681c061b53f346cc7b64736f6c63430008060033

Deployed Bytecode

0x6080604052600436106101cd5760003560e01c806370a08231116100f7578063a0712d6811610095578063c87b56dd11610064578063c87b56dd146104d8578063cc5c095c146104f8578063e985e9c51461050e578063f2fde38b1461055757600080fd5b8063a0712d6814610470578063a22cb46514610483578063b88d4fde146104a3578063bccd4dcf146104c357600080fd5b80638d859f3e116100d15780638d859f3e1461040d5780638da5cb5b146104285780638ecad7211461044657806395d89b411461045b57600080fd5b806370a08231146103b8578063715018a6146103d85780638ad433ac146103ed57600080fd5b806332cb6b0c1161016f5780634bf365df1161013e5780634bf365df1461034857806355f804b3146103635780636352211e146103835780636c0360eb146103a357600080fd5b806332cb6b0c146102e75780633a2f0907146102fd5780633ccfd60b1461031357806342842e0e1461032857600080fd5b8063095ea7b3116101ab578063095ea7b31461026157806318160ddd1461028357806323b872dd146102a7578063285d70d4146102c757600080fd5b806301ffc9a7146101d257806306fdde0314610207578063081812fc14610229575b600080fd5b3480156101de57600080fd5b506101f26101ed366004611c16565b610577565b60405190151581526020015b60405180910390f35b34801561021357600080fd5b5061021c6105c9565b6040516101fe9190611d4a565b34801561023557600080fd5b50610249610244366004611c99565b61065b565b6040516001600160a01b0390911681526020016101fe565b34801561026d57600080fd5b5061028161027c366004611bd1565b6106f5565b005b34801561028f57600080fd5b5061029960085481565b6040519081526020016101fe565b3480156102b357600080fd5b506102816102c2366004611aef565b61080b565b3480156102d357600080fd5b506102816102e2366004611bfb565b61083c565b3480156102f357600080fd5b5061029961271081565b34801561030957600080fd5b5061029960095481565b34801561031f57600080fd5b506102816108b5565b34801561033457600080fd5b50610281610343366004611aef565b61091b565b34801561035457600080fd5b5061271b546101f29060ff1681565b34801561036f57600080fd5b5061028161037e366004611c50565b610936565b34801561038f57600080fd5b5061024961039e366004611c99565b6109a4565b3480156103af57600080fd5b5061021c610a1b565b3480156103c457600080fd5b506102996103d3366004611aa1565b610aa9565b3480156103e457600080fd5b50610281610b30565b3480156103f957600080fd5b50610281610408366004611c99565b610b66565b34801561041957600080fd5b50610299668e1bc9bf04000081565b34801561043457600080fd5b506006546001600160a01b0316610249565b34801561045257600080fd5b50610299602a81565b34801561046757600080fd5b5061021c610c4d565b61028161047e366004611c99565b610c5c565b34801561048f57600080fd5b5061028161049e366004611ba7565b610e77565b3480156104af57600080fd5b506102816104be366004611b2b565b610f3c565b3480156104cf57600080fd5b50610299606481565b3480156104e457600080fd5b5061021c6104f3366004611c99565b610f74565b34801561050457600080fd5b50610299600a5481565b34801561051a57600080fd5b506101f2610529366004611abc565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561056357600080fd5b50610281610572366004611aa1565b61104f565b60006001600160e01b031982166380ac58cd60e01b14806105a857506001600160e01b03198216635b5e139f60e01b145b806105c357506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600080546105d890611f82565b80601f016020809104026020016040519081016040528092919081815260200182805461060490611f82565b80156106515780601f1061062657610100808354040283529160200191610651565b820191906000526020600020905b81548152906001019060200180831161063457829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b03166106d95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610700826109a4565b9050806001600160a01b0316836001600160a01b0316141561076e5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084016106d0565b336001600160a01b038216148061078a575061078a8133610529565b6107fc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016106d0565b61080683836110e7565b505050565b6108153382611155565b6108315760405162461bcd60e51b81526004016106d090611e8c565b61080683838361124c565b6006546001600160a01b031633146108665760405162461bcd60e51b81526004016106d090611e57565b61271b805460ff191682151590811790915560405160ff909116151581527f376fb9037f5cd4338df0a05e4b353c0c01adbc9a440d6db61d829606a8bec978906020015b60405180910390a150565b6006546001600160a01b031633146108df5760405162461bcd60e51b81526004016106d090611e57565b6006546040516001600160a01b03909116904780156108fc02916000818181858888f19350505050158015610918573d6000803e3d6000fd5b50565b61080683838360405180602001604052806000815250610f3c565b6006546001600160a01b031633146109605760405162461bcd60e51b81526004016106d090611e57565b8051610973906007906020840190611966565b507f01e56a02aca7f26a28165a040851ba78f30282b55ca81c63a804cdc1e2dcea7260076040516108aa9190611d5d565b6000818152600260205260408120546001600160a01b0316806105c35760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b60648201526084016106d0565b60078054610a2890611f82565b80601f0160208091040260200160405190810160405280929190818152602001828054610a5490611f82565b8015610aa15780601f10610a7657610100808354040283529160200191610aa1565b820191906000526020600020905b815481529060010190602001808311610a8457829003601f168201915b505050505081565b60006001600160a01b038216610b145760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b60648201526084016106d0565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314610b5a5760405162461bcd60e51b81526004016106d090611e57565b610b6460006113ec565b565b6006546001600160a01b03163314610b905760405162461bcd60e51b81526004016106d090611e57565b80606481600954610ba19190611edd565b1115610c0a5760405162461bcd60e51b815260206004820152603260248201527f4d75736b7950756e6b733a20546865726520617265206e6f7420656e6f7567686044820152711027232a13b9903a3790383932b6b4b73a1760711b60648201526084016106d0565b60005b828110156108065760098054906000610c2583611fbd565b9190505550610c3b33610c3661143e565b611586565b80610c4581611fbd565b915050610c0d565b6060600180546105d890611f82565b61271b5460ff16610cbd5760405162461bcd60e51b815260206004820152602560248201527f4d75736b7950756e6b733a204e46542063616e6e6f74206265206d696e746564604482015264103cb2ba1760d91b60648201526084016106d0565b80602a811115610d295760405162461bcd60e51b815260206004820152603160248201527f4d75736b7950756e6b733a204d696e7420616d6f756e7420657863656564732060448201527036b0bc103634b6b4ba103832b9103a3c1760791b60648201526084016106d0565b81610d376064612710611f28565b81600854610d459190611edd565b1115610db25760405162461bcd60e51b815260206004820152603660248201527f4d75736b7950756e6b733a20546865726520617265206e6f206d6f726520726560448201527536b0b4b734b7339027232a13b9903a379036b4b73a1760511b60648201526084016106d0565b82610dc4668e1bc9bf04000082611f09565b3414610e475760405162461bcd60e51b815260206004820152604660248201527f4d75736b7950756e6b733a20546865726520776173206e6f7420656e6f75676860448201527f2f657874726120455448207472616e7366657272656420746f206d696e742061606482015265371027232a1760d11b608482015260a4016106d0565b60005b84811015610e7057610e5e33610c3661143e565b80610e6881611fbd565b915050610e4a565b5050505050565b6001600160a01b038216331415610ed05760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106d0565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f463383611155565b610f625760405162461bcd60e51b81526004016106d090611e8c565b610f6e848484846115a4565b50505050565b6000818152600260205260409020546060906001600160a01b0316610ff35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b60648201526084016106d0565b6000610ffd6115d7565b9050600081511161101d5760405180602001604052806000815250611048565b80611027846115e6565b604051602001611038929190611cde565b6040516020818303038152906040525b9392505050565b6006546001600160a01b031633146110795760405162461bcd60e51b81526004016106d090611e57565b6001600160a01b0381166110de5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016106d0565b610918816113ec565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061111c826109a4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166111ce5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084016106d0565b60006111d9836109a4565b9050806001600160a01b0316846001600160a01b031614806112145750836001600160a01b03166112098461065b565b6001600160a01b0316145b8061124457506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661125f826109a4565b6001600160a01b0316146112c75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b60648201526084016106d0565b6001600160a01b0382166113295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b60648201526084016106d0565b6113346000826110e7565b6001600160a01b038316600090815260036020526040812080546001929061135d908490611f28565b90915550506001600160a01b038216600090815260036020526040812080546001929061138b908490611edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600a5460009081903381434442611456600184611f28565b60405160609690961b6bffffffffffffffffffffffff1916602087015260348601949094526054850192909252607484015260948301524060b482015260d4016040516020818303038152906040528051906020012060001c6114b99190611fd8565b90506000600b8261271081106114d1576114d1612018565b01546114dd57816114f4565b600b8261271081106114f1576114f1612018565b01545b600a8054919250600061150683611f6b565b90915550506008805490600061151b83611fbd565b9190505550600b600a54612710811061153657611536612018565b01541561155a57600b600a54612710811061155357611553612018565b015461155e565b600a545b600b83612710811061157257611572612018565b015561157f816001611edd565b9250505090565b6115a08282604051806020016040528060008152506116e4565b5050565b6115af84848461124c565b6115bb84848484611717565b610f6e5760405162461bcd60e51b81526004016106d090611e05565b6060600780546105d890611f82565b60608161160a5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611634578061161e81611fbd565b915061162d9050600a83611ef5565b915061160e565b60008167ffffffffffffffff81111561164f5761164f61202e565b6040519080825280601f01601f191660200182016040528015611679576020820181803683370190505b5090505b84156112445761168e600183611f28565b915061169b600a86611fd8565b6116a6906030611edd565b60f81b8183815181106116bb576116bb612018565b60200101906001600160f81b031916908160001a9053506116dd600a86611ef5565b945061167d565b6116ee8383611824565b6116fb6000848484611717565b6108065760405162461bcd60e51b81526004016106d090611e05565b60006001600160a01b0384163b1561181957604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061175b903390899088908890600401611d0d565b602060405180830381600087803b15801561177557600080fd5b505af19250505080156117a5575060408051601f3d908101601f191682019092526117a291810190611c33565b60015b6117ff573d8080156117d3576040519150601f19603f3d011682016040523d82523d6000602084013e6117d8565b606091505b5080516117f75760405162461bcd60e51b81526004016106d090611e05565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611244565b506001949350505050565b6001600160a01b03821661187a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016106d0565b6000818152600260205260409020546001600160a01b0316156118df5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016106d0565b6001600160a01b0382166000908152600360205260408120805460019290611908908490611edd565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461197290611f82565b90600052602060002090601f01602090048101928261199457600085556119da565b82601f106119ad57805160ff19168380011785556119da565b828001600101855582156119da579182015b828111156119da5782518255916020019190600101906119bf565b506119e69291506119ea565b5090565b5b808211156119e657600081556001016119eb565b600067ffffffffffffffff80841115611a1a57611a1a61202e565b604051601f8501601f19908116603f01168101908282118183101715611a4257611a4261202e565b81604052809350858152868686011115611a5b57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114611a8c57600080fd5b919050565b80358015158114611a8c57600080fd5b600060208284031215611ab357600080fd5b61104882611a75565b60008060408385031215611acf57600080fd5b611ad883611a75565b9150611ae660208401611a75565b90509250929050565b600080600060608486031215611b0457600080fd5b611b0d84611a75565b9250611b1b60208501611a75565b9150604084013590509250925092565b60008060008060808587031215611b4157600080fd5b611b4a85611a75565b9350611b5860208601611a75565b925060408501359150606085013567ffffffffffffffff811115611b7b57600080fd5b8501601f81018713611b8c57600080fd5b611b9b878235602084016119ff565b91505092959194509250565b60008060408385031215611bba57600080fd5b611bc383611a75565b9150611ae660208401611a91565b60008060408385031215611be457600080fd5b611bed83611a75565b946020939093013593505050565b600060208284031215611c0d57600080fd5b61104882611a91565b600060208284031215611c2857600080fd5b813561104881612044565b600060208284031215611c4557600080fd5b815161104881612044565b600060208284031215611c6257600080fd5b813567ffffffffffffffff811115611c7957600080fd5b8201601f81018413611c8a57600080fd5b611244848235602084016119ff565b600060208284031215611cab57600080fd5b5035919050565b60008151808452611cca816020860160208601611f3f565b601f01601f19169290920160200192915050565b60008351611cf0818460208801611f3f565b835190830190611d04818360208801611f3f565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611d4090830184611cb2565b9695505050505050565b6020815260006110486020830184611cb2565b600060208083526000845481600182811c915080831680611d7f57607f831692505b858310811415611d9d57634e487b7160e01b85526022600452602485fd5b878601838152602001818015611dba5760018114611dcb57611df6565b60ff19861682528782019650611df6565b60008b81526020902060005b86811015611df057815484820152908501908901611dd7565b83019750505b50949998505050505050505050565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b60008219821115611ef057611ef0611fec565b500190565b600082611f0457611f04612002565b500490565b6000816000190483118215151615611f2357611f23611fec565b500290565b600082821015611f3a57611f3a611fec565b500390565b60005b83811015611f5a578181015183820152602001611f42565b83811115610f6e5750506000910152565b600081611f7a57611f7a611fec565b506000190190565b600181811c90821680611f9657607f821691505b60208210811415611fb757634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fd157611fd1611fec565b5060010190565b600082611fe757611fe7612002565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461091857600080fdfea2646970667358221220c25cbf669102d13e44a7f527b75bdfa494e99903f866f7681c061b53f346cc7b64736f6c63430008060033

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.