ETH Price: $3,413.53 (+6.94%)
Gas: 19 Gwei

Token

NiftyNafty (NN)
 

Overview

Max Total Supply

827 NN

Holders

494

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 NN
0x1Dbb987451d845021d6e585dEa2c56E62d113A2C
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
NiftyNafty

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

import './ERC721Enumerable.sol';
import './Strings.sol';
import './INiftyNafty.sol';
import './INiftyNaftyMetadata.sol';


contract NiftyNafty is ERC721Enumerable,  INiftyNafty, INiftyNaftyMetadata {
    using Strings for uint256;


    uint256 private constant startIDFrom=1;// The initial token ID
    uint256 public constant COUNT_PRESALE = 250;
    uint256 public  constant PUBLIC_MAX = 8999;
    uint256 public  constant GIFT_MAX = 1000;
    uint256 public constant PURCHASE_LIMIT = 3;

    uint256 public saleMode = 0;//0-none, 1-presale, 2-public
    uint256 public PRICE_PRESALE = 0.05 ether;
    uint256 public PRICE_WHITE = 0.07 ether;
    uint256 public PRICE = 0.08 ether;


    bool public isActive = true;
    bool public isAllowListActive = false;
    string public proof;

    uint256 public allowListMaxMint = 3;

    uint256 public totalGiftSupply;
    uint256 public totalPublicSupply;
    uint256 public startDate;

    address[] internal _ownersList;

    mapping(address => bool) private _allowList;
    mapping(address => uint256) private _claimed;

    string private _contractURI = '';
    string private _tokenBaseURI = '';
    string private _tokenRevealedBaseURI = '';

    //---------------------------------------------------------------------------------------------------------------new
    // Used for random index assignment
    mapping(uint256 => uint256) private tokenMatrix;

    address public addressDAO;
    uint256 public constant DAO_PERCENT = 55;//  1/1000
    uint256 private _allBalance;
    uint256 private _sentDAO;

    bytes32 public lastOperation;
    address public lastOwner;

    bool public revealed = false;
    string public notRevealedUri;


    constructor(string memory name, string memory symbol) ERC721(name, symbol) {
        _ownersList.push(_msgSender());
    }

    function updateOwnersList(address[] calldata addresses) external override onlyTwoOwners {
        _ownersList = addresses;
    }

    function onOwnersList(address addr) external view override returns (bool) {
        for(uint i = 0; i < _ownersList.length; i++) {
            if (_ownersList[i] == addr) {
                return true;
            }
        }
        return false;
    }

    function addToAllowList(address[] calldata addresses) external override onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Can't add the null address");

            _allowList[addresses[i]] = true;
            _claimed[addresses[i]] > 0 ? _claimed[addresses[i]] : 0;
        }
    }

    function onAllowList(address addr) external view override returns (bool) {
        return _allowList[addr];
    }

    function removeFromAllowList(address[] calldata addresses) external override onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            require(addresses[i] != address(0), "Can't add the null address");
            _allowList[addresses[i]] = false;
        }
    }

    function setPricePreSale(uint256 newPrice) external  onlyOwner {
        PRICE_PRESALE = newPrice;
    }
    function setPriceWhite(uint256 newPrice) external  onlyOwner {
        PRICE_WHITE = newPrice;
    }

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


    function setStartDate(uint256 newDate) external override onlyOwner {
        startDate = newDate;
    }

    function claimedBy(address addr) external view override returns (uint256){
        require(addr != address(0), "Can't check the null address");
        return _claimed[addr];
    }

    function purchase(uint256 numberOfTokens) external override payable {
        require(block.timestamp > startDate, 'Sale not started');
        require(isActive, 'Contract is not active');
        require(saleMode>0, 'The sale mode is not enabled');
        require(numberOfTokens <= PURCHASE_LIMIT, 'Would exceed PURCHASE_LIMIT');

        if (isAllowListActive) {
            require(_allowList[msg.sender], 'You are not on the Allow List');
        }

        //Mechanics of price selection
        uint256 Price=PRICE;
        if (saleMode == 1) {
            Price=PRICE_PRESALE;
        }
        else
        if(_allowList[msg.sender]){
            Price=PRICE_WHITE;
        }

        //optimistic set
        uint256 tokenCount=totalPublicSupply;
        _allBalance += msg.value;
        _claimed[msg.sender] += numberOfTokens;
        totalPublicSupply += numberOfTokens;

        //Mechanics of determining the end of the pre sale
        if (saleMode == 1) {
            require(totalPublicSupply <= COUNT_PRESALE, 'All PRESALE tokens have been minted');
            if(totalPublicSupply >= COUNT_PRESALE)
                saleMode=0;
        }

        require(_claimed[msg.sender] <= allowListMaxMint, 'Purchase exceeds max allowed');
        require(totalPublicSupply  <= PUBLIC_MAX, 'Purchase would exceed PUBLIC_MAX');
        require(Price * numberOfTokens <= msg.value, 'ETH amount is not sufficient');




        for (uint256 i = 0; i < numberOfTokens; i++) {

            uint256 tokenId = nextToken(tokenCount);
            tokenCount+=1;
            _safeMint(msg.sender, tokenId);

        }
    }

    function gift(address[] calldata to) external override onlyTwoOwners {
        require(totalGiftSupply + to.length <= GIFT_MAX, 'Not enough tokens left to gift');
        
        uint256 tokenCount=totalGiftSupply;
        totalGiftSupply += to.length;
        for(uint256 i = 0; i < to.length; i++) {
            uint256 tokenId = tokenCount + PUBLIC_MAX + 1 + i;
            _safeMint(to[i], tokenId);
        }
    }

    function setIsActive(bool _isActive) external override onlyOwner {
        isActive = _isActive;
    }

    function setIsAllowListActive(bool _isAllowListActive) external override onlyOwner {
        isAllowListActive = _isAllowListActive;
    }
    function setSaleMode(uint256 _Mode) external onlyOwner {
        saleMode = _Mode;
    }



    function setAllowListMaxMint(uint256 maxMint) external override onlyOwner {
        allowListMaxMint = maxMint;
    }

    function setProof(string calldata proofString) external override onlyOwner {
        proof = proofString;
    }

    function withdraw() external override onlyTwoOwners {
        require(_ownersList.length > 0, "Can't withdraw where owners list empty");

        int256 balance=int256(address(this).balance)-int256(getProfitDAO());
        require(balance>0, "Can't withdraw - no funds available");
        

        uint256 part = uint256(balance) / _ownersList.length;
        if(part>0)
        {
            for(uint256 i = 0; i < _ownersList.length; i++) {
                payable(_ownersList[i]).transfer(part);
            }
        }
    }

    function setContractURI(string calldata URI) external override onlyOwner {
        _contractURI = URI;
    }

    function setBaseURI(string calldata URI) external override onlyOwner {
        _tokenBaseURI = URI;
    }

    function setRevealedBaseURI(string calldata revealedBaseURI) external override onlyOwner {
        _tokenRevealedBaseURI = revealedBaseURI;
    }

    function contractURI() public view override returns (string memory) {
        return _contractURI;
    }

    function tokenURI(uint256 tokenId) public view override(ERC721) returns (string memory) {
        require(_exists(tokenId), 'Token does not exist');

        if(revealed == false) {
            return notRevealedUri;
        }

        string memory revealedBaseURI = _tokenRevealedBaseURI;
        return bytes(revealedBaseURI).length > 0 ?
            string(abi.encodePacked(revealedBaseURI, tokenId.toString(), '.json')) :
            _tokenBaseURI;
    }

    function reveal() public onlyOwner {
        revealed = true;
    }
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }

    //---------------------------------------------------------------------------------------------------------------new

    function setDAO(address setAddress) external onlyOwner {
        require(setAddress != address(0), "Can't check the null address");
        addressDAO = setAddress;
    }

    function withdrawDAO() external onlyTwoOwners {
        uint256 ProfitDAO=getProfitDAO();

        require(ProfitDAO>0, "Can't withdraw - no funds available");
        require(addressDAO!= address(0), "Can't withdraw - DAO not set");

        (bool success,) = payable(addressDAO).call{value:ProfitDAO, gas: 100000}("");
        if(success)
        {
            _sentDAO += ProfitDAO;
        }


        
    }

    function getProfitDAO() public view returns (uint256 ProfitDAO) {
        int256 Balance = int256(_allBalance * DAO_PERCENT/1000) - int256(_sentDAO);
        if(Balance>0)
            ProfitDAO=uint256(Balance);
        else
            ProfitDAO=0;
    }

    /// Get the next token ID
    /// @dev Randomly gets a new token ID and keeps track of the ones that are still available.
    /// @return the next token ID
    function nextToken(uint256 tokenCount) internal returns (uint256) {
        uint256 maxIndex = PUBLIC_MAX - tokenCount;
        uint256 random = uint256(keccak256(
                abi.encodePacked(
                    msg.sender,
                    block.coinbase,
                    block.difficulty,
                    block.gaslimit,
                    block.timestamp
                )
            )) % maxIndex;

        uint256 value = 0;
        if (tokenMatrix[random] == 0) {
            // If this matrix position is empty, set the value to the generated random number.
            value = random;
        } else {
            // Otherwise, use the previously stored number from the matrix.
            value = tokenMatrix[random];
        }

        // If the last available tokenID is still unused...
        if (tokenMatrix[maxIndex - 1] == 0) {
            // ...store that ID in the current matrix position.
            tokenMatrix[random] = maxIndex - 1;
        } else {
            // ...otherwise copy over the stored number to the current matrix position.
            tokenMatrix[random] = tokenMatrix[maxIndex - 1];
        }

        return value + startIDFrom;
    }

   
   //---------------------------------------------------------------------------------------------------------MultSig 2/N

     // MODIFIERS

    /**
    * @dev Allows to perform method by any of the owners
    */
    modifier onlyOwner {

        require(isOwner(), "onlyOwner: caller is not the owner");
        
        _;

    }


    /**
    * @dev Allows to perform method only after many owners call it with the same arguments
    */
    modifier onlyTwoOwners {

        require(isOwner(), "onlyTwoOwners: caller is not the owner");

        bytes32 operation = keccak256(msg.data);

        if(_ownersList.length == 1 || (lastOperation == operation && lastOwner != msg.sender))
        {
            resetVote();
            _;
        }
        else
        if(lastOperation != operation || lastOwner == msg.sender)
        {
            //new vote
            lastOperation = operation;
            lastOwner = msg.sender;
        }

     }


    /**
     * @dev Returns the address of the current owner
     */
    function owner() public view virtual returns (address) {
        return _ownersList[0];
    }

    /**
     * @dev Returns a list of owners addresses
     */
    function owners() public view virtual returns (address [] memory) {
        return _ownersList;
    }
 

   function isOwner()internal view returns(bool) {

        for(uint256 i = 0; i < _ownersList.length; i++) 
        {
            if(_ownersList[i]==msg.sender)
            {
                return true;
            }
        }

        return false;
    }

    function resetVote()internal{

        lastOperation=0;
        lastOwner=address(0);
    }

    /**
    * @dev Allows owners to change their mind by cacnelling vote operations
    */
    function cancelVote() public onlyOwner {
        resetVote();
    }



}

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

