ETH Price: $3,841.42 (+6.19%)

ERC-20: ApeDads (APEDADS)
 

Overview

TokenID

3055

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
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:
ApeDads

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
byzantium EvmVersion
File 1 of 14 : ApeDads.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721Enumerable.sol";

contract ApeDads is ERC721Enumerable, Ownable {
    string  public              baseURI;

    address public              proxyRegistryAddress;
    address private             walletA = 0xFCC70898C5ed943297432F44De0B8Beeb1B035C7;
    address private             walletB = 0xe976D4E91875B8DB5A8DAAe9f8029652E175c116;

    uint256 public              MAX_SUPPLY;

    uint256 public constant     MAX_PER_WALLET = 3;
    uint256 public              price = 0.08 ether;

    mapping(address => bool) public projectProxy;
    mapping(address => uint) public publicsaleMints;

    constructor(
        string memory _baseURI,
        address _proxyRegistryAddress
    )
    ERC721("ApeDads", "APEDADS")
    {
        baseURI = _baseURI;
        proxyRegistryAddress = _proxyRegistryAddress;
    }

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

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(_exists(_tokenId), "Token does not exist.");
        return string(abi.encodePacked(baseURI, Strings.toString(_tokenId)));
    }

    function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }

    function toggleProxyState(address proxyAddress) public onlyOwner {
        projectProxy[proxyAddress] = !projectProxy[proxyAddress];
    }

    function togglePublicSale(uint256 _MAX_SUPPLY) external onlyOwner {
        require(_MAX_SUPPLY <= 4000, "max 4000");
        MAX_SUPPLY = _MAX_SUPPLY;
    }

    function publicMint(uint256 count) public payable {
        uint256 totalSupply = _owners.length;
        require(totalSupply + count <= MAX_SUPPLY, "Exceeds max supply.");
        require(count * price == msg.value, "Invalid funds provided.");
        require(publicsaleMints[msg.sender] + count <= MAX_PER_WALLET, "Per wallet mint limit");

        for(uint i; i < count; i++) {
            _mint(_msgSender(), totalSupply + i);
            publicsaleMints[msg.sender]++;
        }
    }

    function airdropMint(uint256 count) external onlyOwner {
        uint256 totalSupply = _owners.length;
        require(totalSupply < 26, "Airdrop mint limit is 26"); // those 26 tokens will be airdropped
        for(uint i; i < count; i++) {
            _mint(_msgSender(), totalSupply + i);
        }
    }

    function burn(uint256 tokenId) public {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        _burn(tokenId);
    }

    function withdraw() public  {
        require(msg.sender == walletA || msg.sender == walletB, "Not authorized");
        uint256 totalBalance = address(this).balance;

        (bool successA, ) = walletA.call{value: totalBalance * 85 / 100}("");
        require(successA, "Failed to send to A");

        (bool successB, ) = walletB.call{value:  totalBalance * 15 / 100}("");
        require(successB, "Failed to send to B");

    }

    function walletOfOwner(address _owner) public view returns (uint256[] memory) {
        uint256 tokenCount = balanceOf(_owner);
        if (tokenCount == 0) return new uint256[](0);

        uint256[] memory tokensId = new uint256[](tokenCount);
        for (uint256 i; i < tokenCount; i++) {
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function batchTransferFrom(address _from, address _to, uint256[] memory _tokenIds) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            transferFrom(_from, _to, _tokenIds[i]);
        }
    }

    function batchSafeTransferFrom(address _from, address _to, uint256[] memory _tokenIds, bytes memory data_) public {
        for (uint256 i = 0; i < _tokenIds.length; i++) {
            safeTransferFrom(_from, _to, _tokenIds[i], data_);
        }
    }

    function isOwnerOf(address account, uint256[] calldata _tokenIds) external view returns (bool){
        for(uint256 i; i < _tokenIds.length; ++i ){
            if(_owners[_tokenIds[i]] != account)
                return false;
        }

        return true;
    }

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

    function _mint(address to, uint256 tokenId) internal virtual override {
        _owners.push(to);
        emit Transfer(address(0), to, tokenId);
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        price = newPrice;
    }

}

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

File 2 of 14 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.7;

import "./ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

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

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

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

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

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

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

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

pragma solidity 0.8.7;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";

abstract contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    string private _name;
    string private _symbol;

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

    mapping(uint256 => address) private _tokenApprovals;
    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 (uint)
    {
        require(owner != address(0), "ERC721: balance query for the zero address");

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

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

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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 tokenId < _owners.length && _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 of 14 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.7;

library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 5 of 14 : 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);
}

