ETH Price: $3,905.10 (+0.53%)

Token

DeadTownZeds (ZEDS)
 

Overview

Max Total Supply

6,661 ZEDS

Holders

1,829

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
refrigeratedcrypto.eth
Balance
1 ZEDS
0x269545Ec43E4579FFf258A93D924C99e89698821
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

They may be Zombies but they’re YOUR Zombies. From freshly bitten to barely there, you choose the look of your "Zeds". Your choices create your characters.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
DeadTownZeds

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 5000 runs

Other Settings:
default evmVersion
File 1 of 13 : DeadTownZeds.sol
// SPDX-License-Identifier: GPL-3.0
// Author: Pagzi Tech Inc. | 2022
// DeadTownZeds | 2022
pragma solidity >=0.8.0 <0.9.0;
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC721Enumerable.sol";

contract DeadTownZeds is ERC721Enumerable, Ownable {
    string public baseURI;
    uint256 public cost = 0.042 ether;
    address pagzi = 0xF4617b57ad853f4Bc2Ce3f06C0D74958c240633c;
    address macroverse = 0x02F91c73C0B3D50C79821f2F205Cd5268f0D7E57;
    address steven = 0x275715709500a38a86fA48D280Ed88D201681601;

    //date settings
    uint256 public publicDate = 1644426000;
    uint256 public endDate = 1644512400;

    //mint passes/claims
    mapping(address => uint256) public mintPasses;
    address public proxyRegistryAddress;

    constructor(
    string memory _initBaseURI, 
    address _proxyRegistryAddress
    ) ERC721("DeadTownZeds", "ZEDS") {
    setBaseURI(_initBaseURI);
    proxyRegistryAddress = _proxyRegistryAddress;
    initMintPasses();
    }

    // external
    function mint(uint256 count) external payable{
    require((publicDate <= block.timestamp) && (endDate >= block.timestamp),"DATE");
    require(msg.value >= cost * count,"LOW");
    uint256 totalSupply = _owners.length;
    for(uint i; i < count; i++) { 
    _mint(_msgSender(), totalSupply + i + 1);
    }
    }
    function claim() external{
    uint256 totalSupply = _owners.length;
    require((publicDate <= block.timestamp) && (endDate >= block.timestamp));
    uint256 reserve = mintPasses[msg.sender];
    require(reserve > 0, "Low reserve");
    _mint(_msgSender(), totalSupply + 1);
    mintPasses[msg.sender] = reserve - 1;
    delete reserve;
    }
    //only owner
    function gift(uint[] calldata quantity, address[] calldata recipient) external onlyOwner{
    require(quantity.length == recipient.length, "Provide quantities and recipients" );
    uint256 totalSupply = _owners.length;
    for(uint i; i < recipient.length; ++i){
    for(uint j; j < quantity[i]; ++j){
    _mint(recipient[i], totalSupply + j + 1);
    }
    }
    }
    function setCost(uint256 _cost) external onlyOwner {
    cost = _cost;
    }
    function setPublicDate(uint256 _publicDate) external onlyOwner {
    publicDate = _publicDate;
    }
    function setEndDate(uint256 _endDate) external onlyOwner {
    endDate = _endDate;
    }
    function setDates(uint256 _publicDate, uint256 _endDate) external onlyOwner {
    publicDate = _publicDate;
    endDate = _endDate;
    }
    function setMintPass(address _address,uint256 _quantity) external onlyOwner {
    mintPasses[_address] = _quantity;
    }
    function setMintPasses(address[] calldata _addresses, uint256[] calldata _amounts) external onlyOwner {
    for(uint256 i; i < _addresses.length; i++){
    mintPasses[_addresses[i]] = _amounts[i];
    }
    }
    //internal
    function initMintPasses() internal {
    mintPasses[0x275715709500a38a86fA48D280Ed88D201681601] = 10;
    mintPasses[0xE2542857B06Ae5cdf7c4664f417e7a56312Da84E] = 5;
    mintPasses[0x68fFfD5e532f8ED2727ACFEd097Ee1D065030b9c] = 5;
    mintPasses[0x6fa1D14fB34C002c30419BbBFfD725e0A70B43Aa] = 5;
    mintPasses[0xF4617b57ad853f4Bc2Ce3f06C0D74958c240633c] = 10;
    mintPasses[0x8894802E3599EAA22e729a2DfFAab09c055eE84c] = 100;

    mintPasses[0xF1ff23e094C3f83C39d1F5deb92A3e72Ca501cFc] = 5;
    mintPasses[0x8500C52ca27f326D3a64B792aA215B1166503076] = 5;
	
	//winners
    mintPasses[0x2ad6623Ca66DC36610270fDd7327D904Be6305d7] = 1;
    mintPasses[0x815CD9963ed67Fc9a11b18C3f7523885dF2869F7] = 1;
    mintPasses[0x664D7462634fAC1815353A10f138750Ee11a91F6] = 1;
    mintPasses[0x04aFa47203132436Cd4aAFA10547304B25F7006B] = 1;
    mintPasses[0xa2116eB15F9DA56190d5Ac7f500101558b707968] = 1;
    mintPasses[0x2a5a847DFeF231ED9a680d32C3Bb39582423E72F] = 1;
    mintPasses[0x79c6174F46bD6a90f8d775887F90fBe7ba8A2ae3] = 1;
	
	//twitter contest
    mintPasses[0xB2E0f2fb1313FCD8870D683A812a35a483e4E843] = 1;
    mintPasses[0xD1570F6B6B37Ad73494A1a7199A2922b1C32b914] = 1;
    mintPasses[0x09129Fe9c5D4074B747814b8eCF6D1f43CC39AaC] = 1;
    mintPasses[0xfd86Fb68cbC6759Ed4cDd806303e756c53A93887] = 1;
    mintPasses[0xe16C26D3435DCCe67752fb5fEB0749F5e184d057] = 1;
    mintPasses[0xC6c8347F41916F09B5fa0553100762Dd148e79f8] = 1;
    mintPasses[0x67A50fF70d234D89B59Ed3DCBfAd65c4b96e1fa1] = 1;
    mintPasses[0x9Bc67600E69d5d2Ab62006ca878D95A894492005] = 1;
    mintPasses[0x71Fd9c2440D593AEb4d3C01322F3bcEE32E0712c] = 1;
    mintPasses[0x32B4Cc9c6ef7Ea5A3694403704c12AFc46786C03] = 1;
    }
    function setBaseURI(string memory _baseURI) public onlyOwner {
        baseURI = _baseURI;
    }
    function setProxyRegistryAddress(address _proxyRegistryAddress) external onlyOwner {
        proxyRegistryAddress = _proxyRegistryAddress;
    }
    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 burn(uint256 tokenId) public { 
        require(_isApprovedOrOwner(_msgSender(), tokenId), "Not approved to burn.");
        _burn(tokenId);
    }
    function tokensOfOwner(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) 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 withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(pagzi).transfer((balance * 200) / 1000);
        payable(macroverse).transfer((balance * 750) / 1000);
        payable(steven).transfer((balance * 50) / 1000);
    }
}

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

