ETH Price: $3,485.99 (+2.64%)

Token

Invaders (ALIEN)
 

Overview

Max Total Supply

8,663 ALIEN

Holders

1,019

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

There are currently 10,000 Invaders among us. We are reaching out to you, the civilian population, for help. You must capture an alien and hold it in your wallet for further study. Our planet will not be safe until they’re all neutralized.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Invaders

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 9999 runs

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


pragma solidity ^0.8.0;

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

contract Invaders is ERC721 {
    uint public invader_cost = 0.02 ether ; //cost of 1 invader
    uint public max_amount = 51 ; //maximum invader amount/address
    uint public max_supply = 10000 ; //max total supply ever
    uint public start_unix = 1631237400 ;  //start minting time

    bool public live = true ; 

    address public OpenSeaRegistry_address  = 0xa5409ec958C83C3f309868babACA7c86DCB077c1; 

    address public owner ;

    uint public _totalSupply = 0 ;

    constructor() ERC721("Invaders", "ALIEN") {
        owner = msg.sender ; 
    }

    modifier onlyOwner() {
        require(msg.sender == owner, "INVADERS: sender not owner") ; 
        _;
    }

    /**
     * @dev transfer ownership of contract to newOwner 
     * @param newOwner new owner (note: must be EOA or implements withdraw() or funds might get lost)
     */
    function transferOwnership(address newOwner) onlyOwner external {
        require(newOwner != address(0), "INVADERS: cannot transfer ownership to blackhole") ; 
        owner = newOwner ; 
    }

    /**
     * @dev minting function for 1 invader
     */
    function mint() public payable {
        uint tokenID = totalSupply() ;
        require(live, "INVADERS: minting is not live") ; 
        require(block.timestamp >= start_unix, "INVADERS: minting has not yet started") ; 
        require(msg.value >= invader_cost, "INVADERS: msg.value not enough") ; 
        require(_totalSupply < max_supply, "INVADERS: max supply is reached") ; 
        _mint(msg.sender, tokenID) ; 
        _totalSupply += 1 ; 
        require(balanceOf(msg.sender) <= max_amount, "INVADERS: user balance exceeds max_amount") ;
    }    

    /**
    * @dev bulk mint invaders in 1 tx
    * @param amount amount of invaders to mint
    */
    function bulkMint(uint amount) public payable {
        require(live, "INVADERS: minting is not live") ; 
        require(block.timestamp >= start_unix, "INVADERS: minting has not yet started") ; 
        require(msg.value >= amount * invader_cost, "INVADERS: msg.value not enough") ; 
        require(_totalSupply + amount < max_supply, "INVADERS: max supply is reached") ; 

        for (uint i = _totalSupply; i < _totalSupply + amount; i++) {
            _mint(msg.sender, i) ; 
        }

        _totalSupply += amount ; 
        require(balanceOf(msg.sender) <= max_amount, "INVADERS: user balance exceeds max_amount") ;
    }

    /**
    * @dev mint on ether receival, automatically determines how many, division results in integer 
    */
    receive() payable external {
        uint _amount = msg.value / invader_cost ; 

        if (_amount == 1) {
            mint() ; 
        } else {
            bulkMint(_amount) ; 
        }
    }

    /**
    * @dev withdraw funds from contract to receiver, only owner can call
    * @param receiver, receiver of the funds (note: EOA or payable contract)
    */
    function withdraw(address payable receiver) onlyOwner external {
        require(receiver != address(0), "INVADERS: cannot withdaw to blackhole") ; 
        receiver.transfer(address(this).balance) ;
    }

    /**
    * @dev change live status to state, only owner can call
    * @param state, state of minting process (true = live)
     */
    function changeLive(bool state) onlyOwner external {
        require(state != live, "INVADERS: live equals input state") ; 
        live = state ; 
    }

    /**
    * @dev set OpenSea registry address for ApprovedForAll, only owner can call
    * @param _addr, address of OpenSea registry contract
     */
    function set_registry_address(address _addr) external onlyOwner {
        OpenSeaRegistry_address = _addr ; 
    }

    /**
    * @dev OpenSea: as another option for supporting trading without requiring meta transactions, override isApprovedForAll to whitelist OpenSea proxy accounts
    */
    function isApprovedForAll(
        address _owner,
        address _operator
    ) public override view returns (bool isOperator) {
        if (_operator == address(OpenSeaRegistry_address)) {
            return true;
        }
        
        return ERC721.isApprovedForAll(_owner, _operator);
    }

    /**
    * @dev Get total amount of existent invaders
    */
    function totalSupply() public view returns (uint) {
        return _totalSupply ; 
    }

    /** 
    * @dev returns baseTokenURI for metadata   
    */
    function baseTokenURI() public pure returns (string memory) {
        return "https://gateway.pinata.cloud/ipfs/QmedfUttbMsiiELCXrGwAr1Na2bHXdq9yPnvXpZR9b2DnR/";
    }

    /**
    * @dev Returns an URI for a given token ID, token must exist
    * @param _tokenId uint256 ID of the token to query
    */
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        require(exists(_tokenId));
        return concatenate(baseTokenURI(), uint2str(_tokenId), ".json") ; 
    }

    /**
    * @dev Returns whether the specified token exists
    * @param _tokenId uint256 ID of the token to query the existence of
    */
    function exists(uint256 _tokenId) public view returns (bool) {
        address _owner = ownerOf(_tokenId);
        return _owner != address(0);
    }

    /**
    * @dev concatenate two strings a, b and c in order: a + b + c
    * @param a, string a
    * @param b, string b
    * @param c, string c
    */
    function concatenate(string memory a, string memory b, string memory c) internal pure returns (string memory) {
        return string(abi.encodePacked(a, b, c));

    }

    /**
    * @dev convert uint to string (memory)
    * @param _i, integer to convert to string
    */
    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
        }
}