File 6 of 14 : 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 7 of 14 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"},{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PER_WALLET","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":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"airdropMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"},{"internalType":"bytes","name":"data_","type":"bytes"}],"name":"batchSafeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","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":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"isOwnerOf","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectProxy","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"publicsaleMints","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":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","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":"address","name":"proxyAddress","type":"address"}],"name":"toggleProxyState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_MAX_SUPPLY","type":"uint256"}],"name":"togglePublicSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"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":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260088054600160a060020a031990811673fcc70898c5ed943297432f44de0b8beeb1b035c7179091556009805490911673e976d4e91875b8db5a8daae9f8029652e175c11617905567011c37937e080000600b553480156200006557600080fd5b5060405162002f1538038062002f158339810160408190526200008891620002a7565b6040518060400160405280600781526020017f41706544616473000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f415045444144530000000000000000000000000000000000000000000000000081525081600090805190602001906200010c929190620001e4565b50805162000122906001906020840190620001e4565b50505062000151620001426200018e640100000000026401000000009004565b64010000000062000192810204565b815162000166906006906020850190620001e4565b5060078054600160a060020a031916600160a060020a0392909216919091179055506200041e565b3390565b60058054600160a060020a03838116600160a060020a0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001f29062000399565b90600052602060002090601f01602090048101928262000216576000855562000261565b82601f106200023157805160ff191683800117855562000261565b8280016001018555821562000261579182015b828111156200026157825182559160200191906001019062000244565b506200026f92915062000273565b5090565b5b808211156200026f576000815560010162000274565b8051600160a060020a0381168114620002a257600080fd5b919050565b60008060408385031215620002bb57600080fd5b825167ffffffffffffffff80821115620002d457600080fd5b818501915085601f830112620002e957600080fd5b815181811115620002fe57620002fe620003ef565b604051601f8201601f19908116603f01168101908382118183101715620003295762000329620003ef565b816040528281526020935088848487010111156200034657600080fd5b600091505b828210156200036a57848201840151818301850152908301906200034b565b828211156200037c5760008484830101525b95506200038e9150508582016200028a565b925050509250929050565b600281046001821680620003ae57607f821691505b60208210811415620003e9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612ae7806200042e6000396000f3fe60806040526004361061024d576000357c0100000000000000000000000000000000000000000000000000000000900480635bab26e21161014b578063a22cb465116100c8578063d26ea6c01161008c578063d26ea6c014610689578063e985e9c5146106a9578063f2fde38b146106c9578063f3993d11146106e9578063f96983691461070957600080fd5b8063a22cb465146105e9578063b88d4fde14610609578063bbd2dc1114610629578063c87b56dd14610649578063cd7c03261461066957600080fd5b80638cf7be7e1161010f5780638cf7be7e146105605780638da5cb5b1461058057806391b7f5ed1461059e57806395d89b41146105be578063a035b1fe146105d357600080fd5b80635bab26e2146104c65780636352211e146104f65780636c0360eb1461051657806370a082311461052b578063715018a61461054b57600080fd5b806332cb6b0c116101d957806344799d6c1161019d57806344799d6c146104265780634d44660c146104465780634f6ccce71461046657806355f804b3146104865780635a4fee30146104a657600080fd5b806332cb6b0c1461038e5780633ccfd60b146103a457806342842e0e146103b957806342966c68146103d9578063438b6300146103f957600080fd5b80630f2cdd6c116102205780630f2cdd6c1461030357806318160ddd1461032657806323b872dd1461033b5780632db115441461035b5780632f745c591461036e57600080fd5b806301ffc9a71461025257806306fdde0314610287578063081812fc146102a9578063095ea7b3146102e1575b600080fd5b34801561025e57600080fd5b5061027261026d36600461256c565b610736565b60405190151581526020015b60405180910390f35b34801561029357600080fd5b5061029c61077a565b60405161027e9190612797565b3480156102b557600080fd5b506102c96102c436600461260c565b61080c565b604051600160a060020a03909116815260200161027e565b3480156102ed57600080fd5b506103016102fc366004612540565b6108ad565b005b34801561030f57600080fd5b50610318600381565b60405190815260200161027e565b34801561033257600080fd5b50600254610318565b34801561034757600080fd5b506103016103563660046123e5565b6109e5565b61030161036936600461260c565b610a1a565b34801561037a57600080fd5b50610318610389366004612540565b610b9b565b34801561039a57600080fd5b50610318600a5481565b3480156103b057600080fd5b50610301610c54565b3480156103c557600080fd5b506103016103d43660046123e5565b610e3f565b3480156103e557600080fd5b506103016103f436600461260c565b610e5a565b34801561040557600080fd5b506104196104143660046122a4565b610ebe565b60405161027e9190612753565b34801561043257600080fd5b5061030161044136600461260c565b610f77565b34801561045257600080fd5b50610272610461366004612486565b611020565b34801561047257600080fd5b5061031861048136600461260c565b6110a2565b34801561049257600080fd5b506103016104a13660046125c3565b611123565b3480156104b257600080fd5b506103016104c136600461235c565b611167565b3480156104d257600080fd5b506102726104e13660046122a4565b600c6020526000908152604090205460ff1681565b34801561050257600080fd5b506102c961051136600461260c565b6111b1565b34801561052257600080fd5b5061029c611254565b34801561053757600080fd5b506103186105463660046122a4565b6112e2565b34801561055757600080fd5b506103016113c6565b34801561056c57600080fd5b5061030161057b36600461260c565b6113ff565b34801561058c57600080fd5b50600554600160a060020a03166102c9565b3480156105aa57600080fd5b506103016105b936600461260c565b611486565b3480156105ca57600080fd5b5061029c6114b8565b3480156105df57600080fd5b50610318600b5481565b3480156105f557600080fd5b5061030161060436600461250d565b6114c7565b34801561061557600080fd5b50610301610624366004612426565b61158f565b34801561063557600080fd5b506103016106443660046122a4565b6115ca565b34801561065557600080fd5b5061029c61066436600461260c565b611620565b34801561067557600080fd5b506007546102c990600160a060020a031681565b34801561069557600080fd5b506103016106a43660046122a4565b6116ac565b3480156106b557600080fd5b506102726106c43660046122c1565b611708565b3480156106d557600080fd5b506103016106e43660046122a4565b611814565b3480156106f557600080fd5b506103016107043660046122fa565b6118c9565b34801561071557600080fd5b506103186107243660046122a4565b600d6020526000908152604090205481565b6000600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061077457506107748261190b565b92915050565b606060008054610789906129b5565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906129b5565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6000610817826119a6565b6108915760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260036020526040902054600160a060020a031690565b60006108b8826111b1565b905080600160a060020a031683600160a060020a031614156109455760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610888565b33600160a060020a038216148061096157506109618133611708565b6109d65760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610888565b6109e083836119f0565b505050565b6109f0335b82611a6b565b610a0f5760405160e560020a62461bcd02815260040161088890612899565b6109e0838383611b41565b600254600a54610a2a8383612927565b1115610a7b5760405160e560020a62461bcd02815260206004820152601360248201527f45786365656473206d617820737570706c792e000000000000000000000000006044820152606401610888565b34600b5483610a8a9190612953565b14610ada5760405160e560020a62461bcd02815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e0000000000000000006044820152606401610888565b336000908152600d6020526040902054600390610af8908490612927565b1115610b495760405160e560020a62461bcd02815260206004820152601560248201527f5065722077616c6c6574206d696e74206c696d697400000000000000000000006044820152606401610888565b60005b828110156109e057610b68335b610b638385612927565b611cd7565b336000908152600d60205260408120805491610b83836129f3565b91905055508080610b93906129f3565b915050610b4c565b6000610ba6836112e2565b8210610bc75760405160e560020a62461bcd028152600401610888906127aa565b6000805b600254811015610c385760028181548110610be857610be8612a54565b600091825260209091200154600160a060020a0386811691161415610c265783821415610c185791506107749050565b81610c22816129f3565b9250505b80610c30816129f3565b915050610bcb565b5060405160e560020a62461bcd028152600401610888906127aa565b600854600160a060020a0316331480610c775750600954600160a060020a031633145b610cc65760405160e560020a62461bcd02815260206004820152600e60248201527f4e6f7420617574686f72697a65640000000000000000000000000000000000006044820152606401610888565b600854303190600090600160a060020a03166064610ce5846055612953565b610cef919061293f565b604051600081818185875af1925050503d8060008114610d2b576040519150601f19603f3d011682016040523d82523d6000602084013e610d30565b606091505b5050905080610d845760405160e560020a62461bcd02815260206004820152601360248201527f4661696c656420746f2073656e6420746f2041000000000000000000000000006044820152606401610888565b600954600090600160a060020a03166064610da085600f612953565b610daa919061293f565b604051600081818185875af1925050503d8060008114610de6576040519150601f19603f3d011682016040523d82523d6000602084013e610deb565b606091505b50509050806109e05760405160e560020a62461bcd02815260206004820152601360248201527f4661696c656420746f2073656e6420746f2042000000000000000000000000006044820152606401610888565b6109e08383836040518060200160405280600081525061158f565b610e63336109ea565b610eb25760405160e560020a62461bcd02815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610888565b610ebb81611d60565b50565b60606000610ecb836112e2565b905080610eec5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610f0757610f07612a6d565b604051908082528060200260200182016040528015610f30578160200160208202803683370190505b50905060005b82811015610ee457610f488582610b9b565b828281518110610f5a57610f5a612a54565b602090810291909101015280610f6f816129f3565b915050610f36565b600554600160a060020a03163314610fa45760405160e560020a62461bcd02815260040161088890612864565b600254601a8110610ffa5760405160e560020a62461bcd02815260206004820152601860248201527f41697264726f70206d696e74206c696d697420697320323600000000000000006044820152606401610888565b60005b828110156109e05761100e33610b59565b80611018816129f3565b915050610ffd565b6000805b828110156110955784600160a060020a0316600285858481811061104a5761104a612a54565b905060200201358154811061106157611061612a54565b600091825260209091200154600160a060020a03161461108557600091505061109b565b61108e816129f3565b9050611024565b50600190505b9392505050565b600254600090821061111f5760405160e560020a62461bcd02815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610888565b5090565b600554600160a060020a031633146111505760405160e560020a62461bcd02815260040161088890612864565b8051611163906006906020840190612117565b5050565b60005b82518110156111aa57611198858585848151811061118a5761118a612a54565b60200260200101518561158f565b806111a2816129f3565b91505061116a565b5050505050565b600080600283815481106111c7576111c7612a54565b600091825260209091200154600160a060020a03169050806107745760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610888565b60068054611261906129b5565b80601f016020809104026020016040519081016040528092919081815260200182805461128d906129b5565b80156112da5780601f106112af576101008083540402835291602001916112da565b820191906000526020600020905b8154815290600101906020018083116112bd57829003601f168201915b505050505081565b6000600160a060020a0382166113635760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610888565b6000805b6002548110156113bf576002818154811061138457611384612a54565b600091825260209091200154600160a060020a03858116911614156113af576113ac826129f3565b91505b6113b8816129f3565b9050611367565b5092915050565b600554600160a060020a031633146113f35760405160e560020a62461bcd02815260040161088890612864565b6113fd6000611def565b565b600554600160a060020a0316331461142c5760405160e560020a62461bcd02815260040161088890612864565b610fa08111156114815760405160e560020a62461bcd02815260206004820152600860248201527f6d617820343030300000000000000000000000000000000000000000000000006044820152606401610888565b600a55565b600554600160a060020a031633146114b35760405160e560020a62461bcd02815260040161088890612864565b600b55565b606060018054610789906129b5565b600160a060020a0382163314156115235760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610888565b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115993383611a6b565b6115b85760405160e560020a62461bcd02815260040161088890612899565b6115c484848484611e4e565b50505050565b600554600160a060020a031633146115f75760405160e560020a62461bcd02815260040161088890612864565b600160a060020a03166000908152600c60205260409020805460ff19811660ff90911615179055565b606061162b826119a6565b61167a5760405160e560020a62461bcd02815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610888565b600661168583611e84565b60405160200161169692919061266d565b6040516020818303038152906040529050919050565b600554600160a060020a031633146116d95760405160e560020a62461bcd02815260040161088890612864565b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6007546040517fc4552791000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561176e57600080fd5b505afa158015611782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a691906125a6565b600160a060020a031614806117d35750600160a060020a0383166000908152600c602052604090205460ff165b156117e2576001915050610774565b600160a060020a0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b600554600160a060020a031633146118415760405160e560020a62461bcd02815260040161088890612864565b600160a060020a0381166118c05760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610888565b610ebb81611def565b60005b81518110156115c4576118f984848484815181106118ec576118ec612a54565b60200260200101516109e5565b80611903816129f3565b9150506118cc565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061196e5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061077457507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610774565b6002546000908210801561077457506000600160a060020a0316600283815481106119d3576119d3612a54565b600091825260209091200154600160a060020a0316141592915050565b6000818152600360205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611a32826111b1565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a76826119a6565b611aeb5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610888565b6000611af6836111b1565b905080600160a060020a031684600160a060020a03161480611b31575083600160a060020a0316611b268461080c565b600160a060020a0316145b8061180c575061180c8185611708565b82600160a060020a0316611b54826111b1565b600160a060020a031614611bd35760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610888565b600160a060020a038216611c515760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610888565b611c5c6000826119f0565b8160028281548110611c7057611c70612a54565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611d6b826111b1565b9050611d786000836119f0565b600060028381548110611d8d57611d8d612a54565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60058054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e59848484611b41565b611e6584848484611fd5565b6115c45760405160e560020a62461bcd02815260040161088890612807565b606081611ec457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611eee5780611ed8816129f3565b9150611ee79050600a8361293f565b9150611ec8565b60008167ffffffffffffffff811115611f0957611f09612a6d565b6040519080825280601f01601f191660200182016040528015611f33576020820181803683370190505b5090505b841561180c57611f48600183612972565b9150611f55600a86612a0e565b611f60906030612927565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110611f9457611f94612a54565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611fce600a8661293f565b9450611f37565b6000600160a060020a0384163b1561210c576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290612032903390899088908890600401612717565b602060405180830381600087803b15801561204c57600080fd5b505af192505050801561207c575060408051601f3d908101601f1916820190925261207991810190612589565b60015b6120d9573d8080156120aa576040519150601f19603f3d011682016040523d82523d6000602084013e6120af565b606091505b5080516120d15760405160e560020a62461bcd02815260040161088890612807565b805181602001fd5b600160e060020a0319167f150b7a020000000000000000000000000000000000000000000000000000000014905061180c565b506001949350505050565b828054612123906129b5565b90600052602060002090601f016020900481019282612145576000855561218b565b82601f1061215e57805160ff191683800117855561218b565b8280016001018555821561218b579182015b8281111561218b578251825591602001919060010190612170565b5061111f9291505b8082111561111f5760008155600101612193565b600067ffffffffffffffff8311156121c1576121c1612a6d565b6121d4601f8401601f19166020016128f6565b90508281528383830111156121e857600080fd5b828260208301376000602084830101529392505050565b600082601f83011261221057600080fd5b8135602067ffffffffffffffff82111561222c5761222c612a6d565b80820261223a8282016128f6565b83815282810190868401838801850189101561225557600080fd5b600093505b8584101561227857803583526001939093019291840191840161225a565b50979650505050505050565b600082601f83011261229557600080fd5b61109b838335602085016121a7565b6000602082840312156122b657600080fd5b813561109b81612a86565b600080604083850312156122d457600080fd5b82356122df81612a86565b915060208301356122ef81612a86565b809150509250929050565b60008060006060848603121561230f57600080fd5b833561231a81612a86565b9250602084013561232a81612a86565b9150604084013567ffffffffffffffff81111561234657600080fd5b612352868287016121ff565b9150509250925092565b6000806000806080858703121561237257600080fd5b843561237d81612a86565b9350602085013561238d81612a86565b9250604085013567ffffffffffffffff808211156123aa57600080fd5b6123b6888389016121ff565b935060608701359150808211156123cc57600080fd5b506123d987828801612284565b91505092959194509250565b6000806000606084860312156123fa57600080fd5b833561240581612a86565b9250602084013561241581612a86565b929592945050506040919091013590565b6000806000806080858703121561243c57600080fd5b843561244781612a86565b9350602085013561245781612a86565b925060408501359150606085013567ffffffffffffffff81111561247a57600080fd5b6123d987828801612284565b60008060006040848603121561249b57600080fd5b83356124a681612a86565b9250602084013567ffffffffffffffff808211156124c357600080fd5b818601915086601f8301126124d757600080fd5b8135818111156124e657600080fd5b87602080830285010111156124fa57600080fd5b6020830194508093505050509250925092565b6000806040838503121561252057600080fd5b823561252b81612a86565b9150602083013580151581146122ef57600080fd5b6000806040838503121561255357600080fd5b823561255e81612a86565b946020939093013593505050565b60006020828403121561257e57600080fd5b813561109b81612a9b565b60006020828403121561259b57600080fd5b815161109b81612a9b565b6000602082840312156125b857600080fd5b815161109b81612a86565b6000602082840312156125d557600080fd5b813567ffffffffffffffff8111156125ec57600080fd5b8201601f810184136125fd57600080fd5b61180c848235602084016121a7565b60006020828403121561261e57600080fd5b5035919050565b6000815180845261263d816020860160208601612989565b601f01601f19169290920160200192915050565b60008151612663818560208601612989565b9290920192915050565b825460009081906002810460018083168061268957607f831692505b60208084108214156126ac5760e060020a634e487b710286526022600452602486fd5b8180156126c057600181146126d1576126fe565b60ff198616895284890196506126fe565b60008b81526020902060005b868110156126f65781548b8201529085019083016126dd565b505084890196505b50505050505061270e8185612651565b95945050505050565b6000600160a060020a038087168352808616602084015250836040830152608060608301526127496080830184612625565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561278b5783518352928401929184019160010161276f565b50909695505050505050565b60208152600061109b6020830184612625565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561291f5761291f612a6d565b604052919050565b6000821982111561293a5761293a612a22565b500190565b60008261294e5761294e612a3b565b500490565b600081600019048311821515161561296d5761296d612a22565b500290565b60008282101561298457612984612a22565b500390565b60005b838110156129a457818101518382015260200161298c565b838111156115c45750506000910152565b6002810460018216806129c957607f821691505b602082108114156129ed5760e060020a634e487b7102600052602260045260246000fd5b50919050565b6000600019821415612a0757612a07612a22565b5060010190565b600082612a1d57612a1d612a3b565b500690565b60e060020a634e487b7102600052601160045260246000fd5b60e060020a634e487b7102600052601260045260246000fd5b60e060020a634e487b7102600052603260045260246000fd5b60e060020a634e487b7102600052604160045260246000fd5b600160a060020a0381168114610ebb57600080fd5b600160e060020a031981168114610ebb57600080fdfea2646970667358221220ac74aa21ecfcbeec03bf2c17d19ce3ecffa066a8e33e6e2258c97ac4163fde0864736f6c634300080700330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6170692e617065646164732e636f6d2f6e66742f00000000