File 2 of 13 : ERC721Enumerable.sol
// SPDX-License-Identifier: GPL-3.0
// Author: Pagzi Tech Inc. | 2022
// DeadTownZeds | 2022
pragma solidity >=0.8.0 <0.9.0;
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 + 1;
    }

    /**
     * @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+1;
                else count++;
            }
        }
        revert("ERC721Enumerable: owner index out of bounds");
    }
}

File 3 of 13 : ERC721.sol
// SPDX-License-Identifier: GPL-3.0
// Author: Pagzi Tech Inc. | 2022
// DeadTownZeds | 2022
pragma solidity >=0.8.0 <0.9.0;
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 - 1];
        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 - 1];
    }

    /**
     * @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 + 1)  && _owners[tokenId - 1] != 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 - 1] = 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 - 1] = 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 - 1] = 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 13 : Address.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.6;
library Address {
    function isContract(address account) internal view returns (bool) {
        uint size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }
}

File 5 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

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 13 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

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 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

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 8 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 9 of 13 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

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 10 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

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 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

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 13 of 13 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_initBaseURI","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":[{"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":[],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"quantity","type":"uint256[]"},{"internalType":"address[]","name":"recipient","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","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":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintPasses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicDate","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":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"},{"internalType":"uint256","name":"_endDate","type":"uint256"}],"name":"setDates","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_endDate","type":"uint256"}],"name":"setEndDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"setMintPass","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"}],"name":"setMintPasses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_proxyRegistryAddress","type":"address"}],"name":"setProxyRegistryAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicDate","type":"uint256"}],"name":"setPublicDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052669536c708910000600755600880546001600160a01b031990811673f4617b57ad853f4bc2ce3f06c0d74958c240633c179091556009805482167302f91c73c0b3d50c79821f2f205cd5268f0d7e57179055600a805490911673275715709500a38a86fa48d280ed88d201681601179055636203f310600b556362054490600c553480156200009257600080fd5b506040516200394e3803806200394e833981016040819052620000b591620006b7565b604080518082018252600c81526b44656164546f776e5a65647360a01b6020808301918252835180850190945260048452635a45445360e01b9084015281519192916200010591600091620005de565b5080516200011b906001906020840190620005de565b50505062000138620001326200051060201b60201c565b62000514565b620001438262000566565b600e80546001600160a01b0319166001600160a01b03831617905562000508600d602052600a7f7427c42db2f07f7c72e39df19972d633e8b9528ef979c416dfd2490f21c4c6c681905560057f3ac8effb812de2c4f0cdfe856ac2f2603ba6128077896167e56c2b29db3b2cce8190557f66d40639b80c8caf54e9d73b8290cbe9e14b3b6f0ece083204c4d5fec5f511108190557fe1b96ecf9465181db47fc7f5dadc9fe0602d3e06927ccc9809b3b51391236ef48190557f7f8472b8f31760cd0ba47051aaa16c4eacbd20b99d000ada2e5e61559839622c9190915560647fbad39096b8a93ad1f53fc4b48c4e88f7e4422ea2857a073128a6fcef9227f2c4557f6ac124596b7212e64c664fd92d49474d21f49d1ead362b7e0eac905df14aa35e8190557f3f57c9e72eea657162d5d0c792444b1765f9a16486b32e481a2ad762ec44116d5560017fbd26714a1fc5e80de26b14fe9265ddb7da5fda9b1715a470da191f31ec9e61958190557f53eeb1d4ac87c1436a7ca46399bac4a973312f499f6186dffa194950a802305f8190557f4a5bac17efe537749ab1a87e9efc977cc766a3d69b6451fbd12c83e7beb1d8288190557fa4e793c8d01ad02096146f67da3de331c05e7e8970ccd8dd4322030c8258531d8190557fb59b72e3c462a09be4dac4092b15c128cab5b24e8a6f9a90ea2be5a2a258694a8190557fa323e2142edd522a8c8f4cec586bc0b141c813c6992b81d3f4970406333472bd8190557fa3bd6200a31b6e0ba8503821abaf3d1fd3fc493fff317e5df549366d274f180c8190557ffe47c9750b718d4b5231a8119d1c61b86b9a7668cca5f075ff6dc8945e40f1318190557f5ed37dfe0d4c724171a22b08d169b9c4819d8f5d343ebed372389e32d571b2ae8190557f93f7e55d0fc6ebb965e4f72272969dd94807ed8fec1ecdf544b8b338290775af8190557f4f2a1d73ec6cbc011139e743d15e674619436c76ff4c65fbe56b4984860d382d8190557fe37b0d673f599a402dd13b3a76205a2ac48037115cd64135d8c88fa703143dcb8190557f9a9b3e037245cbb20853a9114f23dbb456ca2e17dac5fd7f1722d552e3a2c1598190557f32019c773c6a7565cf2a9258b9a2918b5a16e34e537de1c1ee531d2800623e918190557f94f7607727f22b2922a6e3a8e454cbdbc76f19cc05751edfb39836b8d2015f2f8190557fdfbc7a24df698e1606f7d94c7b5bef380ce97ae3f0e4b388a5b129a40eee515e8190557332b4cc9c6ef7ea5a3694403704c12afc46786c036000527ff9907a4047aa5c5a5f5d526484586e5a38a3758ed2a35922ab85484b58c8f7d555565b5050620007e5565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6005546001600160a01b03163314620005c55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620005da906006906020840190620005de565b5050565b828054620005ec90620007a8565b90600052602060002090601f0160209004810192826200061057600085556200065b565b82601f106200062b57805160ff19168380011785556200065b565b828001600101855582156200065b579182015b828111156200065b5782518255916020019190600101906200063e565b50620006699291506200066d565b5090565b5b808211156200066957600081556001016200066e565b634e487b7160e01b600052604160045260246000fd5b80516001600160a01b0381168114620006b257600080fd5b919050565b60008060408385031215620006cb57600080fd5b82516001600160401b0380821115620006e357600080fd5b818501915085601f830112620006f857600080fd5b8151818111156200070d576200070d62000684565b604051601f8201601f19908116603f0116810190838211818310171562000738576200073862000684565b816040528281526020935088848487010111156200075557600080fd5b600091505b828210156200077957848201840151818301850152908301906200075a565b828211156200078b5760008484830101525b95506200079d9150508582016200069a565b925050509250929050565b600181811c90821680620007bd57607f821691505b60208210811415620007df57634e487b7160e01b600052602260045260246000fd5b50919050565b61315980620007f56000396000f3fe6080604052600436106102d15760003560e01c80636c0360eb11610179578063b88d4fde116100d6578063dedf141e1161008a578063ea9d6d2911610064578063ea9d6d29146107a0578063f2fde38b146107c0578063f3993d11146107e057600080fd5b8063dedf141e14610740578063e928ff9f14610760578063e985e9c51461078057600080fd5b8063c87b56dd116100bb578063c87b56dd146106e0578063cd7c032614610700578063d26ea6c01461072057600080fd5b8063b88d4fde146106aa578063c24a0f8b146106ca57600080fd5b80638f1bca111161012d57806396ea3a471161011257806396ea3a4714610657578063a0712d6814610677578063a22cb4651461068a57600080fd5b80638f1bca111461061557806395d89b411461064257600080fd5b8063715018a61161015e578063715018a6146105b55780638462151c146105ca5780638da5cb5b146105f757600080fd5b80636c0360eb1461058057806370a082311461059557600080fd5b806342842e0e116102325780634e71d92d116101e657806355f804b3116101c057806355f804b3146105205780635a4fee30146105405780636352211e1461056057600080fd5b80634e71d92d146104d55780634f6ccce7146104ea57806351463d5b1461050a57600080fd5b806344a0d68a1161021757806344a0d68a1461047557806348466402146104955780634d44660c146104b557600080fd5b806342842e0e1461043557806342966c681461045557600080fd5b806318160ddd116102895780632f745c591161026e5780632f745c59146103e05780633784f000146104005780633ccfd60b1461042057600080fd5b806318160ddd146103ab57806323b872dd146103c057600080fd5b8063081812fc116102ba578063081812fc1461032d578063095ea7b31461036557806313faede61461038757600080fd5b806301ffc9a7146102d657806306fdde031461030b575b600080fd5b3480156102e257600080fd5b506102f66102f13660046127fa565b610800565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b5061032061085c565b604051610302919061286f565b34801561033957600080fd5b5061034d610348366004612882565b6108ee565b6040516001600160a01b039091168152602001610302565b34801561037157600080fd5b506103856103803660046128b0565b61099f565b005b34801561039357600080fd5b5061039d60075481565b604051908152602001610302565b3480156103b757600080fd5b5060025461039d565b3480156103cc57600080fd5b506103856103db3660046128dc565b610ad1565b3480156103ec57600080fd5b5061039d6103fb3660046128b0565b610b59565b34801561040c57600080fd5b5061038561041b366004612882565b610cc3565b34801561042c57600080fd5b50610385610d22565b34801561044157600080fd5b506103856104503660046128dc565b610e72565b34801561046157600080fd5b50610385610470366004612882565b610e8d565b34801561048157600080fd5b50610385610490366004612882565b610eee565b3480156104a157600080fd5b506103856104b03660046128b0565b610f4d565b3480156104c157600080fd5b506102f66104d0366004612969565b610fc3565b3480156104e157600080fd5b50610385611045565b3480156104f657600080fd5b5061039d610505366004612882565b6110f5565b34801561051657600080fd5b5061039d600b5481565b34801561052c57600080fd5b5061038561053b366004612a76565b61117a565b34801561054c57600080fd5b5061038561055b366004612b5f565b6111e7565b34801561056c57600080fd5b5061034d61057b366004612882565b611231565b34801561058c57600080fd5b506103206112db565b3480156105a157600080fd5b5061039d6105b0366004612be8565b611369565b3480156105c157600080fd5b5061038561144a565b3480156105d657600080fd5b506105ea6105e5366004612be8565b6114b0565b6040516103029190612c05565b34801561060357600080fd5b506005546001600160a01b031661034d565b34801561062157600080fd5b5061039d610630366004612be8565b600d6020526000908152604090205481565b34801561064e57600080fd5b50610320611569565b34801561066357600080fd5b50610385610672366004612c49565b611578565b610385610685366004612882565b6116e0565b34801561069657600080fd5b506103856106a5366004612cb5565b6117cd565b3480156106b657600080fd5b506103856106c5366004612cf3565b6118b0565b3480156106d657600080fd5b5061039d600c5481565b3480156106ec57600080fd5b506103206106fb366004612882565b61193e565b34801561070c57600080fd5b50600e5461034d906001600160a01b031681565b34801561072c57600080fd5b5061038561073b366004612be8565b6119c7565b34801561074c57600080fd5b5061038561075b366004612d53565b611a5b565b34801561076c57600080fd5b5061038561077b366004612c49565b611ac0565b34801561078c57600080fd5b506102f661079b366004612d75565b611b95565b3480156107ac57600080fd5b506103856107bb366004612882565b611c6f565b3480156107cc57600080fd5b506103856107db366004612be8565b611cce565b3480156107ec57600080fd5b506103856107fb366004612da3565b611dad565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610856575061085682611def565b92915050565b60606000805461086b90612e05565b80601f016020809104026020016040519081016040528092919081815260200182805461089790612e05565b80156108e45780601f106108b9576101008083540402835291602001916108e4565b820191906000526020600020905b8154815290600101906020018083116108c757829003601f168201915b5050505050905090565b60006108f982611ed2565b6109705760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6003600061097f600185612e88565b81526020810191909152604001600020546001600160a01b031692915050565b60006109aa82611231565b9050806001600160a01b0316836001600160a01b03161415610a345760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610967565b336001600160a01b0382161480610a505750610a508133611b95565b610ac25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610967565b610acc8383611f28565b505050565b610adc335b82611fc0565b610b4e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610967565b610acc838383612093565b6000610b6483611369565b8210610bd85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610967565b6000805b600254811015610c545760028181548110610bf957610bf9612e9f565b6000918252602090912001546001600160a01b0386811691161415610c425783821415610c3457610c2b816001612ece565b92505050610856565b81610c3e81612ee6565b9250505b80610c4c81612ee6565b915050610bdc565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610967565b6005546001600160a01b03163314610d1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600c55565b6005546001600160a01b03163314610d7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b60085447906001600160a01b03166108fc6103e8610d9b8460c8612f1f565b610da59190612f8b565b6040518115909202916000818181858888f19350505050158015610dcd573d6000803e3d6000fd5b506009546001600160a01b03166108fc6103e8610dec846102ee612f1f565b610df69190612f8b565b6040518115909202916000818181858888f19350505050158015610e1e573d6000803e3d6000fd5b50600a546001600160a01b03166108fc6103e8610e3c846032612f1f565b610e469190612f8b565b6040518115909202916000818181858888f19350505050158015610e6e573d6000803e3d6000fd5b5050565b610acc838383604051806020016040528060008152506118b0565b610e9633610ad6565b610ee25760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610967565b610eeb81612238565b50565b6005546001600160a01b03163314610f485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600755565b6005546001600160a01b03163314610fa75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b6001600160a01b039091166000908152600d6020526040902055565b6000805b8281101561103857846001600160a01b03166002858584818110610fed57610fed612e9f565b905060200201358154811061100457611004612e9f565b6000918252602090912001546001600160a01b03161461102857600091505061103e565b61103181612ee6565b9050610fc7565b50600190505b9392505050565b600254600b54421080159061105c575042600c5410155b61106557600080fd5b336000908152600d6020526040902054806110c25760405162461bcd60e51b815260206004820152600b60248201527f4c6f7720726573657276650000000000000000000000000000000000000000006044820152606401610967565b6110d6336110d1846001612ece565b6122dc565b6110e1600182612e88565b336000908152600d60205260409020555050565b600254600090821061116f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610967565b610856826001612ece565b6005546001600160a01b031633146111d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b8051610e6e906006906020840190612733565b60005b825181101561122a57611218858585848151811061120a5761120a612e9f565b6020026020010151856118b0565b8061122281612ee6565b9150506111ea565b5050505050565b6000806002611241600185612e88565b8154811061125157611251612e9f565b6000918252602090912001546001600160a01b03169050806108565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610967565b600680546112e890612e05565b80601f016020809104026020016040519081016040528092919081815260200182805461131490612e05565b80156113615780601f1061133657610100808354040283529160200191611361565b820191906000526020600020905b81548152906001019060200180831161134457829003601f168201915b505050505081565b60006001600160a01b0382166113e75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610967565b6000805b600254811015611443576002818154811061140857611408612e9f565b6000918252602090912001546001600160a01b03858116911614156114335761143082612ee6565b91505b61143c81612ee6565b90506113eb565b5092915050565b6005546001600160a01b031633146114a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b6114ae6000612370565b565b606060006114bd83611369565b9050806114de5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156114f9576114f96129be565b604051908082528060200260200182016040528015611522578160200160208202803683370190505b50905060005b828110156114d65761153a8582610b59565b82828151811061154c5761154c612e9f565b60209081029190910101528061156181612ee6565b915050611528565b60606001805461086b90612e05565b6005546001600160a01b031633146115d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b8281146116475760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610967565b60025460005b828110156116d85760005b86868381811061166a5761166a612e9f565b905060200201358110156116c7576116b785858481811061168d5761168d612e9f565b90506020020160208101906116a29190612be8565b6116ac8386612ece565b6110d1906001612ece565b6116c081612ee6565b9050611658565b506116d181612ee6565b905061164d565b505050505050565b42600b54111580156116f4575042600c5410155b6117425760405162461bcd60e51b81526004016109679060208082526004908201527f4441544500000000000000000000000000000000000000000000000000000000604082015260600190565b806007546117509190612f1f565b34101561179f5760405162461bcd60e51b815260206004820152600360248201527f4c4f5700000000000000000000000000000000000000000000000000000000006044820152606401610967565b60025460005b82811015610acc576117bb336116ac8385612ece565b806117c581612ee6565b9150506117a5565b6001600160a01b0382163314156118265760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610967565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6118ba3383611fc0565b61192c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610967565b611938848484846123da565b50505050565b606061194982611ed2565b6119955760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610967565b60066119a083612463565b6040516020016119b1929190612fbb565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611a215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600e80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611ab55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600b91909155600c55565b6005546001600160a01b03163314611b1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b60005b8381101561122a57828282818110611b3757611b37612e9f565b90506020020135600d6000878785818110611b5457611b54612e9f565b9050602002016020810190611b699190612be8565b6001600160a01b0316815260208101919091526040016000205580611b8d81612ee6565b915050611b1d565b600e546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c249190613099565b6001600160a01b03161415611c3d576001915050610856565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611cc95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600b55565b6005546001600160a01b03163314611d285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b6001600160a01b038116611da45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610967565b610eeb81612370565b60005b815181101561193857611ddd8484848481518110611dd057611dd0612e9f565b6020026020010151610ad1565b80611de781612ee6565b915050611db0565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480611e8257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061085657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610856565b600254600090611ee3906001612ece565b82108015610856575060006002611efb600185612e88565b81548110611f0b57611f0b612e9f565b6000918252602090912001546001600160a01b0316141592915050565b8160036000611f38600185612e88565b8152602081019190915260400160002080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392831617905581908316611f8782611231565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fcb82611ed2565b61203d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610967565b600061204883611231565b9050806001600160a01b0316846001600160a01b031614806120835750836001600160a01b0316612078846108ee565b6001600160a01b0316145b80611c675750611c678185611b95565b826001600160a01b03166120a682611231565b6001600160a01b0316146121225760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610967565b6001600160a01b03821661219d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610967565b6121a8600082611f28565b8160026121b6600184612e88565b815481106121c6576121c6612e9f565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600061224382611231565b9050612250600083611f28565b6000600261225f600185612e88565b8154811061226f5761226f612e9f565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123e5848484612093565b6123f184848484612595565b6119385760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610967565b6060816124a357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156124cd57806124b781612ee6565b91506124c69050600a83612f8b565b91506124a7565b60008167ffffffffffffffff8111156124e8576124e86129be565b6040519080825280601f01601f191660200182016040528015612512576020820181803683370190505b5090505b8415611c6757612527600183612e88565b9150612534600a866130b6565b61253f906030612ece565b60f81b81838151811061255457612554612e9f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061258e600a86612f8b565b9450612516565b60006001600160a01b0384163b15612728576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906125f29033908990889088906004016130ca565b6020604051808303816000875af192505050801561262d575060408051601f3d908101601f1916820190925261262a91810190613106565b60015b6126dd573d80801561265b576040519150601f19603f3d011682016040523d82523d6000602084013e612660565b606091505b5080516126d55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610967565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611c67565b506001949350505050565b82805461273f90612e05565b90600052602060002090601f01602090048101928261276157600085556127a7565b82601f1061277a57805160ff19168380011785556127a7565b828001600101855582156127a7579182015b828111156127a757825182559160200191906001019061278c565b506127b39291506127b7565b5090565b5b808211156127b357600081556001016127b8565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610eeb57600080fd5b60006020828403121561280c57600080fd5b813561103e816127cc565b60005b8381101561283257818101518382015260200161281a565b838111156119385750506000910152565b6000815180845261285b816020860160208601612817565b601f01601f19169290920160200192915050565b60208152600061103e6020830184612843565b60006020828403121561289457600080fd5b5035919050565b6001600160a01b0381168114610eeb57600080fd5b600080604083850312156128c357600080fd5b82356128ce8161289b565b946020939093013593505050565b6000806000606084860312156128f157600080fd5b83356128fc8161289b565b9250602084013561290c8161289b565b929592945050506040919091013590565b60008083601f84011261292f57600080fd5b50813567ffffffffffffffff81111561294757600080fd5b6020830191508360208260051b850101111561296257600080fd5b9250929050565b60008060006040848603121561297e57600080fd5b83356129898161289b565b9250602084013567ffffffffffffffff8111156129a557600080fd5b6129b18682870161291d565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a1657612a166129be565b604052919050565b600067ffffffffffffffff831115612a3857612a386129be565b612a4b6020601f19601f860116016129ed565b9050828152838383011115612a5f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612a8857600080fd5b813567ffffffffffffffff811115612a9f57600080fd5b8201601f81018413612ab057600080fd5b611c6784823560208401612a1e565b600082601f830112612ad057600080fd5b8135602067ffffffffffffffff821115612aec57612aec6129be565b8160051b612afb8282016129ed565b9283528481018201928281019087851115612b1557600080fd5b83870192505b84831015612b3457823582529183019190830190612b1b565b979650505050505050565b600082601f830112612b5057600080fd5b61103e83833560208501612a1e565b60008060008060808587031215612b7557600080fd5b8435612b808161289b565b93506020850135612b908161289b565b9250604085013567ffffffffffffffff80821115612bad57600080fd5b612bb988838901612abf565b93506060870135915080821115612bcf57600080fd5b50612bdc87828801612b3f565b91505092959194509250565b600060208284031215612bfa57600080fd5b813561103e8161289b565b6020808252825182820181905260009190848201906040850190845b81811015612c3d57835183529284019291840191600101612c21565b50909695505050505050565b60008060008060408587031215612c5f57600080fd5b843567ffffffffffffffff80821115612c7757600080fd5b612c838883890161291d565b90965094506020870135915080821115612c9c57600080fd5b50612ca98782880161291d565b95989497509550505050565b60008060408385031215612cc857600080fd5b8235612cd38161289b565b915060208301358015158114612ce857600080fd5b809150509250929050565b60008060008060808587031215612d0957600080fd5b8435612d148161289b565b93506020850135612d248161289b565b925060408501359150606085013567ffffffffffffffff811115612d4757600080fd5b612bdc87828801612b3f565b60008060408385031215612d6657600080fd5b50508035926020909101359150565b60008060408385031215612d8857600080fd5b8235612d938161289b565b91506020830135612ce88161289b565b600080600060608486031215612db857600080fd5b8335612dc38161289b565b92506020840135612dd38161289b565b9150604084013567ffffffffffffffff811115612def57600080fd5b612dfb86828701612abf565b9150509250925092565b600181811c90821680612e1957607f821691505b60208210811415612e53577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612e9a57612e9a612e59565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115612ee157612ee1612e59565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f1857612f18612e59565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f5757612f57612e59565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612f9a57612f9a612f5c565b500490565b60008151612fb1818560208601612817565b9290920192915050565b600080845481600182811c915080831680612fd757607f831692505b6020808410821415613010577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613024576001811461305357613080565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613080565b60008b81526020902060005b868110156130785781548b82015290850190830161305f565b505084890196505b5050505050506130908185612f9f565b95945050505050565b6000602082840312156130ab57600080fd5b815161103e8161289b565b6000826130c5576130c5612f5c565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526130fc6080830184612843565b9695505050505050565b60006020828403121561311857600080fd5b815161103e816127cc56fea2646970667358221220520450c71a3854c0477763bcd9c83a6358327a7a71489d99fa8600e372d1ab8a64736f6c634300080b00330000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f64656164746f776e2e6d7668712e7a6f6e652f6d6574612f

Deployed Bytecode

0x6080604052600436106102d15760003560e01c80636c0360eb11610179578063b88d4fde116100d6578063dedf141e1161008a578063ea9d6d2911610064578063ea9d6d29146107a0578063f2fde38b146107c0578063f3993d11146107e057600080fd5b8063dedf141e14610740578063e928ff9f14610760578063e985e9c51461078057600080fd5b8063c87b56dd116100bb578063c87b56dd146106e0578063cd7c032614610700578063d26ea6c01461072057600080fd5b8063b88d4fde146106aa578063c24a0f8b146106ca57600080fd5b80638f1bca111161012d57806396ea3a471161011257806396ea3a4714610657578063a0712d6814610677578063a22cb4651461068a57600080fd5b80638f1bca111461061557806395d89b411461064257600080fd5b8063715018a61161015e578063715018a6146105b55780638462151c146105ca5780638da5cb5b146105f757600080fd5b80636c0360eb1461058057806370a082311461059557600080fd5b806342842e0e116102325780634e71d92d116101e657806355f804b3116101c057806355f804b3146105205780635a4fee30146105405780636352211e1461056057600080fd5b80634e71d92d146104d55780634f6ccce7146104ea57806351463d5b1461050a57600080fd5b806344a0d68a1161021757806344a0d68a1461047557806348466402146104955780634d44660c146104b557600080fd5b806342842e0e1461043557806342966c681461045557600080fd5b806318160ddd116102895780632f745c591161026e5780632f745c59146103e05780633784f000146104005780633ccfd60b1461042057600080fd5b806318160ddd146103ab57806323b872dd146103c057600080fd5b8063081812fc116102ba578063081812fc1461032d578063095ea7b31461036557806313faede61461038757600080fd5b806301ffc9a7146102d657806306fdde031461030b575b600080fd5b3480156102e257600080fd5b506102f66102f13660046127fa565b610800565b60405190151581526020015b60405180910390f35b34801561031757600080fd5b5061032061085c565b604051610302919061286f565b34801561033957600080fd5b5061034d610348366004612882565b6108ee565b6040516001600160a01b039091168152602001610302565b34801561037157600080fd5b506103856103803660046128b0565b61099f565b005b34801561039357600080fd5b5061039d60075481565b604051908152602001610302565b3480156103b757600080fd5b5060025461039d565b3480156103cc57600080fd5b506103856103db3660046128dc565b610ad1565b3480156103ec57600080fd5b5061039d6103fb3660046128b0565b610b59565b34801561040c57600080fd5b5061038561041b366004612882565b610cc3565b34801561042c57600080fd5b50610385610d22565b34801561044157600080fd5b506103856104503660046128dc565b610e72565b34801561046157600080fd5b50610385610470366004612882565b610e8d565b34801561048157600080fd5b50610385610490366004612882565b610eee565b3480156104a157600080fd5b506103856104b03660046128b0565b610f4d565b3480156104c157600080fd5b506102f66104d0366004612969565b610fc3565b3480156104e157600080fd5b50610385611045565b3480156104f657600080fd5b5061039d610505366004612882565b6110f5565b34801561051657600080fd5b5061039d600b5481565b34801561052c57600080fd5b5061038561053b366004612a76565b61117a565b34801561054c57600080fd5b5061038561055b366004612b5f565b6111e7565b34801561056c57600080fd5b5061034d61057b366004612882565b611231565b34801561058c57600080fd5b506103206112db565b3480156105a157600080fd5b5061039d6105b0366004612be8565b611369565b3480156105c157600080fd5b5061038561144a565b3480156105d657600080fd5b506105ea6105e5366004612be8565b6114b0565b6040516103029190612c05565b34801561060357600080fd5b506005546001600160a01b031661034d565b34801561062157600080fd5b5061039d610630366004612be8565b600d6020526000908152604090205481565b34801561064e57600080fd5b50610320611569565b34801561066357600080fd5b50610385610672366004612c49565b611578565b610385610685366004612882565b6116e0565b34801561069657600080fd5b506103856106a5366004612cb5565b6117cd565b3480156106b657600080fd5b506103856106c5366004612cf3565b6118b0565b3480156106d657600080fd5b5061039d600c5481565b3480156106ec57600080fd5b506103206106fb366004612882565b61193e565b34801561070c57600080fd5b50600e5461034d906001600160a01b031681565b34801561072c57600080fd5b5061038561073b366004612be8565b6119c7565b34801561074c57600080fd5b5061038561075b366004612d53565b611a5b565b34801561076c57600080fd5b5061038561077b366004612c49565b611ac0565b34801561078c57600080fd5b506102f661079b366004612d75565b611b95565b3480156107ac57600080fd5b506103856107bb366004612882565b611c6f565b3480156107cc57600080fd5b506103856107db366004612be8565b611cce565b3480156107ec57600080fd5b506103856107fb366004612da3565b611dad565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610856575061085682611def565b92915050565b60606000805461086b90612e05565b80601f016020809104026020016040519081016040528092919081815260200182805461089790612e05565b80156108e45780601f106108b9576101008083540402835291602001916108e4565b820191906000526020600020905b8154815290600101906020018083116108c757829003601f168201915b5050505050905090565b60006108f982611ed2565b6109705760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b6003600061097f600185612e88565b81526020810191909152604001600020546001600160a01b031692915050565b60006109aa82611231565b9050806001600160a01b0316836001600160a01b03161415610a345760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610967565b336001600160a01b0382161480610a505750610a508133611b95565b610ac25760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610967565b610acc8383611f28565b505050565b610adc335b82611fc0565b610b4e5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610967565b610acc838383612093565b6000610b6483611369565b8210610bd85760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610967565b6000805b600254811015610c545760028181548110610bf957610bf9612e9f565b6000918252602090912001546001600160a01b0386811691161415610c425783821415610c3457610c2b816001612ece565b92505050610856565b81610c3e81612ee6565b9250505b80610c4c81612ee6565b915050610bdc565b5060405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610967565b6005546001600160a01b03163314610d1d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600c55565b6005546001600160a01b03163314610d7c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b60085447906001600160a01b03166108fc6103e8610d9b8460c8612f1f565b610da59190612f8b565b6040518115909202916000818181858888f19350505050158015610dcd573d6000803e3d6000fd5b506009546001600160a01b03166108fc6103e8610dec846102ee612f1f565b610df69190612f8b565b6040518115909202916000818181858888f19350505050158015610e1e573d6000803e3d6000fd5b50600a546001600160a01b03166108fc6103e8610e3c846032612f1f565b610e469190612f8b565b6040518115909202916000818181858888f19350505050158015610e6e573d6000803e3d6000fd5b5050565b610acc838383604051806020016040528060008152506118b0565b610e9633610ad6565b610ee25760405162461bcd60e51b815260206004820152601560248201527f4e6f7420617070726f76656420746f206275726e2e00000000000000000000006044820152606401610967565b610eeb81612238565b50565b6005546001600160a01b03163314610f485760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600755565b6005546001600160a01b03163314610fa75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b6001600160a01b039091166000908152600d6020526040902055565b6000805b8281101561103857846001600160a01b03166002858584818110610fed57610fed612e9f565b905060200201358154811061100457611004612e9f565b6000918252602090912001546001600160a01b03161461102857600091505061103e565b61103181612ee6565b9050610fc7565b50600190505b9392505050565b600254600b54421080159061105c575042600c5410155b61106557600080fd5b336000908152600d6020526040902054806110c25760405162461bcd60e51b815260206004820152600b60248201527f4c6f7720726573657276650000000000000000000000000000000000000000006044820152606401610967565b6110d6336110d1846001612ece565b6122dc565b6110e1600182612e88565b336000908152600d60205260409020555050565b600254600090821061116f5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610967565b610856826001612ece565b6005546001600160a01b031633146111d45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b8051610e6e906006906020840190612733565b60005b825181101561122a57611218858585848151811061120a5761120a612e9f565b6020026020010151856118b0565b8061122281612ee6565b9150506111ea565b5050505050565b6000806002611241600185612e88565b8154811061125157611251612e9f565b6000918252602090912001546001600160a01b03169050806108565760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610967565b600680546112e890612e05565b80601f016020809104026020016040519081016040528092919081815260200182805461131490612e05565b80156113615780601f1061133657610100808354040283529160200191611361565b820191906000526020600020905b81548152906001019060200180831161134457829003601f168201915b505050505081565b60006001600160a01b0382166113e75760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610967565b6000805b600254811015611443576002818154811061140857611408612e9f565b6000918252602090912001546001600160a01b03858116911614156114335761143082612ee6565b91505b61143c81612ee6565b90506113eb565b5092915050565b6005546001600160a01b031633146114a45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b6114ae6000612370565b565b606060006114bd83611369565b9050806114de5760408051600080825260208201909252905b509392505050565b60008167ffffffffffffffff8111156114f9576114f96129be565b604051908082528060200260200182016040528015611522578160200160208202803683370190505b50905060005b828110156114d65761153a8582610b59565b82828151811061154c5761154c612e9f565b60209081029190910101528061156181612ee6565b915050611528565b60606001805461086b90612e05565b6005546001600160a01b031633146115d25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b8281146116475760405162461bcd60e51b815260206004820152602160248201527f50726f76696465207175616e74697469657320616e6420726563697069656e7460448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610967565b60025460005b828110156116d85760005b86868381811061166a5761166a612e9f565b905060200201358110156116c7576116b785858481811061168d5761168d612e9f565b90506020020160208101906116a29190612be8565b6116ac8386612ece565b6110d1906001612ece565b6116c081612ee6565b9050611658565b506116d181612ee6565b905061164d565b505050505050565b42600b54111580156116f4575042600c5410155b6117425760405162461bcd60e51b81526004016109679060208082526004908201527f4441544500000000000000000000000000000000000000000000000000000000604082015260600190565b806007546117509190612f1f565b34101561179f5760405162461bcd60e51b815260206004820152600360248201527f4c4f5700000000000000000000000000000000000000000000000000000000006044820152606401610967565b60025460005b82811015610acc576117bb336116ac8385612ece565b806117c581612ee6565b9150506117a5565b6001600160a01b0382163314156118265760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610967565b3360008181526004602090815260408083206001600160a01b0387168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6118ba3383611fc0565b61192c5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610967565b611938848484846123da565b50505050565b606061194982611ed2565b6119955760405162461bcd60e51b815260206004820152601560248201527f546f6b656e20646f6573206e6f742065786973742e00000000000000000000006044820152606401610967565b60066119a083612463565b6040516020016119b1929190612fbb565b6040516020818303038152906040529050919050565b6005546001600160a01b03163314611a215760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600e80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6005546001600160a01b03163314611ab55760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600b91909155600c55565b6005546001600160a01b03163314611b1a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b60005b8381101561122a57828282818110611b3757611b37612e9f565b90506020020135600d6000878785818110611b5457611b54612e9f565b9050602002016020810190611b699190612be8565b6001600160a01b0316815260208101919091526040016000205580611b8d81612ee6565b915050611b1d565b600e546040517fc45527910000000000000000000000000000000000000000000000000000000081526001600160a01b03848116600483015260009281169190841690829063c455279190602401602060405180830381865afa158015611c00573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c249190613099565b6001600160a01b03161415611c3d576001915050610856565b6001600160a01b0380851660009081526004602090815260408083209387168352929052205460ff165b949350505050565b6005546001600160a01b03163314611cc95760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b600b55565b6005546001600160a01b03163314611d285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610967565b6001600160a01b038116611da45760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610967565b610eeb81612370565b60005b815181101561193857611ddd8484848481518110611dd057611dd0612e9f565b6020026020010151610ad1565b80611de781612ee6565b915050611db0565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480611e8257507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061085657507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610856565b600254600090611ee3906001612ece565b82108015610856575060006002611efb600185612e88565b81548110611f0b57611f0b612e9f565b6000918252602090912001546001600160a01b0316141592915050565b8160036000611f38600185612e88565b8152602081019190915260400160002080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392831617905581908316611f8782611231565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611fcb82611ed2565b61203d5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610967565b600061204883611231565b9050806001600160a01b0316846001600160a01b031614806120835750836001600160a01b0316612078846108ee565b6001600160a01b0316145b80611c675750611c678185611b95565b826001600160a01b03166120a682611231565b6001600160a01b0316146121225760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610967565b6001600160a01b03821661219d5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610967565b6121a8600082611f28565b8160026121b6600184612e88565b815481106121c6576121c6612e9f565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b600061224382611231565b9050612250600083611f28565b6000600261225f600185612e88565b8154811061226f5761226f612e9f565b6000918252602082200180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0393841617905560405184928416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0385169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600580546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6123e5848484612093565b6123f184848484612595565b6119385760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610967565b6060816124a357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156124cd57806124b781612ee6565b91506124c69050600a83612f8b565b91506124a7565b60008167ffffffffffffffff8111156124e8576124e86129be565b6040519080825280601f01601f191660200182016040528015612512576020820181803683370190505b5090505b8415611c6757612527600183612e88565b9150612534600a866130b6565b61253f906030612ece565b60f81b81838151811061255457612554612e9f565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061258e600a86612f8b565b9450612516565b60006001600160a01b0384163b15612728576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a02906125f29033908990889088906004016130ca565b6020604051808303816000875af192505050801561262d575060408051601f3d908101601f1916820190925261262a91810190613106565b60015b6126dd573d80801561265b576040519150601f19603f3d011682016040523d82523d6000602084013e612660565b606091505b5080516126d55760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610967565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050611c67565b506001949350505050565b82805461273f90612e05565b90600052602060002090601f01602090048101928261276157600085556127a7565b82601f1061277a57805160ff19168380011785556127a7565b828001600101855582156127a7579182015b828111156127a757825182559160200191906001019061278c565b506127b39291506127b7565b5090565b5b808211156127b357600081556001016127b8565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114610eeb57600080fd5b60006020828403121561280c57600080fd5b813561103e816127cc565b60005b8381101561283257818101518382015260200161281a565b838111156119385750506000910152565b6000815180845261285b816020860160208601612817565b601f01601f19169290920160200192915050565b60208152600061103e6020830184612843565b60006020828403121561289457600080fd5b5035919050565b6001600160a01b0381168114610eeb57600080fd5b600080604083850312156128c357600080fd5b82356128ce8161289b565b946020939093013593505050565b6000806000606084860312156128f157600080fd5b83356128fc8161289b565b9250602084013561290c8161289b565b929592945050506040919091013590565b60008083601f84011261292f57600080fd5b50813567ffffffffffffffff81111561294757600080fd5b6020830191508360208260051b850101111561296257600080fd5b9250929050565b60008060006040848603121561297e57600080fd5b83356129898161289b565b9250602084013567ffffffffffffffff8111156129a557600080fd5b6129b18682870161291d565b9497909650939450505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612a1657612a166129be565b604052919050565b600067ffffffffffffffff831115612a3857612a386129be565b612a4b6020601f19601f860116016129ed565b9050828152838383011115612a5f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612a8857600080fd5b813567ffffffffffffffff811115612a9f57600080fd5b8201601f81018413612ab057600080fd5b611c6784823560208401612a1e565b600082601f830112612ad057600080fd5b8135602067ffffffffffffffff821115612aec57612aec6129be565b8160051b612afb8282016129ed565b9283528481018201928281019087851115612b1557600080fd5b83870192505b84831015612b3457823582529183019190830190612b1b565b979650505050505050565b600082601f830112612b5057600080fd5b61103e83833560208501612a1e565b60008060008060808587031215612b7557600080fd5b8435612b808161289b565b93506020850135612b908161289b565b9250604085013567ffffffffffffffff80821115612bad57600080fd5b612bb988838901612abf565b93506060870135915080821115612bcf57600080fd5b50612bdc87828801612b3f565b91505092959194509250565b600060208284031215612bfa57600080fd5b813561103e8161289b565b6020808252825182820181905260009190848201906040850190845b81811015612c3d57835183529284019291840191600101612c21565b50909695505050505050565b60008060008060408587031215612c5f57600080fd5b843567ffffffffffffffff80821115612c7757600080fd5b612c838883890161291d565b90965094506020870135915080821115612c9c57600080fd5b50612ca98782880161291d565b95989497509550505050565b60008060408385031215612cc857600080fd5b8235612cd38161289b565b915060208301358015158114612ce857600080fd5b809150509250929050565b60008060008060808587031215612d0957600080fd5b8435612d148161289b565b93506020850135612d248161289b565b925060408501359150606085013567ffffffffffffffff811115612d4757600080fd5b612bdc87828801612b3f565b60008060408385031215612d6657600080fd5b50508035926020909101359150565b60008060408385031215612d8857600080fd5b8235612d938161289b565b91506020830135612ce88161289b565b600080600060608486031215612db857600080fd5b8335612dc38161289b565b92506020840135612dd38161289b565b9150604084013567ffffffffffffffff811115612def57600080fd5b612dfb86828701612abf565b9150509250925092565b600181811c90821680612e1957607f821691505b60208210811415612e53577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082821015612e9a57612e9a612e59565b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60008219821115612ee157612ee1612e59565b500190565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612f1857612f18612e59565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612f5757612f57612e59565b500290565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082612f9a57612f9a612f5c565b500490565b60008151612fb1818560208601612817565b9290920192915050565b600080845481600182811c915080831680612fd757607f831692505b6020808410821415613010577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b818015613024576001811461305357613080565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650613080565b60008b81526020902060005b868110156130785781548b82015290850190830161305f565b505084890196505b5050505050506130908185612f9f565b95945050505050565b6000602082840312156130ab57600080fd5b815161103e8161289b565b6000826130c5576130c5612f5c565b500690565b60006001600160a01b038087168352808616602084015250836040830152608060608301526130fc6080830184612843565b9695505050505050565b60006020828403121561311857600080fd5b815161103e816127cc56fea2646970667358221220520450c71a3854c0477763bcd9c83a6358327a7a71489d99fa8600e372d1ab8a64736f6c634300080b0033

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

0000000000000000000000000000000000000000000000000000000000000040000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1000000000000000000000000000000000000000000000000000000000000002068747470733a2f2f64656164746f776e2e6d7668712e7a6f6e652f6d6574612f

-----Decoded View---------------
Arg [0] : _initBaseURI (string): https://deadtown.mvhq.zone/meta/
Arg [1] : _proxyRegistryAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [3] : 68747470733a2f2f64656164746f776e2e6d7668712e7a6f6e652f6d6574612f


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.