ETH Price: $2,703.73 (+11.94%)
 

Overview

Max Total Supply

10,000 IMP

Holders

3,466

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 IMP
0xfe32e4a475eabd0b55f8ef62039cf033fb87fddc
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The Imps are 10.000 randomly generated, animated, 3D characters on the Ethereum blockchain. Each one is completely unique but some are more rare than others. Each trait is handcrafted by SuperNfty in his signature floaty style.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
IMPS

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 20000 runs

Other Settings:
default evmVersion
File 1 of 15 : IMPS.sol
// SPDX-License-Identifier: MIT
// Special thanks to Pagzi Tech for letting us use their Pagzi protocol to reduce gas fees. pagzi.ca
pragma solidity ^0.8.10;

import "./ERC721Enum.sol";
import "./SB.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/**
 * @title Imps contract
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation
 */

contract IMPS is ERC721Enum, Ownable, ReentrancyGuard {
    using Strings for uint256;

    Superballs private immutable SBalls = Superballs(0xCDc587359C62140fe4Bd1764011643131A980d2f);
    string public ImpsPROVENANCE;
    uint256 constant public maxImps = 10000;
    uint256 constant public MaxMintedImps = 10;
    uint256 public collectionStartingIndex;
    bool public PreSaleIsActive = false;
    bool public PublicSaleIsActive = false;

    // presale price 0.03 ETH and public sale price 0.05 ETH
    uint256 public ImpsPreSalePRICE = 30000000000000000;
    uint256 public ImpsPublicSalePRICE = 50000000000000000;
    string private baseURI;
    mapping(address => uint256) public MintedWallets;
    mapping(uint256 => bool) public SuperballPresaleMinted;
    mapping(uint256 => bool) public FloatingHeadClaimed;

    constructor(
        string memory name,
        string memory symbol
    ) ERC721P(name, symbol){

    }

    function setProvenanceHash(string memory provenanceHash) external onlyOwner {
        ImpsPROVENANCE = provenanceHash;
     }

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

     function setBaseURI(string memory uri) external onlyOwner {
        baseURI = uri;
     }
    
     function flipPreSaleState() external onlyOwner {
        PreSaleIsActive = !PreSaleIsActive;
     }

     function flipPublicSaleState() external onlyOwner {
        PublicSaleIsActive = !PublicSaleIsActive;
     }

      // for emergencies only
     function setPublicSalePrice(uint256 newPrice) external onlyOwner {
         ImpsPublicSalePRICE = newPrice;
     }

      // for emergencies only
     function setPreSalePrice(uint256 newPrice) external onlyOwner {
         ImpsPreSalePRICE = newPrice;
     }

     function setStartingIndex() external onlyOwner {
        collectionStartingIndex = block.timestamp % maxImps ;

        if (collectionStartingIndex == 0) {
            collectionStartingIndex = collectionStartingIndex + 1;
         }
     }

     function PublicMintImps(uint256 numImps) external payable nonReentrant {
        require(PublicSaleIsActive, "Sale isn't active yet!");
        require(numImps + totalSupply() <= maxImps, "Purchase would exceed max supply of Imps.");
        require(MintedWallets[msg.sender] + numImps <= MaxMintedImps, "Each wallet can only mint 10 Imps.");
        uint costToMint = ImpsPublicSalePRICE * numImps;
        require(costToMint == msg.value, "Eth value incorrect.");

        for(uint256 i=0; i < numImps; i++ ) {
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
        }
        MintedWallets[msg.sender] = MintedWallets[msg.sender] + numImps;
     }

     function PreSuperballMintImps(uint256[] memory SBs) external payable nonReentrant {
        require(PreSaleIsActive, "PreSale isn't active yet!");
        require(SBs.length + totalSupply() <= maxImps, "Purchase would exceed max supply of Imps.");
        for (uint256 j=0; j<SBs.length;j++){
         require(SBalls.ownerOf(SBs[j]) == msg.sender, "You don't own one of the SuperBalls");
         require(!SuperballPresaleMinted[SBs[j]], "The IMP for a SuperBall has been claimed");
        }       
        uint costToMint = ImpsPreSalePRICE * SBs.length;
        require(costToMint == msg.value, "Eth value incorrect.");

        for(uint256 i=0; i < SBs.length; i++ ) {
            require(!SuperballPresaleMinted[SBs[i]], "The IMP for a SuperBall has been claimed");
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
            SuperballPresaleMinted[SBs[i]] = true;
        }
     }
    
      function PreFloatingHeadMintImps(uint256[] memory FHs) external nonReentrant {
        require(PreSaleIsActive, "PreSale isn't active yet!");
        require(FHs.length + totalSupply() <= maxImps, "Purchase would exceed max supply of Imps.");
        for (uint256 j=0; j<FHs.length;j++){
         require(SBalls.checkBalance(FHs[j],msg.sender) == 1, "You are not the owner of this head.");
         require(!FloatingHeadClaimed[FHs[j]], "The IMP for a FH has been claimed");
        }       

        for(uint256 i=0; i < FHs.length; i++ ) {
            require(!FloatingHeadClaimed[FHs[i]], "The IMP for a FH has been claimed");
            uint256 mintIndex = totalSupply();
            _safeMint(msg.sender, mintIndex);
            FloatingHeadClaimed[FHs[i]] = true;
        }
     }

     function ImpsGiveaway(uint256 amount, address reciever) external onlyOwner {
        require(totalSupply()+amount <= maxImps, "Giveaway would exceed max supply of Imps");
        
        for(uint256 i=0; i < amount; i++ ) {
            uint256 mintIndex = totalSupply();
            _safeMint(reciever, mintIndex);
        }
     }

     function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(owner()), balance);
     }

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

}

File 2 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 15 : SB.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

abstract contract Superballs {
    function ownerOf(uint256 tokenId) public view virtual returns (address);
    function checkBalance(uint256 FH, address caller) external view virtual returns (uint256);
}

