ETH Price: $3,414.46 (+1.70%)

Token

Squishy Apes (SQUAPES)
 

Overview

Max Total Supply

3,333 SQUAPES

Holders

1,577

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
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:
SquishyApes

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 15 : SquishyApes.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "./ReentrancyGuard.sol";
import "./Pausable.sol";
import "./Ownable.sol";
import "./ERC721Enum.sol";
import "./library/Strings.sol";

contract SquishyApes is ERC721Enum, Ownable, Pausable, ReentrancyGuard {
    using Strings for uint256;
    string public baseURI;
    uint256 public maxSupply = 3333;
    uint256 public maxMint = 20;
    bool public status = false;

    // Current price.
    uint256 public CURRENT_PRICE = 0.01 ether;

    constructor() ERC721S("Squishy Apes", "SQUAPES") {
        setBaseURI("");
    }

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

    function mint(uint256 _mintAmount) public payable nonReentrant {
        uint256 s = totalSupply();
        require(status, "Contract Not Enabled");
        require(_mintAmount > 0, "Cant mint 0");
        require(_mintAmount <= maxMint, "Cant mint more then maxmint");
        require(s + _mintAmount <= maxSupply, "Cant go over supply");
        require(
            CURRENT_PRICE * _mintAmount <= msg.value,
            "Value sent is not correct"
        );
        for (uint256 i = 1; i <= _mintAmount; ++i) {
            _safeMint(msg.sender, s + i, "");
        }
        delete s;
    }

    function reserve(uint256 _mintAmount) public onlyOwner nonReentrant {
        uint256 s = totalSupply();
        require(_mintAmount > 0, "Cant mint 0");
        require(_mintAmount <= maxMint, "Cant mint more then maxmint");
        require(s + _mintAmount <= maxSupply, "Cant go over supply");
        for (uint256 i = 1; i <= _mintAmount; ++i) {
            _safeMint(msg.sender, s + i, "");
        }
        delete s;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: Nonexistent token");
        string memory currentBaseURI = _baseURI();
        return
            bytes(currentBaseURI).length > 0
                ? string(abi.encodePacked(currentBaseURI, tokenId.toString()))
                : "";
    }

    function setMaxMintAmount(uint256 _newMaxMintAmount) public onlyOwner {
        maxMint = _newMaxMintAmount;
    }

    function setmaxSupply(uint256 _newMaxSupply) public onlyOwner {
        maxSupply = _newMaxSupply;
    }

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

    function setSaleStatus(bool _status) public onlyOwner {
        status = _status;
    }

    function changePrice(uint256 newPrice) public onlyOwner {
        CURRENT_PRICE = newPrice;
    }

    /**
     * With
     */
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 3 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./utils/Context.sol";

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

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

    bool private _paused;

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

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

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

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

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

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

File 4 of 15 : 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 5 of 15 : ERC721Enum.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "./ERC721S.sol";
import "./IERC721Enumerable.sol";
abstract contract ERC721Enum is ERC721S, IERC721Enumerable {
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721S) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) {
        require(index < ERC721S.balanceOf(owner), "ERC721Enum: owner ioob");
        uint count;
        for( uint i; i < _owners.length; ++i ){
            if( owner == _owners[i] ){
                if( count == index )
                    return i;
                else
                    ++count;
            }
        }
        require(false, "ERC721Enum: owner ioob");
    }
    function tokensOfOwner(address owner) public view returns (uint256[] memory) {
        require(0 < ERC721S.balanceOf(owner), "ERC721Enum: owner ioob");
        uint256 tokenCount = balanceOf(owner);
        uint256[] memory tokenIds = new uint256[](tokenCount);
        for (uint256 i = 0; i < tokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(owner, i);
        }
        return tokenIds;
    }
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length;
    }
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob");
        return index;
    }
}

File 6 of 15 : 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 7 of 15 : 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 8 of 15 : ERC721S.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.0;
import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./library/Address.sol";
import "./utils//Context.sol";
import "./utils/introspection/ERC165.sol";

abstract contract ERC721S is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    string private _name;
    string private _symbol;
    address[] internal _owners;
    mapping(uint256 => address) private _tokenApprovals;
    mapping(address => mapping(address => bool)) private _operatorApprovals;     
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }     
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        uint count = 0;
        uint length = _owners.length;
        for( uint i = 0; i < length; ++i ){
          if( owner == _owners[i] ){
            ++count;
          }
        }
        delete length;
        return count;
    }
    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;
    }
    function name() public view virtual override returns (string memory) {
        return _name;
    }
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721S.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);
    }
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }
    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);
    }
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }
    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);
    }
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }
    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);
    }     
    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");
    }
	function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }
	function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721S.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }
	function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }
	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"
        );
    }
	function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);
        _owners.push(to);

        emit Transfer(address(0), to, tokenId);
    }
	function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721S.ownerOf(tokenId);

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

        // Clear approvals
        _approve(address(0), tokenId);
        _owners[tokenId] = address(0);

        emit Transfer(owner, address(0), tokenId);
    }
	function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721S.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

        // Clear approvals from the previous owner
        _approve(address(0), tokenId);
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }
	function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721S.ownerOf(tokenId), to, tokenId);
    }
	function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }
	function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 9 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 10 of 15 : 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 11 of 15 : 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 12 of 15 : 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 13 of 15 : 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);
    }

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

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