Deployed Bytecode

0x60806040526004361061024d576000357c0100000000000000000000000000000000000000000000000000000000900480635bab26e21161014b578063a22cb465116100c8578063d26ea6c01161008c578063d26ea6c014610689578063e985e9c5146106a9578063f2fde38b146106c9578063f3993d11146106e9578063f96983691461070957600080fd5b8063a22cb465146105e9578063b88d4fde14610609578063bbd2dc1114610629578063c87b56dd14610649578063cd7c03261461066957600080fd5b80638cf7be7e1161010f5780638cf7be7e146105605780638da5cb5b1461058057806391b7f5ed1461059e57806395d89b41146105be578063a035b1fe146105d357600080fd5b80635bab26e2146104c65780636352211e146104f65780636c0360eb1461051657806370a082311461052b578063715018a61461054b57600080fd5b806332cb6b0c116101d957806344799d6c1161019d57806344799d6c146104265780634d44660c146104465780634f6ccce71461046657806355f804b3146104865780635a4fee30146104a657600080fd5b806332cb6b0c1461038e5780633ccfd60b146103a457806342842e0e146103b957806342966c68146103d9578063438b6300146103f957600080fd5b80630f2cdd6c116102205780630f2cdd6c1461030357806318160ddd1461032657806323b872dd1461033b5780632db115441461035b5780632f745c591461036e57600080fd5b806301ffc9a71461025257806306fdde0314610287578063081812fc146102a9578063095ea7b3146102e1575b600080fd5b34801561025e57600080fd5b5061027261026d36600461256c565b610736565b60405190151581526020015b60405180910390f35b34801561029357600080fd5b5061029c61077a565b60405161027e9190612797565b3480156102b557600080fd5b506102c96102c436600461260c565b61080c565b604051600160a060020a03909116815260200161027e565b3480156102ed57600080fd5b506103016102fc366004612540565b6108ad565b005b34801561030f57600080fd5b50610318600381565b60405190815260200161027e565b34801561033257600080fd5b50600254610318565b34801561034757600080fd5b506103016103563660046123e5565b6109e5565b61030161036936600461260c565b610a1a565b34801561037a57600080fd5b50610318610389366004612540565b610b9b565b34801561039a57600080fd5b50610318600a5481565b3480156103b057600080fd5b50610301610c54565b3480156103c557600080fd5b506103016103d43660046123e5565b610e3f565b3480156103e557600080fd5b506103016103f436600461260c565b610e5a565b34801561040557600080fd5b506104196104143660046122a4565b610ebe565b60405161027e9190612753565b34801561043257600080fd5b5061030161044136600461260c565b610f77565b34801561045257600080fd5b50610272610461366004612486565b611020565b34801561047257600080fd5b5061031861048136600461260c565b6110a2565b34801561049257600080fd5b506103016104a13660046125c3565b611123565b3480156104b257600080fd5b506103016104c136600461235c565b611167565b3480156104d257600080fd5b506102726104e13660046122a4565b600c6020526000908152604090205460ff1681565b34801561050257600080fd5b506102c961051136600461260c565b6111b1565b34801561052257600080fd5b5061029c611254565b34801561053757600080fd5b506103186105463660046122a4565b6112e2565b34801561055757600080fd5b506103016113c6565b34801561056c57600080fd5b5061030161057b36600461260c565b6113ff565b34801561058c57600080fd5b50600554600160a060020a03166102c9565b3480156105aa57600080fd5b506103016105b936600461260c565b611486565b3480156105ca57600080fd5b5061029c6114b8565b3480156105df57600080fd5b50610318600b5481565b3480156105f557600080fd5b5061030161060436600461250d565b6114c7565b34801561061557600080fd5b50610301610624366004612426565b61158f565b34801561063557600080fd5b506103016106443660046122a4565b6115ca565b34801561065557600080fd5b5061029c61066436600461260c565b611620565b34801561067557600080fd5b506007546102c990600160a060020a031681565b34801561069557600080fd5b506103016106a43660046122a4565b6116ac565b3480156106b557600080fd5b506102726106c43660046122c1565b611708565b3480156106d557600080fd5b506103016106e43660046122a4565b611814565b3480156106f557600080fd5b506103016107043660046122fa565b6118c9565b34801561071557600080fd5b506103186107243660046122a4565b600d6020526000908152604090205481565b6000600160e060020a031982167f780e9d6300000000000000000000000000000000000000000000000000000000148061077457506107748261190b565b92915050565b606060008054610789906129b5565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906129b5565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6000610817826119a6565b6108915760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b50600090815260036020526040902054600160a060020a031690565b60006108b8826111b1565b905080600160a060020a031683600160a060020a031614156109455760405160e560020a62461bcd02815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610888565b33600160a060020a038216148061096157506109618133611708565b6109d65760405160e560020a62461bcd02815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610888565b6109e083836119f0565b505050565b6109f0335b82611a6b565b610a0f5760405160e560020a62461bcd02815260040161088890612899565b6109e0838383611b41565b600254600a54610a2a8383612927565b1115610a7b5760405160e560020a62461bcd02815260206004820152601360248201527f45786365656473206d617820737570706c792e000000000000000000000000006044820152606401610888565b34600b5483610a8a9190612953565b14610ada5760405160e560020a62461bcd02815260206004820152601760248201527f496e76616c69642066756e64732070726f76696465642e0000000000000000006044820152606401610888565b336000908152600d6020526040902054600390610af8908490612927565b1115610b495760405160e560020a62461bcd02815260206004820152601560248201527f5065722077616c6c6574206d696e74206c696d697400000000000000000000006044820152606401610888565b60005b828110156109e057610b68335b610b638385612927565b611cd7565b336000908152600d60205260408120805491610b83836129f3565b91905055508080610b93906129f3565b915050610b4c565b6000610ba6836112e2565b8210610bc75760405160e560020a62461bcd028152600401610888906127aa565b6000805b600254811015610c385760028181548110610be857610be8612a54565b600091825260209091200154600160a060020a0386811691161415610c265783821415610c185791506107749050565b81610c22816129f3565b9250505b80610c30816129f3565b915050610bcb565b5060405160e560020a62461bcd028152600401610888906127aa565b600854600160a060020a0316331480610c775750600954600160a060020a031633145b610cc65760405160e560020a62461bcd02815260206004820152600e60248201527f4e6f7420617574686f72697a65640000000000000000000000000000000000006044820152606401610888565b600854303190600090600160a060020a03166064610ce5846055612953565b610cef919061293f565b604051600081818185875af1925050503d8060008114610d2b576040519150601f19603f3d011682016040523d82523d6000602084013e610d30565b606091505b5050905080610d845760405160e560020a62461bcd02815260206004820152601360248201527f4661696c656420746f2073656e6420746f2041000000000000000000000000006044820152606401610888565b600954600090600160a060020a03166064610da085600f612953565b610daa919061293f565b604051600081818185875af1925050503d8060008114610de6576040519150601f19603f3d011682016040523d82523d6000602084013e610deb565b606091505b50509050806109e05760405160e560020a62461bcd02815260206004820152601360248201527f4661696c656420746f2073656e6420746f2042000000000000000000000000006044820152606401610888565b6109e08383836040518060200160405280600081525061158f565b610e63336109ea565b610eb25760405160e560020a62461bcd02815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610888565b610ebb81611d60565b50565b60606000610ecb836112e2565b905080610eec5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff811115610f0757610f07612a6d565b604051908082528060200260200182016040528015610f30578160200160208202803683370190505b50905060005b82811015610ee457610f488582610b9b565b828281518110610f5a57610f5a612a54565b602090810291909101015280610f6f816129f3565b915050610f36565b600554600160a060020a03163314610fa45760405160e560020a62461bcd02815260040161088890612864565b600254601a8110610ffa5760405160e560020a62461bcd02815260206004820152601860248201527f41697264726f70206d696e74206c696d697420697320323600000000000000006044820152606401610888565b60005b828110156109e05761100e33610b59565b80611018816129f3565b915050610ffd565b6000805b828110156110955784600160a060020a0316600285858481811061104a5761104a612a54565b905060200201358154811061106157611061612a54565b600091825260209091200154600160a060020a03161461108557600091505061109b565b61108e816129f3565b9050611024565b50600190505b9392505050565b600254600090821061111f5760405160e560020a62461bcd02815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610888565b5090565b600554600160a060020a031633146111505760405160e560020a62461bcd02815260040161088890612864565b8051611163906006906020840190612117565b5050565b60005b82518110156111aa57611198858585848151811061118a5761118a612a54565b60200260200101518561158f565b806111a2816129f3565b91505061116a565b5050505050565b600080600283815481106111c7576111c7612a54565b600091825260209091200154600160a060020a03169050806107745760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610888565b60068054611261906129b5565b80601f016020809104026020016040519081016040528092919081815260200182805461128d906129b5565b80156112da5780601f106112af576101008083540402835291602001916112da565b820191906000526020600020905b8154815290600101906020018083116112bd57829003601f168201915b505050505081565b6000600160a060020a0382166113635760405160e560020a62461bcd02815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610888565b6000805b6002548110156113bf576002818154811061138457611384612a54565b600091825260209091200154600160a060020a03858116911614156113af576113ac826129f3565b91505b6113b8816129f3565b9050611367565b5092915050565b600554600160a060020a031633146113f35760405160e560020a62461bcd02815260040161088890612864565b6113fd6000611def565b565b600554600160a060020a0316331461142c5760405160e560020a62461bcd02815260040161088890612864565b610fa08111156114815760405160e560020a62461bcd02815260206004820152600860248201527f6d617820343030300000000000000000000000000000000000000000000000006044820152606401610888565b600a55565b600554600160a060020a031633146114b35760405160e560020a62461bcd02815260040161088890612864565b600b55565b606060018054610789906129b5565b600160a060020a0382163314156115235760405160e560020a62461bcd02815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610888565b336000818152600460209081526040808320600160a060020a03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6115993383611a6b565b6115b85760405160e560020a62461bcd02815260040161088890612899565b6115c484848484611e4e565b50505050565b600554600160a060020a031633146115f75760405160e560020a62461bcd02815260040161088890612864565b600160a060020a03166000908152600c60205260409020805460ff19811660ff90911615179055565b606061162b826119a6565b61167a5760405160e560020a62461bcd02815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610888565b600661168583611e84565b60405160200161169692919061266d565b6040516020818303038152906040529050919050565b600554600160a060020a031633146116d95760405160e560020a62461bcd02815260040161088890612864565b6007805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b6007546040517fc4552791000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015260009281169190841690829063c45527919060240160206040518083038186803b15801561176e57600080fd5b505afa158015611782573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117a691906125a6565b600160a060020a031614806117d35750600160a060020a0383166000908152600c602052604090205460ff165b156117e2576001915050610774565b600160a060020a0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b600554600160a060020a031633146118415760405160e560020a62461bcd02815260040161088890612864565b600160a060020a0381166118c05760405160e560020a62461bcd02815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610888565b610ebb81611def565b60005b81518110156115c4576118f984848484815181106118ec576118ec612a54565b60200260200101516109e5565b80611903816129f3565b9150506118cc565b6000600160e060020a031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061196e5750600160e060020a031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061077457507f01ffc9a700000000000000000000000000000000000000000000000000000000600160e060020a0319831614610774565b6002546000908210801561077457506000600160a060020a0316600283815481106119d3576119d3612a54565b600091825260209091200154600160a060020a0316141592915050565b6000818152600360205260409020805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0384169081179091558190611a32826111b1565b600160a060020a03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611a76826119a6565b611aeb5760405160e560020a62461bcd02815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610888565b6000611af6836111b1565b905080600160a060020a031684600160a060020a03161480611b31575083600160a060020a0316611b268461080c565b600160a060020a0316145b8061180c575061180c8185611708565b82600160a060020a0316611b54826111b1565b600160a060020a031614611bd35760405160e560020a62461bcd02815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610888565b600160a060020a038216611c515760405160e560020a62461bcd028152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610888565b611c5c6000826119f0565b8160028281548110611c7057611c70612a54565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace01805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b6000611d6b826111b1565b9050611d786000836119f0565b600060028381548110611d8d57611d8d612a54565b60009182526020822001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b60058054600160a060020a0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611e59848484611b41565b611e6584848484611fd5565b6115c45760405160e560020a62461bcd02815260040161088890612807565b606081611ec457505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611eee5780611ed8816129f3565b9150611ee79050600a8361293f565b9150611ec8565b60008167ffffffffffffffff811115611f0957611f09612a6d565b6040519080825280601f01601f191660200182016040528015611f33576020820181803683370190505b5090505b841561180c57611f48600183612972565b9150611f55600a86612a0e565b611f60906030612927565b7f010000000000000000000000000000000000000000000000000000000000000002818381518110611f9457611f94612a54565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611fce600a8661293f565b9450611f37565b6000600160a060020a0384163b1561210c576040517f150b7a02000000000000000000000000000000000000000000000000000000008152600160a060020a0385169063150b7a0290612032903390899088908890600401612717565b602060405180830381600087803b15801561204c57600080fd5b505af192505050801561207c575060408051601f3d908101601f1916820190925261207991810190612589565b60015b6120d9573d8080156120aa576040519150601f19603f3d011682016040523d82523d6000602084013e6120af565b606091505b5080516120d15760405160e560020a62461bcd02815260040161088890612807565b805181602001fd5b600160e060020a0319167f150b7a020000000000000000000000000000000000000000000000000000000014905061180c565b506001949350505050565b828054612123906129b5565b90600052602060002090601f016020900481019282612145576000855561218b565b82601f1061215e57805160ff191683800117855561218b565b8280016001018555821561218b579182015b8281111561218b578251825591602001919060010190612170565b5061111f9291505b8082111561111f5760008155600101612193565b600067ffffffffffffffff8311156121c1576121c1612a6d565b6121d4601f8401601f19166020016128f6565b90508281528383830111156121e857600080fd5b828260208301376000602084830101529392505050565b600082601f83011261221057600080fd5b8135602067ffffffffffffffff82111561222c5761222c612a6d565b80820261223a8282016128f6565b83815282810190868401838801850189101561225557600080fd5b600093505b8584101561227857803583526001939093019291840191840161225a565b50979650505050505050565b600082601f83011261229557600080fd5b61109b838335602085016121a7565b6000602082840312156122b657600080fd5b813561109b81612a86565b600080604083850312156122d457600080fd5b82356122df81612a86565b915060208301356122ef81612a86565b809150509250929050565b60008060006060848603121561230f57600080fd5b833561231a81612a86565b9250602084013561232a81612a86565b9150604084013567ffffffffffffffff81111561234657600080fd5b612352868287016121ff565b9150509250925092565b6000806000806080858703121561237257600080fd5b843561237d81612a86565b9350602085013561238d81612a86565b9250604085013567ffffffffffffffff808211156123aa57600080fd5b6123b6888389016121ff565b935060608701359150808211156123cc57600080fd5b506123d987828801612284565b91505092959194509250565b6000806000606084860312156123fa57600080fd5b833561240581612a86565b9250602084013561241581612a86565b929592945050506040919091013590565b6000806000806080858703121561243c57600080fd5b843561244781612a86565b9350602085013561245781612a86565b925060408501359150606085013567ffffffffffffffff81111561247a57600080fd5b6123d987828801612284565b60008060006040848603121561249b57600080fd5b83356124a681612a86565b9250602084013567ffffffffffffffff808211156124c357600080fd5b818601915086601f8301126124d757600080fd5b8135818111156124e657600080fd5b87602080830285010111156124fa57600080fd5b6020830194508093505050509250925092565b6000806040838503121561252057600080fd5b823561252b81612a86565b9150602083013580151581146122ef57600080fd5b6000806040838503121561255357600080fd5b823561255e81612a86565b946020939093013593505050565b60006020828403121561257e57600080fd5b813561109b81612a9b565b60006020828403121561259b57600080fd5b815161109b81612a9b565b6000602082840312156125b857600080fd5b815161109b81612a86565b6000602082840312156125d557600080fd5b813567ffffffffffffffff8111156125ec57600080fd5b8201601f810184136125fd57600080fd5b61180c848235602084016121a7565b60006020828403121561261e57600080fd5b5035919050565b6000815180845261263d816020860160208601612989565b601f01601f19169290920160200192915050565b60008151612663818560208601612989565b9290920192915050565b825460009081906002810460018083168061268957607f831692505b60208084108214156126ac5760e060020a634e487b710286526022600452602486fd5b8180156126c057600181146126d1576126fe565b60ff198616895284890196506126fe565b60008b81526020902060005b868110156126f65781548b8201529085019083016126dd565b505084890196505b50505050505061270e8185612651565b95945050505050565b6000600160a060020a038087168352808616602084015250836040830152608060608301526127496080830184612625565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561278b5783518352928401929184019160010161276f565b50909695505050505050565b60208152600061109b6020830184612625565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201527f74206f6620626f756e6473000000000000000000000000000000000000000000606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527f63656976657220696d706c656d656e7465720000000000000000000000000000606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60408201527f776e6572206e6f7220617070726f766564000000000000000000000000000000606082015260800190565b604051601f8201601f1916810167ffffffffffffffff8111828210171561291f5761291f612a6d565b604052919050565b6000821982111561293a5761293a612a22565b500190565b60008261294e5761294e612a3b565b500490565b600081600019048311821515161561296d5761296d612a22565b500290565b60008282101561298457612984612a22565b500390565b60005b838110156129a457818101518382015260200161298c565b838111156115c45750506000910152565b6002810460018216806129c957607f821691505b602082108114156129ed5760e060020a634e487b7102600052602260045260246000fd5b50919050565b6000600019821415612a0757612a07612a22565b5060010190565b600082612a1d57612a1d612a3b565b500690565b60e060020a634e487b7102600052601160045260246000fd5b60e060020a634e487b7102600052601260045260246000fd5b60e060020a634e487b7102600052603260045260246000fd5b60e060020a634e487b7102600052604160045260246000fd5b600160a060020a0381168114610ebb57600080fd5b600160e060020a031981168114610ebb57600080fdfea2646970667358221220ac74aa21ecfcbeec03bf2c17d19ce3ecffa066a8e33e6e2258c97ac4163fde0864736f6c63430008070033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6170692e617065646164732e636f6d2f6e66742f00000000

-----Decoded View---------------
Arg [0] : _baseURI (string): https://api.apedads.com/nft/
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [3] : 68747470733a2f2f6170692e617065646164732e636f6d2f6e66742f00000000


Loading...
Loading
Loading...
Loading
[ 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.