File 6 of 15 : ERC721Enum.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
import "./ERC721P.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
abstract contract ERC721Enum is ERC721P, IERC721Enumerable {
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721P) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256 tokenId) {
        require(index < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob");
        uint count;
        for( uint i; i < _owners.length; ++i ){
            if( owner == _owners[i] ){
                if( count == index )
                    return i;
                else
                    ++count;
            }
        }
        require(false, "ERC721Enum: owner ioob");
    }
    function tokensOfOwner(address owner) public view returns (uint256[] memory) {
        require(0 < ERC721P.balanceOf(owner), "ERC721Enum: owner ioob");
        uint256 tokenCount = balanceOf(owner);
        uint256[] memory tokenIds = new uint256[](tokenCount);
        for (uint256 i = 0; i < tokenCount; i++) {
            tokenIds[i] = tokenOfOwnerByIndex(owner, i);
        }
        return tokenIds;
    }
    function totalSupply() public view virtual override returns (uint256) {
        return _owners.length;
    }
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enum.totalSupply(), "ERC721Enum: global ioob");
        return index;
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 15 : ERC721P.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.10;
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/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";

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

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

        _approve(to, tokenId);
    }
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }
    function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }     
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }
	function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return tokenId < _owners.length && _owners[tokenId] != address(0);
    }
	function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721P.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }
	function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }
	function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }
	function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 15 : 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 14 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"}],"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":"uint256","name":"","type":"uint256"}],"name":"FloatingHeadClaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"reciever","type":"address"}],"name":"ImpsGiveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"ImpsPROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ImpsPreSalePRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ImpsPublicSalePRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MaxMintedImps","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"MintedWallets","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"FHs","type":"uint256[]"}],"name":"PreFloatingHeadMintImps","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"PreSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"SBs","type":"uint256[]"}],"name":"PreSuperballMintImps","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numImps","type":"uint256"}],"name":"PublicMintImps","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PublicSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"SuperballPresaleMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"collectionStartingIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipPublicSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxImps","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":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPreSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPublicSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setStartingIndex","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"}]