File 2 of 10 : ERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.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 3 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 10 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 5 of 10 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 6 of 10 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 8 of 10 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 9999
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"OpenSeaRegistry_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"bulkMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"changeLive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"invader_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"isOperator","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"live","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_amount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"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":"address","name":"_addr","type":"address"}],"name":"set_registry_address","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"start_unix","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405266470de4df820000600655603360075561271060085563613ab518600955600a80546001600160a81b03191674a5409ec958c83c3f309868babaca7c86dcb077c1011790556000600c553480156200005b57600080fd5b506040805180820182526008815267496e76616465727360c01b60208083019182528351808501909452600584526420a624a2a760d91b908401528151919291620000a991600091620000da565b508051620000bf906001906020840190620000da565b5050600b80546001600160a01b0319163317905550620001bd565b828054620000e89062000180565b90600052602060002090601f0160209004810192826200010c576000855562000157565b82601f106200012757805160ff191683800117855562000157565b8280016001018555821562000157579182015b82811115620001575782518255916020019190600101906200013a565b506200016592915062000169565b5090565b5b808211156200016557600081556001016200016a565b600181811c908216806200019557607f821691505b60208210811415620001b757634e487b7160e01b600052602260045260246000fd5b50919050565b6123b280620001cd6000396000f3fe6080604052600436106101d05760003560e01c806351cff8d9116100f757806395d89b4111610095578063d547cfb711610064578063d547cfb714610525578063e3a139321461053a578063e985e9c514610550578063f2fde38b1461057057610209565b806395d89b41146104b0578063a22cb465146104c5578063b88d4fde146104e5578063c87b56dd1461050557610209565b80637ffe360c116100d15780637ffe360c1461044a5780638a333b50146104605780638da5cb5b14610476578063957aa58c1461049657610209565b806351cff8d9146103ea5780636352211e1461040a57806370a082311461042a57610209565b80631249c58b1161016f57806323b872dd1161013e57806323b872dd146103745780633eaaf86b1461039457806342842e0e146103aa5780634f558e79146103ca57610209565b80631249c58b1461031257806318160ddd1461031a5780631a34fe81146103395780631d9bf59b1461034f57610209565b80630309aee4116101ab5780630309aee41461027857806306fdde0314610298578063081812fc146102ba578063095ea7b3146102f257610209565b8062bc653c1461020e57806301497ca31461022357806301ffc9a71461024357610209565b36610209576000600654346101e59190612144565b905080600114156101fd576101f8610590565b610206565b610206816107b7565b50005b600080fd5b61022161021c366004612013565b6107b7565b005b34801561022f57600080fd5b5061022161023e366004611fc1565b610983565b34801561024f57600080fd5b5061026361025e366004611fdb565b610a8d565b60405190151581526020015b60405180910390f35b34801561028457600080fd5b50610221610293366004611dd0565b610b74565b3480156102a457600080fd5b506102ad610c0d565b60405161026f91906120f4565b3480156102c657600080fd5b506102da6102d5366004612013565b610c9f565b6040516001600160a01b03909116815260200161026f565b3480156102fe57600080fd5b5061022161030d366004611f96565b610d45565b610221610590565b34801561032657600080fd5b50600c545b60405190815260200161026f565b34801561034557600080fd5b5061032b60075481565b34801561035b57600080fd5b50600a546102da9061010090046001600160a01b031681565b34801561038057600080fd5b5061022161038f366004611e2b565b610e77565b3480156103a057600080fd5b5061032b600c5481565b3480156103b657600080fd5b506102216103c5366004611e2b565b610efe565b3480156103d657600080fd5b506102636103e5366004612013565b610f19565b3480156103f657600080fd5b50610221610405366004611dd0565b610f37565b34801561041657600080fd5b506102da610425366004612013565b611046565b34801561043657600080fd5b5061032b610445366004611dd0565b6110d1565b34801561045657600080fd5b5061032b60065481565b34801561046c57600080fd5b5061032b60085481565b34801561048257600080fd5b50600b546102da906001600160a01b031681565b3480156104a257600080fd5b50600a546102639060ff1681565b3480156104bc57600080fd5b506102ad61116b565b3480156104d157600080fd5b506102216104e0366004611f62565b61117a565b3480156104f157600080fd5b50610221610500366004611e6b565b61126a565b34801561051157600080fd5b506102ad610520366004612013565b6112f8565b34801561053157600080fd5b506102ad61135b565b34801561054657600080fd5b5061032b60095481565b34801561055c57600080fd5b5061026361056b366004611df3565b61137b565b34801561057c57600080fd5b5061022161058b366004611dd0565b6113d4565b600061059b600c5490565b600a5490915060ff166105f55760405162461bcd60e51b815260206004820152601d60248201527f494e5641444552533a206d696e74696e67206973206e6f74206c69766500000060448201526064015b60405180910390fd5b60095442101561066d5760405162461bcd60e51b815260206004820152602560248201527f494e5641444552533a206d696e74696e6720686173206e6f742079657420737460448201527f617274656400000000000000000000000000000000000000000000000000000060648201526084016105ec565b6006543410156106bf5760405162461bcd60e51b815260206004820152601e60248201527f494e5641444552533a206d73672e76616c7565206e6f7420656e6f756768000060448201526064016105ec565b600854600c54106107125760405162461bcd60e51b815260206004820152601f60248201527f494e5641444552533a206d617820737570706c7920697320726561636865640060448201526064016105ec565b61071c33826114e4565b6001600c600082825461072f9190612107565b9091555050600754610740336110d1565b11156107b45760405162461bcd60e51b815260206004820152602960248201527f494e5641444552533a20757365722062616c616e63652065786365656473206d60448201527f61785f616d6f756e74000000000000000000000000000000000000000000000060648201526084016105ec565b50565b600a5460ff166108095760405162461bcd60e51b815260206004820152601d60248201527f494e5641444552533a206d696e74696e67206973206e6f74206c69766500000060448201526064016105ec565b6009544210156108815760405162461bcd60e51b815260206004820152602560248201527f494e5641444552533a206d696e74696e6720686173206e6f742079657420737460448201527f617274656400000000000000000000000000000000000000000000000000000060648201526084016105ec565b60065461088e908261217d565b3410156108dd5760405162461bcd60e51b815260206004820152601e60248201527f494e5641444552533a206d73672e76616c7565206e6f7420656e6f756768000060448201526064016105ec565b60085481600c546108ee9190612107565b1061093b5760405162461bcd60e51b815260206004820152601f60248201527f494e5641444552533a206d617820737570706c7920697320726561636865640060448201526064016105ec565b600c545b81600c5461094d9190612107565b8110156109705761095e33826114e4565b8061096881612251565b91505061093f565b5080600c600082825461072f9190612107565b600b546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b600a5460ff1615158115151415610a5c5760405162461bcd60e51b815260206004820152602160248201527f494e5641444552533a206c69766520657175616c7320696e707574207374617460448201527f650000000000000000000000000000000000000000000000000000000000000060648201526084016105ec565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b2057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b6c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b90505b919050565b600b546001600160a01b03163314610bce5760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b600a80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606060008054610c1c906121fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c48906121fd565b8015610c955780601f10610c6a57610100808354040283529160200191610c95565b820191906000526020600020905b815481529060010190602001808311610c7857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d295760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016105ec565b506000908152600460205260409020546001600160a01b031690565b6000610d5082611046565b9050806001600160a01b0316836001600160a01b03161415610dda5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016105ec565b336001600160a01b0382161480610df65750610df6813361056b565b610e685760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b610e72838361163e565b505050565b610e8133826116c4565b610ef35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105ec565b610e728383836117ac565b610e728383836040518060200160405280600081525061126a565b600080610f2583611046565b6001600160a01b031615159392505050565b600b546001600160a01b03163314610f915760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b6001600160a01b03811661100d5760405162461bcd60e51b815260206004820152602560248201527f494e5641444552533a2063616e6e6f74207769746864617720746f20626c616360448201527f6b686f6c6500000000000000000000000000000000000000000000000000000060648201526084016105ec565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611042573d6000803e3d6000fd5b5050565b6000818152600260205260408120546001600160a01b031680610b6c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016105ec565b60006001600160a01b03821661114f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b606060018054610c1c906121fd565b6001600160a01b0382163314156111d35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b3360008181526005602090815260408083206001600160a01b038716808552925290912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161125e911515815260200190565b60405180910390a35050565b61127433836116c4565b6112e65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105ec565b6112f284848484611991565b50505050565b606061130382610f19565b61130c57600080fd5b610b6c61131761135b565b61132084611a1a565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250611bc6565b606060405180608001604052806051815260200161232c60519139905090565b600a546000906001600160a01b038381166101009092041614156113a1575060016113ce565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b90505b92915050565b600b546001600160a01b0316331461142e5760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b6001600160a01b0381166114aa5760405162461bcd60e51b815260206004820152603060248201527f494e5641444552533a2063616e6e6f74207472616e73666572206f776e65727360448201527f68697020746f20626c61636b686f6c650000000000000000000000000000000060648201526084016105ec565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b03821661153a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b03161561159f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b03821660009081526003602052604081208054600192906115c8908490612107565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061168b82611046565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661174e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016105ec565b600061175983611046565b9050806001600160a01b0316846001600160a01b031614806117945750836001600160a01b031661178984610c9f565b6001600160a01b0316145b806117a457506117a4818561137b565b949350505050565b826001600160a01b03166117bf82611046565b6001600160a01b03161461183b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016105ec565b6001600160a01b0382166118b65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105ec565b6118c160008261163e565b6001600160a01b03831660009081526003602052604081208054600192906118ea9084906121ba565b90915550506001600160a01b0382166000908152600360205260408120805460019290611918908490612107565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61199c8484846117ac565b6119a884848484611bf5565b6112f25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105ec565b606081611a5b575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610b6f565b8160005b8115611a855780611a6f81612251565b9150611a7e9050600a83612144565b9150611a5f565b60008167ffffffffffffffff811115611ac7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611af1576020820181803683370190505b509050815b8515611bbd57611b076001826121ba565b90506000611b16600a88612144565b611b2190600a61217d565b611b2b90886121ba565b611b3690603061211f565b905060008160f81b905080848481518110611b7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bb4600a89612144565b97505050611af6565b50949350505050565b6060838383604051602001611bdd93929190612075565b60405160208183030381529060405290509392505050565b60006001600160a01b0384163b15611db5576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611c529033908990889088906004016120b8565b602060405180830381600087803b158015611c6c57600080fd5b505af1925050508015611cba575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611cb791810190611ff7565b60015b611d6a573d808015611ce8576040519150601f19603f3d011682016040523d82523d6000602084013e611ced565b606091505b508051611d625760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105ec565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506117a4565b506001949350505050565b80358015158114610b6f57600080fd5b600060208284031215611de1578081fd5b8135611dec816122e8565b9392505050565b60008060408385031215611e05578081fd5b8235611e10816122e8565b91506020830135611e20816122e8565b809150509250929050565b600080600060608486031215611e3f578081fd5b8335611e4a816122e8565b92506020840135611e5a816122e8565b929592945050506040919091013590565b60008060008060808587031215611e80578081fd5b8435611e8b816122e8565b93506020850135611e9b816122e8565b925060408501359150606085013567ffffffffffffffff80821115611ebe578283fd5b818701915087601f830112611ed1578283fd5b813581811115611ee357611ee36122b9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611f2957611f296122b9565b816040528281528a6020848701011115611f41578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611f74578182fd5b8235611f7f816122e8565b9150611f8d60208401611dc0565b90509250929050565b60008060408385031215611fa8578182fd5b8235611fb3816122e8565b946020939093013593505050565b600060208284031215611fd2578081fd5b6113cb82611dc0565b600060208284031215611fec578081fd5b8135611dec816122fd565b600060208284031215612008578081fd5b8151611dec816122fd565b600060208284031215612024578081fd5b5035919050565b600081518084526120438160208601602086016121d1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600084516120878184602089016121d1565b84519083019061209b8183602089016121d1565b84519101906120ae8183602088016121d1565b0195945050505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526120ea608083018461202b565b9695505050505050565b6000602082526113cb602083018461202b565b6000821982111561211a5761211a61228a565b500190565b600060ff821660ff84168060ff0382111561213c5761213c61228a565b019392505050565b600082612178577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156121b5576121b561228a565b500290565b6000828210156121cc576121cc61228a565b500390565b60005b838110156121ec5781810151838201526020016121d4565b838111156112f25750506000910152565b600181811c9082168061221157607f821691505b6020821081141561224b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156122835761228361228a565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6001600160a01b03811681146107b457600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146107b457600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d656466557474624d736969454c43587247774172314e613262485864713979506e7658705a52396232446e522fa2646970667358221220a464de536c674f6afc815d67fd30996bc2aa166311df76e7f9fc8236f974c7dd64736f6c63430008030033