File 14 of 15 : 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 15 of 15 : 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
{
  "optimizer": {
    "enabled": true,
    "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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"CURRENT_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":"newPrice","type":"uint256"}],"name":"changePrice","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":[{"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":"maxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"reserve","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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newMaxSupply","type":"uint256"}],"name":"setmaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"status","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052610d056008556014600955600a805460ff19169055662386f26fc10000600b553480156200003157600080fd5b50604080518082018252600c81526b53717569736879204170657360a01b6020808301918252835180850190945260078452665351554150455360c81b9084015281519192916200008591600091620001b7565b5080516200009b906001906020840190620001b7565b505050620000b8620000b2620000ea60201b60201c565b620000ee565b6005805460ff60a01b191690556001600655604080516020810190915260008152620000e49062000140565b620002cf565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200014a620000ea565b6001600160a01b03166200015d620001a8565b6001600160a01b0316146200018f5760405162461bcd60e51b815260040162000186906200025d565b60405180910390fd5b8051620001a4906007906020840190620001b7565b5050565b6005546001600160a01b031690565b828054620001c59062000292565b90600052602060002090601f016020900481019282620001e9576000855562000234565b82601f106200020457805160ff191683800117855562000234565b8280016001018555821562000234579182015b828111156200023457825182559160200191906001019062000217565b506200024292915062000246565b5090565b5b8082111562000242576000815560010162000247565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600281046001821680620002a757607f821691505b60208210811415620002c957634e487b7160e01b600052602260045260246000fd5b50919050565b61244c80620002df6000396000f3fe6080604052600436106101f95760003560e01c80636c0360eb1161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610564578063d5abeb0114610584578063d897833e14610599578063e985e9c5146105b9578063f2fde38b146105d9576101f9565b8063a0712d68146104f1578063a22cb46514610504578063a2b40d1914610524578063b88d4fde14610544576101f9565b8063819b25ba116100dc578063819b25ba1461047a5780638462151c1461049a5780638da5cb5b146104c757806395d89b41146104dc576101f9565b80636c0360eb1461041b57806370a0823114610430578063715018a6146104505780637501f74114610465576101f9565b806323b872dd116101905780634b369a611161015f5780634b369a61146103915780634f6ccce7146103a657806355f804b3146103c65780635c975abb146103e65780636352211e146103fb576101f9565b806323b872dd1461031c5780632f745c591461033c5780633ccfd60b1461035c57806342842e0e14610371576101f9565b8063095ea7b3116101cc578063095ea7b3146102a557806318160ddd146102c5578063200d2ed2146102e7578063228025e8146102fc576101f9565b806301ffc9a7146101fe57806306fdde0314610234578063081812fc14610256578063088a4ed014610283575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b35565b6105f9565b60405161022b9190611cbb565b60405180910390f35b34801561024057600080fd5b50610249610626565b60405161022b9190611cc6565b34801561026257600080fd5b50610276610271366004611bb3565b6106b8565b60405161022b9190611c26565b34801561028f57600080fd5b506102a361029e366004611bb3565b610704565b005b3480156102b157600080fd5b506102a36102c0366004611af2565b610748565b3480156102d157600080fd5b506102da6107e0565b60405161022b91906122bd565b3480156102f357600080fd5b5061021e6107e6565b34801561030857600080fd5b506102a3610317366004611bb3565b6107ef565b34801561032857600080fd5b506102a3610337366004611a15565b610833565b34801561034857600080fd5b506102da610357366004611af2565b61086b565b34801561036857600080fd5b506102a361092e565b34801561037d57600080fd5b506102a361038c366004611a15565b6109a0565b34801561039d57600080fd5b506102da6109bb565b3480156103b257600080fd5b506102da6103c1366004611bb3565b6109c1565b3480156103d257600080fd5b506102a36103e1366004611b6d565b6109ed565b3480156103f257600080fd5b5061021e610a3f565b34801561040757600080fd5b50610276610416366004611bb3565b610a4f565b34801561042757600080fd5b50610249610aa7565b34801561043c57600080fd5b506102da61044b3660046119c9565b610b35565b34801561045c57600080fd5b506102a3610bd2565b34801561047157600080fd5b506102da610c1d565b34801561048657600080fd5b506102a3610495366004611bb3565b610c23565b3480156104a657600080fd5b506104ba6104b53660046119c9565b610d4a565b60405161022b9190611c77565b3480156104d357600080fd5b50610276610e30565b3480156104e857600080fd5b50610249610e3f565b6102a36104ff366004611bb3565b610e4e565b34801561051057600080fd5b506102a361051f366004611ac9565b610f67565b34801561053057600080fd5b506102a361053f366004611bb3565b611035565b34801561055057600080fd5b506102a361055f366004611a50565b611079565b34801561057057600080fd5b5061024961057f366004611bb3565b6110b8565b34801561059057600080fd5b506102da61113b565b3480156105a557600080fd5b506102a36105b4366004611b1b565b611141565b3480156105c557600080fd5b5061021e6105d43660046119e3565b611193565b3480156105e557600080fd5b506102a36105f43660046119c9565b6111c1565b60006001600160e01b0319821663780e9d6360e01b148061061e575061061e82611232565b90505b919050565b60606000805461063590612354565b80601f016020809104026020016040519081016040528092919081815260200182805461066190612354565b80156106ae5780601f10610683576101008083540402835291602001916106ae565b820191906000526020600020905b81548152906001019060200180831161069157829003601f168201915b5050505050905090565b60006106c382611272565b6106e85760405162461bcd60e51b81526004016106df9061205e565b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b61070c6112ca565b6001600160a01b031661071d610e30565b6001600160a01b0316146107435760405162461bcd60e51b81526004016106df906120aa565b600955565b600061075382610a4f565b9050806001600160a01b0316836001600160a01b031614156107875760405162461bcd60e51b81526004016106df9061218f565b806001600160a01b03166107996112ca565b6001600160a01b031614806107b557506107b5816105d46112ca565b6107d15760405162461bcd60e51b81526004016106df90611ed5565b6107db83836112ce565b505050565b60025490565b600a5460ff1681565b6107f76112ca565b6001600160a01b0316610808610e30565b6001600160a01b03161461082e5760405162461bcd60e51b81526004016106df906120aa565b600855565b61084461083e6112ca565b8261133c565b6108605760405162461bcd60e51b81526004016106df906121fe565b6107db8383836113c1565b600061087683610b35565b82106108945760405162461bcd60e51b81526004016106df90612128565b6000805b60025481101561090f57600281815481106108c357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156108ff57838214156108f35791506109289050565b6108fc8261238f565b91505b6109088161238f565b9050610898565b5060405162461bcd60e51b81526004016106df90612128565b92915050565b6109366112ca565b6001600160a01b0316610947610e30565b6001600160a01b03161461096d5760405162461bcd60e51b81526004016106df906120aa565b6040514790339082156108fc029083906000818181858888f1935050505015801561099c573d6000803e3d6000fd5b5050565b6107db83838360405180602001604052806000815250611079565b600b5481565b60006109cb6107e0565b82106109e95760405162461bcd60e51b81526004016106df90612158565b5090565b6109f56112ca565b6001600160a01b0316610a06610e30565b6001600160a01b031614610a2c5760405162461bcd60e51b81526004016106df906120aa565b805161099c9060079060208401906118a2565b600554600160a01b900460ff1690565b60008060028381548110610a7357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031690508061061e5760405162461bcd60e51b81526004016106df90611f7c565b60078054610ab490612354565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae090612354565b8015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b505050505081565b60006001600160a01b038216610b5d5760405162461bcd60e51b81526004016106df90611f32565b600254600090815b81811015610bc95760028181548110610b8e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610bb957610bb68361238f565b92505b610bc28161238f565b9050610b65565b50909392505050565b610bda6112ca565b6001600160a01b0316610beb610e30565b6001600160a01b031614610c115760405162461bcd60e51b81526004016106df906120aa565b610c1b60006114b2565b565b60095481565b610c2b6112ca565b6001600160a01b0316610c3c610e30565b6001600160a01b031614610c625760405162461bcd60e51b81526004016106df906120aa565b60026006541415610c855760405162461bcd60e51b81526004016106df90612286565b60026006556000610c946107e0565b905060008211610cb65760405162461bcd60e51b81526004016106df90611cd9565b600954821115610cd85760405162461bcd60e51b81526004016106df9061224f565b600854610ce583836122c6565b1115610d035760405162461bcd60e51b81526004016106df90612031565b60015b828111610d4057610d3033610d1b83856122c6565b60405180602001604052806000815250611504565b610d398161238f565b9050610d06565b5050600160065550565b6060610d5582610b35565b600010610d745760405162461bcd60e51b81526004016106df90612128565b6000610d7f83610b35565b905060008167ffffffffffffffff811115610daa57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610dd3578160200160208202803683370190505b50905060005b82811015610e2857610deb858261086b565b828281518110610e0b57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e208161238f565b915050610dd9565b509392505050565b6005546001600160a01b031690565b60606001805461063590612354565b60026006541415610e715760405162461bcd60e51b81526004016106df90612286565b60026006556000610e806107e0565b600a5490915060ff16610ea55760405162461bcd60e51b81526004016106df906121d0565b60008211610ec55760405162461bcd60e51b81526004016106df90611cd9565b600954821115610ee75760405162461bcd60e51b81526004016106df9061224f565b600854610ef483836122c6565b1115610f125760405162461bcd60e51b81526004016106df90612031565b3482600b54610f2191906122f2565b1115610f3f5760405162461bcd60e51b81526004016106df90611fc5565b60015b828111610d4057610f5733610d1b83856122c6565b610f608161238f565b9050610f42565b610f6f6112ca565b6001600160a01b0316826001600160a01b03161415610fa05760405162461bcd60e51b81526004016106df90611e52565b8060046000610fad6112ca565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610ff16112ca565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110299190611cbb565b60405180910390a35050565b61103d6112ca565b6001600160a01b031661104e610e30565b6001600160a01b0316146110745760405162461bcd60e51b81526004016106df906120aa565b600b55565b61108a6110846112ca565b8361133c565b6110a65760405162461bcd60e51b81526004016106df906121fe565b6110b284848484611537565b50505050565b60606110c382611272565b6110df5760405162461bcd60e51b81526004016106df90611cfe565b60006110e961156a565b905060008151116111095760405180602001604052806000815250611134565b8061111384611579565b604051602001611124929190611bf7565b6040516020818303038152906040525b9392505050565b60085481565b6111496112ca565b6001600160a01b031661115a610e30565b6001600160a01b0316146111805760405162461bcd60e51b81526004016106df906120aa565b600a805460ff1916911515919091179055565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6111c96112ca565b6001600160a01b03166111da610e30565b6001600160a01b0316146112005760405162461bcd60e51b81526004016106df906120aa565b6001600160a01b0381166112265760405162461bcd60e51b81526004016106df90611d91565b61122f816114b2565b50565b60006001600160e01b031982166380ac58cd60e01b148061126357506001600160e01b03198216635b5e139f60e01b145b8061061e575061061e82611694565b6002546000908210801561061e575060006001600160a01b0316600283815481106112ad57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b3390565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061130382610a4f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061134782611272565b6113635760405162461bcd60e51b81526004016106df90611e89565b600061136e83610a4f565b9050806001600160a01b0316846001600160a01b031614806113a95750836001600160a01b031661139e846106b8565b6001600160a01b0316145b806113b957506113b98185611193565b949350505050565b826001600160a01b03166113d482610a4f565b6001600160a01b0316146113fa5760405162461bcd60e51b81526004016106df906120df565b6001600160a01b0382166114205760405162461bcd60e51b81526004016106df90611e0e565b61142b8383836107db565b6114366000826112ce565b816002828154811061145857634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61150e83836116ad565b61151b6000848484611781565b6107db5760405162461bcd60e51b81526004016106df90611d3f565b6115428484846113c1565b61154e84848484611781565b6110b25760405162461bcd60e51b81526004016106df90611d3f565b60606007805461063590612354565b60608161159e57506040805180820190915260018152600360fc1b6020820152610621565b8160005b81156115c857806115b28161238f565b91506115c19050600a836122de565b91506115a2565b60008167ffffffffffffffff8111156115f157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561161b576020820181803683370190505b5090505b84156113b957611630600183612311565b915061163d600a866123aa565b6116489060306122c6565b60f81b81838151811061166b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061168d600a866122de565b945061161f565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b0382166116d35760405162461bcd60e51b81526004016106df90611ffc565b6116dc81611272565b156116f95760405162461bcd60e51b81526004016106df90611dd7565b611705600083836107db565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611795846001600160a01b031661189c565b1561189157836001600160a01b031663150b7a026117b16112ca565b8786866040518563ffffffff1660e01b81526004016117d39493929190611c3a565b602060405180830381600087803b1580156117ed57600080fd5b505af192505050801561181d575060408051601f3d908101601f1916820190925261181a91810190611b51565b60015b611877573d80801561184b576040519150601f19603f3d011682016040523d82523d6000602084013e611850565b606091505b50805161186f5760405162461bcd60e51b81526004016106df90611d3f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113b9565b506001949350505050565b3b151590565b8280546118ae90612354565b90600052602060002090601f0160209004810192826118d05760008555611916565b82601f106118e957805160ff1916838001178555611916565b82800160010185558215611916579182015b828111156119165782518255916020019190600101906118fb565b506109e99291505b808211156109e9576000815560010161191e565b600067ffffffffffffffff8084111561194d5761194d6123ea565b604051601f8501601f191681016020018281118282101715611971576119716123ea565b60405284815291508183850186101561198957600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461062157600080fd5b8035801515811461062157600080fd5b6000602082840312156119da578081fd5b611134826119a2565b600080604083850312156119f5578081fd5b6119fe836119a2565b9150611a0c602084016119a2565b90509250929050565b600080600060608486031215611a29578081fd5b611a32846119a2565b9250611a40602085016119a2565b9150604084013590509250925092565b60008060008060808587031215611a65578081fd5b611a6e856119a2565b9350611a7c602086016119a2565b925060408501359150606085013567ffffffffffffffff811115611a9e578182fd5b8501601f81018713611aae578182fd5b611abd87823560208401611932565b91505092959194509250565b60008060408385031215611adb578182fd5b611ae4836119a2565b9150611a0c602084016119b9565b60008060408385031215611b04578182fd5b611b0d836119a2565b946020939093013593505050565b600060208284031215611b2c578081fd5b611134826119b9565b600060208284031215611b46578081fd5b813561113481612400565b600060208284031215611b62578081fd5b815161113481612400565b600060208284031215611b7e578081fd5b813567ffffffffffffffff811115611b94578182fd5b8201601f81018413611ba4578182fd5b6113b984823560208401611932565b600060208284031215611bc4578081fd5b5035919050565b60008151808452611be3816020860160208601612328565b601f01601f19169290920160200192915050565b60008351611c09818460208801612328565b835190830190611c1d818360208801612328565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6d90830184611bcb565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611caf57835183529284019291840191600101611c93565b50909695505050505050565b901515815260200190565b6000602082526111346020830184611bcb565b6020808252600b908201526a043616e74206d696e7420360ac1b604082015260600190565b60208082526021908201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656040820152603760f91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526019908201527f56616c75652073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526013908201527243616e7420676f206f76657220737570706c7960681b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b60208082526017908201527f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526014908201527310dbdb9d1c9858dd08139bdd08115b98589b195960621b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f43616e74206d696e74206d6f7265207468656e206d61786d696e740000000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b600082198211156122d9576122d96123be565b500190565b6000826122ed576122ed6123d4565b500490565b600081600019048311821515161561230c5761230c6123be565b500290565b600082821015612323576123236123be565b500390565b60005b8381101561234357818101518382015260200161232b565b838111156110b25750506000910152565b60028104600182168061236857607f821691505b6020821081141561238957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123a3576123a36123be565b5060010190565b6000826123b9576123b96123d4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461122f57600080fdfea264697066735822122017bf2eb7c4e32f2dae7b89765f425be4357386ab87ac97f5f732a6c34130b61864736f6c63430008000033