60a060405273cdc587359c62140fe4bd1764011643131a980d2f6080526009805461ffff19169055666a94d74f430000600a5566b1a2bc2ec50000600b553480156200004a57600080fd5b5060405162003d4738038062003d478339810160408190526200006d916200028f565b815182908290620000869060009060208501906200011c565b5080516200009c9060019060208401906200011c565b505050620000b9620000b3620000c660201b60201c565b620000ca565b5050600160065562000336565b3390565b600580546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200012a90620002f9565b90600052602060002090601f0160209004810192826200014e576000855562000199565b82601f106200016957805160ff191683800117855562000199565b8280016001018555821562000199579182015b82811115620001995782518255916020019190600101906200017c565b50620001a7929150620001ab565b5090565b5b80821115620001a75760008155600101620001ac565b634e487b7160e01b600052604160045260246000fd5b600082601f830112620001ea57600080fd5b81516001600160401b0380821115620002075762000207620001c2565b604051601f8301601f19908116603f01168101908282118183101715620002325762000232620001c2565b816040528381526020925086838588010111156200024f57600080fd5b600091505b8382101562000273578582018301518183018401529082019062000254565b83821115620002855760008385830101525b9695505050505050565b60008060408385031215620002a357600080fd5b82516001600160401b0380821115620002bb57600080fd5b620002c986838701620001d8565b93506020850151915080821115620002e057600080fd5b50620002ef85828601620001d8565b9150509250929050565b600181811c908216806200030e57607f821691505b602082108114156200033057634e487b7160e01b600052602260045260246000fd5b50919050565b6080516139ee6200035960003960008181610d23015261206401526139ee6000f3fe6080604052600436106102dc5760003560e01c80637d7eee4211610184578063b88d4fde116100d6578063e883d7f41161008a578063f0257fa611610064578063f0257fa6146107f3578063f032554914610823578063f2fde38b1461083857600080fd5b8063e883d7f414610773578063e985e9c514610788578063e9866550146107de57600080fd5b8063c87b56dd116100bb578063c87b56dd14610706578063d0b1105b14610726578063d2a2c7971461074657600080fd5b8063b88d4fde146106d0578063c1a9a626146106f057600080fd5b8063928a730511610138578063a1a6cfec11610112578063a1a6cfec14610677578063a22cb46514610691578063a774c920146106b157600080fd5b8063928a73051461063757806395d89b411461064d578063a10866ef1461066257600080fd5b80638af1becb116101695780638af1becb146105e15780638da5cb5b146105f75780638f36245e1461062257600080fd5b80637d7eee42146105945780638462151c146105b457600080fd5b80632f745c591161023d57806355f804b3116101f157806370a08231116101cb57806370a082311461053f578063715018a61461055f578063791a25191461057457600080fd5b806355f804b3146104ec57806360bb0f071461050c5780636352211e1461051f57600080fd5b80633e22f769116102225780633e22f7691461048c57806342842e0e146104ac5780634f6ccce7146104cc57600080fd5b80632f745c59146104575780633ccfd60b1461047757600080fd5b806310969523116102945780631f62d453116102795780631f62d4531461040e57806323b872dd1461042157806329a58d481461044157600080fd5b806310969523146103cf57806318160ddd146103ef57600080fd5b806306fdde03116102c557806306fdde0314610346578063081812fc14610368578063095ea7b3146103ad57600080fd5b806301f20f5a146102e157806301ffc9a714610326575b600080fd5b3480156102ed57600080fd5b506103116102fc36600461326e565b600e6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561033257600080fd5b506103116103413660046132b5565b610858565b34801561035257600080fd5b5061035b6108b4565b60405161031d9190613348565b34801561037457600080fd5b5061038861038336600461326e565b610946565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161031d565b3480156103b957600080fd5b506103cd6103c836600461337d565b6109f1565b005b3480156103db57600080fd5b506103cd6103ea36600461349d565b610b4a565b3480156103fb57600080fd5b506002545b60405190815260200161031d565b6103cd61041c3660046134e6565b610bc8565b34801561042d57600080fd5b506103cd61043c36600461358c565b6110a8565b34801561044d57600080fd5b5061040060085481565b34801561046357600080fd5b5061040061047236600461337d565b61112f565b34801561048357600080fd5b506103cd61124b565b34801561049857600080fd5b506103cd6104a73660046135cd565b6112de565b3480156104b857600080fd5b506103cd6104c736600461358c565b611405565b3480156104d857600080fd5b506104006104e736600461326e565b611420565b3480156104f857600080fd5b506103cd61050736600461349d565b61147d565b6103cd61051a36600461326e565b6114f7565b34801561052b57600080fd5b5061038861053a36600461326e565b61178d565b34801561054b57600080fd5b5061040061055a3660046135fd565b61183a565b34801561056b57600080fd5b506103cd611939565b34801561058057600080fd5b506103cd61058f36600461326e565b6119ac565b3480156105a057600080fd5b506103cd6105af36600461326e565b611a18565b3480156105c057600080fd5b506105d46105cf3660046135fd565b611a84565b60405161031d919061361a565b3480156105ed57600080fd5b5061040061271081565b34801561060357600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610388565b34801561062e57600080fd5b5061035b611b7e565b34801561064357600080fd5b50610400600a5481565b34801561065957600080fd5b5061035b611c0c565b34801561066e57600080fd5b506103cd611c1b565b34801561068357600080fd5b506009546103119060ff1681565b34801561069d57600080fd5b506103cd6106ac36600461365e565b611cbc565b3480156106bd57600080fd5b5060095461031190610100900460ff1681565b3480156106dc57600080fd5b506103cd6106eb366004613691565b611db9565b3480156106fc57600080fd5b50610400600b5481565b34801561071257600080fd5b5061035b61072136600461326e565b611e47565b34801561073257600080fd5b506103cd6107413660046134e6565b611f20565b34801561075257600080fd5b506104006107613660046135fd565b600d6020526000908152604090205481565b34801561077f57600080fd5b50610400600a81565b34801561079457600080fd5b506103116107a3366004613711565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156107ea57600080fd5b506103cd612391565b3480156107ff57600080fd5b5061031161080e36600461326e565b600f6020526000908152604090205460ff1681565b34801561082f57600080fd5b506103cd612420565b34801561084457600080fd5b506103cd6108533660046135fd565b6124b9565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806108ae57506108ae826125b2565b92915050565b6060600080546108c39061373f565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef9061373f565b801561093c5780601f106109115761010080835404028352916020019161093c565b820191906000526020600020905b81548152906001019060200180831161091f57829003601f168201915b5050505050905090565b600061095182612695565b6109c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109fc8261178d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b3373ffffffffffffffffffffffffffffffffffffffff82161480610ac95750610ac981336107a3565b610b3b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109bf565b610b4583836126f9565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610bb15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b8051610bc49060079060208401906131de565b5050565b60026006541415610c1b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109bf565b600260065560095460ff16610c725760405162461bcd60e51b815260206004820152601960248201527f50726553616c652069736e27742061637469766520796574210000000000000060448201526064016109bf565b612710610c7e60025490565b8251610c8a91906137c2565b1115610cfe5760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d70732e000000000000000000000000000000000000000000000060648201526084016109bf565b60005b8151811015610f18573373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110610d6f57610d6f6137da565b60200260200101516040518263ffffffff1660e01b8152600401610d9591815260200190565b602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190613809565b73ffffffffffffffffffffffffffffffffffffffff1614610e5f5760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e2774206f776e206f6e65206f6620746865205375706572426160448201527f6c6c73000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600e6000838381518110610e7557610e756137da565b60209081029190910181015182528101919091526040016000205460ff1615610f065760405162461bcd60e51b815260206004820152602860248201527f54686520494d5020666f72206120537570657242616c6c20686173206265656e60448201527f20636c61696d656400000000000000000000000000000000000000000000000060648201526084016109bf565b80610f1081613826565b915050610d01565b5060008151600a54610f2a919061385f565b9050348114610f7b5760405162461bcd60e51b815260206004820152601460248201527f4574682076616c756520696e636f72726563742e00000000000000000000000060448201526064016109bf565b60005b825181101561109e57600e6000848381518110610f9d57610f9d6137da565b60209081029190910181015182528101919091526040016000205460ff161561102e5760405162461bcd60e51b815260206004820152602860248201527f54686520494d5020666f72206120537570657242616c6c20686173206265656e60448201527f20636c61696d656400000000000000000000000000000000000000000000000060648201526084016109bf565b600061103960025490565b90506110453382612799565b6001600e600086858151811061105d5761105d6137da565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061109690613826565b915050610f7e565b5050600160065550565b6110b233826127b3565b6111245760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b610b458383836128ef565b600061113a8361183a565b82106111885760405162461bcd60e51b815260206004820152601660248201527f455243373231456e756d3a206f776e657220696f6f620000000000000000000060448201526064016109bf565b6000805b60025481101561120257600281815481106111a9576111a96137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff868116911614156111f257838214156111e65791506108ae9050565b6111ef82613826565b91505b6111fb81613826565b905061118c565b5060405162461bcd60e51b815260206004820152601660248201527f455243373231456e756d3a206f776e657220696f6f620000000000000000000060448201526064016109bf565b60055473ffffffffffffffffffffffffffffffffffffffff1633146112b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b476112db6112d560055473ffffffffffffffffffffffffffffffffffffffff1690565b82612abe565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146113455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6127108261135260025490565b61135c91906137c2565b11156113d05760405162461bcd60e51b815260206004820152602860248201527f476976656177617920776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d707300000000000000000000000000000000000000000000000060648201526084016109bf565b60005b82811015610b455760006113e660025490565b90506113f28382612799565b50806113fd81613826565b9150506113d3565b610b4583838360405180602001604052806000815250611db9565b600061142b60025490565b82106114795760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f6200000000000000000060448201526064016109bf565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff1633146114e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b8051610bc490600c9060208401906131de565b6002600654141561154a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109bf565b6002600655600954610100900460ff166115a65760405162461bcd60e51b815260206004820152601660248201527f53616c652069736e27742061637469766520796574210000000000000000000060448201526064016109bf565b6127106115b260025490565b6115bc90836137c2565b11156116305760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d70732e000000000000000000000000000000000000000000000060648201526084016109bf565b336000908152600d6020526040902054600a9061164e9083906137c2565b11156116c25760405162461bcd60e51b815260206004820152602260248201527f456163682077616c6c65742063616e206f6e6c79206d696e7420313020496d7060448201527f732e00000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600081600b546116d2919061385f565b90503481146117235760405162461bcd60e51b815260206004820152601460248201527f4574682076616c756520696e636f72726563742e00000000000000000000000060448201526064016109bf565b60005b8281101561175857600061173960025490565b90506117453382612799565b508061175081613826565b915050611726565b50336000908152600d60205260409020546117749083906137c2565b336000908152600d602052604090205550506001600655565b600080600283815481106117a3576117a36137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050806108ae5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109bf565b600073ffffffffffffffffffffffffffffffffffffffff82166118c55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109bf565b600254600090815b8181101561193057600281815481106118e8576118e86137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff868116911614156119205761191d83613826565b92505b61192981613826565b90506118cd565b50909392505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146119a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6119aa6000612be4565b565b60055473ffffffffffffffffffffffffffffffffffffffff163314611a135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600b55565b60055473ffffffffffffffffffffffffffffffffffffffff163314611a7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600a55565b6060611a8f8261183a565b600010611ade5760405162461bcd60e51b815260206004820152601660248201527f455243373231456e756d3a206f776e657220696f6f620000000000000000000060448201526064016109bf565b6000611ae98361183a565b905060008167ffffffffffffffff811115611b0657611b066133a9565b604051908082528060200260200182016040528015611b2f578160200160208202803683370190505b50905060005b82811015611b7657611b47858261112f565b828281518110611b5957611b596137da565b602090810291909101015280611b6e81613826565b915050611b35565b509392505050565b60078054611b8b9061373f565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb79061373f565b8015611c045780601f10611bd957610100808354040283529160200191611c04565b820191906000526020600020905b815481529060010190602001808311611be757829003601f168201915b505050505081565b6060600180546108c39061373f565b60055473ffffffffffffffffffffffffffffffffffffffff163314611c825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b73ffffffffffffffffffffffffffffffffffffffff8216331415611d225760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109bf565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611dc333836127b3565b611e355760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b611e4184848484612c5b565b50505050565b6060611e5282612695565b611ec45760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560448201527f6e0000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b6000611ece612ce4565b90506000815111611eee5760405180602001604052806000815250611f19565b80611ef884612cf3565b604051602001611f0992919061389c565b6040516020818303038152906040525b9392505050565b60026006541415611f735760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109bf565b600260065560095460ff16611fca5760405162461bcd60e51b815260206004820152601960248201527f50726553616c652069736e27742061637469766520796574210000000000000060448201526064016109bf565b612710611fd660025490565b8251611fe291906137c2565b11156120565760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d70732e000000000000000000000000000000000000000000000060648201526084016109bf565b60005b8151811015612264577f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663ebcd69de8383815181106120b0576120b06137da565b6020026020010151336040518363ffffffff1660e01b81526004016120f592919091825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b602060405180830381865afa158015612112573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213691906138cb565b6001146121ab5760405162461bcd60e51b815260206004820152602360248201527f596f7520617265206e6f7420746865206f776e6572206f66207468697320686560448201527f61642e000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600f60008383815181106121c1576121c16137da565b60209081029190910181015182528101919091526040016000205460ff16156122525760405162461bcd60e51b815260206004820152602160248201527f54686520494d5020666f72206120464820686173206265656e20636c61696d6560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b8061225c81613826565b915050612059565b5060005b815181101561238857600f6000838381518110612287576122876137da565b60209081029190910181015182528101919091526040016000205460ff16156123185760405162461bcd60e51b815260206004820152602160248201527f54686520494d5020666f72206120464820686173206265656e20636c61696d6560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600061232360025490565b905061232f3382612799565b6001600f6000858581518110612347576123476137da565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061238090613826565b915050612268565b50506001600655565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b61240461271042613913565b60088190556119aa5760085461241b9060016137c2565b600855565b60055473ffffffffffffffffffffffffffffffffffffffff1633146124875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60055473ffffffffffffffffffffffffffffffffffffffff1633146125205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b73ffffffffffffffffffffffffffffffffffffffff81166125a95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109bf565b6112db81612be4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061264557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108ae57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108ae565b600254600090821080156108ae5750600073ffffffffffffffffffffffffffffffffffffffff16600283815481106126cf576126cf6137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906127538261178d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610bc4828260405180602001604052806000815250612e25565b60006127be82612695565b6128305760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109bf565b600061283b8361178d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128aa57508373ffffffffffffffffffffffffffffffffffffffff1661289284610946565b73ffffffffffffffffffffffffffffffffffffffff16145b806128e7575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661290f8261178d565b73ffffffffffffffffffffffffffffffffffffffff16146129985760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109bf565b73ffffffffffffffffffffffffffffffffffffffff8216612a205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109bf565b612a2b6000826126f9565b8160028281548110612a3f57612a3f6137da565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b80471015612b0e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109bf565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612b68576040519150601f19603f3d011682016040523d82523d6000602084013e612b6d565b606091505b5050905080610b455760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109bf565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612c668484846128ef565b612c7284848484612eae565b611e415760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b6060600c80546108c39061373f565b606081612d3357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612d5d5780612d4781613826565b9150612d569050600a83613927565b9150612d37565b60008167ffffffffffffffff811115612d7857612d786133a9565b6040519080825280601f01601f191660200182016040528015612da2576020820181803683370190505b5090505b84156128e757612db760018361393b565b9150612dc4600a86613913565b612dcf9060306137c2565b60f81b818381518110612de457612de46137da565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612e1e600a86613927565b9450612da6565b612e2f8383613084565b612e3c6000848484612eae565b610b455760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613079576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612f25903390899088908890600401613952565b6020604051808303816000875af1925050508015612f7e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612f7b9181019061399b565b60015b61302e573d808015612fac576040519150601f19603f3d011682016040523d82523d6000602084013e612fb1565b606091505b5080516130265760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506128e7565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff82166130e75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109bf565b6130f081612695565b1561313d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109bf565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546131ea9061373f565b90600052602060002090601f01602090048101928261320c5760008555613252565b82601f1061322557805160ff1916838001178555613252565b82800160010185558215613252579182015b82811115613252578251825591602001919060010190613237565b506114799291505b80821115611479576000815560010161325a565b60006020828403121561328057600080fd5b5035919050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146112db57600080fd5b6000602082840312156132c757600080fd5b8135611f1981613287565b60005b838110156132ed5781810151838201526020016132d5565b83811115611e415750506000910152565b600081518084526133168160208601602086016132d2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f1960208301846132fe565b73ffffffffffffffffffffffffffffffffffffffff811681146112db57600080fd5b6000806040838503121561339057600080fd5b823561339b8161335b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561341f5761341f6133a9565b604052919050565b600067ffffffffffffffff831115613441576134416133a9565b61347260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016133d8565b905082815283838301111561348657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156134af57600080fd5b813567ffffffffffffffff8111156134c657600080fd5b8201601f810184136134d757600080fd5b6128e784823560208401613427565b600060208083850312156134f957600080fd5b823567ffffffffffffffff8082111561351157600080fd5b818501915085601f83011261352557600080fd5b813581811115613537576135376133a9565b8060051b91506135488483016133d8565b818152918301840191848101908884111561356257600080fd5b938501935b8385101561358057843582529385019390850190613567565b98975050505050505050565b6000806000606084860312156135a157600080fd5b83356135ac8161335b565b925060208401356135bc8161335b565b929592945050506040919091013590565b600080604083850312156135e057600080fd5b8235915060208301356135f28161335b565b809150509250929050565b60006020828403121561360f57600080fd5b8135611f198161335b565b6020808252825182820181905260009190848201906040850190845b8181101561365257835183529284019291840191600101613636565b50909695505050505050565b6000806040838503121561367157600080fd5b823561367c8161335b565b9150602083013580151581146135f257600080fd5b600080600080608085870312156136a757600080fd5b84356136b28161335b565b935060208501356136c28161335b565b925060408501359150606085013567ffffffffffffffff8111156136e557600080fd5b8501601f810187136136f657600080fd5b61370587823560208401613427565b91505092959194509250565b6000806040838503121561372457600080fd5b823561372f8161335b565b915060208301356135f28161335b565b600181811c9082168061375357607f821691505b6020821081141561378d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156137d5576137d5613793565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561381b57600080fd5b8151611f198161335b565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561385857613858613793565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561389757613897613793565b500290565b600083516138ae8184602088016132d2565b8351908301906138c28183602088016132d2565b01949350505050565b6000602082840312156138dd57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613922576139226138e4565b500690565b600082613936576139366138e4565b500490565b60008282101561394d5761394d613793565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261399160808301846132fe565b9695505050505050565b6000602082840312156139ad57600080fd5b8151611f198161328756fea2646970667358221220a038e61328823872d95e0d3ea871d8d6cba1bc9e3594735c354f70c68fca8f3b64736f6c634300080a0033000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004496d7073000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003494d500000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102dc5760003560e01c80637d7eee4211610184578063b88d4fde116100d6578063e883d7f41161008a578063f0257fa611610064578063f0257fa6146107f3578063f032554914610823578063f2fde38b1461083857600080fd5b8063e883d7f414610773578063e985e9c514610788578063e9866550146107de57600080fd5b8063c87b56dd116100bb578063c87b56dd14610706578063d0b1105b14610726578063d2a2c7971461074657600080fd5b8063b88d4fde146106d0578063c1a9a626146106f057600080fd5b8063928a730511610138578063a1a6cfec11610112578063a1a6cfec14610677578063a22cb46514610691578063a774c920146106b157600080fd5b8063928a73051461063757806395d89b411461064d578063a10866ef1461066257600080fd5b80638af1becb116101695780638af1becb146105e15780638da5cb5b146105f75780638f36245e1461062257600080fd5b80637d7eee42146105945780638462151c146105b457600080fd5b80632f745c591161023d57806355f804b3116101f157806370a08231116101cb57806370a082311461053f578063715018a61461055f578063791a25191461057457600080fd5b806355f804b3146104ec57806360bb0f071461050c5780636352211e1461051f57600080fd5b80633e22f769116102225780633e22f7691461048c57806342842e0e146104ac5780634f6ccce7146104cc57600080fd5b80632f745c59146104575780633ccfd60b1461047757600080fd5b806310969523116102945780631f62d453116102795780631f62d4531461040e57806323b872dd1461042157806329a58d481461044157600080fd5b806310969523146103cf57806318160ddd146103ef57600080fd5b806306fdde03116102c557806306fdde0314610346578063081812fc14610368578063095ea7b3146103ad57600080fd5b806301f20f5a146102e157806301ffc9a714610326575b600080fd5b3480156102ed57600080fd5b506103116102fc36600461326e565b600e6020526000908152604090205460ff1681565b60405190151581526020015b60405180910390f35b34801561033257600080fd5b506103116103413660046132b5565b610858565b34801561035257600080fd5b5061035b6108b4565b60405161031d9190613348565b34801561037457600080fd5b5061038861038336600461326e565b610946565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200161031d565b3480156103b957600080fd5b506103cd6103c836600461337d565b6109f1565b005b3480156103db57600080fd5b506103cd6103ea36600461349d565b610b4a565b3480156103fb57600080fd5b506002545b60405190815260200161031d565b6103cd61041c3660046134e6565b610bc8565b34801561042d57600080fd5b506103cd61043c36600461358c565b6110a8565b34801561044d57600080fd5b5061040060085481565b34801561046357600080fd5b5061040061047236600461337d565b61112f565b34801561048357600080fd5b506103cd61124b565b34801561049857600080fd5b506103cd6104a73660046135cd565b6112de565b3480156104b857600080fd5b506103cd6104c736600461358c565b611405565b3480156104d857600080fd5b506104006104e736600461326e565b611420565b3480156104f857600080fd5b506103cd61050736600461349d565b61147d565b6103cd61051a36600461326e565b6114f7565b34801561052b57600080fd5b5061038861053a36600461326e565b61178d565b34801561054b57600080fd5b5061040061055a3660046135fd565b61183a565b34801561056b57600080fd5b506103cd611939565b34801561058057600080fd5b506103cd61058f36600461326e565b6119ac565b3480156105a057600080fd5b506103cd6105af36600461326e565b611a18565b3480156105c057600080fd5b506105d46105cf3660046135fd565b611a84565b60405161031d919061361a565b3480156105ed57600080fd5b5061040061271081565b34801561060357600080fd5b5060055473ffffffffffffffffffffffffffffffffffffffff16610388565b34801561062e57600080fd5b5061035b611b7e565b34801561064357600080fd5b50610400600a5481565b34801561065957600080fd5b5061035b611c0c565b34801561066e57600080fd5b506103cd611c1b565b34801561068357600080fd5b506009546103119060ff1681565b34801561069d57600080fd5b506103cd6106ac36600461365e565b611cbc565b3480156106bd57600080fd5b5060095461031190610100900460ff1681565b3480156106dc57600080fd5b506103cd6106eb366004613691565b611db9565b3480156106fc57600080fd5b50610400600b5481565b34801561071257600080fd5b5061035b61072136600461326e565b611e47565b34801561073257600080fd5b506103cd6107413660046134e6565b611f20565b34801561075257600080fd5b506104006107613660046135fd565b600d6020526000908152604090205481565b34801561077f57600080fd5b50610400600a81565b34801561079457600080fd5b506103116107a3366004613711565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b3480156107ea57600080fd5b506103cd612391565b3480156107ff57600080fd5b5061031161080e36600461326e565b600f6020526000908152604090205460ff1681565b34801561082f57600080fd5b506103cd612420565b34801561084457600080fd5b506103cd6108533660046135fd565b6124b9565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d630000000000000000000000000000000000000000000000000000000014806108ae57506108ae826125b2565b92915050565b6060600080546108c39061373f565b80601f01602080910402602001604051908101604052809291908181526020018280546108ef9061373f565b801561093c5780601f106109115761010080835404028352916020019161093c565b820191906000526020600020905b81548152906001019060200180831161091f57829003601f168201915b5050505050905090565b600061095182612695565b6109c85760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60006109fc8261178d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610aa05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f720000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b3373ffffffffffffffffffffffffffffffffffffffff82161480610ac95750610ac981336107a3565b610b3b5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c000000000000000060648201526084016109bf565b610b4583836126f9565b505050565b60055473ffffffffffffffffffffffffffffffffffffffff163314610bb15760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b8051610bc49060079060208401906131de565b5050565b60026006541415610c1b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109bf565b600260065560095460ff16610c725760405162461bcd60e51b815260206004820152601960248201527f50726553616c652069736e27742061637469766520796574210000000000000060448201526064016109bf565b612710610c7e60025490565b8251610c8a91906137c2565b1115610cfe5760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d70732e000000000000000000000000000000000000000000000060648201526084016109bf565b60005b8151811015610f18573373ffffffffffffffffffffffffffffffffffffffff167f000000000000000000000000cdc587359c62140fe4bd1764011643131a980d2f73ffffffffffffffffffffffffffffffffffffffff16636352211e848481518110610d6f57610d6f6137da565b60200260200101516040518263ffffffff1660e01b8152600401610d9591815260200190565b602060405180830381865afa158015610db2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610dd69190613809565b73ffffffffffffffffffffffffffffffffffffffff1614610e5f5760405162461bcd60e51b815260206004820152602360248201527f596f7520646f6e2774206f776e206f6e65206f6620746865205375706572426160448201527f6c6c73000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600e6000838381518110610e7557610e756137da565b60209081029190910181015182528101919091526040016000205460ff1615610f065760405162461bcd60e51b815260206004820152602860248201527f54686520494d5020666f72206120537570657242616c6c20686173206265656e60448201527f20636c61696d656400000000000000000000000000000000000000000000000060648201526084016109bf565b80610f1081613826565b915050610d01565b5060008151600a54610f2a919061385f565b9050348114610f7b5760405162461bcd60e51b815260206004820152601460248201527f4574682076616c756520696e636f72726563742e00000000000000000000000060448201526064016109bf565b60005b825181101561109e57600e6000848381518110610f9d57610f9d6137da565b60209081029190910181015182528101919091526040016000205460ff161561102e5760405162461bcd60e51b815260206004820152602860248201527f54686520494d5020666f72206120537570657242616c6c20686173206265656e60448201527f20636c61696d656400000000000000000000000000000000000000000000000060648201526084016109bf565b600061103960025490565b90506110453382612799565b6001600e600086858151811061105d5761105d6137da565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061109690613826565b915050610f7e565b5050600160065550565b6110b233826127b3565b6111245760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b610b458383836128ef565b600061113a8361183a565b82106111885760405162461bcd60e51b815260206004820152601660248201527f455243373231456e756d3a206f776e657220696f6f620000000000000000000060448201526064016109bf565b6000805b60025481101561120257600281815481106111a9576111a96137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff868116911614156111f257838214156111e65791506108ae9050565b6111ef82613826565b91505b6111fb81613826565b905061118c565b5060405162461bcd60e51b815260206004820152601660248201527f455243373231456e756d3a206f776e657220696f6f620000000000000000000060448201526064016109bf565b60055473ffffffffffffffffffffffffffffffffffffffff1633146112b25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b476112db6112d560055473ffffffffffffffffffffffffffffffffffffffff1690565b82612abe565b50565b60055473ffffffffffffffffffffffffffffffffffffffff1633146113455760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6127108261135260025490565b61135c91906137c2565b11156113d05760405162461bcd60e51b815260206004820152602860248201527f476976656177617920776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d707300000000000000000000000000000000000000000000000060648201526084016109bf565b60005b82811015610b455760006113e660025490565b90506113f28382612799565b50806113fd81613826565b9150506113d3565b610b4583838360405180602001604052806000815250611db9565b600061142b60025490565b82106114795760405162461bcd60e51b815260206004820152601760248201527f455243373231456e756d3a20676c6f62616c20696f6f6200000000000000000060448201526064016109bf565b5090565b60055473ffffffffffffffffffffffffffffffffffffffff1633146114e45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b8051610bc490600c9060208401906131de565b6002600654141561154a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109bf565b6002600655600954610100900460ff166115a65760405162461bcd60e51b815260206004820152601660248201527f53616c652069736e27742061637469766520796574210000000000000000000060448201526064016109bf565b6127106115b260025490565b6115bc90836137c2565b11156116305760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d70732e000000000000000000000000000000000000000000000060648201526084016109bf565b336000908152600d6020526040902054600a9061164e9083906137c2565b11156116c25760405162461bcd60e51b815260206004820152602260248201527f456163682077616c6c65742063616e206f6e6c79206d696e7420313020496d7060448201527f732e00000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600081600b546116d2919061385f565b90503481146117235760405162461bcd60e51b815260206004820152601460248201527f4574682076616c756520696e636f72726563742e00000000000000000000000060448201526064016109bf565b60005b8281101561175857600061173960025490565b90506117453382612799565b508061175081613826565b915050611726565b50336000908152600d60205260409020546117749083906137c2565b336000908152600d602052604090205550506001600655565b600080600283815481106117a3576117a36137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff169050806108ae5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e000000000000000000000000000000000000000000000060648201526084016109bf565b600073ffffffffffffffffffffffffffffffffffffffff82166118c55760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f20616464726573730000000000000000000000000000000000000000000060648201526084016109bf565b600254600090815b8181101561193057600281815481106118e8576118e86137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff868116911614156119205761191d83613826565b92505b61192981613826565b90506118cd565b50909392505050565b60055473ffffffffffffffffffffffffffffffffffffffff1633146119a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b6119aa6000612be4565b565b60055473ffffffffffffffffffffffffffffffffffffffff163314611a135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600b55565b60055473ffffffffffffffffffffffffffffffffffffffff163314611a7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600a55565b6060611a8f8261183a565b600010611ade5760405162461bcd60e51b815260206004820152601660248201527f455243373231456e756d3a206f776e657220696f6f620000000000000000000060448201526064016109bf565b6000611ae98361183a565b905060008167ffffffffffffffff811115611b0657611b066133a9565b604051908082528060200260200182016040528015611b2f578160200160208202803683370190505b50905060005b82811015611b7657611b47858261112f565b828281518110611b5957611b596137da565b602090810291909101015280611b6e81613826565b915050611b35565b509392505050565b60078054611b8b9061373f565b80601f0160208091040260200160405190810160405280929190818152602001828054611bb79061373f565b8015611c045780601f10611bd957610100808354040283529160200191611c04565b820191906000526020600020905b815481529060010190602001808311611be757829003601f168201915b505050505081565b6060600180546108c39061373f565b60055473ffffffffffffffffffffffffffffffffffffffff163314611c825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff81166101009182900460ff1615909102179055565b73ffffffffffffffffffffffffffffffffffffffff8216331415611d225760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016109bf565b33600081815260046020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611dc333836127b3565b611e355760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656400000000000000000000000000000060648201526084016109bf565b611e4184848484612c5b565b50505050565b6060611e5282612695565b611ec45760405162461bcd60e51b815260206004820152602160248201527f4552433732314d657461646174613a204e6f6e6578697374656e7420746f6b6560448201527f6e0000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b6000611ece612ce4565b90506000815111611eee5760405180602001604052806000815250611f19565b80611ef884612cf3565b604051602001611f0992919061389c565b6040516020818303038152906040525b9392505050565b60026006541415611f735760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109bf565b600260065560095460ff16611fca5760405162461bcd60e51b815260206004820152601960248201527f50726553616c652069736e27742061637469766520796574210000000000000060448201526064016109bf565b612710611fd660025490565b8251611fe291906137c2565b11156120565760405162461bcd60e51b815260206004820152602960248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620496d70732e000000000000000000000000000000000000000000000060648201526084016109bf565b60005b8151811015612264577f000000000000000000000000cdc587359c62140fe4bd1764011643131a980d2f73ffffffffffffffffffffffffffffffffffffffff1663ebcd69de8383815181106120b0576120b06137da565b6020026020010151336040518363ffffffff1660e01b81526004016120f592919091825273ffffffffffffffffffffffffffffffffffffffff16602082015260400190565b602060405180830381865afa158015612112573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061213691906138cb565b6001146121ab5760405162461bcd60e51b815260206004820152602360248201527f596f7520617265206e6f7420746865206f776e6572206f66207468697320686560448201527f61642e000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600f60008383815181106121c1576121c16137da565b60209081029190910181015182528101919091526040016000205460ff16156122525760405162461bcd60e51b815260206004820152602160248201527f54686520494d5020666f72206120464820686173206265656e20636c61696d6560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b8061225c81613826565b915050612059565b5060005b815181101561238857600f6000838381518110612287576122876137da565b60209081029190910181015182528101919091526040016000205460ff16156123185760405162461bcd60e51b815260206004820152602160248201527f54686520494d5020666f72206120464820686173206265656e20636c61696d6560448201527f640000000000000000000000000000000000000000000000000000000000000060648201526084016109bf565b600061232360025490565b905061232f3382612799565b6001600f6000858581518110612347576123476137da565b6020026020010151815260200190815260200160002060006101000a81548160ff02191690831515021790555050808061238090613826565b915050612268565b50506001600655565b60055473ffffffffffffffffffffffffffffffffffffffff1633146123f85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b61240461271042613913565b60088190556119aa5760085461241b9060016137c2565b600855565b60055473ffffffffffffffffffffffffffffffffffffffff1633146124875760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b600980547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00811660ff90911615179055565b60055473ffffffffffffffffffffffffffffffffffffffff1633146125205760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016109bf565b73ffffffffffffffffffffffffffffffffffffffff81166125a95760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084016109bf565b6112db81612be4565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061264557507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b806108ae57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316146108ae565b600254600090821080156108ae5750600073ffffffffffffffffffffffffffffffffffffffff16600283815481106126cf576126cf6137da565b60009182526020909120015473ffffffffffffffffffffffffffffffffffffffff16141592915050565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906127538261178d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b610bc4828260405180602001604052806000815250612e25565b60006127be82612695565b6128305760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084016109bf565b600061283b8361178d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806128aa57508373ffffffffffffffffffffffffffffffffffffffff1661289284610946565b73ffffffffffffffffffffffffffffffffffffffff16145b806128e7575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661290f8261178d565b73ffffffffffffffffffffffffffffffffffffffff16146129985760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e000000000000000000000000000000000000000000000060648201526084016109bf565b73ffffffffffffffffffffffffffffffffffffffff8216612a205760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016109bf565b612a2b6000826126f9565b8160028281548110612a3f57612a3f6137da565b6000918252602082200180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff938416179055604051839285811692908716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505050565b80471015612b0e5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e636500000060448201526064016109bf565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114612b68576040519150601f19603f3d011682016040523d82523d6000602084013e612b6d565b606091505b5050905080610b455760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d6179206861766520726576657274656400000000000060648201526084016109bf565b6005805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612c668484846128ef565b612c7284848484612eae565b611e415760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b6060600c80546108c39061373f565b606081612d3357505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612d5d5780612d4781613826565b9150612d569050600a83613927565b9150612d37565b60008167ffffffffffffffff811115612d7857612d786133a9565b6040519080825280601f01601f191660200182016040528015612da2576020820181803683370190505b5090505b84156128e757612db760018361393b565b9150612dc4600a86613913565b612dcf9060306137c2565b60f81b818381518110612de457612de46137da565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612e1e600a86613927565b9450612da6565b612e2f8383613084565b612e3c6000848484612eae565b610b455760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b600073ffffffffffffffffffffffffffffffffffffffff84163b15613079576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290612f25903390899088908890600401613952565b6020604051808303816000875af1925050508015612f7e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252612f7b9181019061399b565b60015b61302e573d808015612fac576040519150601f19603f3d011682016040523d82523d6000602084013e612fb1565b606091505b5080516130265760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016109bf565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506128e7565b506001949350505050565b73ffffffffffffffffffffffffffffffffffffffff82166130e75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f206164647265737360448201526064016109bf565b6130f081612695565b1561313d5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000060448201526064016109bf565b6002805460018101825560009182527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace0180547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff85169081179091556040518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b8280546131ea9061373f565b90600052602060002090601f01602090048101928261320c5760008555613252565b82601f1061322557805160ff1916838001178555613252565b82800160010185558215613252579182015b82811115613252578251825591602001919060010190613237565b506114799291505b80821115611479576000815560010161325a565b60006020828403121561328057600080fd5b5035919050565b7fffffffff00000000000000000000000000000000000000000000000000000000811681146112db57600080fd5b6000602082840312156132c757600080fd5b8135611f1981613287565b60005b838110156132ed5781810151838201526020016132d5565b83811115611e415750506000910152565b600081518084526133168160208601602086016132d2565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611f1960208301846132fe565b73ffffffffffffffffffffffffffffffffffffffff811681146112db57600080fd5b6000806040838503121561339057600080fd5b823561339b8161335b565b946020939093013593505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff8111828210171561341f5761341f6133a9565b604052919050565b600067ffffffffffffffff831115613441576134416133a9565b61347260207fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0601f860116016133d8565b905082815283838301111561348657600080fd5b828260208301376000602084830101529392505050565b6000602082840312156134af57600080fd5b813567ffffffffffffffff8111156134c657600080fd5b8201601f810184136134d757600080fd5b6128e784823560208401613427565b600060208083850312156134f957600080fd5b823567ffffffffffffffff8082111561351157600080fd5b818501915085601f83011261352557600080fd5b813581811115613537576135376133a9565b8060051b91506135488483016133d8565b818152918301840191848101908884111561356257600080fd5b938501935b8385101561358057843582529385019390850190613567565b98975050505050505050565b6000806000606084860312156135a157600080fd5b83356135ac8161335b565b925060208401356135bc8161335b565b929592945050506040919091013590565b600080604083850312156135e057600080fd5b8235915060208301356135f28161335b565b809150509250929050565b60006020828403121561360f57600080fd5b8135611f198161335b565b6020808252825182820181905260009190848201906040850190845b8181101561365257835183529284019291840191600101613636565b50909695505050505050565b6000806040838503121561367157600080fd5b823561367c8161335b565b9150602083013580151581146135f257600080fd5b600080600080608085870312156136a757600080fd5b84356136b28161335b565b935060208501356136c28161335b565b925060408501359150606085013567ffffffffffffffff8111156136e557600080fd5b8501601f810187136136f657600080fd5b61370587823560208401613427565b91505092959194509250565b6000806040838503121561372457600080fd5b823561372f8161335b565b915060208301356135f28161335b565b600181811c9082168061375357607f821691505b6020821081141561378d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600082198211156137d5576137d5613793565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60006020828403121561381b57600080fd5b8151611f198161335b565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561385857613858613793565b5060010190565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561389757613897613793565b500290565b600083516138ae8184602088016132d2565b8351908301906138c28183602088016132d2565b01949350505050565b6000602082840312156138dd57600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613922576139226138e4565b500690565b600082613936576139366138e4565b500490565b60008282101561394d5761394d613793565b500390565b600073ffffffffffffffffffffffffffffffffffffffff80871683528086166020840152508360408301526080606083015261399160808301846132fe565b9695505050505050565b6000602082840312156139ad57600080fd5b8151611f198161328756fea2646970667358221220a038e61328823872d95e0d3ea871d8d6cba1bc9e3594735c354f70c68fca8f3b64736f6c634300080a0033

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

000000000000000000000000000000000000000000000000000000000000004000000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000000000004496d7073000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003494d500000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Imps
Arg [1] : symbol (string): IMP

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [3] : 496d707300000000000000000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [5] : 494d500000000000000000000000000000000000000000000000000000000000


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.