ETH Price: $3,113.75 (-0.79%)

Token

Plant Parade Token (PlantParadeToken)
 

Overview

Max Total Supply

309 PlantParadeToken

Holders

95

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 PlantParadeToken
0xb771262712c3bA5125890EC85Bf7d14Db55683b0
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:
PlantParadeToken

Compiler Version
v0.8.1+commit.df193b15

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 18 : PlantParadeToken.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "./ERC721A.sol";
import "./WithLimitedSupply.sol";
import "./LibPart.sol";

contract PlantParadeToken is ERC721A, WithLimitedSupply, ERC2981, Ownable {
    using SafeMath for uint;
    using Strings for uint256;

    uint public constant MAX_SUPPLY = 5000;
    uint public constant MAX_RESERVE_TOKEN = 100;
    uint public constant MAKETING_PERCENTAGE = 3;
    uint public constant COMMUNITY_PERCENTAGE = 11;
    uint public constant DONATIONS_PERCENTAGE = 12;
    uint public constant OWNER1_PERCENTAGE = 37;
    uint public constant OWNER2_PERCENTAGE = 37;

    /*
     * bytes4(keccak256('getRaribleV2Royalties(uint256)')) == 0xcad96cca
     */
    bytes4 private constant RARIBLE_INTERFACE_ID_ROYALTIES = 0xcad96cca;

    // Used for random index assignment
    mapping(uint16 => uint16) private tokenMatrix;

    uint public maxAllowedMint = 4;
    string public baseTokenURI;
    string public baseExtension = ".json";
    string public notRevealedUri;
    uint public saleTimeStamp;
    bool public paused = false;
    bool public revealed = false;
    uint public cost = 0.04 ether;
    bool reserveMinted = false;
    uint public presaleSlot1StartTime;
    uint public presaleSlot1EndTime;
    uint public presaleSlot2StartTime;
    uint public presaleSlot2EndTime;
    uint public presaleSlot3StartTime;
    uint public presaleSlot3EndTime;
    address public marketingWallet;
    address public communityWallet;
    address public donationsWallet; 
    address public owner1Wallet;
    address public owner2Wallet;
    
    //Map of address to slot number for whitelisting of addresses. If slot is 0 then it is invalid address
    mapping(address => uint8) public whitelist;

    RoyaltyInfo private nftRoyaltyInfo;

    event Mint(address indexed to, uint indexed totalNumber);
    event RoyaltyPaymentReceived(address from, uint256 amount);
    
    constructor(
        string memory _name,
        string memory _symbol,
        string memory _baseTokenURI,
        string memory _initNotRevealedUri,
        uint _saleStartTimestamp,
        address[] memory wallets) 
        ERC721A(_name, _symbol)
        WithLimitedSupply(MAX_SUPPLY) {

        require(_saleStartTimestamp - block.timestamp > (14 * 24 * 60 * 60), "Sale start time too early");
        require(bytes(_baseTokenURI).length > 0, "Token base URI must not be blank");
        require(bytes(_initNotRevealedUri).length > 0, "Toke Not reveal URI must not be blank");
        
        setBaseURI(_baseTokenURI);
        setNotRevealedURI(_initNotRevealedUri);
        _setDefaultRoyalty(address(this), 1000);
        nftRoyaltyInfo = RoyaltyInfo(address(this), 1000);
        saleTimeStamp = _saleStartTimestamp;
        presaleSlot1StartTime = saleTimeStamp - (14 * 24 * 60 * 60);
        presaleSlot1EndTime = presaleSlot1StartTime + (4 * 24 * 60 * 60);
        presaleSlot2StartTime = saleTimeStamp - (10 * 24 * 60 * 60);
        presaleSlot2EndTime = presaleSlot2StartTime + (2 * 24 * 60 * 60);
        presaleSlot3StartTime = saleTimeStamp - (8 * 24 * 60 * 60);
        presaleSlot3EndTime = presaleSlot3StartTime + (2 * 24 * 60 * 60);
        if(wallets.length > 0) {
            require(wallets.length == 5, "Total 5 wallet addresses must be set");
            marketingWallet = wallets[0];
            communityWallet = wallets[1];
            donationsWallet = wallets[2];
            owner1Wallet = wallets[3];
            owner2Wallet = wallets[4];
        }
    }
    /**
     * @dev The Ether received will be logged with {RoyaltyPaymentReceived} events.
     * This function recieves the payments and credit into contract
     */
    receive() external payable virtual {
        emit RoyaltyPaymentReceived(msg.sender, msg.value);
    }
    /**
     * @dev This function shows the interfaces supported by the contract
     */
    function supportsInterface(bytes4 interfaceId) public view override(ERC2981, ERC721A) returns (bool) {
        return  ERC2981.supportsInterface(interfaceId) || 
                interfaceId == RARIBLE_INTERFACE_ID_ROYALTIES ||
                ERC721A.supportsInterface(interfaceId);
    }
    /**
     * @dev Withdraw whole amount from Contract to registered wallets as per distribution percentage.
     */
    function withdraw() public onlyOwner {
        require(marketingWallet != address(0), 'Marketting wallet address empty');
        require(communityWallet != address(0), 'Community wallet address empty');
        require(donationsWallet != address(0), 'Donations wallet address empty');
        require(owner1Wallet != address(0), 'Owner1 wallet address empty');
        require(owner2Wallet != address(0), 'Owner2 wallet address empty');
        uint amount = address(this).balance;
        require(amount > 0, "No amount left to withdraw");
        uint marketingAmt = amount * MAKETING_PERCENTAGE /100;
        uint communityAmt = amount * COMMUNITY_PERCENTAGE /100;
        uint donationsAmt = amount * DONATIONS_PERCENTAGE /100;
        uint owner1Amount = amount * OWNER1_PERCENTAGE /100;
        uint owner2Amount = amount * OWNER2_PERCENTAGE /100;
        payable(marketingWallet).transfer(marketingAmt);
        payable(communityWallet).transfer(communityAmt);
        payable(donationsWallet).transfer(donationsAmt);
        payable(owner1Wallet).transfer(owner1Amount);
        payable(owner2Wallet).transfer(owner2Amount);
    }
    /***************************** Mint related functions ***********************/
    /**
     * @dev Mint requested number of tokens.
     */
    function mint(uint8 _mintAmount) public payable {
        require(!paused, "Mint Paused");
        require(_mintAmount > 0, "Min amount to mint be more than 0");
        require(canMint(msg.sender, _mintAmount), "Can not Mint");
        
        if(reserveMinted) {
            require(totalSupply().add(_mintAmount) <= MAX_SUPPLY, "Exceeded Max supply.");
        } else {
            require(totalSupply().add(_mintAmount) <= MAX_SUPPLY.sub(MAX_RESERVE_TOKEN), "Exceeded Max supply.");
        }
        if (msg.sender != owner()) {
            require(msg.value >= cost.mul(_mintAmount), "Incorrect price for Cost");
        }
        uint16[] memory tokenIds = new uint16[](_mintAmount);
        for(uint16 i = 0; i < _mintAmount; i++) {
            tokenIds[i] = nextToken();
        }
        _safeMint(msg.sender, tokenIds);
        emit Mint(msg.sender, _mintAmount);
    }
    /**
     * @dev This function returns true if user wallet is not minted max cap per wallet
     * And if Whitelisted wallet then it retruns true if within presale window
     * And if general wallet then it returns true if general sale started.
     */
    function canMint(address user, uint _mintAmount) internal view returns (bool) {
        require(balanceOf(user).add(_mintAmount) <= maxAllowedMint, "Exceeded Max Mint per wallet");

        if(whitelist[user] == 1) { // Slot 1
            return isWithinPresaleSlot1Window() || isSaleStarted();
        }
        if(whitelist[user] == 2) { // Slot 1
            return isWithinPresaleSlot2Window() || isSaleStarted();
        }
        if(whitelist[user] == 3) { // Slot 1
            return isWithinPresaleSlot3Window() || isSaleStarted();
        }
        return isSaleStarted();
    }
    //only owner
    /**
     * @dev Mint reserve 200 tokens
     */
    function mintReserveToken() external onlyOwner {
        require(!paused);
        require(balanceOf(msg.sender).add(MAX_RESERVE_TOKEN) <= MAX_RESERVE_TOKEN, "Exceeded Max Reserve Token Limit");
        require(totalSupply().add(MAX_RESERVE_TOKEN) <= MAX_SUPPLY, "Exceeded Max supply.");
        
        uint16[] memory tokenIds = new uint16[](MAX_RESERVE_TOKEN);
        for(uint16 i = 0; i < MAX_RESERVE_TOKEN; i++) {
            tokenIds[i] = nextToken();
        }
        _safeMint(msg.sender, tokenIds);
        emit Mint(msg.sender, MAX_RESERVE_TOKEN);
    }
    /*************************** Read Functions *****************************/
    /**
     * @dev Implementation of Rarible Royalty interface
     */
    function getRaribleV2Royalties(uint256 id) external view returns (LibPart.Part[] memory) {
        LibPart.Part[] memory _royalties = new LibPart.Part[](1);
        _royalties[0].value = nftRoyaltyInfo.royaltyFraction;
        _royalties[0].account = payable(nftRoyaltyInfo.receiver);
        return _royalties;
    }
    /**
     * @dev Function returns tokenids for an wallet.
     */
    function walletOfOwner(address _owner) external view returns (uint16[] memory) {
        return _ownersData[_owner];
    }
    /**
     * @dev Function returns token uri for a token id.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(uint16(tokenId)), "ERC721Metadata: URI query for nonexistent token");

        if(!revealed) {
            return notRevealedUri;
        }

        string memory currentBaseURI = _baseURI();
        return bytes(currentBaseURI).length > 0
            ? string(abi.encodePacked(currentBaseURI, tokenId.toString(), baseExtension))
            : "";
    }
    /**
     * @dev Function to check if sale is started or not
     */
    function isSaleStarted() public view returns (bool) {
        return block.timestamp >= saleTimeStamp;
    }
    /************************* Write Functions *************************/
    /**
     * @dev Function to set Base URI of the NFT
     */
    function setBaseURI(string memory _baseTokenURI) public onlyOwner {
        baseTokenURI = _baseTokenURI;
    }
    /**
     * @dev Function to set Not Revealed URI
     */
    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedUri = _notRevealedURI;
    }
    /**
     * @dev Function to set base extension for NFT
     */
    function setBaseExtension(string memory _newBaseExtension) external onlyOwner {
        baseExtension = _newBaseExtension;
    }
    /**
     * @dev Function to set reveal NFT or not flag
     */
    function reveal(bool _reveal) public onlyOwner {
        revealed = _reveal;
    }
    /**
     * @dev Function to set pause NFT mint or not flag
     */
    function pause(bool _state) external onlyOwner {
        paused = _state;
    }
    /**
     * @dev Function to set cost per NFT to mint
     */
    function setCost(uint _newCost) public onlyOwner {
        cost = _newCost;
    }
    /**
     * @dev Function to set Max Allowed mint per wallet
     */
    function setMaxAllowedMint(uint _maxAllowed) public onlyOwner {
        maxAllowedMint = _maxAllowed;
    }
    /**
     * @dev Function to set sale start time
     */
    function setSaleStartTime(uint _saleStartTimestamp) public onlyOwner {
        saleTimeStamp = _saleStartTimestamp;
    }
    /**
     * @dev Function to set pre-sale slot1 window w.r.t sale start time
     * @param _daysPrior number of days prior to sale start time
     * @param durationInSecs duration of presale in seconds or epoch from slot1 start time
     */
    function setPreSaleSlot1Window(uint _daysPrior, uint durationInSecs) public onlyOwner {
        presaleSlot1StartTime = saleTimeStamp - (_daysPrior * 24 * 60 * 60);
        presaleSlot1EndTime = presaleSlot1StartTime + durationInSecs;
    }
    /**
     * @dev Function to set pre-sale slot2 window w.r.t sale start time
     * @param _daysPrior number of days prior to sale start time
     * @param durationInSecs duration of presale in seconds or epoch from slot1 start time
     */
    function setPreSaleSlot2Window(uint _daysPrior, uint durationInSecs) public onlyOwner {
        presaleSlot2StartTime = saleTimeStamp - (_daysPrior * 24 * 60 * 60);
        presaleSlot2EndTime = presaleSlot2StartTime + durationInSecs;
    }
    /**
     * @dev Function to set marketing wallet address
     */
    function setMarketingWallet(address _marketingWallet) public onlyOwner {
        marketingWallet = _marketingWallet;
    }
    /**
     * @dev Function to set community wallet address
     */
    function setCommunityWallet(address _communityWallet) public onlyOwner {
        communityWallet = _communityWallet;
    }
    /**
     * @dev Function to set donations wallet address
     */
    function setDonationsWallet(address _donationsWallet) public onlyOwner {
        donationsWallet = _donationsWallet;
    }
    /**
     * @dev Function to set Owner1 wallet address
     */
    function setOwner1Wallet(address _owner1Wallet) public onlyOwner {
        owner1Wallet = _owner1Wallet;
    }
    /**
     * @dev Function to set Owner2 wallet address
     */
    function setOwner2Wallet(address _owner2Wallet) public onlyOwner {
        owner2Wallet = _owner2Wallet;
    }
    /**
     * @dev Function to set pre-sale slot2 window w.r.t sale start time
     * @param _daysPrior number of days prior to sale start time
     * @param durationInSecs duration of presale in seconds or epoch from slot1 start time
     */
    function setPreSaleSlot3Window(uint _daysPrior, uint durationInSecs) public onlyOwner {
        presaleSlot3StartTime = saleTimeStamp - (_daysPrior * 24 * 60 * 60);
        presaleSlot3EndTime = presaleSlot3StartTime + durationInSecs;
    }
    /**
     * @dev Add wallet address as whitelisted address to be eligible to participate in presale window
     */
    function addAddressToWhitelist(address wallet, uint8 _slot) public onlyOwner {
        require(whitelist[wallet] <= 0, "Address Whitelisted");
        require(_slot > 0 && _slot <= 3, "Invalid Slot");
        whitelist[wallet] = _slot;
    }
    /**
     * @dev Add List of wallet addresses as whitelisted address to be eligible to participate in presale window
     */
    function addAddressesToWhitelist(address[] memory wallets, uint8[] memory _slots) external onlyOwner {
        for(uint i = 0; i < wallets.length; i++) {
            addAddressToWhitelist(wallets[i], _slots[i]);
        }
    }
    /**
     * @dev Remove a wallet address from whitelisted list
     */
    function removeFromWhitelist(address wallet) external onlyOwner {
        require(whitelist[wallet] > 0, "Address Not Whitelisted");
        whitelist[wallet] = 0;
    }
    /************************** Internal functions ***************************/
    function _baseURI() internal view override returns (string memory) {
        return baseTokenURI;
    }
    function isWithinPresaleSlot1Window() internal view returns (bool) {
        return block.timestamp >= presaleSlot1StartTime && 
               block.timestamp <= presaleSlot1EndTime;
    }
    function isWithinPresaleSlot2Window() internal view returns (bool) {
        return block.timestamp >= presaleSlot2StartTime && 
               block.timestamp <= presaleSlot2EndTime;
    }
    function isWithinPresaleSlot3Window() internal view returns (bool) {
        return block.timestamp >= presaleSlot3StartTime && 
               block.timestamp <= presaleSlot3EndTime;
    }
    /** 
     * 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() internal override ensureAvailability returns (uint16) {
        uint16 maxIndex = uint16(_totalSupply - totalSupply());
        uint randomVal = uint(keccak256(
            abi.encodePacked(
                msg.sender,
                block.coinbase,
                block.difficulty,
                block.gaslimit,
                block.timestamp
            )
        )) % maxIndex;
        uint16 random = uint16(randomVal);
        uint16 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];
        }
        _tokenOwnership[value].owner = msg.sender;
        _tokenOwnership[value].approvalFor = address(0);
        // Increment counts
        super.nextToken();
        
        return value;
    }
}

File 2 of 18 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice)
        external
        view
        virtual
        override
        returns (address, uint256)
    {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `tokenId` must be already minted.
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 3 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 18 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 5 of 18 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 6 of 18 : ERC721A.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

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

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

    struct TokenOwnership {
        address owner;
        address approvalFor;
    }

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    //Array of token owner addresses on indexed position of array
    mapping(uint16 => TokenOwnership) internal _tokenOwnership;

    mapping(address => uint16[]) internal _ownersData;

    // 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 _ownersData[owner].length;
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _tokenOwnership[uint16(tokenId)].owner;
        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(uint16(tokenId)), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }
    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = 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, uint16(tokenId));
    }
    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(uint16(tokenId)), "ERC721: approved query for nonexistent token");

        return _tokenOwnership[uint16(tokenId)].approvalFor;
    }
    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_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, uint16(tokenId), _data), "ERC721: transfer to non ERC721Receiver implementer");
    }
    /**
     * @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(uint16(tokenId)), "ERC721: operator query for nonexistent token");
        address owner = ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }
    /**
     * @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(ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        uint16[] memory tokenIds = new uint16[](1);
        tokenIds[0] = uint16(tokenId);
        _beforeTokenTransfer(from, to, tokenIds);

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

        _tokenOwnership[uint16(tokenId)].owner = to;
        _ownersData[to].push(uint16(tokenId));
        for(uint16 i = 0; i < _ownersData[from].length; i++) {
            if(_ownersData[from][i] == uint16(tokenId)) {
                _ownersData[from][i] = _ownersData[from][_ownersData[from].length - 1];
                _ownersData[from].pop();
                break;
            }
        }

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenIds);
    }
    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint16 tokenId) internal virtual {
        _tokenOwnership[tokenId].approvalFor = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }
    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }
    /**
     * @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 overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }
    /**
     * @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(uint16 tokenId) internal view virtual returns (bool) {
        return _tokenOwnership[tokenId].owner != address(0);
    }
    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenIds` 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, uint16[] memory tokenIds) internal virtual {
        _safeMint(to, tokenIds, "");
    }
    /**
     * @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,
        uint16[] memory tokenIds,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenIds);
        require(
            _checkOnERC721Received(address(0), to, tokenIds[0], _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, uint16[] memory tokenIds) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(tokenIds.length > 0, "Valid Token id needed");

        _beforeTokenTransfer(address(0), to, tokenIds);
        
        for(uint16 i = 0; i < tokenIds.length; i++ ) {
            _ownersData[to].push(tokenIds[i]);
            emit Transfer(address(0), to, tokenIds[i]);
        }
        
        _afterTokenTransfer(address(0), to, tokenIds);
    }
    /**
     * @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 uint16 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,
        uint16 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, uint256(tokenId), _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }
    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint16[] memory tokenIds
    ) internal virtual {}
    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint16[] memory tokenIds
    ) internal virtual {}
}

File 7 of 18 : WithLimitedSupply.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/Counters.sol";

/// @title A token tracker that limits the token supply and increments token IDs on each new mint.
abstract contract WithLimitedSupply {
    using Counters for Counters.Counter;
    /**
     * @dev Emitted when the supply of this collection changes
     */
    event SupplyChanged(uint256 indexed supply);

    // Keeps track of how many have been minted
    Counters.Counter private _tokenCount;

    /**
     * @dev The maximum count of tokens this token tracker will hold.
     */
    uint256 internal _totalSupply;

    constructor (uint256 totalSupply_) {
        _totalSupply = totalSupply_;
    }

    /** 
     * @dev Get the current token count
     * @return the created token count
     */
    function totalSupply() public view returns (uint256) {
        return _tokenCount.current();
    }
    /**
     * @dev Check whether tokens are still available
     * @return the available token count
     */
    function availableTokenCount() public view virtual returns (uint256) {
        return _totalSupply - totalSupply();
    }
    /**
     * @dev Increment the token count and fetch the latest count
     * @return the next token id
     */
    function nextToken() internal virtual returns (uint16) {
        uint256 token = _tokenCount.current();

        _tokenCount.increment();

        return uint16(token);
    }
    /**
     * @dev Check whether another token is still available
     */
    modifier ensureAvailability() {
        require(availableTokenCount() > 0, "No more tokens available");
        _;
    }
    /**
     * @param amount Check whether number of tokens are still available
     * @dev Check whether tokens are still available
     */
    modifier ensureAvailabilityFor(uint256 amount) {
        require(availableTokenCount() >= amount, "Requested number of tokens not available");
        _;
    }
    /**
     * Update the supply for the collection
     * @param _supply the new token supply.
     * @dev create additional token supply for this collection.
     */
    function _setSupply(uint256 _supply) internal virtual {
        require(_supply > totalSupply(), "Can't set the supply to less than the current token count");
        _totalSupply = _supply;

        emit SupplyChanged(_totalSupply);
    }
}