pragma solidity ^0.8.0;

import "./ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

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

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

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

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

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 4 of 14 : INiftyNafty.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface INiftyNafty {
    function updateOwnersList(address[] calldata addresses) external;

    function onOwnersList(address addr) external returns (bool);

    function addToAllowList(address[] calldata addresses) external;

    function onAllowList(address addr) external returns (bool);

    function removeFromAllowList(address[] calldata addresses) external;

    function claimedBy(address owner) external returns (uint256);

    function purchase(uint256 numberOfTokens) external payable;

    function gift(address[] calldata to) external;

    function setIsActive(bool isActive) external;

    function setPrice(uint256 newPrice) external;

    //function setMaxTotalSupply(uint256 newCount) external;

    function setStartDate(uint256 newDate) external;

    function setIsAllowListActive(bool isAllowListActive) external;

    function setAllowListMaxMint(uint256 maxMint) external;

    function setProof(string memory proofString) external;

    function withdraw() external;
}

File 5 of 14 : INiftyNaftyMetadata.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface INiftyNaftyMetadata {
    function setContractURI(string calldata URI) external;

    function setBaseURI(string calldata URI) external;

    function setRevealedBaseURI(string calldata revealedBaseURI) external;

    function contractURI() external view returns(string memory);
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

File 8 of 14 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./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 9 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC721.sol";

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 14 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 13 of 14 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"COUNT_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DAO_PERCENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GIFT_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PRESALE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_WHITE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PURCHASE_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addToAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"addressDAO","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListMaxMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cancelVote","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"claimedBy","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getProfitDAO","outputs":[{"internalType":"uint256","name":"ProfitDAO","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"to","type":"address[]"}],"name":"gift","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"isActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isAllowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"lastOperation","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"onOwnersList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"owners","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proof","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"removeFromAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleMode","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"setAllowListMaxMint","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":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"setAddress","type":"address"}],"name":"setDAO","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isActive","type":"bool"}],"name":"setIsActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isAllowListActive","type":"bool"}],"name":"setIsAllowListActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPricePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPriceWhite","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"proofString","type":"string"}],"name":"setProof","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"revealedBaseURI","type":"string"}],"name":"setRevealedBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_Mode","type":"uint256"}],"name":"setSaleMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newDate","type":"uint256"}],"name":"setStartDate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startDate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalGiftSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalPublicSupply","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":"addresses","type":"address[]"}],"name":"updateOwnersList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawDAO","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6000600a81905566b1a2bc2ec50000600b5566f8b0a10e470000600c5567011c37937e080000600d55600e805461ffff19166001179055600360105560a06040819052608082905262000056916017919062000159565b50604080516020810191829052600090819052620000779160189162000159565b50604080516020810191829052600090819052620000989160199162000159565b50601f805460ff60a01b19169055348015620000b357600080fd5b5060405162003e0d38038062003e0d833981016040819052620000d691620002b6565b815182908290620000ef90600090602085019062000159565b5080516200010590600190602084019062000159565b50505060146200011a6200015560201b60201c565b81546001810183556000928352602090922090910180546001600160a01b0319166001600160a01b0390921691909117905550620003739050565b3390565b828054620001679062000320565b90600052602060002090601f0160209004810192826200018b5760008555620001d6565b82601f10620001a657805160ff1916838001178555620001d6565b82800160010185558215620001d6579182015b82811115620001d6578251825591602001919060010190620001b9565b50620001e4929150620001e8565b5090565b5b80821115620001e45760008155600101620001e9565b600082601f8301126200021157600080fd5b81516001600160401b03808211156200022e576200022e6200035d565b604051601f8301601f19908116603f011681019082821181831017156200025957620002596200035d565b816040528381526020925086838588010111156200027657600080fd5b600091505b838210156200029a57858201830151818301840152908201906200027b565b83821115620002ac5760008385830101525b9695505050505050565b60008060408385031215620002ca57600080fd5b82516001600160401b0380821115620002e257600080fd5b620002f086838701620001ff565b935060208501519150808211156200030757600080fd5b506200031685828601620001ff565b9150509250929050565b600181811c908216806200033557607f821691505b602082108114156200035757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b613a8a80620003836000396000f3fe6080604052600436106103e45760003560e01c806373ebb91c11610208578063affe39c111610118578063e6a5931e116100ab578063efef39a11161007a578063efef39a114610b29578063f2c4ce1e14610b3c578063faf924cf14610b5c578063fe779f6c14610b71578063ff8304c214610b9157600080fd5b8063e6a5931e14610a95578063e73a914c14610aab578063e8a3d48514610acb578063e985e9c514610ae057600080fd5b8063c87b56dd116100e7578063c87b56dd14610a2a578063d6f407c714610a4a578063d75e611014610a60578063e203466914610a7557600080fd5b8063affe39c1146109bd578063b88d4fde146109df578063c449c588146109ff578063c4e8997f14610a1457600080fd5b8063938e3d7b1161019b578063a475b5dd1161016a578063a475b5dd14610948578063a51312c81461095d578063a5e5a3ba1461097d578063aa97e06b14610992578063afa6c735146109a757600080fd5b8063938e3d7b146108de57806395c96554146108fe57806395d89b4114610913578063a22cb4651461092857600080fd5b80638a56ca45116101d75780638a56ca45146108735780638d859f3e146108935780638da5cb5b146108a957806391b7f5ed146108be57600080fd5b806373ebb91c146108075780637a6685f11461081d5780637f44ab2f1461083d57806382d95df51461085357600080fd5b80632750fc781161030357806351830227116102965780636e83843a116102655780636e83843a14610771578063707a58691461079157806370a08231146107a7578063718bc4af146107c75780637263cfe2146107e757600080fd5b806351830227146106f057806355f804b3146107115780636352211e1461073157806369c63fe61461075157600080fd5b80633a065892116102d25780633a065892146106625780633ccfd60b1461069b57806342842e0e146106b05780634f6ccce7146106d057600080fd5b80632750fc78146105e357806329998d4b1461060357806329fc6bae146106235780632f745c591461064257600080fd5b806315336f801161037b5780631af5e8611161034a5780631af5e861146105735780631b6c5acb1461058957806322f3e2d4146105a957806323b872dd146105c357600080fd5b806315336f8014610509578063163e1e611461052957806318160ddd1461054957806318952a151461055e57600080fd5b8063081c8c44116103b7578063081c8c441461049a578063095ea7b3146104af5780630b97bc86146104cf5780630deed6a6146104f357600080fd5b806301ffc9a7146103e957806306fdde031461041e5780630745e9ac14610440578063081812fc14610462575b600080fd5b3480156103f557600080fd5b50610409610404366004613517565b610bb1565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610bdc565b6040516104159190613718565b34801561044c57600080fd5b5061046061045b3660046135fa565b610c6e565b005b34801561046e57600080fd5b5061048261047d3660046135fa565b610ca0565b6040516001600160a01b039091168152602001610415565b3480156104a657600080fd5b50610433610d35565b3480156104bb57600080fd5b506104606104ca36600461345d565b610dc3565b3480156104db57600080fd5b506104e560135481565b604051908152602001610415565b3480156104ff57600080fd5b506104e5600a5481565b34801561051557600080fd5b50610460610524366004613551565b610ed9565b34801561053557600080fd5b50610460610544366004613487565b610f09565b34801561055557600080fd5b506008546104e5565b34801561056a57600080fd5b506104e56110ad565b34801561057f57600080fd5b506104e561232781565b34801561059557600080fd5b506104606105a4366004613487565b6110f2565b3480156105b557600080fd5b50600e546104099060ff1681565b3480156105cf57600080fd5b506104606105de36600461337b565b61117b565b3480156105ef57600080fd5b506104606105fe3660046134fc565b6111ac565b34801561060f57600080fd5b506104e561061e36600461332d565b6111e3565b34801561062f57600080fd5b50600e5461040990610100900460ff1681565b34801561064e57600080fd5b506104e561065d36600461345d565b611257565b34801561066e57600080fd5b5061040961067d36600461332d565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156106a757600080fd5b506104606112ed565b3480156106bc57600080fd5b506104606106cb36600461337b565b6114be565b3480156106dc57600080fd5b506104e56106eb3660046135fa565b6114d9565b3480156106fc57600080fd5b50601f5461040990600160a01b900460ff1681565b34801561071d57600080fd5b5061046061072c366004613551565b61156c565b34801561073d57600080fd5b5061048261074c3660046135fa565b61159c565b34801561075d57600080fd5b5061040961076c36600461332d565b611613565b34801561077d57600080fd5b5061046061078c366004613551565b61167d565b34801561079d57600080fd5b506104e56103e881565b3480156107b357600080fd5b506104e56107c236600461332d565b6116ad565b3480156107d357600080fd5b506104606107e23660046134fc565b611734565b3480156107f357600080fd5b50610460610802366004613487565b611772565b34801561081357600080fd5b506104e5601e5481565b34801561082957600080fd5b506104606108383660046135fa565b611930565b34801561084957600080fd5b506104e560105481565b34801561085f57600080fd5b5061046061086e3660046135fa565b611959565b34801561087f57600080fd5b50601f54610482906001600160a01b031681565b34801561089f57600080fd5b506104e5600d5481565b3480156108b557600080fd5b50610482611982565b3480156108ca57600080fd5b506104606108d93660046135fa565b6119b2565b3480156108ea57600080fd5b506104606108f9366004613551565b6119db565b34801561090a57600080fd5b50610460611a0b565b34801561091f57600080fd5b50610433611a39565b34801561093457600080fd5b50610460610943366004613433565b611a48565b34801561095457600080fd5b50610460611b0d565b34801561096957600080fd5b50610460610978366004613487565b611b46565b34801561098957600080fd5b50610460611c5c565b34801561099e57600080fd5b506104e5603781565b3480156109b357600080fd5b506104e5600b5481565b3480156109c957600080fd5b506109d2611dd5565b60405161041591906136cb565b3480156109eb57600080fd5b506104606109fa3660046133b7565b611e36565b348015610a0b57600080fd5b506104e560fa81565b348015610a2057600080fd5b506104e5600c5481565b348015610a3657600080fd5b50610433610a453660046135fa565b611e68565b348015610a5657600080fd5b506104e560115481565b348015610a6c57600080fd5b506104e5600381565b348015610a8157600080fd5b50610460610a903660046135fa565b6120c3565b348015610aa157600080fd5b506104e560125481565b348015610ab757600080fd5b50610460610ac636600461332d565b6120ec565b348015610ad757600080fd5b50610433612188565b348015610aec57600080fd5b50610409610afb366004613348565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610460610b373660046135fa565b612197565b348015610b4857600080fd5b50610460610b573660046135b1565b612591565b348015610b6857600080fd5b506104336125cb565b348015610b7d57600080fd5b50610460610b8c3660046135fa565b6125d8565b348015610b9d57600080fd5b50601b54610482906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b1480610bd65750610bd682612601565b92915050565b606060008054610beb90613966565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1790613966565b8015610c645780601f10610c3957610100808354040283529160200191610c64565b820191906000526020600020905b815481529060010190602001808311610c4757829003601f168201915b5050505050905090565b610c76612651565b610c9b5760405162461bcd60e51b8152600401610c9290613806565b60405180910390fd5b600a55565b6000818152600260205260408120546001600160a01b0316610d195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c92565b506000908152600460205260409020546001600160a01b031690565b60208054610d4290613966565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6e90613966565b8015610dbb5780601f10610d9057610100808354040283529160200191610dbb565b820191906000526020600020905b815481529060010190602001808311610d9e57829003601f168201915b505050505081565b6000610dce8261159c565b9050806001600160a01b0316836001600160a01b03161415610e3c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c92565b336001600160a01b0382161480610e585750610e588133610afb565b610eca5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c92565b610ed483836126b9565b505050565b610ee1612651565b610efd5760405162461bcd60e51b8152600401610c9290613806565b610ed4600f838361312f565b610f11612651565b610f2d5760405162461bcd60e51b8152600401610c929061377d565b60008036604051610f3f92919061363f565b60405190819003902060145490915060011480610f73575080601e54148015610f735750601f546001600160a01b03163314155b1561107457610f80612727565b6011546103e890610f92908490613899565b1115610fe05760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206769667400006044820152606401610c92565b601180549083906000610ff38385613899565b90915550600090505b8381101561106d5760008161101361232785613899565b61101e906001613899565b6110289190613899565b905061105a86868481811061103f5761103f613a12565b9050602002016020810190611054919061332d565b8261273e565b5080611065816139a1565b915050610ffc565b5050505050565b80601e5414158061108f5750601f546001600160a01b031633145b15610ed457601e555050601f80546001600160a01b03191633179055565b600080601d546103e86037601c546110c591906138c5565b6110cf91906138b1565b6110d991906138e4565b905060008113156110e957919050565b600091505b5090565b6110fa612651565b6111165760405162461bcd60e51b8152600401610c929061377d565b6000803660405161112892919061363f565b6040519081900390206014549091506001148061115c575080601e5414801561115c5750601f546001600160a01b03163314155b1561107457611169612727565b611175601484846131af565b50505050565b6111853382612758565b6111a15760405162461bcd60e51b8152600401610c9290613848565b610ed483838361284f565b6111b4612651565b6111d05760405162461bcd60e51b8152600401610c9290613806565b600e805460ff1916911515919091179055565b60006001600160a01b03821661123b5760405162461bcd60e51b815260206004820152601c60248201527f43616e277420636865636b20746865206e756c6c2061646472657373000000006044820152606401610c92565b506001600160a01b031660009081526016602052604090205490565b6000611262836116ad565b82106112c45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c92565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6112f5612651565b6113115760405162461bcd60e51b8152600401610c929061377d565b6000803660405161132392919061363f565b60405190819003902060145490915060011480611357575080601e541480156113575750601f546001600160a01b03163314155b1561148357611364612727565b6014546113c25760405162461bcd60e51b815260206004820152602660248201527f43616e2774207769746864726177207768657265206f776e657273206c69737460448201526520656d70747960d01b6064820152608401610c92565b60006113cc6110ad565b6113d690476138e4565b9050600081136113f85760405162461bcd60e51b8152600401610c92906137c3565b60145460009061140890836138b1565b90508015610ed45760005b601454811015611175576014818154811061143057611430613a12565b60009182526020822001546040516001600160a01b039091169184156108fc02918591818181858888f19350505050158015611470573d6000803e3d6000fd5b508061147b816139a1565b915050611413565b80601e5414158061149e5750601f546001600160a01b031633145b156114bb57601e819055601f80546001600160a01b031916331790555b50565b610ed483838360405180602001604052806000815250611e36565b60006114e460085490565b82106115475760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c92565b6008828154811061155a5761155a613a12565b90600052602060002001549050919050565b611574612651565b6115905760405162461bcd60e51b8152600401610c9290613806565b610ed46018838361312f565b6000818152600260205260408120546001600160a01b031680610bd65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c92565b6000805b60145481101561167457826001600160a01b03166014828154811061163e5761163e613a12565b6000918252602090912001546001600160a01b031614156116625750600192915050565b8061166c816139a1565b915050611617565b50600092915050565b611685612651565b6116a15760405162461bcd60e51b8152600401610c9290613806565b610ed46019838361312f565b60006001600160a01b0382166117185760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c92565b506001600160a01b031660009081526003602052604090205490565b61173c612651565b6117585760405162461bcd60e51b8152600401610c9290613806565b600e80549115156101000261ff0019909216919091179055565b61177a612651565b6117965760405162461bcd60e51b8152600401610c9290613806565b60005b81811015610ed45760008383838181106117b5576117b5613a12565b90506020020160208101906117ca919061332d565b6001600160a01b031614156118215760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c92565b60016015600085858581811061183957611839613a12565b905060200201602081019061184e919061332d565b6001600160a01b0316815260208101919091526040016000908120805460ff19169215159290921790915560168185858581811061188e5761188e613a12565b90506020020160208101906118a3919061332d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116118d057600061191d565b601660008484848181106118e6576118e6613a12565b90506020020160208101906118fb919061332d565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b5080611928816139a1565b915050611799565b611938612651565b6119545760405162461bcd60e51b8152600401610c9290613806565b601055565b611961612651565b61197d5760405162461bcd60e51b8152600401610c9290613806565b601355565b6000601460008154811061199857611998613a12565b6000918252602090912001546001600160a01b0316919050565b6119ba612651565b6119d65760405162461bcd60e51b8152600401610c9290613806565b600d55565b6119e3612651565b6119ff5760405162461bcd60e51b8152600401610c9290613806565b610ed46017838361312f565b611a13612651565b611a2f5760405162461bcd60e51b8152600401610c9290613806565b611a37612727565b565b606060018054610beb90613966565b6001600160a01b038216331415611aa15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c92565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b15612651565b611b315760405162461bcd60e51b8152600401610c9290613806565b601f805460ff60a01b1916600160a01b179055565b611b4e612651565b611b6a5760405162461bcd60e51b8152600401610c9290613806565b60005b81811015610ed4576000838383818110611b8957611b89613a12565b9050602002016020810190611b9e919061332d565b6001600160a01b03161415611bf55760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c92565b600060156000858585818110611c0d57611c0d613a12565b9050602002016020810190611c22919061332d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611c54816139a1565b915050611b6d565b611c64612651565b611c805760405162461bcd60e51b8152600401610c929061377d565b60008036604051611c9292919061363f565b60405190819003902060145490915060011480611cc6575080601e54148015611cc65750601f546001600160a01b03163314155b1561148357611cd3612727565b6000611cdd6110ad565b905060008111611cff5760405162461bcd60e51b8152600401610c92906137c3565b601b546001600160a01b0316611d575760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177202d2044414f206e6f7420736574000000006044820152606401610c92565b601b546040516000916001600160a01b031690620186a090849084818181858888f193505050503d8060008114611daa576040519150601f19603f3d011682016040523d82523d6000602084013e611daf565b606091505b505090508015610ed45781601d6000828254611dcb9190613899565b9091555050505050565b60606014805480602002602001604051908101604052809291908181526020018280548015610c6457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611e0f575050505050905090565b611e403383612758565b611e5c5760405162461bcd60e51b8152600401610c9290613848565b611175848484846129fa565b6000818152600260205260409020546060906001600160a01b0316611ec65760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610c92565b601f54600160a01b900460ff16611f695760208054611ee490613966565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1090613966565b8015611f5d5780601f10611f3257610100808354040283529160200191611f5d565b820191906000526020600020905b815481529060010190602001808311611f4057829003601f168201915b50505050509050919050565b600060198054611f7890613966565b80601f0160208091040260200160405190810160405280929190818152602001828054611fa490613966565b8015611ff15780601f10611fc657610100808354040283529160200191611ff1565b820191906000526020600020905b815481529060010190602001808311611fd457829003601f168201915b505050505090506000815111612091576018805461200e90613966565b80601f016020809104026020016040519081016040528092919081815260200182805461203a90613966565b80156120875780601f1061205c57610100808354040283529160200191612087565b820191906000526020600020905b81548152906001019060200180831161206a57829003601f168201915b50505050506120bc565b8061209b84612a2d565b6040516020016120ac92919061364f565b6040516020818303038152906040525b9392505050565b6120cb612651565b6120e75760405162461bcd60e51b8152600401610c9290613806565b600b55565b6120f4612651565b6121105760405162461bcd60e51b8152600401610c9290613806565b6001600160a01b0381166121665760405162461bcd60e51b815260206004820152601c60248201527f43616e277420636865636b20746865206e756c6c2061646472657373000000006044820152606401610c92565b601b80546001600160a01b0319166001600160a01b0392909216919091179055565b606060178054610beb90613966565b60135442116121db5760405162461bcd60e51b815260206004820152601060248201526f14d85b19481b9bdd081cdd185c9d195960821b6044820152606401610c92565b600e5460ff166122265760405162461bcd60e51b8152602060048201526016602482015275436f6e7472616374206973206e6f742061637469766560501b6044820152606401610c92565b6000600a54116122785760405162461bcd60e51b815260206004820152601c60248201527f5468652073616c65206d6f6465206973206e6f7420656e61626c6564000000006044820152606401610c92565b60038111156122c95760405162461bcd60e51b815260206004820152601b60248201527f576f756c64206578636565642050555243484153455f4c494d495400000000006044820152606401610c92565b600e54610100900460ff1615612338573360009081526015602052604090205460ff166123385760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c6973740000006044820152606401610c92565b600d54600a546001141561234f5750600b5461236c565b3360009081526015602052604090205460ff161561236c5750600c545b6000601254905034601c60008282546123859190613899565b909155505033600090815260166020526040812080548592906123a9908490613899565b9250508190555082601260008282546123c29190613899565b9091555050600a54600114156124415760fa60125411156124315760405162461bcd60e51b815260206004820152602360248201527f416c6c2050524553414c4520746f6b656e732068617665206265656e206d696e6044820152621d195960ea1b6064820152608401610c92565b60fa60125410612441576000600a555b6010543360009081526016602052604090205411156124a25760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610c92565b61232760125411156124f65760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564205055424c49435f4d41586044820152606401610c92565b3461250184846138c5565b111561254f5760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c92565b60005b8381101561117557600061256583612b2b565b9050612572600184613899565b925061257e338261273e565b5080612589816139a1565b915050612552565b612599612651565b6125b55760405162461bcd60e51b8152600401610c9290613806565b80516125c79060209081840190613202565b5050565b600f8054610d4290613966565b6125e0612651565b6125fc5760405162461bcd60e51b8152600401610c9290613806565b600c55565b60006001600160e01b031982166380ac58cd60e01b148061263257506001600160e01b03198216635b5e139f60e01b145b80610bd657506301ffc9a760e01b6001600160e01b0319831614610bd6565b6000805b6014548110156126b157336001600160a01b03166014828154811061267c5761267c613a12565b6000918252602090912001546001600160a01b0316141561269f57600191505090565b806126a9816139a1565b915050612655565b506000905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126ee8261159c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000601e55601f80546001600160a01b0319169055565b6125c7828260405180602001604052806000815250612c59565b6000818152600260205260408120546001600160a01b03166127d15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c92565b60006127dc8361159c565b9050806001600160a01b0316846001600160a01b031614806128175750836001600160a01b031661280c84610ca0565b6001600160a01b0316145b8061284757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166128628261159c565b6001600160a01b0316146128ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c92565b6001600160a01b03821661292c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c92565b612937838383612c8c565b6129426000826126b9565b6001600160a01b038316600090815260036020526040812080546001929061296b908490613923565b90915550506001600160a01b0382166000908152600360205260408120805460019290612999908490613899565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612a0584848461284f565b612a1184848484612d44565b6111755760405162461bcd60e51b8152600401610c929061372b565b606081612a515750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a7b5780612a65816139a1565b9150612a749050600a836138b1565b9150612a55565b60008167ffffffffffffffff811115612a9657612a96613a28565b6040519080825280601f01601f191660200182016040528015612ac0576020820181803683370190505b5090505b841561284757612ad5600183613923565b9150612ae2600a866139bc565b612aed906030613899565b60f81b818381518110612b0257612b02613a12565b60200101906001600160f81b031916908160001a905350612b24600a866138b1565b9450612ac4565b600080612b3a83612327613923565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c612ba191906139bc565b6000818152601a602052604081205491925090612bbf575080612bd0565b506000818152601a60205260409020545b601a6000612bdf600186613923565b81526020019081526020016000205460001415612c1557612c01600184613923565b6000838152601a6020526040902055612c45565b601a6000612c24600186613923565b81526020808201929092526040908101600090812054858252601a90935220555b612c50600182613899565b95945050505050565b612c638383612e51565b612c706000848484612d44565b610ed45760405162461bcd60e51b8152600401610c929061372b565b6001600160a01b038316612ce757612ce281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d0a565b816001600160a01b0316836001600160a01b031614612d0a57612d0a8382612f9f565b6001600160a01b038216612d2157610ed48161303c565b826001600160a01b0316826001600160a01b031614610ed457610ed482826130eb565b60006001600160a01b0384163b15612e4657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612d8890339089908890889060040161368e565b602060405180830381600087803b158015612da257600080fd5b505af1925050508015612dd2575060408051601f3d908101601f19168201909252612dcf91810190613534565b60015b612e2c573d808015612e00576040519150601f19603f3d011682016040523d82523d6000602084013e612e05565b606091505b508051612e245760405162461bcd60e51b8152600401610c929061372b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612847565b506001949350505050565b6001600160a01b038216612ea75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c92565b6000818152600260205260409020546001600160a01b031615612f0c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c92565b612f1860008383612c8c565b6001600160a01b0382166000908152600360205260408120805460019290612f41908490613899565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001612fac846116ad565b612fb69190613923565b600083815260076020526040902054909150808214613009576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061304e90600190613923565b6000838152600960205260408120546008805493945090928490811061307657613076613a12565b90600052602060002001549050806008838154811061309757613097613a12565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130cf576130cf6139fc565b6001900381819060005260206000200160009055905550505050565b60006130f6836116ad565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461313b90613966565b90600052602060002090601f01602090048101928261315d57600085556131a3565b82601f106131765782800160ff198235161785556131a3565b828001600101855582156131a3579182015b828111156131a3578235825591602001919060010190613188565b506110ee929150613276565b8280548282559060005260206000209081019282156131a3579160200282015b828111156131a35781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906131cf565b82805461320e90613966565b90600052602060002090601f01602090048101928261323057600085556131a3565b82601f1061324957805160ff19168380011785556131a3565b828001600101855582156131a3579182015b828111156131a357825182559160200191906001019061325b565b5b808211156110ee5760008155600101613277565b600067ffffffffffffffff808411156132a6576132a6613a28565b604051601f8501601f19908116603f011681019082821181831017156132ce576132ce613a28565b816040528093508581528686860111156132e757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461331857600080fd5b919050565b8035801515811461331857600080fd5b60006020828403121561333f57600080fd5b6120bc82613301565b6000806040838503121561335b57600080fd5b61336483613301565b915061337260208401613301565b90509250929050565b60008060006060848603121561339057600080fd5b61339984613301565b92506133a760208501613301565b9150604084013590509250925092565b600080600080608085870312156133cd57600080fd5b6133d685613301565b93506133e460208601613301565b925060408501359150606085013567ffffffffffffffff81111561340757600080fd5b8501601f8101871361341857600080fd5b6134278782356020840161328b565b91505092959194509250565b6000806040838503121561344657600080fd5b61344f83613301565b91506133726020840161331d565b6000806040838503121561347057600080fd5b61347983613301565b946020939093013593505050565b6000806020838503121561349a57600080fd5b823567ffffffffffffffff808211156134b257600080fd5b818501915085601f8301126134c657600080fd5b8135818111156134d557600080fd5b8660208260051b85010111156134ea57600080fd5b60209290920196919550909350505050565b60006020828403121561350e57600080fd5b6120bc8261331d565b60006020828403121561352957600080fd5b81356120bc81613a3e565b60006020828403121561354657600080fd5b81516120bc81613a3e565b6000806020838503121561356457600080fd5b823567ffffffffffffffff8082111561357c57600080fd5b818501915085601f83011261359057600080fd5b81358181111561359f57600080fd5b8660208285010111156134ea57600080fd5b6000602082840312156135c357600080fd5b813567ffffffffffffffff8111156135da57600080fd5b8201601f810184136135eb57600080fd5b6128478482356020840161328b565b60006020828403121561360c57600080fd5b5035919050565b6000815180845261362b81602086016020860161393a565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b6000835161366181846020880161393a565b83519083019061367581836020880161393a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136c190830184613613565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561370c5783516001600160a01b0316835292840192918401916001016136e7565b50909695505050505050565b6020815260006120bc6020830184613613565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f6f6e6c7954776f4f776e6572733a2063616c6c6572206973206e6f74207468656040820152651037bbb732b960d11b606082015260800190565b60208082526023908201527f43616e2774207769746864726177202d206e6f2066756e647320617661696c61604082015262626c6560e81b606082015260800190565b60208082526022908201527f6f6e6c794f776e65723a2063616c6c6572206973206e6f7420746865206f776e60408201526132b960f11b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156138ac576138ac6139d0565b500190565b6000826138c0576138c06139e6565b500490565b60008160001904831182151516156138df576138df6139d0565b500290565b60008083128015600160ff1b850184121615613902576139026139d0565b6001600160ff1b038401831381161561391d5761391d6139d0565b50500390565b600082821015613935576139356139d0565b500390565b60005b8381101561395557818101518382015260200161393d565b838111156111755750506000910152565b600181811c9082168061397a57607f821691505b6020821081141561399b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156139b5576139b56139d0565b5060010190565b6000826139cb576139cb6139e6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114bb57600080fdfea26469706673582212203f3b3f177715dd39597f60d1c772d51b71bdb7e1f173b61c5f7f0ab2b23fd05364736f6c6343000807003300000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4e696674794e616674790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024e4e000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106103e45760003560e01c806373ebb91c11610208578063affe39c111610118578063e6a5931e116100ab578063efef39a11161007a578063efef39a114610b29578063f2c4ce1e14610b3c578063faf924cf14610b5c578063fe779f6c14610b71578063ff8304c214610b9157600080fd5b8063e6a5931e14610a95578063e73a914c14610aab578063e8a3d48514610acb578063e985e9c514610ae057600080fd5b8063c87b56dd116100e7578063c87b56dd14610a2a578063d6f407c714610a4a578063d75e611014610a60578063e203466914610a7557600080fd5b8063affe39c1146109bd578063b88d4fde146109df578063c449c588146109ff578063c4e8997f14610a1457600080fd5b8063938e3d7b1161019b578063a475b5dd1161016a578063a475b5dd14610948578063a51312c81461095d578063a5e5a3ba1461097d578063aa97e06b14610992578063afa6c735146109a757600080fd5b8063938e3d7b146108de57806395c96554146108fe57806395d89b4114610913578063a22cb4651461092857600080fd5b80638a56ca45116101d75780638a56ca45146108735780638d859f3e146108935780638da5cb5b146108a957806391b7f5ed146108be57600080fd5b806373ebb91c146108075780637a6685f11461081d5780637f44ab2f1461083d57806382d95df51461085357600080fd5b80632750fc781161030357806351830227116102965780636e83843a116102655780636e83843a14610771578063707a58691461079157806370a08231146107a7578063718bc4af146107c75780637263cfe2146107e757600080fd5b806351830227146106f057806355f804b3146107115780636352211e1461073157806369c63fe61461075157600080fd5b80633a065892116102d25780633a065892146106625780633ccfd60b1461069b57806342842e0e146106b05780634f6ccce7146106d057600080fd5b80632750fc78146105e357806329998d4b1461060357806329fc6bae146106235780632f745c591461064257600080fd5b806315336f801161037b5780631af5e8611161034a5780631af5e861146105735780631b6c5acb1461058957806322f3e2d4146105a957806323b872dd146105c357600080fd5b806315336f8014610509578063163e1e611461052957806318160ddd1461054957806318952a151461055e57600080fd5b8063081c8c44116103b7578063081c8c441461049a578063095ea7b3146104af5780630b97bc86146104cf5780630deed6a6146104f357600080fd5b806301ffc9a7146103e957806306fdde031461041e5780630745e9ac14610440578063081812fc14610462575b600080fd5b3480156103f557600080fd5b50610409610404366004613517565b610bb1565b60405190151581526020015b60405180910390f35b34801561042a57600080fd5b50610433610bdc565b6040516104159190613718565b34801561044c57600080fd5b5061046061045b3660046135fa565b610c6e565b005b34801561046e57600080fd5b5061048261047d3660046135fa565b610ca0565b6040516001600160a01b039091168152602001610415565b3480156104a657600080fd5b50610433610d35565b3480156104bb57600080fd5b506104606104ca36600461345d565b610dc3565b3480156104db57600080fd5b506104e560135481565b604051908152602001610415565b3480156104ff57600080fd5b506104e5600a5481565b34801561051557600080fd5b50610460610524366004613551565b610ed9565b34801561053557600080fd5b50610460610544366004613487565b610f09565b34801561055557600080fd5b506008546104e5565b34801561056a57600080fd5b506104e56110ad565b34801561057f57600080fd5b506104e561232781565b34801561059557600080fd5b506104606105a4366004613487565b6110f2565b3480156105b557600080fd5b50600e546104099060ff1681565b3480156105cf57600080fd5b506104606105de36600461337b565b61117b565b3480156105ef57600080fd5b506104606105fe3660046134fc565b6111ac565b34801561060f57600080fd5b506104e561061e36600461332d565b6111e3565b34801561062f57600080fd5b50600e5461040990610100900460ff1681565b34801561064e57600080fd5b506104e561065d36600461345d565b611257565b34801561066e57600080fd5b5061040961067d36600461332d565b6001600160a01b031660009081526015602052604090205460ff1690565b3480156106a757600080fd5b506104606112ed565b3480156106bc57600080fd5b506104606106cb36600461337b565b6114be565b3480156106dc57600080fd5b506104e56106eb3660046135fa565b6114d9565b3480156106fc57600080fd5b50601f5461040990600160a01b900460ff1681565b34801561071d57600080fd5b5061046061072c366004613551565b61156c565b34801561073d57600080fd5b5061048261074c3660046135fa565b61159c565b34801561075d57600080fd5b5061040961076c36600461332d565b611613565b34801561077d57600080fd5b5061046061078c366004613551565b61167d565b34801561079d57600080fd5b506104e56103e881565b3480156107b357600080fd5b506104e56107c236600461332d565b6116ad565b3480156107d357600080fd5b506104606107e23660046134fc565b611734565b3480156107f357600080fd5b50610460610802366004613487565b611772565b34801561081357600080fd5b506104e5601e5481565b34801561082957600080fd5b506104606108383660046135fa565b611930565b34801561084957600080fd5b506104e560105481565b34801561085f57600080fd5b5061046061086e3660046135fa565b611959565b34801561087f57600080fd5b50601f54610482906001600160a01b031681565b34801561089f57600080fd5b506104e5600d5481565b3480156108b557600080fd5b50610482611982565b3480156108ca57600080fd5b506104606108d93660046135fa565b6119b2565b3480156108ea57600080fd5b506104606108f9366004613551565b6119db565b34801561090a57600080fd5b50610460611a0b565b34801561091f57600080fd5b50610433611a39565b34801561093457600080fd5b50610460610943366004613433565b611a48565b34801561095457600080fd5b50610460611b0d565b34801561096957600080fd5b50610460610978366004613487565b611b46565b34801561098957600080fd5b50610460611c5c565b34801561099e57600080fd5b506104e5603781565b3480156109b357600080fd5b506104e5600b5481565b3480156109c957600080fd5b506109d2611dd5565b60405161041591906136cb565b3480156109eb57600080fd5b506104606109fa3660046133b7565b611e36565b348015610a0b57600080fd5b506104e560fa81565b348015610a2057600080fd5b506104e5600c5481565b348015610a3657600080fd5b50610433610a453660046135fa565b611e68565b348015610a5657600080fd5b506104e560115481565b348015610a6c57600080fd5b506104e5600381565b348015610a8157600080fd5b50610460610a903660046135fa565b6120c3565b348015610aa157600080fd5b506104e560125481565b348015610ab757600080fd5b50610460610ac636600461332d565b6120ec565b348015610ad757600080fd5b50610433612188565b348015610aec57600080fd5b50610409610afb366004613348565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b610460610b373660046135fa565b612197565b348015610b4857600080fd5b50610460610b573660046135b1565b612591565b348015610b6857600080fd5b506104336125cb565b348015610b7d57600080fd5b50610460610b8c3660046135fa565b6125d8565b348015610b9d57600080fd5b50601b54610482906001600160a01b031681565b60006001600160e01b0319821663780e9d6360e01b1480610bd65750610bd682612601565b92915050565b606060008054610beb90613966565b80601f0160208091040260200160405190810160405280929190818152602001828054610c1790613966565b8015610c645780601f10610c3957610100808354040283529160200191610c64565b820191906000526020600020905b815481529060010190602001808311610c4757829003601f168201915b5050505050905090565b610c76612651565b610c9b5760405162461bcd60e51b8152600401610c9290613806565b60405180910390fd5b600a55565b6000818152600260205260408120546001600160a01b0316610d195760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c92565b506000908152600460205260409020546001600160a01b031690565b60208054610d4290613966565b80601f0160208091040260200160405190810160405280929190818152602001828054610d6e90613966565b8015610dbb5780601f10610d9057610100808354040283529160200191610dbb565b820191906000526020600020905b815481529060010190602001808311610d9e57829003601f168201915b505050505081565b6000610dce8261159c565b9050806001600160a01b0316836001600160a01b03161415610e3c5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610c92565b336001600160a01b0382161480610e585750610e588133610afb565b610eca5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c92565b610ed483836126b9565b505050565b610ee1612651565b610efd5760405162461bcd60e51b8152600401610c9290613806565b610ed4600f838361312f565b610f11612651565b610f2d5760405162461bcd60e51b8152600401610c929061377d565b60008036604051610f3f92919061363f565b60405190819003902060145490915060011480610f73575080601e54148015610f735750601f546001600160a01b03163314155b1561107457610f80612727565b6011546103e890610f92908490613899565b1115610fe05760405162461bcd60e51b815260206004820152601e60248201527f4e6f7420656e6f75676820746f6b656e73206c65667420746f206769667400006044820152606401610c92565b601180549083906000610ff38385613899565b90915550600090505b8381101561106d5760008161101361232785613899565b61101e906001613899565b6110289190613899565b905061105a86868481811061103f5761103f613a12565b9050602002016020810190611054919061332d565b8261273e565b5080611065816139a1565b915050610ffc565b5050505050565b80601e5414158061108f5750601f546001600160a01b031633145b15610ed457601e555050601f80546001600160a01b03191633179055565b600080601d546103e86037601c546110c591906138c5565b6110cf91906138b1565b6110d991906138e4565b905060008113156110e957919050565b600091505b5090565b6110fa612651565b6111165760405162461bcd60e51b8152600401610c929061377d565b6000803660405161112892919061363f565b6040519081900390206014549091506001148061115c575080601e5414801561115c5750601f546001600160a01b03163314155b1561107457611169612727565b611175601484846131af565b50505050565b6111853382612758565b6111a15760405162461bcd60e51b8152600401610c9290613848565b610ed483838361284f565b6111b4612651565b6111d05760405162461bcd60e51b8152600401610c9290613806565b600e805460ff1916911515919091179055565b60006001600160a01b03821661123b5760405162461bcd60e51b815260206004820152601c60248201527f43616e277420636865636b20746865206e756c6c2061646472657373000000006044820152606401610c92565b506001600160a01b031660009081526016602052604090205490565b6000611262836116ad565b82106112c45760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610c92565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b6112f5612651565b6113115760405162461bcd60e51b8152600401610c929061377d565b6000803660405161132392919061363f565b60405190819003902060145490915060011480611357575080601e541480156113575750601f546001600160a01b03163314155b1561148357611364612727565b6014546113c25760405162461bcd60e51b815260206004820152602660248201527f43616e2774207769746864726177207768657265206f776e657273206c69737460448201526520656d70747960d01b6064820152608401610c92565b60006113cc6110ad565b6113d690476138e4565b9050600081136113f85760405162461bcd60e51b8152600401610c92906137c3565b60145460009061140890836138b1565b90508015610ed45760005b601454811015611175576014818154811061143057611430613a12565b60009182526020822001546040516001600160a01b039091169184156108fc02918591818181858888f19350505050158015611470573d6000803e3d6000fd5b508061147b816139a1565b915050611413565b80601e5414158061149e5750601f546001600160a01b031633145b156114bb57601e819055601f80546001600160a01b031916331790555b50565b610ed483838360405180602001604052806000815250611e36565b60006114e460085490565b82106115475760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610c92565b6008828154811061155a5761155a613a12565b90600052602060002001549050919050565b611574612651565b6115905760405162461bcd60e51b8152600401610c9290613806565b610ed46018838361312f565b6000818152600260205260408120546001600160a01b031680610bd65760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610c92565b6000805b60145481101561167457826001600160a01b03166014828154811061163e5761163e613a12565b6000918252602090912001546001600160a01b031614156116625750600192915050565b8061166c816139a1565b915050611617565b50600092915050565b611685612651565b6116a15760405162461bcd60e51b8152600401610c9290613806565b610ed46019838361312f565b60006001600160a01b0382166117185760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610c92565b506001600160a01b031660009081526003602052604090205490565b61173c612651565b6117585760405162461bcd60e51b8152600401610c9290613806565b600e80549115156101000261ff0019909216919091179055565b61177a612651565b6117965760405162461bcd60e51b8152600401610c9290613806565b60005b81811015610ed45760008383838181106117b5576117b5613a12565b90506020020160208101906117ca919061332d565b6001600160a01b031614156118215760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c92565b60016015600085858581811061183957611839613a12565b905060200201602081019061184e919061332d565b6001600160a01b0316815260208101919091526040016000908120805460ff19169215159290921790915560168185858581811061188e5761188e613a12565b90506020020160208101906118a3919061332d565b6001600160a01b03166001600160a01b0316815260200190815260200160002054116118d057600061191d565b601660008484848181106118e6576118e6613a12565b90506020020160208101906118fb919061332d565b6001600160a01b03166001600160a01b03168152602001908152602001600020545b5080611928816139a1565b915050611799565b611938612651565b6119545760405162461bcd60e51b8152600401610c9290613806565b601055565b611961612651565b61197d5760405162461bcd60e51b8152600401610c9290613806565b601355565b6000601460008154811061199857611998613a12565b6000918252602090912001546001600160a01b0316919050565b6119ba612651565b6119d65760405162461bcd60e51b8152600401610c9290613806565b600d55565b6119e3612651565b6119ff5760405162461bcd60e51b8152600401610c9290613806565b610ed46017838361312f565b611a13612651565b611a2f5760405162461bcd60e51b8152600401610c9290613806565b611a37612727565b565b606060018054610beb90613966565b6001600160a01b038216331415611aa15760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c92565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b611b15612651565b611b315760405162461bcd60e51b8152600401610c9290613806565b601f805460ff60a01b1916600160a01b179055565b611b4e612651565b611b6a5760405162461bcd60e51b8152600401610c9290613806565b60005b81811015610ed4576000838383818110611b8957611b89613a12565b9050602002016020810190611b9e919061332d565b6001600160a01b03161415611bf55760405162461bcd60e51b815260206004820152601a60248201527f43616e27742061646420746865206e756c6c20616464726573730000000000006044820152606401610c92565b600060156000858585818110611c0d57611c0d613a12565b9050602002016020810190611c22919061332d565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905580611c54816139a1565b915050611b6d565b611c64612651565b611c805760405162461bcd60e51b8152600401610c929061377d565b60008036604051611c9292919061363f565b60405190819003902060145490915060011480611cc6575080601e54148015611cc65750601f546001600160a01b03163314155b1561148357611cd3612727565b6000611cdd6110ad565b905060008111611cff5760405162461bcd60e51b8152600401610c92906137c3565b601b546001600160a01b0316611d575760405162461bcd60e51b815260206004820152601c60248201527f43616e2774207769746864726177202d2044414f206e6f7420736574000000006044820152606401610c92565b601b546040516000916001600160a01b031690620186a090849084818181858888f193505050503d8060008114611daa576040519150601f19603f3d011682016040523d82523d6000602084013e611daf565b606091505b505090508015610ed45781601d6000828254611dcb9190613899565b9091555050505050565b60606014805480602002602001604051908101604052809291908181526020018280548015610c6457602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311611e0f575050505050905090565b611e403383612758565b611e5c5760405162461bcd60e51b8152600401610c9290613848565b611175848484846129fa565b6000818152600260205260409020546060906001600160a01b0316611ec65760405162461bcd60e51b8152602060048201526014602482015273151bdad95b88191bd95cc81b9bdd08195e1a5cdd60621b6044820152606401610c92565b601f54600160a01b900460ff16611f695760208054611ee490613966565b80601f0160208091040260200160405190810160405280929190818152602001828054611f1090613966565b8015611f5d5780601f10611f3257610100808354040283529160200191611f5d565b820191906000526020600020905b815481529060010190602001808311611f4057829003601f168201915b50505050509050919050565b600060198054611f7890613966565b80601f0160208091040260200160405190810160405280929190818152602001828054611fa490613966565b8015611ff15780601f10611fc657610100808354040283529160200191611ff1565b820191906000526020600020905b815481529060010190602001808311611fd457829003601f168201915b505050505090506000815111612091576018805461200e90613966565b80601f016020809104026020016040519081016040528092919081815260200182805461203a90613966565b80156120875780601f1061205c57610100808354040283529160200191612087565b820191906000526020600020905b81548152906001019060200180831161206a57829003601f168201915b50505050506120bc565b8061209b84612a2d565b6040516020016120ac92919061364f565b6040516020818303038152906040525b9392505050565b6120cb612651565b6120e75760405162461bcd60e51b8152600401610c9290613806565b600b55565b6120f4612651565b6121105760405162461bcd60e51b8152600401610c9290613806565b6001600160a01b0381166121665760405162461bcd60e51b815260206004820152601c60248201527f43616e277420636865636b20746865206e756c6c2061646472657373000000006044820152606401610c92565b601b80546001600160a01b0319166001600160a01b0392909216919091179055565b606060178054610beb90613966565b60135442116121db5760405162461bcd60e51b815260206004820152601060248201526f14d85b19481b9bdd081cdd185c9d195960821b6044820152606401610c92565b600e5460ff166122265760405162461bcd60e51b8152602060048201526016602482015275436f6e7472616374206973206e6f742061637469766560501b6044820152606401610c92565b6000600a54116122785760405162461bcd60e51b815260206004820152601c60248201527f5468652073616c65206d6f6465206973206e6f7420656e61626c6564000000006044820152606401610c92565b60038111156122c95760405162461bcd60e51b815260206004820152601b60248201527f576f756c64206578636565642050555243484153455f4c494d495400000000006044820152606401610c92565b600e54610100900460ff1615612338573360009081526015602052604090205460ff166123385760405162461bcd60e51b815260206004820152601d60248201527f596f7520617265206e6f74206f6e2074686520416c6c6f77204c6973740000006044820152606401610c92565b600d54600a546001141561234f5750600b5461236c565b3360009081526015602052604090205460ff161561236c5750600c545b6000601254905034601c60008282546123859190613899565b909155505033600090815260166020526040812080548592906123a9908490613899565b9250508190555082601260008282546123c29190613899565b9091555050600a54600114156124415760fa60125411156124315760405162461bcd60e51b815260206004820152602360248201527f416c6c2050524553414c4520746f6b656e732068617665206265656e206d696e6044820152621d195960ea1b6064820152608401610c92565b60fa60125410612441576000600a555b6010543360009081526016602052604090205411156124a25760405162461bcd60e51b815260206004820152601c60248201527f50757263686173652065786365656473206d617820616c6c6f776564000000006044820152606401610c92565b61232760125411156124f65760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564205055424c49435f4d41586044820152606401610c92565b3461250184846138c5565b111561254f5760405162461bcd60e51b815260206004820152601c60248201527f45544820616d6f756e74206973206e6f742073756666696369656e74000000006044820152606401610c92565b60005b8381101561117557600061256583612b2b565b9050612572600184613899565b925061257e338261273e565b5080612589816139a1565b915050612552565b612599612651565b6125b55760405162461bcd60e51b8152600401610c9290613806565b80516125c79060209081840190613202565b5050565b600f8054610d4290613966565b6125e0612651565b6125fc5760405162461bcd60e51b8152600401610c9290613806565b600c55565b60006001600160e01b031982166380ac58cd60e01b148061263257506001600160e01b03198216635b5e139f60e01b145b80610bd657506301ffc9a760e01b6001600160e01b0319831614610bd6565b6000805b6014548110156126b157336001600160a01b03166014828154811061267c5761267c613a12565b6000918252602090912001546001600160a01b0316141561269f57600191505090565b806126a9816139a1565b915050612655565b506000905090565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906126ee8261159c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000601e55601f80546001600160a01b0319169055565b6125c7828260405180602001604052806000815250612c59565b6000818152600260205260408120546001600160a01b03166127d15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c92565b60006127dc8361159c565b9050806001600160a01b0316846001600160a01b031614806128175750836001600160a01b031661280c84610ca0565b6001600160a01b0316145b8061284757506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b03166128628261159c565b6001600160a01b0316146128ca5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610c92565b6001600160a01b03821661292c5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610c92565b612937838383612c8c565b6129426000826126b9565b6001600160a01b038316600090815260036020526040812080546001929061296b908490613923565b90915550506001600160a01b0382166000908152600360205260408120805460019290612999908490613899565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b612a0584848461284f565b612a1184848484612d44565b6111755760405162461bcd60e51b8152600401610c929061372b565b606081612a515750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612a7b5780612a65816139a1565b9150612a749050600a836138b1565b9150612a55565b60008167ffffffffffffffff811115612a9657612a96613a28565b6040519080825280601f01601f191660200182016040528015612ac0576020820181803683370190505b5090505b841561284757612ad5600183613923565b9150612ae2600a866139bc565b612aed906030613899565b60f81b818381518110612b0257612b02613a12565b60200101906001600160f81b031916908160001a905350612b24600a866138b1565b9450612ac4565b600080612b3a83612327613923565b6040516bffffffffffffffffffffffff1933606090811b8216602084015241901b166034820152446048820152456068820152426088820152909150600090829060a8016040516020818303038152906040528051906020012060001c612ba191906139bc565b6000818152601a602052604081205491925090612bbf575080612bd0565b506000818152601a60205260409020545b601a6000612bdf600186613923565b81526020019081526020016000205460001415612c1557612c01600184613923565b6000838152601a6020526040902055612c45565b601a6000612c24600186613923565b81526020808201929092526040908101600090812054858252601a90935220555b612c50600182613899565b95945050505050565b612c638383612e51565b612c706000848484612d44565b610ed45760405162461bcd60e51b8152600401610c929061372b565b6001600160a01b038316612ce757612ce281600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b612d0a565b816001600160a01b0316836001600160a01b031614612d0a57612d0a8382612f9f565b6001600160a01b038216612d2157610ed48161303c565b826001600160a01b0316826001600160a01b031614610ed457610ed482826130eb565b60006001600160a01b0384163b15612e4657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290612d8890339089908890889060040161368e565b602060405180830381600087803b158015612da257600080fd5b505af1925050508015612dd2575060408051601f3d908101601f19168201909252612dcf91810190613534565b60015b612e2c573d808015612e00576040519150601f19603f3d011682016040523d82523d6000602084013e612e05565b606091505b508051612e245760405162461bcd60e51b8152600401610c929061372b565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050612847565b506001949350505050565b6001600160a01b038216612ea75760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c92565b6000818152600260205260409020546001600160a01b031615612f0c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c92565b612f1860008383612c8c565b6001600160a01b0382166000908152600360205260408120805460019290612f41908490613899565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006001612fac846116ad565b612fb69190613923565b600083815260076020526040902054909150808214613009576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b60085460009061304e90600190613923565b6000838152600960205260408120546008805493945090928490811061307657613076613a12565b90600052602060002001549050806008838154811061309757613097613a12565b60009182526020808320909101929092558281526009909152604080822084905585825281205560088054806130cf576130cf6139fc565b6001900381819060005260206000200160009055905550505050565b60006130f6836116ad565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b82805461313b90613966565b90600052602060002090601f01602090048101928261315d57600085556131a3565b82601f106131765782800160ff198235161785556131a3565b828001600101855582156131a3579182015b828111156131a3578235825591602001919060010190613188565b506110ee929150613276565b8280548282559060005260206000209081019282156131a3579160200282015b828111156131a35781546001600160a01b0319166001600160a01b038435161782556020909201916001909101906131cf565b82805461320e90613966565b90600052602060002090601f01602090048101928261323057600085556131a3565b82601f1061324957805160ff19168380011785556131a3565b828001600101855582156131a3579182015b828111156131a357825182559160200191906001019061325b565b5b808211156110ee5760008155600101613277565b600067ffffffffffffffff808411156132a6576132a6613a28565b604051601f8501601f19908116603f011681019082821181831017156132ce576132ce613a28565b816040528093508581528686860111156132e757600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461331857600080fd5b919050565b8035801515811461331857600080fd5b60006020828403121561333f57600080fd5b6120bc82613301565b6000806040838503121561335b57600080fd5b61336483613301565b915061337260208401613301565b90509250929050565b60008060006060848603121561339057600080fd5b61339984613301565b92506133a760208501613301565b9150604084013590509250925092565b600080600080608085870312156133cd57600080fd5b6133d685613301565b93506133e460208601613301565b925060408501359150606085013567ffffffffffffffff81111561340757600080fd5b8501601f8101871361341857600080fd5b6134278782356020840161328b565b91505092959194509250565b6000806040838503121561344657600080fd5b61344f83613301565b91506133726020840161331d565b6000806040838503121561347057600080fd5b61347983613301565b946020939093013593505050565b6000806020838503121561349a57600080fd5b823567ffffffffffffffff808211156134b257600080fd5b818501915085601f8301126134c657600080fd5b8135818111156134d557600080fd5b8660208260051b85010111156134ea57600080fd5b60209290920196919550909350505050565b60006020828403121561350e57600080fd5b6120bc8261331d565b60006020828403121561352957600080fd5b81356120bc81613a3e565b60006020828403121561354657600080fd5b81516120bc81613a3e565b6000806020838503121561356457600080fd5b823567ffffffffffffffff8082111561357c57600080fd5b818501915085601f83011261359057600080fd5b81358181111561359f57600080fd5b8660208285010111156134ea57600080fd5b6000602082840312156135c357600080fd5b813567ffffffffffffffff8111156135da57600080fd5b8201601f810184136135eb57600080fd5b6128478482356020840161328b565b60006020828403121561360c57600080fd5b5035919050565b6000815180845261362b81602086016020860161393a565b601f01601f19169290920160200192915050565b8183823760009101908152919050565b6000835161366181846020880161393a565b83519083019061367581836020880161393a565b64173539b7b760d91b9101908152600501949350505050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906136c190830184613613565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561370c5783516001600160a01b0316835292840192918401916001016136e7565b50909695505050505050565b6020815260006120bc6020830184613613565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f6f6e6c7954776f4f776e6572733a2063616c6c6572206973206e6f74207468656040820152651037bbb732b960d11b606082015260800190565b60208082526023908201527f43616e2774207769746864726177202d206e6f2066756e647320617661696c61604082015262626c6560e81b606082015260800190565b60208082526022908201527f6f6e6c794f776e65723a2063616c6c6572206973206e6f7420746865206f776e60408201526132b960f11b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600082198211156138ac576138ac6139d0565b500190565b6000826138c0576138c06139e6565b500490565b60008160001904831182151516156138df576138df6139d0565b500290565b60008083128015600160ff1b850184121615613902576139026139d0565b6001600160ff1b038401831381161561391d5761391d6139d0565b50500390565b600082821015613935576139356139d0565b500390565b60005b8381101561395557818101518382015260200161393d565b838111156111755750506000910152565b600181811c9082168061397a57607f821691505b6020821081141561399b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156139b5576139b56139d0565b5060010190565b6000826139cb576139cb6139e6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146114bb57600080fdfea26469706673582212203f3b3f177715dd39597f60d1c772d51b71bdb7e1f173b61c5f7f0ab2b23fd05364736f6c63430008070033

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

00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000000a4e696674794e616674790000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000024e4e000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): NiftyNafty
Arg [1] : symbol (string): NN

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [2] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [3] : 4e696674794e6166747900000000000000000000000000000000000000000000
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [5] : 4e4e000000000000000000000000000000000000000000000000000000000000


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.