Deployed Bytecode

0x6080604052600436106101d05760003560e01c806351cff8d9116100f757806395d89b4111610095578063d547cfb711610064578063d547cfb714610525578063e3a139321461053a578063e985e9c514610550578063f2fde38b1461057057610209565b806395d89b41146104b0578063a22cb465146104c5578063b88d4fde146104e5578063c87b56dd1461050557610209565b80637ffe360c116100d15780637ffe360c1461044a5780638a333b50146104605780638da5cb5b14610476578063957aa58c1461049657610209565b806351cff8d9146103ea5780636352211e1461040a57806370a082311461042a57610209565b80631249c58b1161016f57806323b872dd1161013e57806323b872dd146103745780633eaaf86b1461039457806342842e0e146103aa5780634f558e79146103ca57610209565b80631249c58b1461031257806318160ddd1461031a5780631a34fe81146103395780631d9bf59b1461034f57610209565b80630309aee4116101ab5780630309aee41461027857806306fdde0314610298578063081812fc146102ba578063095ea7b3146102f257610209565b8062bc653c1461020e57806301497ca31461022357806301ffc9a71461024357610209565b36610209576000600654346101e59190612144565b905080600114156101fd576101f8610590565b610206565b610206816107b7565b50005b600080fd5b61022161021c366004612013565b6107b7565b005b34801561022f57600080fd5b5061022161023e366004611fc1565b610983565b34801561024f57600080fd5b5061026361025e366004611fdb565b610a8d565b60405190151581526020015b60405180910390f35b34801561028457600080fd5b50610221610293366004611dd0565b610b74565b3480156102a457600080fd5b506102ad610c0d565b60405161026f91906120f4565b3480156102c657600080fd5b506102da6102d5366004612013565b610c9f565b6040516001600160a01b03909116815260200161026f565b3480156102fe57600080fd5b5061022161030d366004611f96565b610d45565b610221610590565b34801561032657600080fd5b50600c545b60405190815260200161026f565b34801561034557600080fd5b5061032b60075481565b34801561035b57600080fd5b50600a546102da9061010090046001600160a01b031681565b34801561038057600080fd5b5061022161038f366004611e2b565b610e77565b3480156103a057600080fd5b5061032b600c5481565b3480156103b657600080fd5b506102216103c5366004611e2b565b610efe565b3480156103d657600080fd5b506102636103e5366004612013565b610f19565b3480156103f657600080fd5b50610221610405366004611dd0565b610f37565b34801561041657600080fd5b506102da610425366004612013565b611046565b34801561043657600080fd5b5061032b610445366004611dd0565b6110d1565b34801561045657600080fd5b5061032b60065481565b34801561046c57600080fd5b5061032b60085481565b34801561048257600080fd5b50600b546102da906001600160a01b031681565b3480156104a257600080fd5b50600a546102639060ff1681565b3480156104bc57600080fd5b506102ad61116b565b3480156104d157600080fd5b506102216104e0366004611f62565b61117a565b3480156104f157600080fd5b50610221610500366004611e6b565b61126a565b34801561051157600080fd5b506102ad610520366004612013565b6112f8565b34801561053157600080fd5b506102ad61135b565b34801561054657600080fd5b5061032b60095481565b34801561055c57600080fd5b5061026361056b366004611df3565b61137b565b34801561057c57600080fd5b5061022161058b366004611dd0565b6113d4565b600061059b600c5490565b600a5490915060ff166105f55760405162461bcd60e51b815260206004820152601d60248201527f494e5641444552533a206d696e74696e67206973206e6f74206c69766500000060448201526064015b60405180910390fd5b60095442101561066d5760405162461bcd60e51b815260206004820152602560248201527f494e5641444552533a206d696e74696e6720686173206e6f742079657420737460448201527f617274656400000000000000000000000000000000000000000000000000000060648201526084016105ec565b6006543410156106bf5760405162461bcd60e51b815260206004820152601e60248201527f494e5641444552533a206d73672e76616c7565206e6f7420656e6f756768000060448201526064016105ec565b600854600c54106107125760405162461bcd60e51b815260206004820152601f60248201527f494e5641444552533a206d617820737570706c7920697320726561636865640060448201526064016105ec565b61071c33826114e4565b6001600c600082825461072f9190612107565b9091555050600754610740336110d1565b11156107b45760405162461bcd60e51b815260206004820152602960248201527f494e5641444552533a20757365722062616c616e63652065786365656473206d60448201527f61785f616d6f756e74000000000000000000000000000000000000000000000060648201526084016105ec565b50565b600a5460ff166108095760405162461bcd60e51b815260206004820152601d60248201527f494e5641444552533a206d696e74696e67206973206e6f74206c69766500000060448201526064016105ec565b6009544210156108815760405162461bcd60e51b815260206004820152602560248201527f494e5641444552533a206d696e74696e6720686173206e6f742079657420737460448201527f617274656400000000000000000000000000000000000000000000000000000060648201526084016105ec565b60065461088e908261217d565b3410156108dd5760405162461bcd60e51b815260206004820152601e60248201527f494e5641444552533a206d73672e76616c7565206e6f7420656e6f756768000060448201526064016105ec565b60085481600c546108ee9190612107565b1061093b5760405162461bcd60e51b815260206004820152601f60248201527f494e5641444552533a206d617820737570706c7920697320726561636865640060448201526064016105ec565b600c545b81600c5461094d9190612107565b8110156109705761095e33826114e4565b8061096881612251565b91505061093f565b5080600c600082825461072f9190612107565b600b546001600160a01b031633146109dd5760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b600a5460ff1615158115151415610a5c5760405162461bcd60e51b815260206004820152602160248201527f494e5641444552533a206c69766520657175616c7320696e707574207374617460448201527f650000000000000000000000000000000000000000000000000000000000000060648201526084016105ec565b600a80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016911515919091179055565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b2057507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610b6c57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b90505b919050565b600b546001600160a01b03163314610bce5760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b600a80546001600160a01b03909216610100027fffffffffffffffffffffff0000000000000000000000000000000000000000ff909216919091179055565b606060008054610c1c906121fd565b80601f0160208091040260200160405190810160405280929190818152602001828054610c48906121fd565b8015610c955780601f10610c6a57610100808354040283529160200191610c95565b820191906000526020600020905b815481529060010190602001808311610c7857829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610d295760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016105ec565b506000908152600460205260409020546001600160a01b031690565b6000610d5082611046565b9050806001600160a01b0316836001600160a01b03161415610dda5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016105ec565b336001600160a01b0382161480610df65750610df6813361056b565b610e685760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016105ec565b610e72838361163e565b505050565b610e8133826116c4565b610ef35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105ec565b610e728383836117ac565b610e728383836040518060200160405280600081525061126a565b600080610f2583611046565b6001600160a01b031615159392505050565b600b546001600160a01b03163314610f915760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b6001600160a01b03811661100d5760405162461bcd60e51b815260206004820152602560248201527f494e5641444552533a2063616e6e6f74207769746864617720746f20626c616360448201527f6b686f6c6500000000000000000000000000000000000000000000000000000060648201526084016105ec565b6040516001600160a01b038216904780156108fc02916000818181858888f19350505050158015611042573d6000803e3d6000fd5b5050565b6000818152600260205260408120546001600160a01b031680610b6c5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016105ec565b60006001600160a01b03821661114f5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016105ec565b506001600160a01b031660009081526003602052604090205490565b606060018054610c1c906121fd565b6001600160a01b0382163314156111d35760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016105ec565b3360008181526005602090815260408083206001600160a01b038716808552925290912080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016841515179055906001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161125e911515815260200190565b60405180910390a35050565b61127433836116c4565b6112e65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016105ec565b6112f284848484611991565b50505050565b606061130382610f19565b61130c57600080fd5b610b6c61131761135b565b61132084611a1a565b6040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250611bc6565b606060405180608001604052806051815260200161232c60519139905090565b600a546000906001600160a01b038381166101009092041614156113a1575060016113ce565b6001600160a01b0380841660009081526005602090815260408083209386168352929052205460ff165b90505b92915050565b600b546001600160a01b0316331461142e5760405162461bcd60e51b815260206004820152601a60248201527f494e5641444552533a2073656e646572206e6f74206f776e657200000000000060448201526064016105ec565b6001600160a01b0381166114aa5760405162461bcd60e51b815260206004820152603060248201527f494e5641444552533a2063616e6e6f74207472616e73666572206f776e65727360448201527f68697020746f20626c61636b686f6c650000000000000000000000000000000060648201526084016105ec565b600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6001600160a01b03821661153a5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016105ec565b6000818152600260205260409020546001600160a01b03161561159f5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016105ec565b6001600160a01b03821660009081526003602052604081208054600192906115c8908490612107565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600081815260046020526040902080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b038416908117909155819061168b82611046565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b031661174e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016105ec565b600061175983611046565b9050806001600160a01b0316846001600160a01b031614806117945750836001600160a01b031661178984610c9f565b6001600160a01b0316145b806117a457506117a4818561137b565b949350505050565b826001600160a01b03166117bf82611046565b6001600160a01b03161461183b5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016105ec565b6001600160a01b0382166118b65760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016105ec565b6118c160008261163e565b6001600160a01b03831660009081526003602052604081208054600192906118ea9084906121ba565b90915550506001600160a01b0382166000908152600360205260408120805460019290611918908490612107565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b61199c8484846117ac565b6119a884848484611bf5565b6112f25760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105ec565b606081611a5b575060408051808201909152600181527f30000000000000000000000000000000000000000000000000000000000000006020820152610b6f565b8160005b8115611a855780611a6f81612251565b9150611a7e9050600a83612144565b9150611a5f565b60008167ffffffffffffffff811115611ac7577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611af1576020820181803683370190505b509050815b8515611bbd57611b076001826121ba565b90506000611b16600a88612144565b611b2190600a61217d565b611b2b90886121ba565b611b3690603061211f565b905060008160f81b905080848481518110611b7a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611bb4600a89612144565b97505050611af6565b50949350505050565b6060838383604051602001611bdd93929190612075565b60405160208183030381529060405290509392505050565b60006001600160a01b0384163b15611db5576040517f150b7a020000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063150b7a0290611c529033908990889088906004016120b8565b602060405180830381600087803b158015611c6c57600080fd5b505af1925050508015611cba575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611cb791810190611ff7565b60015b611d6a573d808015611ce8576040519150601f19603f3d011682016040523d82523d6000602084013e611ced565b606091505b508051611d625760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016105ec565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506117a4565b506001949350505050565b80358015158114610b6f57600080fd5b600060208284031215611de1578081fd5b8135611dec816122e8565b9392505050565b60008060408385031215611e05578081fd5b8235611e10816122e8565b91506020830135611e20816122e8565b809150509250929050565b600080600060608486031215611e3f578081fd5b8335611e4a816122e8565b92506020840135611e5a816122e8565b929592945050506040919091013590565b60008060008060808587031215611e80578081fd5b8435611e8b816122e8565b93506020850135611e9b816122e8565b925060408501359150606085013567ffffffffffffffff80821115611ebe578283fd5b818701915087601f830112611ed1578283fd5b813581811115611ee357611ee36122b9565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f01168101908382118183101715611f2957611f296122b9565b816040528281528a6020848701011115611f41578586fd5b82602086016020830137918201602001949094529598949750929550505050565b60008060408385031215611f74578182fd5b8235611f7f816122e8565b9150611f8d60208401611dc0565b90509250929050565b60008060408385031215611fa8578182fd5b8235611fb3816122e8565b946020939093013593505050565b600060208284031215611fd2578081fd5b6113cb82611dc0565b600060208284031215611fec578081fd5b8135611dec816122fd565b600060208284031215612008578081fd5b8151611dec816122fd565b600060208284031215612024578081fd5b5035919050565b600081518084526120438160208601602086016121d1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b600084516120878184602089016121d1565b84519083019061209b8183602089016121d1565b84519101906120ae8183602088016121d1565b0195945050505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526120ea608083018461202b565b9695505050505050565b6000602082526113cb602083018461202b565b6000821982111561211a5761211a61228a565b500190565b600060ff821660ff84168060ff0382111561213c5761213c61228a565b019392505050565b600082612178577f4e487b710000000000000000000000000000000000000000000000000000000081526012600452602481fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156121b5576121b561228a565b500290565b6000828210156121cc576121cc61228a565b500390565b60005b838110156121ec5781810151838201526020016121d4565b838111156112f25750506000910152565b600181811c9082168061221157607f821691505b6020821081141561224b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156122835761228361228a565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6001600160a01b03811681146107b457600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000811681146107b457600080fdfe68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d656466557474624d736969454c43587247774172314e613262485864713979506e7658705a52396232446e522fa2646970667358221220a464de536c674f6afc815d67fd30996bc2aa166311df76e7f9fc8236f974c7dd64736f6c63430008030033

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.