Deployed Bytecode

0x6080604052600436106101f95760003560e01c80636c0360eb1161010d578063a0712d68116100a0578063c87b56dd1161006f578063c87b56dd14610564578063d5abeb0114610584578063d897833e14610599578063e985e9c5146105b9578063f2fde38b146105d9576101f9565b8063a0712d68146104f1578063a22cb46514610504578063a2b40d1914610524578063b88d4fde14610544576101f9565b8063819b25ba116100dc578063819b25ba1461047a5780638462151c1461049a5780638da5cb5b146104c757806395d89b41146104dc576101f9565b80636c0360eb1461041b57806370a0823114610430578063715018a6146104505780637501f74114610465576101f9565b806323b872dd116101905780634b369a611161015f5780634b369a61146103915780634f6ccce7146103a657806355f804b3146103c65780635c975abb146103e65780636352211e146103fb576101f9565b806323b872dd1461031c5780632f745c591461033c5780633ccfd60b1461035c57806342842e0e14610371576101f9565b8063095ea7b3116101cc578063095ea7b3146102a557806318160ddd146102c5578063200d2ed2146102e7578063228025e8146102fc576101f9565b806301ffc9a7146101fe57806306fdde0314610234578063081812fc14610256578063088a4ed014610283575b600080fd5b34801561020a57600080fd5b5061021e610219366004611b35565b6105f9565b60405161022b9190611cbb565b60405180910390f35b34801561024057600080fd5b50610249610626565b60405161022b9190611cc6565b34801561026257600080fd5b50610276610271366004611bb3565b6106b8565b60405161022b9190611c26565b34801561028f57600080fd5b506102a361029e366004611bb3565b610704565b005b3480156102b157600080fd5b506102a36102c0366004611af2565b610748565b3480156102d157600080fd5b506102da6107e0565b60405161022b91906122bd565b3480156102f357600080fd5b5061021e6107e6565b34801561030857600080fd5b506102a3610317366004611bb3565b6107ef565b34801561032857600080fd5b506102a3610337366004611a15565b610833565b34801561034857600080fd5b506102da610357366004611af2565b61086b565b34801561036857600080fd5b506102a361092e565b34801561037d57600080fd5b506102a361038c366004611a15565b6109a0565b34801561039d57600080fd5b506102da6109bb565b3480156103b257600080fd5b506102da6103c1366004611bb3565b6109c1565b3480156103d257600080fd5b506102a36103e1366004611b6d565b6109ed565b3480156103f257600080fd5b5061021e610a3f565b34801561040757600080fd5b50610276610416366004611bb3565b610a4f565b34801561042757600080fd5b50610249610aa7565b34801561043c57600080fd5b506102da61044b3660046119c9565b610b35565b34801561045c57600080fd5b506102a3610bd2565b34801561047157600080fd5b506102da610c1d565b34801561048657600080fd5b506102a3610495366004611bb3565b610c23565b3480156104a657600080fd5b506104ba6104b53660046119c9565b610d4a565b60405161022b9190611c77565b3480156104d357600080fd5b50610276610e30565b3480156104e857600080fd5b50610249610e3f565b6102a36104ff366004611bb3565b610e4e565b34801561051057600080fd5b506102a361051f366004611ac9565b610f67565b34801561053057600080fd5b506102a361053f366004611bb3565b611035565b34801561055057600080fd5b506102a361055f366004611a50565b611079565b34801561057057600080fd5b5061024961057f366004611bb3565b6110b8565b34801561059057600080fd5b506102da61113b565b3480156105a557600080fd5b506102a36105b4366004611b1b565b611141565b3480156105c557600080fd5b5061021e6105d43660046119e3565b611193565b3480156105e557600080fd5b506102a36105f43660046119c9565b6111c1565b60006001600160e01b0319821663780e9d6360e01b148061061e575061061e82611232565b90505b919050565b60606000805461063590612354565b80601f016020809104026020016040519081016040528092919081815260200182805461066190612354565b80156106ae5780601f10610683576101008083540402835291602001916106ae565b820191906000526020600020905b81548152906001019060200180831161069157829003601f168201915b5050505050905090565b60006106c382611272565b6106e85760405162461bcd60e51b81526004016106df9061205e565b60405180910390fd5b506000908152600360205260409020546001600160a01b031690565b61070c6112ca565b6001600160a01b031661071d610e30565b6001600160a01b0316146107435760405162461bcd60e51b81526004016106df906120aa565b600955565b600061075382610a4f565b9050806001600160a01b0316836001600160a01b031614156107875760405162461bcd60e51b81526004016106df9061218f565b806001600160a01b03166107996112ca565b6001600160a01b031614806107b557506107b5816105d46112ca565b6107d15760405162461bcd60e51b81526004016106df90611ed5565b6107db83836112ce565b505050565b60025490565b600a5460ff1681565b6107f76112ca565b6001600160a01b0316610808610e30565b6001600160a01b03161461082e5760405162461bcd60e51b81526004016106df906120aa565b600855565b61084461083e6112ca565b8261133c565b6108605760405162461bcd60e51b81526004016106df906121fe565b6107db8383836113c1565b600061087683610b35565b82106108945760405162461bcd60e51b81526004016106df90612128565b6000805b60025481101561090f57600281815481106108c357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b03868116911614156108ff57838214156108f35791506109289050565b6108fc8261238f565b91505b6109088161238f565b9050610898565b5060405162461bcd60e51b81526004016106df90612128565b92915050565b6109366112ca565b6001600160a01b0316610947610e30565b6001600160a01b03161461096d5760405162461bcd60e51b81526004016106df906120aa565b6040514790339082156108fc029083906000818181858888f1935050505015801561099c573d6000803e3d6000fd5b5050565b6107db83838360405180602001604052806000815250611079565b600b5481565b60006109cb6107e0565b82106109e95760405162461bcd60e51b81526004016106df90612158565b5090565b6109f56112ca565b6001600160a01b0316610a06610e30565b6001600160a01b031614610a2c5760405162461bcd60e51b81526004016106df906120aa565b805161099c9060079060208401906118a2565b600554600160a01b900460ff1690565b60008060028381548110610a7357634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b031690508061061e5760405162461bcd60e51b81526004016106df90611f7c565b60078054610ab490612354565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae090612354565b8015610b2d5780601f10610b0257610100808354040283529160200191610b2d565b820191906000526020600020905b815481529060010190602001808311610b1057829003601f168201915b505050505081565b60006001600160a01b038216610b5d5760405162461bcd60e51b81526004016106df90611f32565b600254600090815b81811015610bc95760028181548110610b8e57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0386811691161415610bb957610bb68361238f565b92505b610bc28161238f565b9050610b65565b50909392505050565b610bda6112ca565b6001600160a01b0316610beb610e30565b6001600160a01b031614610c115760405162461bcd60e51b81526004016106df906120aa565b610c1b60006114b2565b565b60095481565b610c2b6112ca565b6001600160a01b0316610c3c610e30565b6001600160a01b031614610c625760405162461bcd60e51b81526004016106df906120aa565b60026006541415610c855760405162461bcd60e51b81526004016106df90612286565b60026006556000610c946107e0565b905060008211610cb65760405162461bcd60e51b81526004016106df90611cd9565b600954821115610cd85760405162461bcd60e51b81526004016106df9061224f565b600854610ce583836122c6565b1115610d035760405162461bcd60e51b81526004016106df90612031565b60015b828111610d4057610d3033610d1b83856122c6565b60405180602001604052806000815250611504565b610d398161238f565b9050610d06565b5050600160065550565b6060610d5582610b35565b600010610d745760405162461bcd60e51b81526004016106df90612128565b6000610d7f83610b35565b905060008167ffffffffffffffff811115610daa57634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610dd3578160200160208202803683370190505b50905060005b82811015610e2857610deb858261086b565b828281518110610e0b57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610e208161238f565b915050610dd9565b509392505050565b6005546001600160a01b031690565b60606001805461063590612354565b60026006541415610e715760405162461bcd60e51b81526004016106df90612286565b60026006556000610e806107e0565b600a5490915060ff16610ea55760405162461bcd60e51b81526004016106df906121d0565b60008211610ec55760405162461bcd60e51b81526004016106df90611cd9565b600954821115610ee75760405162461bcd60e51b81526004016106df9061224f565b600854610ef483836122c6565b1115610f125760405162461bcd60e51b81526004016106df90612031565b3482600b54610f2191906122f2565b1115610f3f5760405162461bcd60e51b81526004016106df90611fc5565b60015b828111610d4057610f5733610d1b83856122c6565b610f608161238f565b9050610f42565b610f6f6112ca565b6001600160a01b0316826001600160a01b03161415610fa05760405162461bcd60e51b81526004016106df90611e52565b8060046000610fad6112ca565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610ff16112ca565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110299190611cbb565b60405180910390a35050565b61103d6112ca565b6001600160a01b031661104e610e30565b6001600160a01b0316146110745760405162461bcd60e51b81526004016106df906120aa565b600b55565b61108a6110846112ca565b8361133c565b6110a65760405162461bcd60e51b81526004016106df906121fe565b6110b284848484611537565b50505050565b60606110c382611272565b6110df5760405162461bcd60e51b81526004016106df90611cfe565b60006110e961156a565b905060008151116111095760405180602001604052806000815250611134565b8061111384611579565b604051602001611124929190611bf7565b6040516020818303038152906040525b9392505050565b60085481565b6111496112ca565b6001600160a01b031661115a610e30565b6001600160a01b0316146111805760405162461bcd60e51b81526004016106df906120aa565b600a805460ff1916911515919091179055565b6001600160a01b03918216600090815260046020908152604080832093909416825291909152205460ff1690565b6111c96112ca565b6001600160a01b03166111da610e30565b6001600160a01b0316146112005760405162461bcd60e51b81526004016106df906120aa565b6001600160a01b0381166112265760405162461bcd60e51b81526004016106df90611d91565b61122f816114b2565b50565b60006001600160e01b031982166380ac58cd60e01b148061126357506001600160e01b03198216635b5e139f60e01b145b8061061e575061061e82611694565b6002546000908210801561061e575060006001600160a01b0316600283815481106112ad57634e487b7160e01b600052603260045260246000fd5b6000918252602090912001546001600160a01b0316141592915050565b3390565b600081815260036020526040902080546001600160a01b0319166001600160a01b038416908117909155819061130382610a4f565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061134782611272565b6113635760405162461bcd60e51b81526004016106df90611e89565b600061136e83610a4f565b9050806001600160a01b0316846001600160a01b031614806113a95750836001600160a01b031661139e846106b8565b6001600160a01b0316145b806113b957506113b98185611193565b949350505050565b826001600160a01b03166113d482610a4f565b6001600160a01b0316146113fa5760405162461bcd60e51b81526004016106df906120df565b6001600160a01b0382166114205760405162461bcd60e51b81526004016106df90611e0e565b61142b8383836107db565b6114366000826112ce565b816002828154811061145857634e487b7160e01b600052603260045260246000fd5b6000918252602082200180546001600160a01b0319166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61150e83836116ad565b61151b6000848484611781565b6107db5760405162461bcd60e51b81526004016106df90611d3f565b6115428484846113c1565b61154e84848484611781565b6110b25760405162461bcd60e51b81526004016106df90611d3f565b60606007805461063590612354565b60608161159e57506040805180820190915260018152600360fc1b6020820152610621565b8160005b81156115c857806115b28161238f565b91506115c19050600a836122de565b91506115a2565b60008167ffffffffffffffff8111156115f157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561161b576020820181803683370190505b5090505b84156113b957611630600183612311565b915061163d600a866123aa565b6116489060306122c6565b60f81b81838151811061166b57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061168d600a866122de565b945061161f565b6001600160e01b031981166301ffc9a760e01b14919050565b6001600160a01b0382166116d35760405162461bcd60e51b81526004016106df90611ffc565b6116dc81611272565b156116f95760405162461bcd60e51b81526004016106df90611dd7565b611705600083836107db565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180546001600160a01b0319166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611795846001600160a01b031661189c565b1561189157836001600160a01b031663150b7a026117b16112ca565b8786866040518563ffffffff1660e01b81526004016117d39493929190611c3a565b602060405180830381600087803b1580156117ed57600080fd5b505af192505050801561181d575060408051601f3d908101601f1916820190925261181a91810190611b51565b60015b611877573d80801561184b576040519150601f19603f3d011682016040523d82523d6000602084013e611850565b606091505b50805161186f5760405162461bcd60e51b81526004016106df90611d3f565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506113b9565b506001949350505050565b3b151590565b8280546118ae90612354565b90600052602060002090601f0160209004810192826118d05760008555611916565b82601f106118e957805160ff1916838001178555611916565b82800160010185558215611916579182015b828111156119165782518255916020019190600101906118fb565b506109e99291505b808211156109e9576000815560010161191e565b600067ffffffffffffffff8084111561194d5761194d6123ea565b604051601f8501601f191681016020018281118282101715611971576119716123ea565b60405284815291508183850186101561198957600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b038116811461062157600080fd5b8035801515811461062157600080fd5b6000602082840312156119da578081fd5b611134826119a2565b600080604083850312156119f5578081fd5b6119fe836119a2565b9150611a0c602084016119a2565b90509250929050565b600080600060608486031215611a29578081fd5b611a32846119a2565b9250611a40602085016119a2565b9150604084013590509250925092565b60008060008060808587031215611a65578081fd5b611a6e856119a2565b9350611a7c602086016119a2565b925060408501359150606085013567ffffffffffffffff811115611a9e578182fd5b8501601f81018713611aae578182fd5b611abd87823560208401611932565b91505092959194509250565b60008060408385031215611adb578182fd5b611ae4836119a2565b9150611a0c602084016119b9565b60008060408385031215611b04578182fd5b611b0d836119a2565b946020939093013593505050565b600060208284031215611b2c578081fd5b611134826119b9565b600060208284031215611b46578081fd5b813561113481612400565b600060208284031215611b62578081fd5b815161113481612400565b600060208284031215611b7e578081fd5b813567ffffffffffffffff811115611b94578182fd5b8201601f81018413611ba4578182fd5b6113b984823560208401611932565b600060208284031215611bc4578081fd5b5035919050565b60008151808452611be3816020860160208601612328565b601f01601f19169290920160200192915050565b60008351611c09818460208801612328565b835190830190611c1d818360208801612328565b01949350505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090611c6d90830184611bcb565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b81811015611caf57835183529284019291840191600101611c93565b50909695505050505050565b901515815260200190565b6000602082526111346020830184611bcb565b6020808252600b908201526a043616e74206d696e7420360ac1b604082015260600190565b60208082526021908201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b656040820152603760f91b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b60208082526019908201527f56616c75652073656e74206973206e6f7420636f727265637400000000000000604082015260600190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526013908201527243616e7420676f206f76657220737570706c7960681b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b60208082526016908201527522a9219b9918a2b73ab69d1037bbb732b91034b7b7b160511b604082015260600190565b60208082526017908201527f455243373231456e756d3a20676c6f62616c20696f6f62000000000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526014908201527310dbdb9d1c9858dd08139bdd08115b98589b195960621b604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f43616e74206d696e74206d6f7265207468656e206d61786d696e740000000000604082015260600190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b90815260200190565b600082198211156122d9576122d96123be565b500190565b6000826122ed576122ed6123d4565b500490565b600081600019048311821515161561230c5761230c6123be565b500290565b600082821015612323576123236123be565b500390565b60005b8381101561234357818101518382015260200161232b565b838111156110b25750506000910152565b60028104600182168061236857607f821691505b6020821081141561238957634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156123a3576123a36123be565b5060010190565b6000826123b9576123b96123d4565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461122f57600080fdfea264697066735822122017bf2eb7c4e32f2dae7b89765f425be4357386ab87ac97f5f732a6c34130b61864736f6c63430008000033

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.