File 8 of 18 : LibPart.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

library LibPart {
    bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint96 value)");

    struct Part {
        address payable account;
        uint96 value;
    }

    function hash(Part memory part) internal pure returns (bytes32) {
        return keccak256(abi.encode(TYPE_HASH, part.account, part.value));
    }
}

File 9 of 18 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be payed in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 10 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

File 13 of 18 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 17 of 18 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 18 of 18 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

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"},{"internalType":"string","name":"_baseTokenURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"},{"internalType":"uint256","name":"_saleStartTimestamp","type":"uint256"},{"internalType":"address[]","name":"wallets","type":"address[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"totalNumber","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RoyaltyPaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"supply","type":"uint256"}],"name":"SupplyChanged","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":"COMMUNITY_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DONATIONS_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAKETING_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER1_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OWNER2_PERCENTAGE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"uint8","name":"_slot","type":"uint8"}],"name":"addAddressToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"wallets","type":"address[]"},{"internalType":"uint8[]","name":"_slots","type":"uint8[]"}],"name":"addAddressesToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"availableTokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"communityWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"donationsWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint96","name":"value","type":"uint96"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"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":"isSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"marketingWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxAllowedMint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"_mintAmount","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintReserveToken","outputs":[],"stateMutability":"nonpayable","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":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner1Wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner2Wallet","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSlot1EndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSlot1StartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSlot2EndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSlot2StartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSlot3EndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleSlot3StartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"}],"name":"removeFromWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_reveal","type":"bool"}],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"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":"saleTimeStamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_communityWallet","type":"address"}],"name":"setCommunityWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_donationsWallet","type":"address"}],"name":"setDonationsWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_marketingWallet","type":"address"}],"name":"setMarketingWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxAllowed","type":"uint256"}],"name":"setMaxAllowedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner1Wallet","type":"address"}],"name":"setOwner1Wallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner2Wallet","type":"address"}],"name":"setOwner2Wallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysPrior","type":"uint256"},{"internalType":"uint256","name":"durationInSecs","type":"uint256"}],"name":"setPreSaleSlot1Window","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysPrior","type":"uint256"},{"internalType":"uint256","name":"durationInSecs","type":"uint256"}],"name":"setPreSaleSlot2Window","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_daysPrior","type":"uint256"},{"internalType":"uint256","name":"durationInSecs","type":"uint256"}],"name":"setPreSaleSlot3Window","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_saleStartTimestamp","type":"uint256"}],"name":"setSaleStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint16[]","name":"","type":"uint16[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelist","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6004600b5560c06040526005608081905264173539b7b760d91b60a09081526200002d91600d9190620005d5565b506010805461ffff19169055668e1bc9bf0400006011556012805460ff191690553480156200005b57600080fd5b5060405162004d4f38038062004d4f8339810160408190526200007e91620007ab565b611388868681600090805190602001906200009b929190620005d5565b508051620000b1906001906020840190620005d5565b505050600655620000cb620000c5620003f9565b620003fd565b62127500620000db428462000a87565b11620001045760405162461bcd60e51b8152600401620000fb906200088e565b60405180910390fd5b6000845111620001285760405162461bcd60e51b8152600401620000fb906200094e565b60008351116200014c5760405162461bcd60e51b8152600401620000fb9062000909565b62000157846200044f565b6200016283620004ae565b62000170306103e862000509565b60408051808201909152308082526103e8602090920191909152601f8054607d60a31b6001600160a01b03199091169092176001600160a01b0316919091179055600f829055620001c5621275008362000a87565b6013819055620001d9906205460062000a6c565b601455600f54620001ef90620d2f009062000a87565b601581905562000203906202a30062000a6c565b601655600f546200021990620a8c009062000a87565b60178190556200022d906202a30062000a6c565b601855805115620003ed5780516005146200025c5760405162461bcd60e51b8152600401620000fb90620008c5565b806000815181106200027e57634e487b7160e01b600052603260045260246000fd5b6020026020010151601960006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600181518110620002ce57634e487b7160e01b600052603260045260246000fd5b6020026020010151601a60006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806002815181106200031e57634e487b7160e01b600052603260045260246000fd5b6020026020010151601b60006101000a8154816001600160a01b0302191690836001600160a01b03160217905550806003815181106200036e57634e487b7160e01b600052603260045260246000fd5b6020026020010151601c60006101000a8154816001600160a01b0302191690836001600160a01b0316021790555080600481518110620003be57634e487b7160e01b600052603260045260246000fd5b6020026020010151601d60006101000a8154816001600160a01b0302191690836001600160a01b031602179055505b50505050505062000b0a565b3390565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b62000459620003f9565b6001600160a01b03166200046c620005c0565b6001600160a01b031614620004955760405162461bcd60e51b8152600401620000fb9062000983565b8051620004aa90600c906020840190620005d5565b5050565b620004b8620003f9565b6001600160a01b0316620004cb620005c0565b6001600160a01b031614620004f45760405162461bcd60e51b8152600401620000fb9062000983565b8051620004aa90600e906020840190620005d5565b62000513620005cf565b6001600160601b0316816001600160601b03161115620005475760405162461bcd60e51b8152600401620000fb90620009b8565b6001600160a01b038216620005705760405162461bcd60e51b8152600401620000fb9062000a02565b604080518082019091526001600160a01b039283168082526001600160601b03929092166020909101819052600780546001600160a01b031916909217909216600160a01b909202919091179055565b6009546001600160a01b031690565b61271090565b828054620005e39062000aa1565b90600052602060002090601f01602090048101928262000607576000855562000652565b82601f106200062257805160ff191683800117855562000652565b8280016001018555821562000652579182015b828111156200065257825182559160200191906001019062000635565b506200066092915062000664565b5090565b5b8082111562000660576000815560010162000665565b600082601f8301126200068c578081fd5b815160206001600160401b03821115620006aa57620006aa62000af4565b808202620006ba82820162000a39565b838152828101908684018388018501891015620006d5578687fd5b8693505b858410156200070e5780516001600160a01b0381168114620006f9578788fd5b835260019390930192918401918401620006d9565b50979650505050505050565b600082601f8301126200072b578081fd5b81516001600160401b0381111562000747576200074762000af4565b60206200075d601f8301601f1916820162000a39565b828152858284870101111562000771578384fd5b835b838110156200079057858101830151828201840152820162000773565b83811115620007a157848385840101525b5095945050505050565b60008060008060008060c08789031215620007c4578182fd5b86516001600160401b0380821115620007db578384fd5b620007e98a838b016200071a565b97506020890151915080821115620007ff578384fd5b6200080d8a838b016200071a565b9650604089015191508082111562000823578384fd5b620008318a838b016200071a565b9550606089015191508082111562000847578384fd5b620008558a838b016200071a565b94506080890151935060a089015191508082111562000872578283fd5b506200088189828a016200067b565b9150509295509295509295565b60208082526019908201527f53616c652073746172742074696d6520746f6f206561726c7900000000000000604082015260600190565b60208082526024908201527f546f74616c20352077616c6c657420616464726573736573206d757374206265604082015263081cd95d60e21b606082015260800190565b60208082526025908201527f546f6b65204e6f742072657665616c20555249206d757374206e6f7420626520604082015264626c616e6b60d81b606082015260800190565b6020808252818101527f546f6b656e206261736520555249206d757374206e6f7420626520626c616e6b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60208082526019908201527f455243323938313a20696e76616c696420726563656976657200000000000000604082015260600190565b604051601f8201601f191681016001600160401b038111828210171562000a645762000a6462000af4565b604052919050565b6000821982111562000a825762000a8262000ade565b500190565b60008282101562000a9c5762000a9c62000ade565b500390565b60028104600182168062000ab657607f821691505b6020821081141562000ad857634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6142358062000b1a6000396000f3fe6080604052600436106104145760003560e01c8063715018a61161021e578063b025dd9011610123578063d547cfb7116100ab578063e985e9c51161007a578063e985e9c514610b80578063ea06229814610ba0578063f287eada14610bb5578063f2c4ce1e14610bca578063f2fde38b14610bea57610454565b8063d547cfb714610b21578063da3ef23f14610b36578063e14ca35314610b56578063e59a687414610b6b57610454565b8063c87b56dd116100f2578063c87b56dd14610a7f578063c969ca4514610a9f578063cad96cca14610abf578063d06de45d14610aec578063d12c38b314610b0157610454565b8063b025dd9014610a15578063b88d4fde14610a35578063c668286214610a55578063c757483914610a6a57610454565b8063940cd05b116101a65780639b9cf33e116101755780639b9cf33e1461098b5780639e262e32146109ab578063a20a1c9a146109cb578063a22cb465146109e0578063ab3de2df14610a0057610454565b8063940cd05b14610914578063958cfb7a1461093457806395d89b41146109495780639b19251a1461095e57610454565b80637ad559c4116101ed5780637ad559c41461087f57806381b7f57b1461089f57806385d6bb81146108bf5780638ab1d681146108df5780638da5cb5b146108ff57610454565b8063715018a61461082b57806371d397b91461084057806375ef35ae1461085557806375f0a8741461086a57610454565b80633b80b7d3116103245780635c975abb116102ac5780636352211e1161027b5780636352211e146107c35780636796b7a8146107e35780636ecd2306146107f85780636f5067b8146107e357806370a082311461080b57610454565b80635c975abb146107645780635d098b3814610779578063624e71aa14610799578063626a15bd146107ae57610454565b806344a0d68a116102f357806344a0d68a146106da57806351830227146106fa578063525f8a5c1461070f57806355f804b31461072f57806357aec69d1461074f57610454565b80633b80b7d3146106635780633ccfd60b1461067857806342842e0e1461068d578063438b6300146106ad57610454565b806318160ddd116103a75780632700fdae116103765780632700fdae146105d6578063287301c1146105f65780632a55205a1461060b5780632b3441381461063957806332cb6b0c1461064e57610454565b806318160ddd1461057757806320527c231461058c57806323b872dd146105a157806326f6b5ba146105c157610454565b8063081c8c44116103e3578063081c8c4414610500578063095ea7b31461051557806309aff8e51461053557806313faede61461055557610454565b806301ffc9a71461045957806302329a291461048f57806306fdde03146104b1578063081812fc146104d357610454565b36610454577fd2c6d74d1669c05068b4e3f09cc389b3b46979444569cc854ba69b40f762fd28333460405161044a929190613750565b60405180910390a1005b600080fd5b34801561046557600080fd5b50610479610474366004613505565b610c0a565b6040516104869190613812565b60405180910390f35b34801561049b57600080fd5b506104af6104aa3660046134eb565b610c47565b005b3480156104bd57600080fd5b506104c6610ca2565b604051610486919061381d565b3480156104df57600080fd5b506104f36104ee366004613583565b610d34565b60405161048691906136ff565b34801561050c57600080fd5b506104c6610d7e565b34801561052157600080fd5b506104af6105303660046133db565b610e0c565b34801561054157600080fd5b506104af61055036600461359b565b610ea4565b34801561056157600080fd5b5061056a610f28565b6040516104869190613ff2565b34801561058357600080fd5b5061056a610f2e565b34801561059857600080fd5b5061056a610f3f565b3480156105ad57600080fd5b506104af6105bc3660046132fe565b610f44565b3480156105cd57600080fd5b5061056a610f7c565b3480156105e257600080fd5b506104af6105f1366004613404565b610f82565b34801561060257600080fd5b5061056a61105a565b34801561061757600080fd5b5061062b61062636600461359b565b61105f565b604051610486929190613750565b34801561064557600080fd5b5061056a611118565b34801561065a57600080fd5b5061056a61111e565b34801561066f57600080fd5b50610479611124565b34801561068457600080fd5b506104af61112d565b34801561069957600080fd5b506104af6106a83660046132fe565b611407565b3480156106b957600080fd5b506106cd6106c83660046132b2565b611422565b60405161048691906137ca565b3480156106e657600080fd5b506104af6106f5366004613583565b6114b6565b34801561070657600080fd5b506104796114fa565b34801561071b57600080fd5b506104af61072a366004613583565b611508565b34801561073b57600080fd5b506104af61074a36600461353d565b61154c565b34801561075b57600080fd5b5061056a6115a2565b34801561077057600080fd5b506104796115a8565b34801561078557600080fd5b506104af6107943660046132b2565b6115b1565b3480156107a557600080fd5b5061056a611612565b3480156107ba57600080fd5b5061056a611617565b3480156107cf57600080fd5b506104f36107de366004613583565b61161d565b3480156107ef57600080fd5b5061056a611657565b6104af6108063660046135bc565b61165c565b34801561081757600080fd5b5061056a6108263660046132b2565b611894565b34801561083757600080fd5b506104af6118d8565b34801561084c57600080fd5b506104f3611923565b34801561086157600080fd5b5061056a611932565b34801561087657600080fd5b506104f3611938565b34801561088b57600080fd5b506104af61089a3660046132b2565b611947565b3480156108ab57600080fd5b506104af6108ba36600461359b565b6119a8565b3480156108cb57600080fd5b506104af6108da3660046132b2565b611a2c565b3480156108eb57600080fd5b506104af6108fa3660046132b2565b611a8d565b34801561090b57600080fd5b506104f3611b25565b34801561092057600080fd5b506104af61092f3660046134eb565b611b34565b34801561094057600080fd5b5061056a611b8d565b34801561095557600080fd5b506104c6611b92565b34801561096a57600080fd5b5061097e6109793660046132b2565b611ba1565b6040516104869190613ffb565b34801561099757600080fd5b506104af6109a6366004613583565b611bb6565b3480156109b757600080fd5b506104af6109c636600461342d565b611bfa565b3480156109d757600080fd5b5061056a611caf565b3480156109ec57600080fd5b506104af6109fb3660046133b2565b611cb5565b348015610a0c57600080fd5b506104af611cc7565b348015610a2157600080fd5b506104af610a303660046132b2565b611e34565b348015610a4157600080fd5b506104af610a50366004613339565b611e95565b348015610a6157600080fd5b506104c6611ed4565b348015610a7657600080fd5b506104f3611ee1565b348015610a8b57600080fd5b506104c6610a9a366004613583565b611ef0565b348015610aab57600080fd5b506104af610aba36600461359b565b612017565b348015610acb57600080fd5b50610adf610ada366004613583565b61209b565b6040516104869190613769565b348015610af857600080fd5b5061056a612172565b348015610b0d57600080fd5b506104af610b1c3660046132b2565b612178565b348015610b2d57600080fd5b506104c66121d9565b348015610b4257600080fd5b506104af610b5136600461353d565b6121e6565b348015610b6257600080fd5b5061056a612238565b348015610b7757600080fd5b5061056a61224f565b348015610b8c57600080fd5b50610479610b9b3660046132cc565b612255565b348015610bac57600080fd5b506104f3612285565b348015610bc157600080fd5b506104f3612294565b348015610bd657600080fd5b506104af610be536600461353d565b6122a3565b348015610bf657600080fd5b506104af610c053660046132b2565b6122f5565b6000610c1582612366565b80610c3057506001600160e01b0319821663656cb66560e11b145b80610c3f5750610c3f82612387565b90505b919050565b610c4f6123c7565b6001600160a01b0316610c60611b25565b6001600160a01b031614610c8f5760405162461bcd60e51b8152600401610c8690613dd1565b60405180910390fd5b6010805460ff1916911515919091179055565b606060008054610cb19061411b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd9061411b565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050905090565b6000610d3f826123cb565b610d5b5760405162461bcd60e51b8152600401610c8690613d85565b5061ffff166000908152600260205260409020600101546001600160a01b031690565b600e8054610d8b9061411b565b80601f0160208091040260200160405190810160405280929190818152602001828054610db79061411b565b8015610e045780601f10610dd957610100808354040283529160200191610e04565b820191906000526020600020905b815481529060010190602001808311610de757829003601f168201915b505050505081565b6000610e178261161d565b9050806001600160a01b0316836001600160a01b03161415610e4b5760405162461bcd60e51b8152600401610c8690613ef2565b806001600160a01b0316610e5d6123c7565b6001600160a01b03161480610e795750610e7981610b9b6123c7565b610e955760405162461bcd60e51b8152600401610c8690613c32565b610e9f83836123ec565b505050565b610eac6123c7565b6001600160a01b0316610ebd611b25565b6001600160a01b031614610ee35760405162461bcd60e51b8152600401610c8690613dd1565b610eee826018614096565b610ef990603c614096565b610f0490603c614096565b600f54610f1191906140d8565b6013819055610f2190829061406a565b6014555050565b60115481565b6000610f3a6005612460565b905090565b606481565b610f55610f4f6123c7565b82612464565b610f715760405162461bcd60e51b8152600401610c8690613f6a565b610e9f8383836124e9565b60155481565b610f8a6123c7565b6001600160a01b0316610f9b611b25565b6001600160a01b031614610fc15760405162461bcd60e51b8152600401610c8690613dd1565b6001600160a01b0382166000908152601e602052604090205460ff1615610ffa5760405162461bcd60e51b8152600401610c86906138b2565b60008160ff16118015611011575060038160ff1611155b61102d5760405162461bcd60e51b8152600401610c86906139e5565b6001600160a01b03919091166000908152601e60205260409020805460ff191660ff909216919091179055565b600b81565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110d45750604080518082019091526007546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60006110de612863565b6001600160601b031682602001516001600160601b0316866111009190614096565b61110a9190614082565b915196919550909350505050565b60145481565b61138881565b600f5442101590565b6111356123c7565b6001600160a01b0316611146611b25565b6001600160a01b03161461116c5760405162461bcd60e51b8152600401610c8690613dd1565b6019546001600160a01b03166111945760405162461bcd60e51b8152600401610c8690613a50565b601a546001600160a01b03166111bc5760405162461bcd60e51b8152600401610c8690613bc6565b601b546001600160a01b03166111e45760405162461bcd60e51b8152600401610c8690613f33565b601c546001600160a01b031661120c5760405162461bcd60e51b8152600401610c8690613fbb565b601d546001600160a01b03166112345760405162461bcd60e51b8152600401610c8690613e84565b47806112525760405162461bcd60e51b8152600401610c8690613968565b60006064611261600384614096565b61126b9190614082565b90506000606461127c600b85614096565b6112869190614082565b905060006064611297600c86614096565b6112a19190614082565b9050600060646112b2602587614096565b6112bc9190614082565b9050600060646112cd602588614096565b6112d79190614082565b6019546040519192506001600160a01b03169086156108fc029087906000818181858888f19350505050158015611312573d6000803e3d6000fd5b50601a546040516001600160a01b039091169085156108fc029086906000818181858888f1935050505015801561134d573d6000803e3d6000fd5b50601b546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015611388573d6000803e3d6000fd5b50601c546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156113c3573d6000803e3d6000fd5b50601d546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156113fe573d6000803e3d6000fd5b50505050505050565b610e9f83838360405180602001604052806000815250611e95565b6001600160a01b0381166000908152600360209081526040918290208054835181840281018401909452808452606093928301828280156114aa57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116114715790505b50505050509050919050565b6114be6123c7565b6001600160a01b03166114cf611b25565b6001600160a01b0316146114f55760405162461bcd60e51b8152600401610c8690613dd1565b601155565b601054610100900460ff1681565b6115106123c7565b6001600160a01b0316611521611b25565b6001600160a01b0316146115475760405162461bcd60e51b8152600401610c8690613dd1565b600f55565b6115546123c7565b6001600160a01b0316611565611b25565b6001600160a01b03161461158b5760405162461bcd60e51b8152600401610c8690613dd1565b805161159e90600c9060208401906130ff565b5050565b60185481565b60105460ff1681565b6115b96123c7565b6001600160a01b03166115ca611b25565b6001600160a01b0316146115f05760405162461bcd60e51b8152600401610c8690613dd1565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b600381565b600f5481565b61ffff81166000908152600260205260408120546001600160a01b031680610c3f5760405162461bcd60e51b8152600401610c8690613cd9565b602581565b60105460ff161561167f5760405162461bcd60e51b8152600401610c8690613867565b60008160ff16116116a25760405162461bcd60e51b8152600401610c8690613a87565b6116af338260ff16612869565b6116cb5760405162461bcd60e51b8152600401610c869061388c565b60125460ff1615611711576113886116ee8260ff166116e8610f2e565b9061293a565b111561170c5760405162461bcd60e51b8152600401610c8690613d57565b61174b565b61171e6113886064612946565b61172d8260ff166116e8610f2e565b111561174b5760405162461bcd60e51b8152600401610c8690613d57565b611753611b25565b6001600160a01b0316336001600160a01b03161461179a5760115461177b9060ff8316612952565b34101561179a5760405162461bcd60e51b8152600401610c86906138df565b60008160ff1667ffffffffffffffff8111156117c657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156117ef578160200160208202803683370190505b50905060005b8260ff168161ffff1610156118555761180c61295e565b828261ffff168151811061183057634e487b7160e01b600052603260045260246000fd5b61ffff909216602092830291909101909101528061184d81614156565b9150506117f5565b506118603382612b0f565b60405160ff83169033907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a35050565b60006001600160a01b0382166118bc5760405162461bcd60e51b8152600401610c8690613c8f565b506001600160a01b031660009081526003602052604090205490565b6118e06123c7565b6001600160a01b03166118f1611b25565b6001600160a01b0316146119175760405162461bcd60e51b8152600401610c8690613dd1565b6119216000612b29565b565b601d546001600160a01b031681565b60165481565b6019546001600160a01b031681565b61194f6123c7565b6001600160a01b0316611960611b25565b6001600160a01b0316146119865760405162461bcd60e51b8152600401610c8690613dd1565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6119b06123c7565b6001600160a01b03166119c1611b25565b6001600160a01b0316146119e75760405162461bcd60e51b8152600401610c8690613dd1565b6119f2826018614096565b6119fd90603c614096565b611a0890603c614096565b600f54611a1591906140d8565b6017819055611a2590829061406a565b6018555050565b611a346123c7565b6001600160a01b0316611a45611b25565b6001600160a01b031614611a6b5760405162461bcd60e51b8152600401610c8690613dd1565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b611a956123c7565b6001600160a01b0316611aa6611b25565b6001600160a01b031614611acc5760405162461bcd60e51b8152600401610c8690613dd1565b6001600160a01b0381166000908152601e602052604090205460ff16611b045760405162461bcd60e51b8152600401610c8690613ebb565b6001600160a01b03166000908152601e60205260409020805460ff19169055565b6009546001600160a01b031690565b611b3c6123c7565b6001600160a01b0316611b4d611b25565b6001600160a01b031614611b735760405162461bcd60e51b8152600401610c8690613dd1565b601080549115156101000261ff0019909216919091179055565b600c81565b606060018054610cb19061411b565b601e6020526000908152604090205460ff1681565b611bbe6123c7565b6001600160a01b0316611bcf611b25565b6001600160a01b031614611bf55760405162461bcd60e51b8152600401610c8690613dd1565b600b55565b611c026123c7565b6001600160a01b0316611c13611b25565b6001600160a01b031614611c395760405162461bcd60e51b8152600401610c8690613dd1565b60005b8251811015610e9f57611c9d838281518110611c6857634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110611c9057634e487b7160e01b600052603260045260246000fd5b6020026020010151610f82565b80611ca781614178565b915050611c3c565b60175481565b61159e611cc06123c7565b8383612b7b565b611ccf6123c7565b6001600160a01b0316611ce0611b25565b6001600160a01b031614611d065760405162461bcd60e51b8152600401610c8690613dd1565b60105460ff1615611d1657600080fd5b6064611d2660646116e833611894565b1115611d445760405162461bcd60e51b8152600401610c8690613bfd565b611388611d5460646116e8610f2e565b1115611d725760405162461bcd60e51b8152600401610c8690613d57565b604080516064808252610ca0820190925260009160208201610c808036833701905050905060005b60648161ffff161015611df857611daf61295e565b828261ffff1681518110611dd357634e487b7160e01b600052603260045260246000fd5b61ffff9092166020928302919091019091015280611df081614156565b915050611d9a565b50611e033382612b0f565b60405160649033907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a350565b611e3c6123c7565b6001600160a01b0316611e4d611b25565b6001600160a01b031614611e735760405162461bcd60e51b8152600401610c8690613dd1565b601b80546001600160a01b0319166001600160a01b0392909216919091179055565b611ea6611ea06123c7565b83612464565b611ec25760405162461bcd60e51b8152600401610c8690613f6a565b611ece84848484612c1e565b50505050565b600d8054610d8b9061411b565b601a546001600160a01b031681565b6060611efb826123cb565b611f175760405162461bcd60e51b8152600401610c8690613e06565b601054610100900460ff16611fb857600e8054611f339061411b565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5f9061411b565b8015611fac5780601f10611f8157610100808354040283529160200191611fac565b820191906000526020600020905b815481529060010190602001808311611f8f57829003601f168201915b50505050509050610c42565b6000611fc2612c51565b90506000815111611fe25760405180602001604052806000815250612010565b80611fec84612c60565b600d6040516020016120009392919061363d565b6040516020818303038152906040525b9392505050565b61201f6123c7565b6001600160a01b0316612030611b25565b6001600160a01b0316146120565760405162461bcd60e51b8152600401610c8690613dd1565b612061826018614096565b61206c90603c614096565b61207790603c614096565b600f5461208491906140d8565b601581905561209490829061406a565b6016555050565b60408051600180825281830190925260609160009190816020015b6120be613183565b8152602001906001900390816120b657905050601f548151919250600160a01b90046001600160601b031690829060009061210957634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160601b03909216910152601f5481516001600160a01b0390911690829060009061215357634e487b7160e01b600052603260045260246000fd5b60209081029190910101516001600160a01b0390911690529050919050565b60135481565b6121806123c7565b6001600160a01b0316612191611b25565b6001600160a01b0316146121b75760405162461bcd60e51b8152600401610c8690613dd1565b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c8054610d8b9061411b565b6121ee6123c7565b6001600160a01b03166121ff611b25565b6001600160a01b0316146122255760405162461bcd60e51b8152600401610c8690613dd1565b805161159e90600d9060208401906130ff565b6000612242610f2e565b600654610f3a91906140d8565b600b5481565b6001600160a01b0380831660009081526004602090815260408083209385168352929052205460ff165b92915050565b601c546001600160a01b031681565b601b546001600160a01b031681565b6122ab6123c7565b6001600160a01b03166122bc611b25565b6001600160a01b0316146122e25760405162461bcd60e51b8152600401610c8690613dd1565b805161159e90600e9060208401906130ff565b6122fd6123c7565b6001600160a01b031661230e611b25565b6001600160a01b0316146123345760405162461bcd60e51b8152600401610c8690613dd1565b6001600160a01b03811661235a5760405162461bcd60e51b8152600401610c869061399f565b61236381612b29565b50565b60006001600160e01b0319821663152a902d60e11b1480610c3f5750610c3f825b60006001600160e01b031982166380ac58cd60e01b14806123b857506001600160e01b03198216635b5e139f60e01b145b80610c3f5750610c3f82612d7b565b3390565b61ffff166000908152600260205260409020546001600160a01b0316151590565b61ffff8116600081815260026020526040902060010180546001600160a01b0319166001600160a01b0385169081179091556124278261161d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b600061246f826123cb565b61248b5760405162461bcd60e51b8152600401610c8690613b7a565b60006124968361161d565b9050806001600160a01b0316846001600160a01b031614806124d15750836001600160a01b03166124c684610d34565b6001600160a01b0316145b806124e157506124e18185612255565b949350505050565b826001600160a01b03166124fc8261161d565b6001600160a01b0316146125225760405162461bcd60e51b8152600401610c8690613a0b565b6001600160a01b0382166125485760405162461bcd60e51b8152600401610c8690613ac8565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061258c57634e487b7160e01b600052603260045260246000fd5b602002602001019061ffff16908161ffff16815250506125ad848483610e9f565b6125b86000836123ec565b61ffff828116600081815260026020818152604080842080546001600160a01b0319166001600160a01b038b169081179091558452600382528320805460018101825590845290832060108204018054600f9092169092026101000a9485021916939092029290921790555b6001600160a01b03851660009081526003602052604090205461ffff82161015612816576001600160a01b0385166000908152600360205260409020805461ffff808616929190841690811061268a57634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff161415612804576001600160a01b038516600090815260036020526040902080546126d8906001906140d8565b815481106126f657634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1660036000876001600160a01b03166001600160a01b031681526020019081526020016000208261ffff168154811061276257634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060036000866001600160a01b03166001600160a01b031681526020019081526020016000208054806127d357634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a02191690559055612816565b8061280e81614156565b915050612624565b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ece848483610e9f565b61271090565b6000600b5461287b836116e886611894565b11156128995760405162461bcd60e51b8152600401610c8690613830565b6001600160a01b0383166000908152601e602052604090205460ff16600114156128da576128c5612d94565b806128d357506128d3611124565b905061227f565b6001600160a01b0383166000908152601e602052604090205460ff1660021415612906576128c5612dad565b6001600160a01b0383166000908152601e602052604090205460ff1660031415612932576128c5612dc6565b612010611124565b6000612010828461406a565b600061201082846140d8565b60006120108284614096565b600080612969612238565b116129865760405162461bcd60e51b8152600401610c8690613b43565b6000612990610f2e565b60065461299d91906140d8565b905060008161ffff1633414445426040516020016129bf959493929190613602565b6040516020818303038152906040528051906020012060001c6129e29190614193565b61ffff8082166000908152600a60205260408120549293508392909116612a0a575080612a22565b5061ffff8082166000908152600a6020526040902054165b600a6000612a316001876140b5565b61ffff908116825260208201929092526040016000205416612a8257612a586001856140b5565b61ffff8381166000908152600a60205260409020805461ffff191692909116919091179055612acd565b600a6000612a916001876140b5565b61ffff908116825260208083019390935260409182016000908120548683168252600a90945291909120805461ffff1916929091169190911790555b61ffff8116600090815260026020526040902080546001600160a01b031990811633178255600190910180549091169055612b06612ddf565b50935050505090565b61159e828260405180602001604052806000815250612df8565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612bad5760405162461bcd60e51b8152600401610c8690613b0c565b6001600160a01b0383811660008181526004602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190612c11908590613812565b60405180910390a3505050565b612c298484846124e9565b612c3584848484612e53565b611ece5760405162461bcd60e51b8152600401610c8690613916565b6060600c8054610cb19061411b565b606081612c8557506040805180820190915260018152600360fc1b6020820152610c42565b8160005b8115612caf5780612c9981614178565b9150612ca89050600a83614082565b9150612c89565b60008167ffffffffffffffff811115612cd857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d02576020820181803683370190505b5090505b84156124e157612d176001836140d8565b9150612d24600a86614193565b612d2f90603061406a565b60f81b818381518110612d5257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d74600a86614082565b9450612d06565b6001600160e01b031981166301ffc9a760e01b14919050565b60006013544210158015610f3a57505060145442111590565b60006015544210158015610f3a57505060165442111590565b60006017544210158015610f3a57505060185442111590565b600080612dec6005612460565b9050610f3a6005612f72565b612e028383612f7b565b612e3760008484600081518110612e2957634e487b7160e01b600052603260045260246000fd5b602002602001015184612e53565b610e9f5760405162461bcd60e51b8152600401610c8690613916565b6000612e67846001600160a01b03166130f0565b15612f6757836001600160a01b031663150b7a02612e836123c7565b878661ffff16866040518563ffffffff1660e01b8152600401612ea99493929190613713565b602060405180830381600087803b158015612ec357600080fd5b505af1925050508015612ef3575060408051601f3d908101601f19168201909252612ef091810190613521565b60015b612f4d573d808015612f21576040519150601f19603f3d011682016040523d82523d6000602084013e612f26565b606091505b508051612f455760405162461bcd60e51b8152600401610c8690613916565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506124e1565b506001949350505050565b80546001019055565b6001600160a01b038216612fa15760405162461bcd60e51b8152600401610c8690613d22565b6000815111612fc25760405162461bcd60e51b8152600401610c8690613e55565b612fce60008383610e9f565b60005b81518161ffff1610156130e3576001600160a01b03831660009081526003602052604090208251839061ffff841690811061301c57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316938316029290921790915582518391831690811061308457634e487b7160e01b600052603260045260246000fd5b602002602001015161ffff16836001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806130db81614156565b915050612fd1565b5061159e60008383610e9f565b6001600160a01b03163b151590565b82805461310b9061411b565b90600052602060002090601f01602090048101928261312d5760008555613173565b82601f1061314657805160ff1916838001178555613173565b82800160010185558215613173579182015b82811115613173578251825591602001919060010190613158565b5061317f92915061319a565b5090565b604080518082019091526000808252602082015290565b5b8082111561317f576000815560010161319b565b600067ffffffffffffffff8311156131c9576131c96141d3565b6131dc601f8401601f1916602001614009565b90508281528383830111156131f057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610c4257600080fd5b600082601f83011261322e578081fd5b8135602061324361323e8361403a565b614009565b828152818101908583018385028701840188101561325f578586fd5b855b8581101561328457613272826132a1565b84529284019290840190600101613261565b5090979650505050505050565b80358015158114610c4257600080fd5b803560ff81168114610c4257600080fd5b6000602082840312156132c3578081fd5b61201082613207565b600080604083850312156132de578081fd5b6132e783613207565b91506132f560208401613207565b90509250929050565b600080600060608486031215613312578081fd5b61331b84613207565b925061332960208501613207565b9150604084013590509250925092565b6000806000806080858703121561334e578081fd5b61335785613207565b935061336560208601613207565b925060408501359150606085013567ffffffffffffffff811115613387578182fd5b8501601f81018713613397578182fd5b6133a6878235602084016131af565b91505092959194509250565b600080604083850312156133c4578182fd5b6133cd83613207565b91506132f560208401613291565b600080604083850312156133ed578182fd5b6133f683613207565b946020939093013593505050565b60008060408385031215613416578182fd5b61341f83613207565b91506132f5602084016132a1565b6000806040838503121561343f578182fd5b823567ffffffffffffffff80821115613456578384fd5b818501915085601f830112613469578384fd5b8135602061347961323e8361403a565b82815281810190858301838502870184018b1015613495578889fd5b8896505b848710156134be576134aa81613207565b835260019690960195918301918301613499565b50965050860135925050808211156134d4578283fd5b506134e18582860161321e565b9150509250929050565b6000602082840312156134fc578081fd5b61201082613291565b600060208284031215613516578081fd5b8135612010816141e9565b600060208284031215613532578081fd5b8151612010816141e9565b60006020828403121561354e578081fd5b813567ffffffffffffffff811115613564578182fd5b8201601f81018413613574578182fd5b6124e1848235602084016131af565b600060208284031215613594578081fd5b5035919050565b600080604083850312156135ad578182fd5b50508035926020909101359150565b6000602082840312156135cd578081fd5b612010826132a1565b600081518084526135ee8160208601602086016140ef565b601f01601f19169290920160200192915050565b6bffffffffffffffffffffffff19606096871b811682529490951b909316601485015260288401919091526048830152606882015260880190565b6000845160206136508285838a016140ef565b8551918401916136638184848a016140ef565b855492019183906002810460018083168061367f57607f831692505b85831081141561369d57634e487b7160e01b88526022600452602488fd5b8080156136b157600181146136c2576136ee565b60ff198516885283880195506136ee565b6136cb8b61405e565b895b858110156136e65781548a8201529084019088016136cd565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613746908301846135d6565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156137bd57815180516001600160a01b031685528601516001600160601b0316868501529284019290850190600101613786565b5091979650505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561380657835161ffff16835292840192918401916001016137e6565b50909695505050505050565b901515815260200190565b60006020825261201060208301846135d6565b6020808252601c908201527f4578636565646564204d6178204d696e74207065722077616c6c657400000000604082015260600190565b6020808252600b908201526a135a5b9d0814185d5cd95960aa1b604082015260600190565b6020808252600c908201526b10d85b881b9bdd08135a5b9d60a21b604082015260600190565b6020808252601390820152721059191c995cdcc815da1a5d195b1a5cdd1959606a1b604082015260600190565b60208082526018908201527f496e636f727265637420707269636520666f7220436f73740000000000000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601a908201527f4e6f20616d6f756e74206c65667420746f207769746864726177000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600c908201526b125b9d985b1a590814db1bdd60a21b604082015260600190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252601f908201527f4d61726b657474696e672077616c6c6574206164647265737320656d70747900604082015260600190565b60208082526021908201527f4d696e20616d6f756e7420746f206d696e74206265206d6f7265207468616e206040820152600360fc1b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526018908201527f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601e908201527f436f6d6d756e6974792077616c6c6574206164647265737320656d7074790000604082015260600190565b6020808252818101527f4578636565646564204d6178205265736572766520546f6b656e204c696d6974604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526014908201527322bc31b2b2b232b21026b0bc1039bab838363c9760611b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526015908201527415985b1a5908151bdad95b881a59081b9959591959605a1b604082015260600190565b6020808252601b908201527f4f776e6572322077616c6c6574206164647265737320656d7074790000000000604082015260600190565b60208082526017908201527f41646472657373204e6f742057686974656c6973746564000000000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252601e908201527f446f6e6174696f6e732077616c6c6574206164647265737320656d7074790000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f4f776e6572312077616c6c6574206164647265737320656d7074790000000000604082015260600190565b90815260200190565b60ff91909116815260200190565b604051601f8201601f1916810167ffffffffffffffff81118282101715614032576140326141d3565b604052919050565b600067ffffffffffffffff821115614054576140546141d3565b5060209081020190565b60009081526020902090565b6000821982111561407d5761407d6141a7565b500190565b600082614091576140916141bd565b500490565b60008160001904831182151516156140b0576140b06141a7565b500290565b600061ffff838116908316818110156140d0576140d06141a7565b039392505050565b6000828210156140ea576140ea6141a7565b500390565b60005b8381101561410a5781810151838201526020016140f2565b83811115611ece5750506000910152565b60028104600182168061412f57607f821691505b6020821081141561415057634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff8083168181141561416e5761416e6141a7565b6001019392505050565b600060001982141561418c5761418c6141a7565b5060010190565b6000826141a2576141a26141bd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461236357600080fdfea264697066735822122075e099cd2e827001fc328672947c0b78ba310958f50dd9946f88aa55f33fed0264736f6c6343000801003300000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000624ec43000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000012506c616e742050617261646520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010506c616e74506172616465546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d534679757662484470375a4a38414356385774445337506476414c644e616f33506b6836664b684e746d36522f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f68747470733a2f2f697066732e696f2f697066732f516d61734c72756f626d54464b6a534c746854697637394b513979785a46354a6a7043757158727a53424a3859652f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000006e8e8f764002e94511825fce07c230a63b2f844d0000000000000000000000009614778418e39d6b95510d9536309d7e6c3c6ac00000000000000000000000003fb58371fcb7ad4f9343507405eb3fc72e8cda010000000000000000000000003c3a99dac68db49b87dce007b0799ccfeb973082000000000000000000000000cf060ab7048690384e69de3f4926d7f78d19c12c

Deployed Bytecode

0x6080604052600436106104145760003560e01c8063715018a61161021e578063b025dd9011610123578063d547cfb7116100ab578063e985e9c51161007a578063e985e9c514610b80578063ea06229814610ba0578063f287eada14610bb5578063f2c4ce1e14610bca578063f2fde38b14610bea57610454565b8063d547cfb714610b21578063da3ef23f14610b36578063e14ca35314610b56578063e59a687414610b6b57610454565b8063c87b56dd116100f2578063c87b56dd14610a7f578063c969ca4514610a9f578063cad96cca14610abf578063d06de45d14610aec578063d12c38b314610b0157610454565b8063b025dd9014610a15578063b88d4fde14610a35578063c668286214610a55578063c757483914610a6a57610454565b8063940cd05b116101a65780639b9cf33e116101755780639b9cf33e1461098b5780639e262e32146109ab578063a20a1c9a146109cb578063a22cb465146109e0578063ab3de2df14610a0057610454565b8063940cd05b14610914578063958cfb7a1461093457806395d89b41146109495780639b19251a1461095e57610454565b80637ad559c4116101ed5780637ad559c41461087f57806381b7f57b1461089f57806385d6bb81146108bf5780638ab1d681146108df5780638da5cb5b146108ff57610454565b8063715018a61461082b57806371d397b91461084057806375ef35ae1461085557806375f0a8741461086a57610454565b80633b80b7d3116103245780635c975abb116102ac5780636352211e1161027b5780636352211e146107c35780636796b7a8146107e35780636ecd2306146107f85780636f5067b8146107e357806370a082311461080b57610454565b80635c975abb146107645780635d098b3814610779578063624e71aa14610799578063626a15bd146107ae57610454565b806344a0d68a116102f357806344a0d68a146106da57806351830227146106fa578063525f8a5c1461070f57806355f804b31461072f57806357aec69d1461074f57610454565b80633b80b7d3146106635780633ccfd60b1461067857806342842e0e1461068d578063438b6300146106ad57610454565b806318160ddd116103a75780632700fdae116103765780632700fdae146105d6578063287301c1146105f65780632a55205a1461060b5780632b3441381461063957806332cb6b0c1461064e57610454565b806318160ddd1461057757806320527c231461058c57806323b872dd146105a157806326f6b5ba146105c157610454565b8063081c8c44116103e3578063081c8c4414610500578063095ea7b31461051557806309aff8e51461053557806313faede61461055557610454565b806301ffc9a71461045957806302329a291461048f57806306fdde03146104b1578063081812fc146104d357610454565b36610454577fd2c6d74d1669c05068b4e3f09cc389b3b46979444569cc854ba69b40f762fd28333460405161044a929190613750565b60405180910390a1005b600080fd5b34801561046557600080fd5b50610479610474366004613505565b610c0a565b6040516104869190613812565b60405180910390f35b34801561049b57600080fd5b506104af6104aa3660046134eb565b610c47565b005b3480156104bd57600080fd5b506104c6610ca2565b604051610486919061381d565b3480156104df57600080fd5b506104f36104ee366004613583565b610d34565b60405161048691906136ff565b34801561050c57600080fd5b506104c6610d7e565b34801561052157600080fd5b506104af6105303660046133db565b610e0c565b34801561054157600080fd5b506104af61055036600461359b565b610ea4565b34801561056157600080fd5b5061056a610f28565b6040516104869190613ff2565b34801561058357600080fd5b5061056a610f2e565b34801561059857600080fd5b5061056a610f3f565b3480156105ad57600080fd5b506104af6105bc3660046132fe565b610f44565b3480156105cd57600080fd5b5061056a610f7c565b3480156105e257600080fd5b506104af6105f1366004613404565b610f82565b34801561060257600080fd5b5061056a61105a565b34801561061757600080fd5b5061062b61062636600461359b565b61105f565b604051610486929190613750565b34801561064557600080fd5b5061056a611118565b34801561065a57600080fd5b5061056a61111e565b34801561066f57600080fd5b50610479611124565b34801561068457600080fd5b506104af61112d565b34801561069957600080fd5b506104af6106a83660046132fe565b611407565b3480156106b957600080fd5b506106cd6106c83660046132b2565b611422565b60405161048691906137ca565b3480156106e657600080fd5b506104af6106f5366004613583565b6114b6565b34801561070657600080fd5b506104796114fa565b34801561071b57600080fd5b506104af61072a366004613583565b611508565b34801561073b57600080fd5b506104af61074a36600461353d565b61154c565b34801561075b57600080fd5b5061056a6115a2565b34801561077057600080fd5b506104796115a8565b34801561078557600080fd5b506104af6107943660046132b2565b6115b1565b3480156107a557600080fd5b5061056a611612565b3480156107ba57600080fd5b5061056a611617565b3480156107cf57600080fd5b506104f36107de366004613583565b61161d565b3480156107ef57600080fd5b5061056a611657565b6104af6108063660046135bc565b61165c565b34801561081757600080fd5b5061056a6108263660046132b2565b611894565b34801561083757600080fd5b506104af6118d8565b34801561084c57600080fd5b506104f3611923565b34801561086157600080fd5b5061056a611932565b34801561087657600080fd5b506104f3611938565b34801561088b57600080fd5b506104af61089a3660046132b2565b611947565b3480156108ab57600080fd5b506104af6108ba36600461359b565b6119a8565b3480156108cb57600080fd5b506104af6108da3660046132b2565b611a2c565b3480156108eb57600080fd5b506104af6108fa3660046132b2565b611a8d565b34801561090b57600080fd5b506104f3611b25565b34801561092057600080fd5b506104af61092f3660046134eb565b611b34565b34801561094057600080fd5b5061056a611b8d565b34801561095557600080fd5b506104c6611b92565b34801561096a57600080fd5b5061097e6109793660046132b2565b611ba1565b6040516104869190613ffb565b34801561099757600080fd5b506104af6109a6366004613583565b611bb6565b3480156109b757600080fd5b506104af6109c636600461342d565b611bfa565b3480156109d757600080fd5b5061056a611caf565b3480156109ec57600080fd5b506104af6109fb3660046133b2565b611cb5565b348015610a0c57600080fd5b506104af611cc7565b348015610a2157600080fd5b506104af610a303660046132b2565b611e34565b348015610a4157600080fd5b506104af610a50366004613339565b611e95565b348015610a6157600080fd5b506104c6611ed4565b348015610a7657600080fd5b506104f3611ee1565b348015610a8b57600080fd5b506104c6610a9a366004613583565b611ef0565b348015610aab57600080fd5b506104af610aba36600461359b565b612017565b348015610acb57600080fd5b50610adf610ada366004613583565b61209b565b6040516104869190613769565b348015610af857600080fd5b5061056a612172565b348015610b0d57600080fd5b506104af610b1c3660046132b2565b612178565b348015610b2d57600080fd5b506104c66121d9565b348015610b4257600080fd5b506104af610b5136600461353d565b6121e6565b348015610b6257600080fd5b5061056a612238565b348015610b7757600080fd5b5061056a61224f565b348015610b8c57600080fd5b50610479610b9b3660046132cc565b612255565b348015610bac57600080fd5b506104f3612285565b348015610bc157600080fd5b506104f3612294565b348015610bd657600080fd5b506104af610be536600461353d565b6122a3565b348015610bf657600080fd5b506104af610c053660046132b2565b6122f5565b6000610c1582612366565b80610c3057506001600160e01b0319821663656cb66560e11b145b80610c3f5750610c3f82612387565b90505b919050565b610c4f6123c7565b6001600160a01b0316610c60611b25565b6001600160a01b031614610c8f5760405162461bcd60e51b8152600401610c8690613dd1565b60405180910390fd5b6010805460ff1916911515919091179055565b606060008054610cb19061411b565b80601f0160208091040260200160405190810160405280929190818152602001828054610cdd9061411b565b8015610d2a5780601f10610cff57610100808354040283529160200191610d2a565b820191906000526020600020905b815481529060010190602001808311610d0d57829003601f168201915b5050505050905090565b6000610d3f826123cb565b610d5b5760405162461bcd60e51b8152600401610c8690613d85565b5061ffff166000908152600260205260409020600101546001600160a01b031690565b600e8054610d8b9061411b565b80601f0160208091040260200160405190810160405280929190818152602001828054610db79061411b565b8015610e045780601f10610dd957610100808354040283529160200191610e04565b820191906000526020600020905b815481529060010190602001808311610de757829003601f168201915b505050505081565b6000610e178261161d565b9050806001600160a01b0316836001600160a01b03161415610e4b5760405162461bcd60e51b8152600401610c8690613ef2565b806001600160a01b0316610e5d6123c7565b6001600160a01b03161480610e795750610e7981610b9b6123c7565b610e955760405162461bcd60e51b8152600401610c8690613c32565b610e9f83836123ec565b505050565b610eac6123c7565b6001600160a01b0316610ebd611b25565b6001600160a01b031614610ee35760405162461bcd60e51b8152600401610c8690613dd1565b610eee826018614096565b610ef990603c614096565b610f0490603c614096565b600f54610f1191906140d8565b6013819055610f2190829061406a565b6014555050565b60115481565b6000610f3a6005612460565b905090565b606481565b610f55610f4f6123c7565b82612464565b610f715760405162461bcd60e51b8152600401610c8690613f6a565b610e9f8383836124e9565b60155481565b610f8a6123c7565b6001600160a01b0316610f9b611b25565b6001600160a01b031614610fc15760405162461bcd60e51b8152600401610c8690613dd1565b6001600160a01b0382166000908152601e602052604090205460ff1615610ffa5760405162461bcd60e51b8152600401610c86906138b2565b60008160ff16118015611011575060038160ff1611155b61102d5760405162461bcd60e51b8152600401610c86906139e5565b6001600160a01b03919091166000908152601e60205260409020805460ff191660ff909216919091179055565b600b81565b60008281526008602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916110d45750604080518082019091526007546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60006110de612863565b6001600160601b031682602001516001600160601b0316866111009190614096565b61110a9190614082565b915196919550909350505050565b60145481565b61138881565b600f5442101590565b6111356123c7565b6001600160a01b0316611146611b25565b6001600160a01b03161461116c5760405162461bcd60e51b8152600401610c8690613dd1565b6019546001600160a01b03166111945760405162461bcd60e51b8152600401610c8690613a50565b601a546001600160a01b03166111bc5760405162461bcd60e51b8152600401610c8690613bc6565b601b546001600160a01b03166111e45760405162461bcd60e51b8152600401610c8690613f33565b601c546001600160a01b031661120c5760405162461bcd60e51b8152600401610c8690613fbb565b601d546001600160a01b03166112345760405162461bcd60e51b8152600401610c8690613e84565b47806112525760405162461bcd60e51b8152600401610c8690613968565b60006064611261600384614096565b61126b9190614082565b90506000606461127c600b85614096565b6112869190614082565b905060006064611297600c86614096565b6112a19190614082565b9050600060646112b2602587614096565b6112bc9190614082565b9050600060646112cd602588614096565b6112d79190614082565b6019546040519192506001600160a01b03169086156108fc029087906000818181858888f19350505050158015611312573d6000803e3d6000fd5b50601a546040516001600160a01b039091169085156108fc029086906000818181858888f1935050505015801561134d573d6000803e3d6000fd5b50601b546040516001600160a01b039091169084156108fc029085906000818181858888f19350505050158015611388573d6000803e3d6000fd5b50601c546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156113c3573d6000803e3d6000fd5b50601d546040516001600160a01b039091169082156108fc029083906000818181858888f193505050501580156113fe573d6000803e3d6000fd5b50505050505050565b610e9f83838360405180602001604052806000815250611e95565b6001600160a01b0381166000908152600360209081526040918290208054835181840281018401909452808452606093928301828280156114aa57602002820191906000526020600020906000905b82829054906101000a900461ffff1661ffff16815260200190600201906020826001010492830192600103820291508084116114715790505b50505050509050919050565b6114be6123c7565b6001600160a01b03166114cf611b25565b6001600160a01b0316146114f55760405162461bcd60e51b8152600401610c8690613dd1565b601155565b601054610100900460ff1681565b6115106123c7565b6001600160a01b0316611521611b25565b6001600160a01b0316146115475760405162461bcd60e51b8152600401610c8690613dd1565b600f55565b6115546123c7565b6001600160a01b0316611565611b25565b6001600160a01b03161461158b5760405162461bcd60e51b8152600401610c8690613dd1565b805161159e90600c9060208401906130ff565b5050565b60185481565b60105460ff1681565b6115b96123c7565b6001600160a01b03166115ca611b25565b6001600160a01b0316146115f05760405162461bcd60e51b8152600401610c8690613dd1565b601980546001600160a01b0319166001600160a01b0392909216919091179055565b600381565b600f5481565b61ffff81166000908152600260205260408120546001600160a01b031680610c3f5760405162461bcd60e51b8152600401610c8690613cd9565b602581565b60105460ff161561167f5760405162461bcd60e51b8152600401610c8690613867565b60008160ff16116116a25760405162461bcd60e51b8152600401610c8690613a87565b6116af338260ff16612869565b6116cb5760405162461bcd60e51b8152600401610c869061388c565b60125460ff1615611711576113886116ee8260ff166116e8610f2e565b9061293a565b111561170c5760405162461bcd60e51b8152600401610c8690613d57565b61174b565b61171e6113886064612946565b61172d8260ff166116e8610f2e565b111561174b5760405162461bcd60e51b8152600401610c8690613d57565b611753611b25565b6001600160a01b0316336001600160a01b03161461179a5760115461177b9060ff8316612952565b34101561179a5760405162461bcd60e51b8152600401610c86906138df565b60008160ff1667ffffffffffffffff8111156117c657634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156117ef578160200160208202803683370190505b50905060005b8260ff168161ffff1610156118555761180c61295e565b828261ffff168151811061183057634e487b7160e01b600052603260045260246000fd5b61ffff909216602092830291909101909101528061184d81614156565b9150506117f5565b506118603382612b0f565b60405160ff83169033907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a35050565b60006001600160a01b0382166118bc5760405162461bcd60e51b8152600401610c8690613c8f565b506001600160a01b031660009081526003602052604090205490565b6118e06123c7565b6001600160a01b03166118f1611b25565b6001600160a01b0316146119175760405162461bcd60e51b8152600401610c8690613dd1565b6119216000612b29565b565b601d546001600160a01b031681565b60165481565b6019546001600160a01b031681565b61194f6123c7565b6001600160a01b0316611960611b25565b6001600160a01b0316146119865760405162461bcd60e51b8152600401610c8690613dd1565b601d80546001600160a01b0319166001600160a01b0392909216919091179055565b6119b06123c7565b6001600160a01b03166119c1611b25565b6001600160a01b0316146119e75760405162461bcd60e51b8152600401610c8690613dd1565b6119f2826018614096565b6119fd90603c614096565b611a0890603c614096565b600f54611a1591906140d8565b6017819055611a2590829061406a565b6018555050565b611a346123c7565b6001600160a01b0316611a45611b25565b6001600160a01b031614611a6b5760405162461bcd60e51b8152600401610c8690613dd1565b601a80546001600160a01b0319166001600160a01b0392909216919091179055565b611a956123c7565b6001600160a01b0316611aa6611b25565b6001600160a01b031614611acc5760405162461bcd60e51b8152600401610c8690613dd1565b6001600160a01b0381166000908152601e602052604090205460ff16611b045760405162461bcd60e51b8152600401610c8690613ebb565b6001600160a01b03166000908152601e60205260409020805460ff19169055565b6009546001600160a01b031690565b611b3c6123c7565b6001600160a01b0316611b4d611b25565b6001600160a01b031614611b735760405162461bcd60e51b8152600401610c8690613dd1565b601080549115156101000261ff0019909216919091179055565b600c81565b606060018054610cb19061411b565b601e6020526000908152604090205460ff1681565b611bbe6123c7565b6001600160a01b0316611bcf611b25565b6001600160a01b031614611bf55760405162461bcd60e51b8152600401610c8690613dd1565b600b55565b611c026123c7565b6001600160a01b0316611c13611b25565b6001600160a01b031614611c395760405162461bcd60e51b8152600401610c8690613dd1565b60005b8251811015610e9f57611c9d838281518110611c6857634e487b7160e01b600052603260045260246000fd5b6020026020010151838381518110611c9057634e487b7160e01b600052603260045260246000fd5b6020026020010151610f82565b80611ca781614178565b915050611c3c565b60175481565b61159e611cc06123c7565b8383612b7b565b611ccf6123c7565b6001600160a01b0316611ce0611b25565b6001600160a01b031614611d065760405162461bcd60e51b8152600401610c8690613dd1565b60105460ff1615611d1657600080fd5b6064611d2660646116e833611894565b1115611d445760405162461bcd60e51b8152600401610c8690613bfd565b611388611d5460646116e8610f2e565b1115611d725760405162461bcd60e51b8152600401610c8690613d57565b604080516064808252610ca0820190925260009160208201610c808036833701905050905060005b60648161ffff161015611df857611daf61295e565b828261ffff1681518110611dd357634e487b7160e01b600052603260045260246000fd5b61ffff9092166020928302919091019091015280611df081614156565b915050611d9a565b50611e033382612b0f565b60405160649033907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a350565b611e3c6123c7565b6001600160a01b0316611e4d611b25565b6001600160a01b031614611e735760405162461bcd60e51b8152600401610c8690613dd1565b601b80546001600160a01b0319166001600160a01b0392909216919091179055565b611ea6611ea06123c7565b83612464565b611ec25760405162461bcd60e51b8152600401610c8690613f6a565b611ece84848484612c1e565b50505050565b600d8054610d8b9061411b565b601a546001600160a01b031681565b6060611efb826123cb565b611f175760405162461bcd60e51b8152600401610c8690613e06565b601054610100900460ff16611fb857600e8054611f339061411b565b80601f0160208091040260200160405190810160405280929190818152602001828054611f5f9061411b565b8015611fac5780601f10611f8157610100808354040283529160200191611fac565b820191906000526020600020905b815481529060010190602001808311611f8f57829003601f168201915b50505050509050610c42565b6000611fc2612c51565b90506000815111611fe25760405180602001604052806000815250612010565b80611fec84612c60565b600d6040516020016120009392919061363d565b6040516020818303038152906040525b9392505050565b61201f6123c7565b6001600160a01b0316612030611b25565b6001600160a01b0316146120565760405162461bcd60e51b8152600401610c8690613dd1565b612061826018614096565b61206c90603c614096565b61207790603c614096565b600f5461208491906140d8565b601581905561209490829061406a565b6016555050565b60408051600180825281830190925260609160009190816020015b6120be613183565b8152602001906001900390816120b657905050601f548151919250600160a01b90046001600160601b031690829060009061210957634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160601b03909216910152601f5481516001600160a01b0390911690829060009061215357634e487b7160e01b600052603260045260246000fd5b60209081029190910101516001600160a01b0390911690529050919050565b60135481565b6121806123c7565b6001600160a01b0316612191611b25565b6001600160a01b0316146121b75760405162461bcd60e51b8152600401610c8690613dd1565b601c80546001600160a01b0319166001600160a01b0392909216919091179055565b600c8054610d8b9061411b565b6121ee6123c7565b6001600160a01b03166121ff611b25565b6001600160a01b0316146122255760405162461bcd60e51b8152600401610c8690613dd1565b805161159e90600d9060208401906130ff565b6000612242610f2e565b600654610f3a91906140d8565b600b5481565b6001600160a01b0380831660009081526004602090815260408083209385168352929052205460ff165b92915050565b601c546001600160a01b031681565b601b546001600160a01b031681565b6122ab6123c7565b6001600160a01b03166122bc611b25565b6001600160a01b0316146122e25760405162461bcd60e51b8152600401610c8690613dd1565b805161159e90600e9060208401906130ff565b6122fd6123c7565b6001600160a01b031661230e611b25565b6001600160a01b0316146123345760405162461bcd60e51b8152600401610c8690613dd1565b6001600160a01b03811661235a5760405162461bcd60e51b8152600401610c869061399f565b61236381612b29565b50565b60006001600160e01b0319821663152a902d60e11b1480610c3f5750610c3f825b60006001600160e01b031982166380ac58cd60e01b14806123b857506001600160e01b03198216635b5e139f60e01b145b80610c3f5750610c3f82612d7b565b3390565b61ffff166000908152600260205260409020546001600160a01b0316151590565b61ffff8116600081815260026020526040902060010180546001600160a01b0319166001600160a01b0385169081179091556124278261161d565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b5490565b600061246f826123cb565b61248b5760405162461bcd60e51b8152600401610c8690613b7a565b60006124968361161d565b9050806001600160a01b0316846001600160a01b031614806124d15750836001600160a01b03166124c684610d34565b6001600160a01b0316145b806124e157506124e18185612255565b949350505050565b826001600160a01b03166124fc8261161d565b6001600160a01b0316146125225760405162461bcd60e51b8152600401610c8690613a0b565b6001600160a01b0382166125485760405162461bcd60e51b8152600401610c8690613ac8565b60408051600180825281830190925260009160208083019080368337019050509050818160008151811061258c57634e487b7160e01b600052603260045260246000fd5b602002602001019061ffff16908161ffff16815250506125ad848483610e9f565b6125b86000836123ec565b61ffff828116600081815260026020818152604080842080546001600160a01b0319166001600160a01b038b169081179091558452600382528320805460018101825590845290832060108204018054600f9092169092026101000a9485021916939092029290921790555b6001600160a01b03851660009081526003602052604090205461ffff82161015612816576001600160a01b0385166000908152600360205260409020805461ffff808616929190841690811061268a57634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff161415612804576001600160a01b038516600090815260036020526040902080546126d8906001906140d8565b815481106126f657634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002029054906101000a900461ffff1660036000876001600160a01b03166001600160a01b031681526020019081526020016000208261ffff168154811061276257634e487b7160e01b600052603260045260246000fd5b90600052602060002090601091828204019190066002026101000a81548161ffff021916908361ffff16021790555060036000866001600160a01b03166001600160a01b031681526020019081526020016000208054806127d357634e487b7160e01b600052603160045260246000fd5b600082815260209020601060001990920191820401805461ffff6002600f8516026101000a02191690559055612816565b8061280e81614156565b915050612624565b5081836001600160a01b0316856001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611ece848483610e9f565b61271090565b6000600b5461287b836116e886611894565b11156128995760405162461bcd60e51b8152600401610c8690613830565b6001600160a01b0383166000908152601e602052604090205460ff16600114156128da576128c5612d94565b806128d357506128d3611124565b905061227f565b6001600160a01b0383166000908152601e602052604090205460ff1660021415612906576128c5612dad565b6001600160a01b0383166000908152601e602052604090205460ff1660031415612932576128c5612dc6565b612010611124565b6000612010828461406a565b600061201082846140d8565b60006120108284614096565b600080612969612238565b116129865760405162461bcd60e51b8152600401610c8690613b43565b6000612990610f2e565b60065461299d91906140d8565b905060008161ffff1633414445426040516020016129bf959493929190613602565b6040516020818303038152906040528051906020012060001c6129e29190614193565b61ffff8082166000908152600a60205260408120549293508392909116612a0a575080612a22565b5061ffff8082166000908152600a6020526040902054165b600a6000612a316001876140b5565b61ffff908116825260208201929092526040016000205416612a8257612a586001856140b5565b61ffff8381166000908152600a60205260409020805461ffff191692909116919091179055612acd565b600a6000612a916001876140b5565b61ffff908116825260208083019390935260409182016000908120548683168252600a90945291909120805461ffff1916929091169190911790555b61ffff8116600090815260026020526040902080546001600160a01b031990811633178255600190910180549091169055612b06612ddf565b50935050505090565b61159e828260405180602001604052806000815250612df8565b600980546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b816001600160a01b0316836001600160a01b03161415612bad5760405162461bcd60e51b8152600401610c8690613b0c565b6001600160a01b0383811660008181526004602090815260408083209487168084529490915290819020805460ff1916851515179055517f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3190612c11908590613812565b60405180910390a3505050565b612c298484846124e9565b612c3584848484612e53565b611ece5760405162461bcd60e51b8152600401610c8690613916565b6060600c8054610cb19061411b565b606081612c8557506040805180820190915260018152600360fc1b6020820152610c42565b8160005b8115612caf5780612c9981614178565b9150612ca89050600a83614082565b9150612c89565b60008167ffffffffffffffff811115612cd857634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612d02576020820181803683370190505b5090505b84156124e157612d176001836140d8565b9150612d24600a86614193565b612d2f90603061406a565b60f81b818381518110612d5257634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612d74600a86614082565b9450612d06565b6001600160e01b031981166301ffc9a760e01b14919050565b60006013544210158015610f3a57505060145442111590565b60006015544210158015610f3a57505060165442111590565b60006017544210158015610f3a57505060185442111590565b600080612dec6005612460565b9050610f3a6005612f72565b612e028383612f7b565b612e3760008484600081518110612e2957634e487b7160e01b600052603260045260246000fd5b602002602001015184612e53565b610e9f5760405162461bcd60e51b8152600401610c8690613916565b6000612e67846001600160a01b03166130f0565b15612f6757836001600160a01b031663150b7a02612e836123c7565b878661ffff16866040518563ffffffff1660e01b8152600401612ea99493929190613713565b602060405180830381600087803b158015612ec357600080fd5b505af1925050508015612ef3575060408051601f3d908101601f19168201909252612ef091810190613521565b60015b612f4d573d808015612f21576040519150601f19603f3d011682016040523d82523d6000602084013e612f26565b606091505b508051612f455760405162461bcd60e51b8152600401610c8690613916565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506124e1565b506001949350505050565b80546001019055565b6001600160a01b038216612fa15760405162461bcd60e51b8152600401610c8690613d22565b6000815111612fc25760405162461bcd60e51b8152600401610c8690613e55565b612fce60008383610e9f565b60005b81518161ffff1610156130e3576001600160a01b03831660009081526003602052604090208251839061ffff841690811061301c57634e487b7160e01b600052603260045260246000fd5b602090810291909101810151825460018101845560009384529190922060108204018054600f9092166002026101000a61ffff81810219909316938316029290921790915582518391831690811061308457634e487b7160e01b600052603260045260246000fd5b602002602001015161ffff16836001600160a01b031660006001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4806130db81614156565b915050612fd1565b5061159e60008383610e9f565b6001600160a01b03163b151590565b82805461310b9061411b565b90600052602060002090601f01602090048101928261312d5760008555613173565b82601f1061314657805160ff1916838001178555613173565b82800160010185558215613173579182015b82811115613173578251825591602001919060010190613158565b5061317f92915061319a565b5090565b604080518082019091526000808252602082015290565b5b8082111561317f576000815560010161319b565b600067ffffffffffffffff8311156131c9576131c96141d3565b6131dc601f8401601f1916602001614009565b90508281528383830111156131f057600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114610c4257600080fd5b600082601f83011261322e578081fd5b8135602061324361323e8361403a565b614009565b828152818101908583018385028701840188101561325f578586fd5b855b8581101561328457613272826132a1565b84529284019290840190600101613261565b5090979650505050505050565b80358015158114610c4257600080fd5b803560ff81168114610c4257600080fd5b6000602082840312156132c3578081fd5b61201082613207565b600080604083850312156132de578081fd5b6132e783613207565b91506132f560208401613207565b90509250929050565b600080600060608486031215613312578081fd5b61331b84613207565b925061332960208501613207565b9150604084013590509250925092565b6000806000806080858703121561334e578081fd5b61335785613207565b935061336560208601613207565b925060408501359150606085013567ffffffffffffffff811115613387578182fd5b8501601f81018713613397578182fd5b6133a6878235602084016131af565b91505092959194509250565b600080604083850312156133c4578182fd5b6133cd83613207565b91506132f560208401613291565b600080604083850312156133ed578182fd5b6133f683613207565b946020939093013593505050565b60008060408385031215613416578182fd5b61341f83613207565b91506132f5602084016132a1565b6000806040838503121561343f578182fd5b823567ffffffffffffffff80821115613456578384fd5b818501915085601f830112613469578384fd5b8135602061347961323e8361403a565b82815281810190858301838502870184018b1015613495578889fd5b8896505b848710156134be576134aa81613207565b835260019690960195918301918301613499565b50965050860135925050808211156134d4578283fd5b506134e18582860161321e565b9150509250929050565b6000602082840312156134fc578081fd5b61201082613291565b600060208284031215613516578081fd5b8135612010816141e9565b600060208284031215613532578081fd5b8151612010816141e9565b60006020828403121561354e578081fd5b813567ffffffffffffffff811115613564578182fd5b8201601f81018413613574578182fd5b6124e1848235602084016131af565b600060208284031215613594578081fd5b5035919050565b600080604083850312156135ad578182fd5b50508035926020909101359150565b6000602082840312156135cd578081fd5b612010826132a1565b600081518084526135ee8160208601602086016140ef565b601f01601f19169290920160200192915050565b6bffffffffffffffffffffffff19606096871b811682529490951b909316601485015260288401919091526048830152606882015260880190565b6000845160206136508285838a016140ef565b8551918401916136638184848a016140ef565b855492019183906002810460018083168061367f57607f831692505b85831081141561369d57634e487b7160e01b88526022600452602488fd5b8080156136b157600181146136c2576136ee565b60ff198516885283880195506136ee565b6136cb8b61405e565b895b858110156136e65781548a8201529084019088016136cd565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090613746908301846135d6565b9695505050505050565b6001600160a01b03929092168252602082015260400190565b602080825282518282018190526000919060409081850190868401855b828110156137bd57815180516001600160a01b031685528601516001600160601b0316868501529284019290850190600101613786565b5091979650505050505050565b6020808252825182820181905260009190848201906040850190845b8181101561380657835161ffff16835292840192918401916001016137e6565b50909695505050505050565b901515815260200190565b60006020825261201060208301846135d6565b6020808252601c908201527f4578636565646564204d6178204d696e74207065722077616c6c657400000000604082015260600190565b6020808252600b908201526a135a5b9d0814185d5cd95960aa1b604082015260600190565b6020808252600c908201526b10d85b881b9bdd08135a5b9d60a21b604082015260600190565b6020808252601390820152721059191c995cdcc815da1a5d195b1a5cdd1959606a1b604082015260600190565b60208082526018908201527f496e636f727265637420707269636520666f7220436f73740000000000000000604082015260600190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252601a908201527f4e6f20616d6f756e74206c65667420746f207769746864726177000000000000604082015260600190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252600c908201526b125b9d985b1a590814db1bdd60a21b604082015260600190565b60208082526025908201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060408201526437bbb732b960d91b606082015260800190565b6020808252601f908201527f4d61726b657474696e672077616c6c6574206164647265737320656d70747900604082015260600190565b60208082526021908201527f4d696e20616d6f756e7420746f206d696e74206265206d6f7265207468616e206040820152600360fc1b606082015260800190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b60208082526018908201527f4e6f206d6f726520746f6b656e7320617661696c61626c650000000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252601e908201527f436f6d6d756e6974792077616c6c6574206164647265737320656d7074790000604082015260600190565b6020808252818101527f4578636565646564204d6178205265736572766520546f6b656e204c696d6974604082015260600190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b60208082526014908201527322bc31b2b2b232b21026b0bc1039bab838363c9760611b604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526015908201527415985b1a5908151bdad95b881a59081b9959591959605a1b604082015260600190565b6020808252601b908201527f4f776e6572322077616c6c6574206164647265737320656d7074790000000000604082015260600190565b60208082526017908201527f41646472657373204e6f742057686974656c6973746564000000000000000000604082015260600190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b6020808252601e908201527f446f6e6174696f6e732077616c6c6574206164647265737320656d7074790000604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252601b908201527f4f776e6572312077616c6c6574206164647265737320656d7074790000000000604082015260600190565b90815260200190565b60ff91909116815260200190565b604051601f8201601f1916810167ffffffffffffffff81118282101715614032576140326141d3565b604052919050565b600067ffffffffffffffff821115614054576140546141d3565b5060209081020190565b60009081526020902090565b6000821982111561407d5761407d6141a7565b500190565b600082614091576140916141bd565b500490565b60008160001904831182151516156140b0576140b06141a7565b500290565b600061ffff838116908316818110156140d0576140d06141a7565b039392505050565b6000828210156140ea576140ea6141a7565b500390565b60005b8381101561410a5781810151838201526020016140f2565b83811115611ece5750506000910152565b60028104600182168061412f57607f821691505b6020821081141561415057634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff8083168181141561416e5761416e6141a7565b6001019392505050565b600060001982141561418c5761418c6141a7565b5060010190565b6000826141a2576141a26141bd565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461236357600080fdfea264697066735822122075e099cd2e827001fc328672947c0b78ba310958f50dd9946f88aa55f33fed0264736f6c63430008010033

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

00000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000624ec43000000000000000000000000000000000000000000000000000000000000002400000000000000000000000000000000000000000000000000000000000000012506c616e742050617261646520546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010506c616e74506172616465546f6b656e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004468747470733a2f2f697066732e696f2f697066732f516d534679757662484470375a4a38414356385774445337506476414c644e616f33506b6836664b684e746d36522f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004f68747470733a2f2f697066732e696f2f697066732f516d61734c72756f626d54464b6a534c746854697637394b513979785a46354a6a7043757158727a53424a3859652f68696464656e2e6a736f6e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000000000000000000006e8e8f764002e94511825fce07c230a63b2f844d0000000000000000000000009614778418e39d6b95510d9536309d7e6c3c6ac00000000000000000000000003fb58371fcb7ad4f9343507405eb3fc72e8cda010000000000000000000000003c3a99dac68db49b87dce007b0799ccfeb973082000000000000000000000000cf060ab7048690384e69de3f4926d7f78d19c12c

-----Decoded View---------------
Arg [0] : _name (string): Plant Parade Token
Arg [1] : _symbol (string): PlantParadeToken
Arg [2] : _baseTokenURI (string): https://ipfs.io/ipfs/QmSFyuvbHDp7ZJ8ACV8WtDS7PdvALdNao3Pkh6fKhNtm6R/
Arg [3] : _initNotRevealedUri (string): https://ipfs.io/ipfs/QmasLruobmTFKjSLthTiv79KQ9yxZF5JjpCuqXrzSBJ8Ye/hidden.json
Arg [4] : _saleStartTimestamp (uint256): 1649329200
Arg [5] : wallets (address[]): 0x6e8e8f764002e94511825FCe07C230A63b2f844D,0x9614778418e39D6b95510D9536309D7e6c3C6AC0,0x3Fb58371FCB7AD4F9343507405eb3Fc72e8cdA01,0x3C3a99DAC68DB49b87DCe007B0799CcfEb973082,0xCf060aB7048690384E69dE3f4926d7f78d19c12C

-----Encoded View---------------
24 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [4] : 00000000000000000000000000000000000000000000000000000000624ec430
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000240
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [7] : 506c616e742050617261646520546f6b656e0000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [9] : 506c616e74506172616465546f6b656e00000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000044
Arg [11] : 68747470733a2f2f697066732e696f2f697066732f516d534679757662484470
Arg [12] : 375a4a38414356385774445337506476414c644e616f33506b6836664b684e74
Arg [13] : 6d36522f00000000000000000000000000000000000000000000000000000000
Arg [14] : 000000000000000000000000000000000000000000000000000000000000004f
Arg [15] : 68747470733a2f2f697066732e696f2f697066732f516d61734c72756f626d54
Arg [16] : 464b6a534c746854697637394b513979785a46354a6a7043757158727a53424a
Arg [17] : 3859652f68696464656e2e6a736f6e0000000000000000000000000000000000
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [19] : 0000000000000000000000006e8e8f764002e94511825fce07c230a63b2f844d
Arg [20] : 0000000000000000000000009614778418e39d6b95510d9536309d7e6c3c6ac0
Arg [21] : 0000000000000000000000003fb58371fcb7ad4f9343507405eb3fc72e8cda01
Arg [22] : 0000000000000000000000003c3a99dac68db49b87dce007b0799ccfeb973082
Arg [23] : 000000000000000000000000cf060ab7048690384e69de3f4926d7f78d19c12c


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.