ETH Price: $3,335.73 (-1.23%)

Token

VOXCoodles (VCDL)
 

Overview

Max Total Supply

10,000 VCDL

Holders

1,353

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 VCDL
0x5fa25e7436394fD79Ada74aA0331c2847b939B15
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:
VOXCoodles

Compiler Version
v0.8.12+commit.f00d7308

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 14 : VOXCoodles.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;

import "https://github.com/FrankNFT-labs/ERC721F/blob/v1.0.0/ERC721F.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC721/IERC721.sol";

/**
 * @title Shrumies contract
 * @dev Extends ERC721F Non-Fungible Token Standard basic implementation.
 * Optimized to no longer use ERC721Enumarable , but still provide a totalSupply() implementation.
 * @author @FrankPoncelet
 * 
 */

contract VOXCoodles is ERC721F {
    uint256 public tokenPrice = 0.08 ether; 
    uint256 public discountedTokenPrice = 0.06 ether; 
    uint256 public wLTokenPrice = 0.07 ether; 
    uint256 public constant MAX_TOKENS=10000;

    uint public constant MAX_PURCHASE = 26; // set 1 to high to avoid some gas
    uint public constant MAX_RESERVE = 26; // set 1 to high to avoid some gas

    bool public saleIsActive;
    bool public preSaleIsActive;

    mapping(address => uint256) private freeMintAmount;
    mapping(address => bool) private whitelist;
    mapping(address => uint256) private tokensMinted;

    address private constant FRANK = 0xF40Fd88ac59A206D009A07F8c09828a01e2ACC0d;
    address private constant JOOSE = 0xE6232CE1d78500DC9377daaE7DD87A609d2E8259;
    address private constant JLOW = 0xa6bB71dd727C84c1F595587E100356fAfF730566;
    address private constant MURDA = 0xCa96c691C79e4F57e6d659806Fe99bAEfE77DC36;
    address private constant ASUKA = 0x812B50c025f0d950Df1E9B4F59C79BB00b08401c;
    IERC721 coodles;

    event PriceChange(address _by, uint256 price);

    constructor() ERC721F("VOXCoodles", "VCDL") {
        setBaseTokenURI("ipfs://QmVy7VQUFtTQawBsp4tbJPp9MgbTKS4L7WSDpZEdZUzsiD/"); 
        _safeMint( FRANK, 0);
        coodles = IERC721(0x9C38Bc76f282EB881a387C04fB67e9fc60aECF78); 
    }

    /**
     * Mint Tokens to a wallet.
     */
    function mint(address to,uint numberOfTokens) public onlyOwner {    
        mintLoop(to, numberOfTokens);
    }
     /**
     * Mint Tokens to the owners reserve.
     */
    function reserveTokens() external onlyOwner {    
        mintLoop(owner(),MAX_RESERVE-1);
    }

    /**
     * Pause sale if active, make active if paused
     */
    function flipSaleState() public onlyOwner {
        saleIsActive = !saleIsActive;
        if(saleIsActive){
            preSaleIsActive=false;
        }
    }

    /**
     * Pause sale if active, make active if paused
     */
    function flipPreSaleState() public onlyOwner {
        preSaleIsActive = !preSaleIsActive;
        if(preSaleIsActive){
            saleIsActive=false;
        }
    }

    /**
    * add an address and amount to the FreeMints
    */
    function addFreeMint(address _address, uint256 amount) public onlyOwner {
        freeMintAmount[_address] = amount;
    }
    /**
    * add an array of address to the freemints
    */
    function addFreeMints(address[] memory _address, uint256 amount) external onlyOwner {
         for (uint i=0; i<_address.length; i++) {
            addFreeMint(_address[i],amount);
         }
    }
    /**
    * remove an address off the freemints
    */
    function removeFreeMint(address _address) external onlyOwner {
        freeMintAmount[_address] = 0;
    }
    /**
    * returns true if the wallet still has free mints.
    */
    function freeMints(address _address) public view returns(uint256) {
        return freeMintAmount[_address];
    }

    /**     
    * Set price 
    */
    function setPrice(uint256 price) public onlyOwner {
        tokenPrice = price;
        emit PriceChange(msg.sender, tokenPrice);
    }
      /**
    * add an address to the WL
    */
    function addWL(address _address) public onlyOwner {
        whitelist[_address] = true;
    }
    /**
    * add an array of address to the WL
    */
    function addAdresses(address[] memory _address) external onlyOwner {
         for (uint i=0; i<_address.length; i++) {
            addWL(_address[i]);
         }
    }
    /**
    * remove an address off the WL
    */
    function removeWL(address _address) external onlyOwner {
        whitelist[_address] = false;
    }
    /**
    * returns true if the wallet is Whitelisted.
    */
    function isWhitelisted(address _address) public view returns(bool) {
        return whitelist[_address];
    }  

    function getSalePrice(uint256 numberOfTokens, address _address) public view returns (uint256) {
        if (freeMints(_address)>0 && preSaleIsActive){
            if (numberOfTokens>=freeMints(_address)){
                numberOfTokens -= freeMints(_address);
            }else{
                numberOfTokens=0;
            }
        }
        uint256 price=tokenPrice;

        if (preSaleIsActive && coodles.balanceOf(_address)>0 ){
            price=discountedTokenPrice;
        }else if(preSaleIsActive && isWhitelisted(_address)){
            price=wLTokenPrice;
        }
        return numberOfTokens * price;
    }

    function getMaxMintAmount(address _address) public view returns (uint256) {
        if (preSaleIsActive && coodles.balanceOf(_address)>0 ){
            return 3-tokensMinted[_address];
        }else if(preSaleIsActive && isWhitelisted(_address)){
            return 2-tokensMinted[_address];
        }else if (saleIsActive){
         return 25;           
        } else {
         return 0;   
        }
    }

    function mint(uint256 numberOfTokens) external payable {
        require(msg.sender == tx.origin);
        if (preSaleIsActive){
            if(coodles.balanceOf(msg.sender)>0){
                require(tokensMinted[msg.sender]+numberOfTokens <4,"Max 3 tokens in presale");
            }else{
                require(tokensMinted[msg.sender]+numberOfTokens <3,"Max 2 tokens in presale");
                require(isWhitelisted(msg.sender),"sender is NOT Whitelisted ");
            }
        } else {
            require(saleIsActive, "Sale must be active to mint Tokens");
        }
        require(getSalePrice(numberOfTokens,msg.sender) <= msg.value, "Ether value sent is not correct"); 
        if (numberOfTokens>= freeMints(msg.sender)){
            freeMintAmount[msg.sender]=0;
        }else{
            freeMintAmount[msg.sender]-=numberOfTokens;
        }
        tokensMinted[msg.sender] += numberOfTokens;
        mintLoop(msg.sender,numberOfTokens);
    }

    function mintLoop(address to,uint256 numberOfTokens) private {
        require(numberOfTokens > 0, "numberOfNfts cannot be 0");
        require(numberOfTokens < MAX_PURCHASE, "Can only mint 25 tokens at a time");
        uint256 supply = totalSupply();
        require(supply+numberOfTokens <= MAX_TOKENS, "Purchase would exceed max supply of Tokens");
        for(uint256 i; i < numberOfTokens; i++){
            _safeMint( to, supply + i );
        }
    }

    /**
    * Witdraw the funds from the contract.
    */
    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0, "Insufficent balance");
        _withdraw(FRANK,(balance * 5) / 100);
        _withdraw(JOOSE,(balance * 30) / 100);
        _withdraw(JLOW,(balance * 9) / 100);
        _withdraw(MURDA,(balance * 15) / 100);
        _withdraw(ASUKA,(balance * 3) / 100);
        _withdraw(owner(), address(this).balance);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 3 of 14 : ERC721F.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.9 <0.9.0;

import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/token/ERC721/ERC721.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/access/Ownable.sol";
import "https://github.com/OpenZeppelin/openzeppelin-contracts/blob/v4.4.0/contracts/utils/Counters.sol";


/**
 * @title ERC721B
 * @dev Extends ERC721 Non-Fungible Token Standard basic implementation.
 * Optimized to no longer use ERC721Enumerable , but still provide a totalSupply() and walletOfOwner(address _owner) implementation.
 * @author @FrankNFT.eth
 * 
 */

contract ERC721F is Ownable, ERC721 {
    using Counters for Counters.Counter;

    Counters.Counter private _tokenSupply;

    // Base URI for Meta data
    string private _baseTokenURI;

    
    constructor(string memory name_, string memory symbol_) ERC721(name_, symbol_) {
    }

    /** 
     * @dev walletofOwner
     * @return tokens id owned by the given address
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function walletOfOwner(address _owner) external view returns (uint256[] memory){
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while ( ownedTokenIndex < ownerTokenCount && currentTokenId < _tokenSupply.current() ) {
            if (ownerOf(currentTokenId) == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;
                ownedTokenIndex++;
            }
            currentTokenId++;
        }
        return ownedTokenIds;
    }


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

    /**
     *    
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     */
    function _mint(address to, uint256 tokenId) internal virtual override {
        super._mint(to, tokenId);
        _tokenSupply.increment();
    }

    /**
     * @dev Gets the total amount of tokens stored by the contract.
     * @return uint256 representing the total amount of tokens
     */
    function totalSupply() public view returns (uint256) {
        return _tokenSupply.current();
    }

    /**
    * Helper method to allow ETH withdraws.
    */
    function _withdraw(address _address, uint256 _amount) internal {
        (bool success, ) = _address.call{ value: _amount }("");
        require(success, "Failed to widthdraw Ether");
    }

    // contract can recieve Ether
    fallback() external payable { }
    receive() external payable { }
}

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

pragma solidity ^0.8.0;

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

File 5 of 14 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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;
    }
}

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

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), 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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev Base URI for computing {tokenURI}. Empty by default, can be overriden
     * in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return "";
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(address from, address to, uint256 tokenId, bytes memory _data)
        private returns (bool)
    {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    // solhint-disable-next-line no-inline-assembly
                    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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal virtual { }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant alphabet = "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] = alphabet[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }

}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_by","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"}],"name":"PriceChange","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"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"}],"name":"addAdresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_address","type":"address[]"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"addFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"addWL","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":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"discountedTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPreSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"freeMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getMaxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"getSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"preSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeFreeMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"removeWL","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"baseURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","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":[],"name":"tokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"wLTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405267011c37937e08000060095566d529ae9e860000600a5566f8b0a10e470000600b553480156200003357600080fd5b506040518060400160405280600a815260200169564f58436f6f646c657360b01b815250604051806040016040528060048152602001631590d11360e21b81525081816000620000886200017360201b60201c565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a3508151620000e790600190602085019062000568565b508051620000fd90600290602084019062000568565b5050505050620001266040518060600160405280603681526020016200370b6036913962000177565b6200014773f40fd88ac59a206d009a07f8c09828a01e2acc0d6000620001f0565b601080546001600160a01b031916739c38bc76f282eb881a387c04fb67e9fc60aecf7817905562000720565b3390565b6000546001600160a01b03163314620001d75760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b8051620001ec90600890602084019062000568565b5050565b620001ec8282604051806020016040528060008152506200021260201b60201c565b6200021e83836200028a565b6200022d6000848484620002b8565b620002855760405162461bcd60e51b81526020600482015260326024820152600080516020620036eb83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001ce565b505050565b620002a182826200041160201b62001e361760201c565b620001ec60076200055960201b62001f781760201c565b6000620002d9846001600160a01b03166200056260201b62001f811760201c565b156200040557604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290620003139033908990889088906004016200060e565b6020604051808303816000875af192505050801562000351575060408051601f3d908101601f191682019092526200034e9181019062000689565b60015b620003ea573d80801562000382576040519150601f19603f3d011682016040523d82523d6000602084013e62000387565b606091505b508051620003e25760405162461bcd60e51b81526020600482015260326024820152600080516020620036eb83398151915260448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401620001ce565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905062000409565b5060015b949350505050565b6001600160a01b038216620004695760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401620001ce565b6000818152600360205260409020546001600160a01b031615620004d05760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401620001ce565b6001600160a01b0382166000908152600460205260408120805460019290620004fb908490620006bc565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b3b151590565b8280546200057690620006e3565b90600052602060002090601f0160209004810192826200059a5760008555620005e5565b82601f10620005b557805160ff1916838001178555620005e5565b82800160010185558215620005e5579182015b82811115620005e5578251825591602001919060010190620005c8565b50620005f3929150620005f7565b5090565b5b80821115620005f35760008155600101620005f8565b600060018060a01b038087168352602081871681850152856040850152608060608501528451915081608085015260005b828110156200065d5785810182015185820160a0015281016200063f565b828111156200067057600060a084870101525b5050601f01601f19169190910160a00195945050505050565b6000602082840312156200069c57600080fd5b81516001600160e01b031981168114620006b557600080fd5b9392505050565b60008219821115620006de57634e487b7160e01b600052601160045260246000fd5b500190565b600181811c90821680620006f857607f821691505b602082108114156200071a57634e487b7160e01b600052602260045260246000fd5b50919050565b612fbb80620007306000396000f3fe6080604052600436106102bb5760003560e01c806370a082311161016c578063bd4ec2b2116100ca578063eb8d244411610084578063f032554911610061578063f0325549146107e5578063f2fde38b146107fa578063f47c84c51461081a57005b8063eb8d2444146107b5578063eeab7abd146107cf578063eff31e9e146105f057005b8063d8c718a8116100b2578063d8c718a81461072c578063e1dc84771461074c578063e985e9c51461076c57005b8063bd4ec2b2146106ec578063c87b56dd1461070c57005b806391b7f5ed11610126578063a0712d6811610103578063a0712d6814610699578063a22cb465146106ac578063b88d4fde146106cc57005b806391b7f5ed1461064e57806395d89b411461066e57806398b847891461068357005b8063715018a611610154578063715018a6146106055780637ff9b5961461061a5780638da5cb5b1461063057005b806370a08231146105d05780637146bd08146105f057005b806330176e1311610219578063419889c3116101d35780636352211e116101b05780636352211e1461055a57806368f578f01461057a5780636d41d4fb1461059a57005b8063419889c3146104ed57806342842e0e1461050d578063438b63001461052d57005b80633af32abf116102015780633af32abf1461047f5780633ccfd60b146104b857806340c10f19146104cd57005b806330176e131461044a57806334918dfd1461046a57005b8063125f48e41161027557806323b872dd1161025257806323b872dd146103f557806327ac36c4146104155780632bcb89291461042a57005b8063125f48e41461039357806318160ddd146103b35780631f0234d8146103d657005b806306fdde03116102a357806306fdde0314610319578063081812fc1461033b578063095ea7b31461037357005b8063019441ab146102c457806301ffc9a7146102e457005b366102c257005b005b3480156102d057600080fd5b506102c26102df366004612943565b610830565b3480156102f057600080fd5b506103046102ff366004612974565b610897565b60405190151581526020015b60405180910390f35b34801561032557600080fd5b5061032e610934565b60405161031091906129e9565b34801561034757600080fd5b5061035b6103563660046129fc565b6109c6565b6040516001600160a01b039091168152602001610310565b34801561037f57600080fd5b506102c261038e366004612a15565b610a5b565b34801561039f57600080fd5b506102c26103ae366004612943565b610b8d565b3480156103bf57600080fd5b506103c8610bf9565b604051908152602001610310565b3480156103e257600080fd5b50600c5461030490610100900460ff1681565b34801561040157600080fd5b506102c2610410366004612a3f565b610c09565b34801561042157600080fd5b506102c2610c90565b34801561043657600080fd5b506103c8610445366004612a7b565b610d00565b34801561045657600080fd5b506102c2610465366004612b46565b610e60565b34801561047657600080fd5b506102c2610ebf565b34801561048b57600080fd5b5061030461049a366004612943565b6001600160a01b03166000908152600e602052604090205460ff1690565b3480156104c457600080fd5b506102c2610f2f565b3480156104d957600080fd5b506102c26104e8366004612a15565b6110ab565b3480156104f957600080fd5b506102c2610508366004612943565b6110fd565b34801561051957600080fd5b506102c2610528366004612a3f565b611166565b34801561053957600080fd5b5061054d610548366004612943565b611181565b6040516103109190612b8f565b34801561056657600080fd5b5061035b6105753660046129fc565b61125b565b34801561058657600080fd5b506103c8610595366004612943565b6112e6565b3480156105a657600080fd5b506103c86105b5366004612943565b6001600160a01b03166000908152600d602052604090205490565b3480156105dc57600080fd5b506103c86105eb366004612943565b61140d565b3480156105fc57600080fd5b506103c8601a81565b34801561061157600080fd5b506102c26114a7565b34801561062657600080fd5b506103c860095481565b34801561063c57600080fd5b506000546001600160a01b031661035b565b34801561065a57600080fd5b506102c26106693660046129fc565b611539565b34801561067a57600080fd5b5061032e6115c2565b34801561068f57600080fd5b506103c8600a5481565b6102c26106a73660046129fc565b6115d1565b3480156106b857600080fd5b506102c26106c7366004612bd3565b6118ea565b3480156106d857600080fd5b506102c26106e7366004612c0f565b6119af565b3480156106f857600080fd5b506102c2610707366004612a15565b611a3d565b34801561071857600080fd5b5061032e6107273660046129fc565b611aa1565b34801561073857600080fd5b506102c2610747366004612d12565b611b8a565b34801561075857600080fd5b506102c2610767366004612d57565b611c13565b34801561077857600080fd5b50610304610787366004612d8c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107c157600080fd5b50600c546103049060ff1681565b3480156107db57600080fd5b506103c8600b5481565b3480156107f157600080fd5b506102c2611c9b565b34801561080657600080fd5b506102c2610815366004612943565b611d17565b34801561082657600080fd5b506103c861271081565b6000546001600160a01b0316331461087d5760405162461bcd60e51b81526020600482018190526024820152600080516020612f6683398151915260448201526064015b60405180910390fd5b6001600160a01b03166000908152600d6020526040812055565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108fa57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061092e57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461094390612db6565b80601f016020809104026020016040519081016040528092919081815260200182805461096f90612db6565b80156109bc5780601f10610991576101008083540402835291602001916109bc565b820191906000526020600020905b81548152906001019060200180831161099f57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a3f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610874565b506000908152600560205260409020546001600160a01b031690565b6000610a668261125b565b9050806001600160a01b0316836001600160a01b03161415610af05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610874565b336001600160a01b0382161480610b0c5750610b0c8133610787565b610b7e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610874565b610b888383611f87565b505050565b6000546001600160a01b03163314610bd55760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b03166000908152600e60205260409020805460ff19166001179055565b6000610c0460075490565b905090565b610c133382611ff5565b610c855760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610874565b610b888383836120e8565b6000546001600160a01b03163314610cd85760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b610cfe610ced6000546001600160a01b031690565b610cf96001601a612e07565b6122b5565b565b6001600160a01b0381166000908152600d602052604081205481108015610d2e5750600c54610100900460ff165b15610d81576001600160a01b0382166000908152600d60205260409020548310610d7c576001600160a01b0382166000908152600d6020526040902054610d759084612e07565b9250610d81565b600092505b600954600c54610100900460ff168015610e0757506010546040516370a0823160e01b81526001600160a01b03858116600483015260009216906370a0823190602401602060405180830381865afa158015610de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e059190612e1e565b115b15610e155750600a54610e4e565b600c54610100900460ff168015610e4457506001600160a01b0383166000908152600e602052604090205460ff165b15610e4e5750600b545b610e588185612e37565b949350505050565b6000546001600160a01b03163314610ea85760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b8051610ebb906008906020840190612893565b5050565b6000546001600160a01b03163314610f075760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600c805460ff19811660ff918216159081179092551615610cfe57600c805461ff0019169055565b6000546001600160a01b03163314610f775760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b4780610fc55760405162461bcd60e51b815260206004820152601360248201527f496e737566666963656e742062616c616e6365000000000000000000000000006044820152606401610874565b610ff973f40fd88ac59a206d009a07f8c09828a01e2acc0d6064610fea846005612e37565b610ff49190612e6c565b612438565b61101e73e6232ce1d78500dc9377daae7dd87a609d2e82596064610fea84601e612e37565b61104373a6bb71dd727c84c1f595587e100356faff7305666064610fea846009612e37565b61106873ca96c691c79e4f57e6d659806fe99baefe77dc366064610fea84600f612e37565b61108d73812b50c025f0d950df1e9b4f59c79bb00b08401c6064610fea846003612e37565b6110a86110a26000546001600160a01b031690565b47612438565b50565b6000546001600160a01b031633146110f35760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b610ebb82826122b5565b6000546001600160a01b031633146111455760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b610b88838383604051806020016040528060008152506119af565b6060600061118e8361140d565b905060008167ffffffffffffffff8111156111ab576111ab612aa7565b6040519080825280602002602001820160405280156111d4578160200160208202803683370190505b509050600160005b83811080156111ec575060075482105b1561125157856001600160a01b03166112048361125b565b6001600160a01b0316141561123f578183828151811061122657611226612e80565b60209081029190910101528061123b81612e96565b9150505b8161124981612e96565b9250506111dc565b5090949350505050565b6000818152600360205260408120546001600160a01b03168061092e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610874565b600c54600090610100900460ff16801561136c57506010546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa158015611346573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136a9190612e1e565b115b15611395576001600160a01b0382166000908152600f602052604090205461092e906003612e07565b600c54610100900460ff1680156113c457506001600160a01b0382166000908152600e602052604090205460ff165b156113ed576001600160a01b0382166000908152600f602052604090205461092e906002612e07565b600c5460ff161561140057506019919050565b506000919050565b919050565b60006001600160a01b03821661148b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610874565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146114ef5760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146115815760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600981905560408051338152602081018390527ffb97d390102d99a2a0210c7da4d6e15528ca897324a726106755393058ae2719910160405180910390a150565b60606002805461094390612db6565b3332146115dd57600080fd5b600c54610100900460ff161561179a576010546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165a9190612e1e565b11156116d057336000908152600f602052604090205460049061167e908390612eb1565b106116cb5760405162461bcd60e51b815260206004820152601760248201527f4d6178203320746f6b656e7320696e2070726573616c650000000000000000006044820152606401610874565b611812565b336000908152600f60205260409020546003906116ee908390612eb1565b1061173b5760405162461bcd60e51b815260206004820152601760248201527f4d6178203220746f6b656e7320696e2070726573616c650000000000000000006044820152606401610874565b336000908152600e602052604090205460ff166116cb5760405162461bcd60e51b815260206004820152601a60248201527f73656e646572206973204e4f542057686974656c6973746564200000000000006044820152606401610874565b600c5460ff166118125760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560448201527f6e730000000000000000000000000000000000000000000000000000000000006064820152608401610874565b3461181d8233610d00565b111561186b5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610874565b336000908152600d6020526040902054811061189657336000908152600d60205260408120556118bb565b336000908152600d6020526040812080548392906118b5908490612e07565b90915550505b336000908152600f6020526040812080548392906118da908490612eb1565b909155506110a8905033826122b5565b6001600160a01b0382163314156119435760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610874565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6119b93383611ff5565b611a2b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610874565b611a37848484846124db565b50505050565b6000546001600160a01b03163314611a855760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b039091166000908152600d6020526040902055565b6000818152600360205260409020546060906001600160a01b0316611b2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610874565b6000611b38612559565b90506000815111611b585760405180602001604052806000815250611b83565b80611b6284612568565b604051602001611b73929190612ec9565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314611bd25760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b60005b8251811015610b8857611c01838281518110611bf357611bf3612e80565b602002602001015183611a3d565b80611c0b81612e96565b915050611bd5565b6000546001600160a01b03163314611c5b5760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b60005b8151811015610ebb57611c89828281518110611c7c57611c7c612e80565b6020026020010151610b8d565b80611c9381612e96565b915050611c5e565b6000546001600160a01b03163314611ce35760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600c805460ff610100808304821615810261ff0019909316929092179283905591041615610cfe57600c805460ff19169055565b6000546001600160a01b03163314611d5f5760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b038116611ddb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610874565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611e8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610874565b6000818152600360205260409020546001600160a01b031615611ef15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610874565b6001600160a01b0382166000908152600460205260408120805460019290611f1a908490612eb1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b3b151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fbc8261125b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b031661206e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610874565b60006120798361125b565b9050806001600160a01b0316846001600160a01b031614806120b45750836001600160a01b03166120a9846109c6565b6001600160a01b0316145b80610e5857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff16610e58565b826001600160a01b03166120fb8261125b565b6001600160a01b0316146121775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610874565b6001600160a01b0382166121f25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610874565b6121fd600082611f87565b6001600160a01b0383166000908152600460205260408120805460019290612226908490612e07565b90915550506001600160a01b0382166000908152600460205260408120805460019290612254908490612eb1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081116123055760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f74206265203000000000000000006044820152606401610874565b601a811061237b5760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d60448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610874565b6000612385610bf9565b90506127106123948383612eb1565b11156124085760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e73000000000000000000000000000000000000000000006064820152608401610874565b60005b82811015611a3757612426846124218385612eb1565b61269a565b8061243081612e96565b91505061240b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612485576040519150601f19603f3d011682016040523d82523d6000602084013e61248a565b606091505b5050905080610b885760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f20776964746864726177204574686572000000000000006044820152606401610874565b6124e68484846120e8565b6124f2848484846126b4565b611a375760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610874565b60606008805461094390612db6565b6060816125a857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156125d257806125bc81612e96565b91506125cb9050600a83612e6c565b91506125ac565b60008167ffffffffffffffff8111156125ed576125ed612aa7565b6040519080825280601f01601f191660200182016040528015612617576020820181803683370190505b5090505b8415610e585761262c600183612e07565b9150612639600a86612ef8565b612644906030612eb1565b60f81b81838151811061265957612659612e80565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612693600a86612e6c565b945061261b565b610ebb8282604051806020016040528060008152506127fd565b60006001600160a01b0384163b156127f257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126f8903390899088908890600401612f0c565b6020604051808303816000875af1925050508015612733575060408051601f3d908101601f1916820190925261273091810190612f48565b60015b6127d8573d808015612761576040519150601f19603f3d011682016040523d82523d6000602084013e612766565b606091505b5080516127d05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610874565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e58565b506001949350505050565b612807838361287b565b61281460008484846126b4565b610b885760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610874565b6128858282611e36565b610ebb600780546001019055565b82805461289f90612db6565b90600052602060002090601f0160209004810192826128c15760008555612907565b82601f106128da57805160ff1916838001178555612907565b82800160010185558215612907579182015b828111156129075782518255916020019190600101906128ec565b50612913929150612917565b5090565b5b808211156129135760008155600101612918565b80356001600160a01b038116811461140857600080fd5b60006020828403121561295557600080fd5b611b838261292c565b6001600160e01b0319811681146110a857600080fd5b60006020828403121561298657600080fd5b8135611b838161295e565b60005b838110156129ac578181015183820152602001612994565b83811115611a375750506000910152565b600081518084526129d5816020860160208601612991565b601f01601f19169290920160200192915050565b602081526000611b8360208301846129bd565b600060208284031215612a0e57600080fd5b5035919050565b60008060408385031215612a2857600080fd5b612a318361292c565b946020939093013593505050565b600080600060608486031215612a5457600080fd5b612a5d8461292c565b9250612a6b6020850161292c565b9150604084013590509250925092565b60008060408385031215612a8e57600080fd5b82359150612a9e6020840161292c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612ae657612ae6612aa7565b604052919050565b600067ffffffffffffffff831115612b0857612b08612aa7565b612b1b601f8401601f1916602001612abd565b9050828152838383011115612b2f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612b5857600080fd5b813567ffffffffffffffff811115612b6f57600080fd5b8201601f81018413612b8057600080fd5b610e5884823560208401612aee565b6020808252825182820181905260009190848201906040850190845b81811015612bc757835183529284019291840191600101612bab565b50909695505050505050565b60008060408385031215612be657600080fd5b612bef8361292c565b915060208301358015158114612c0457600080fd5b809150509250929050565b60008060008060808587031215612c2557600080fd5b612c2e8561292c565b9350612c3c6020860161292c565b925060408501359150606085013567ffffffffffffffff811115612c5f57600080fd5b8501601f81018713612c7057600080fd5b612c7f87823560208401612aee565b91505092959194509250565b600082601f830112612c9c57600080fd5b8135602067ffffffffffffffff821115612cb857612cb8612aa7565b8160051b612cc7828201612abd565b9283528481018201928281019087851115612ce157600080fd5b83870192505b84831015612d0757612cf88361292c565b82529183019190830190612ce7565b979650505050505050565b60008060408385031215612d2557600080fd5b823567ffffffffffffffff811115612d3c57600080fd5b612d4885828601612c8b565b95602094909401359450505050565b600060208284031215612d6957600080fd5b813567ffffffffffffffff811115612d8057600080fd5b610e5884828501612c8b565b60008060408385031215612d9f57600080fd5b612da88361292c565b9150612a9e6020840161292c565b600181811c90821680612dca57607f821691505b60208210811415612deb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612e1957612e19612df1565b500390565b600060208284031215612e3057600080fd5b5051919050565b6000816000190483118215151615612e5157612e51612df1565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e7b57612e7b612e56565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612eaa57612eaa612df1565b5060010190565b60008219821115612ec457612ec4612df1565b500190565b60008351612edb818460208801612991565b835190830190612eef818360208801612991565b01949350505050565b600082612f0757612f07612e56565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f3e60808301846129bd565b9695505050505050565b600060208284031215612f5a57600080fd5b8151611b838161295e56fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122059246269450187fe7d1b026f46212dc7b9374c611594d00b1e5b00cff4604df164736f6c634300080c00334552433732313a207472616e7366657220746f206e6f6e204552433732315265697066733a2f2f516d5679375651554674545161774273703474624a5070394d6762544b53344c37575344705a45645a557a7369442f

Deployed Bytecode

0x6080604052600436106102bb5760003560e01c806370a082311161016c578063bd4ec2b2116100ca578063eb8d244411610084578063f032554911610061578063f0325549146107e5578063f2fde38b146107fa578063f47c84c51461081a57005b8063eb8d2444146107b5578063eeab7abd146107cf578063eff31e9e146105f057005b8063d8c718a8116100b2578063d8c718a81461072c578063e1dc84771461074c578063e985e9c51461076c57005b8063bd4ec2b2146106ec578063c87b56dd1461070c57005b806391b7f5ed11610126578063a0712d6811610103578063a0712d6814610699578063a22cb465146106ac578063b88d4fde146106cc57005b806391b7f5ed1461064e57806395d89b411461066e57806398b847891461068357005b8063715018a611610154578063715018a6146106055780637ff9b5961461061a5780638da5cb5b1461063057005b806370a08231146105d05780637146bd08146105f057005b806330176e1311610219578063419889c3116101d35780636352211e116101b05780636352211e1461055a57806368f578f01461057a5780636d41d4fb1461059a57005b8063419889c3146104ed57806342842e0e1461050d578063438b63001461052d57005b80633af32abf116102015780633af32abf1461047f5780633ccfd60b146104b857806340c10f19146104cd57005b806330176e131461044a57806334918dfd1461046a57005b8063125f48e41161027557806323b872dd1161025257806323b872dd146103f557806327ac36c4146104155780632bcb89291461042a57005b8063125f48e41461039357806318160ddd146103b35780631f0234d8146103d657005b806306fdde03116102a357806306fdde0314610319578063081812fc1461033b578063095ea7b31461037357005b8063019441ab146102c457806301ffc9a7146102e457005b366102c257005b005b3480156102d057600080fd5b506102c26102df366004612943565b610830565b3480156102f057600080fd5b506103046102ff366004612974565b610897565b60405190151581526020015b60405180910390f35b34801561032557600080fd5b5061032e610934565b60405161031091906129e9565b34801561034757600080fd5b5061035b6103563660046129fc565b6109c6565b6040516001600160a01b039091168152602001610310565b34801561037f57600080fd5b506102c261038e366004612a15565b610a5b565b34801561039f57600080fd5b506102c26103ae366004612943565b610b8d565b3480156103bf57600080fd5b506103c8610bf9565b604051908152602001610310565b3480156103e257600080fd5b50600c5461030490610100900460ff1681565b34801561040157600080fd5b506102c2610410366004612a3f565b610c09565b34801561042157600080fd5b506102c2610c90565b34801561043657600080fd5b506103c8610445366004612a7b565b610d00565b34801561045657600080fd5b506102c2610465366004612b46565b610e60565b34801561047657600080fd5b506102c2610ebf565b34801561048b57600080fd5b5061030461049a366004612943565b6001600160a01b03166000908152600e602052604090205460ff1690565b3480156104c457600080fd5b506102c2610f2f565b3480156104d957600080fd5b506102c26104e8366004612a15565b6110ab565b3480156104f957600080fd5b506102c2610508366004612943565b6110fd565b34801561051957600080fd5b506102c2610528366004612a3f565b611166565b34801561053957600080fd5b5061054d610548366004612943565b611181565b6040516103109190612b8f565b34801561056657600080fd5b5061035b6105753660046129fc565b61125b565b34801561058657600080fd5b506103c8610595366004612943565b6112e6565b3480156105a657600080fd5b506103c86105b5366004612943565b6001600160a01b03166000908152600d602052604090205490565b3480156105dc57600080fd5b506103c86105eb366004612943565b61140d565b3480156105fc57600080fd5b506103c8601a81565b34801561061157600080fd5b506102c26114a7565b34801561062657600080fd5b506103c860095481565b34801561063c57600080fd5b506000546001600160a01b031661035b565b34801561065a57600080fd5b506102c26106693660046129fc565b611539565b34801561067a57600080fd5b5061032e6115c2565b34801561068f57600080fd5b506103c8600a5481565b6102c26106a73660046129fc565b6115d1565b3480156106b857600080fd5b506102c26106c7366004612bd3565b6118ea565b3480156106d857600080fd5b506102c26106e7366004612c0f565b6119af565b3480156106f857600080fd5b506102c2610707366004612a15565b611a3d565b34801561071857600080fd5b5061032e6107273660046129fc565b611aa1565b34801561073857600080fd5b506102c2610747366004612d12565b611b8a565b34801561075857600080fd5b506102c2610767366004612d57565b611c13565b34801561077857600080fd5b50610304610787366004612d8c565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b3480156107c157600080fd5b50600c546103049060ff1681565b3480156107db57600080fd5b506103c8600b5481565b3480156107f157600080fd5b506102c2611c9b565b34801561080657600080fd5b506102c2610815366004612943565b611d17565b34801561082657600080fd5b506103c861271081565b6000546001600160a01b0316331461087d5760405162461bcd60e51b81526020600482018190526024820152600080516020612f6683398151915260448201526064015b60405180910390fd5b6001600160a01b03166000908152600d6020526040812055565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806108fa57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061092e57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b60606001805461094390612db6565b80601f016020809104026020016040519081016040528092919081815260200182805461096f90612db6565b80156109bc5780601f10610991576101008083540402835291602001916109bc565b820191906000526020600020905b81548152906001019060200180831161099f57829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610a3f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610874565b506000908152600560205260409020546001600160a01b031690565b6000610a668261125b565b9050806001600160a01b0316836001600160a01b03161415610af05760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610874565b336001600160a01b0382161480610b0c5750610b0c8133610787565b610b7e5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610874565b610b888383611f87565b505050565b6000546001600160a01b03163314610bd55760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b03166000908152600e60205260409020805460ff19166001179055565b6000610c0460075490565b905090565b610c133382611ff5565b610c855760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610874565b610b888383836120e8565b6000546001600160a01b03163314610cd85760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b610cfe610ced6000546001600160a01b031690565b610cf96001601a612e07565b6122b5565b565b6001600160a01b0381166000908152600d602052604081205481108015610d2e5750600c54610100900460ff165b15610d81576001600160a01b0382166000908152600d60205260409020548310610d7c576001600160a01b0382166000908152600d6020526040902054610d759084612e07565b9250610d81565b600092505b600954600c54610100900460ff168015610e0757506010546040516370a0823160e01b81526001600160a01b03858116600483015260009216906370a0823190602401602060405180830381865afa158015610de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e059190612e1e565b115b15610e155750600a54610e4e565b600c54610100900460ff168015610e4457506001600160a01b0383166000908152600e602052604090205460ff165b15610e4e5750600b545b610e588185612e37565b949350505050565b6000546001600160a01b03163314610ea85760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b8051610ebb906008906020840190612893565b5050565b6000546001600160a01b03163314610f075760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600c805460ff19811660ff918216159081179092551615610cfe57600c805461ff0019169055565b6000546001600160a01b03163314610f775760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b4780610fc55760405162461bcd60e51b815260206004820152601360248201527f496e737566666963656e742062616c616e6365000000000000000000000000006044820152606401610874565b610ff973f40fd88ac59a206d009a07f8c09828a01e2acc0d6064610fea846005612e37565b610ff49190612e6c565b612438565b61101e73e6232ce1d78500dc9377daae7dd87a609d2e82596064610fea84601e612e37565b61104373a6bb71dd727c84c1f595587e100356faff7305666064610fea846009612e37565b61106873ca96c691c79e4f57e6d659806fe99baefe77dc366064610fea84600f612e37565b61108d73812b50c025f0d950df1e9b4f59c79bb00b08401c6064610fea846003612e37565b6110a86110a26000546001600160a01b031690565b47612438565b50565b6000546001600160a01b031633146110f35760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b610ebb82826122b5565b6000546001600160a01b031633146111455760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b03166000908152600e60205260409020805460ff19169055565b610b88838383604051806020016040528060008152506119af565b6060600061118e8361140d565b905060008167ffffffffffffffff8111156111ab576111ab612aa7565b6040519080825280602002602001820160405280156111d4578160200160208202803683370190505b509050600160005b83811080156111ec575060075482105b1561125157856001600160a01b03166112048361125b565b6001600160a01b0316141561123f578183828151811061122657611226612e80565b60209081029190910101528061123b81612e96565b9150505b8161124981612e96565b9250506111dc565b5090949350505050565b6000818152600360205260408120546001600160a01b03168061092e5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610874565b600c54600090610100900460ff16801561136c57506010546040516370a0823160e01b81526001600160a01b03848116600483015260009216906370a0823190602401602060405180830381865afa158015611346573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061136a9190612e1e565b115b15611395576001600160a01b0382166000908152600f602052604090205461092e906003612e07565b600c54610100900460ff1680156113c457506001600160a01b0382166000908152600e602052604090205460ff165b156113ed576001600160a01b0382166000908152600f602052604090205461092e906002612e07565b600c5460ff161561140057506019919050565b506000919050565b919050565b60006001600160a01b03821661148b5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610874565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146114ef5760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031633146115815760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600981905560408051338152602081018390527ffb97d390102d99a2a0210c7da4d6e15528ca897324a726106755393058ae2719910160405180910390a150565b60606002805461094390612db6565b3332146115dd57600080fd5b600c54610100900460ff161561179a576010546040516370a0823160e01b81523360048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa158015611636573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061165a9190612e1e565b11156116d057336000908152600f602052604090205460049061167e908390612eb1565b106116cb5760405162461bcd60e51b815260206004820152601760248201527f4d6178203320746f6b656e7320696e2070726573616c650000000000000000006044820152606401610874565b611812565b336000908152600f60205260409020546003906116ee908390612eb1565b1061173b5760405162461bcd60e51b815260206004820152601760248201527f4d6178203220746f6b656e7320696e2070726573616c650000000000000000006044820152606401610874565b336000908152600e602052604090205460ff166116cb5760405162461bcd60e51b815260206004820152601a60248201527f73656e646572206973204e4f542057686974656c6973746564200000000000006044820152606401610874565b600c5460ff166118125760405162461bcd60e51b815260206004820152602260248201527f53616c65206d7573742062652061637469766520746f206d696e7420546f6b6560448201527f6e730000000000000000000000000000000000000000000000000000000000006064820152608401610874565b3461181d8233610d00565b111561186b5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f7272656374006044820152606401610874565b336000908152600d6020526040902054811061189657336000908152600d60205260408120556118bb565b336000908152600d6020526040812080548392906118b5908490612e07565b90915550505b336000908152600f6020526040812080548392906118da908490612eb1565b909155506110a8905033826122b5565b6001600160a01b0382163314156119435760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610874565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6119b93383611ff5565b611a2b5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610874565b611a37848484846124db565b50505050565b6000546001600160a01b03163314611a855760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b039091166000908152600d6020526040902055565b6000818152600360205260409020546060906001600160a01b0316611b2e5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610874565b6000611b38612559565b90506000815111611b585760405180602001604052806000815250611b83565b80611b6284612568565b604051602001611b73929190612ec9565b6040516020818303038152906040525b9392505050565b6000546001600160a01b03163314611bd25760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b60005b8251811015610b8857611c01838281518110611bf357611bf3612e80565b602002602001015183611a3d565b80611c0b81612e96565b915050611bd5565b6000546001600160a01b03163314611c5b5760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b60005b8151811015610ebb57611c89828281518110611c7c57611c7c612e80565b6020026020010151610b8d565b80611c9381612e96565b915050611c5e565b6000546001600160a01b03163314611ce35760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b600c805460ff610100808304821615810261ff0019909316929092179283905591041615610cfe57600c805460ff19169055565b6000546001600160a01b03163314611d5f5760405162461bcd60e51b81526020600482018190526024820152600080516020612f668339815191526044820152606401610874565b6001600160a01b038116611ddb5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610874565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6001600160a01b038216611e8c5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610874565b6000818152600360205260409020546001600160a01b031615611ef15760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610874565b6001600160a01b0382166000908152600460205260408120805460019290611f1a908490612eb1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b80546001019055565b3b151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611fbc8261125b565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600360205260408120546001600160a01b031661206e5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610874565b60006120798361125b565b9050806001600160a01b0316846001600160a01b031614806120b45750836001600160a01b03166120a9846109c6565b6001600160a01b0316145b80610e5857506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff16610e58565b826001600160a01b03166120fb8261125b565b6001600160a01b0316146121775760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610874565b6001600160a01b0382166121f25760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610874565b6121fd600082611f87565b6001600160a01b0383166000908152600460205260408120805460019290612226908490612e07565b90915550506001600160a01b0382166000908152600460205260408120805460019290612254908490612eb1565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600081116123055760405162461bcd60e51b815260206004820152601860248201527f6e756d6265724f664e6674732063616e6e6f74206265203000000000000000006044820152606401610874565b601a811061237b5760405162461bcd60e51b815260206004820152602160248201527f43616e206f6e6c79206d696e7420323520746f6b656e7320617420612074696d60448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610874565b6000612385610bf9565b90506127106123948383612eb1565b11156124085760405162461bcd60e51b815260206004820152602a60248201527f507572636861736520776f756c6420657863656564206d617820737570706c7960448201527f206f6620546f6b656e73000000000000000000000000000000000000000000006064820152608401610874565b60005b82811015611a3757612426846124218385612eb1565b61269a565b8061243081612e96565b91505061240b565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612485576040519150601f19603f3d011682016040523d82523d6000602084013e61248a565b606091505b5050905080610b885760405162461bcd60e51b815260206004820152601960248201527f4661696c656420746f20776964746864726177204574686572000000000000006044820152606401610874565b6124e68484846120e8565b6124f2848484846126b4565b611a375760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610874565b60606008805461094390612db6565b6060816125a857505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156125d257806125bc81612e96565b91506125cb9050600a83612e6c565b91506125ac565b60008167ffffffffffffffff8111156125ed576125ed612aa7565b6040519080825280601f01601f191660200182016040528015612617576020820181803683370190505b5090505b8415610e585761262c600183612e07565b9150612639600a86612ef8565b612644906030612eb1565b60f81b81838151811061265957612659612e80565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612693600a86612e6c565b945061261b565b610ebb8282604051806020016040528060008152506127fd565b60006001600160a01b0384163b156127f257604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906126f8903390899088908890600401612f0c565b6020604051808303816000875af1925050508015612733575060408051601f3d908101601f1916820190925261273091810190612f48565b60015b6127d8573d808015612761576040519150601f19603f3d011682016040523d82523d6000602084013e612766565b606091505b5080516127d05760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610874565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610e58565b506001949350505050565b612807838361287b565b61281460008484846126b4565b610b885760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610874565b6128858282611e36565b610ebb600780546001019055565b82805461289f90612db6565b90600052602060002090601f0160209004810192826128c15760008555612907565b82601f106128da57805160ff1916838001178555612907565b82800160010185558215612907579182015b828111156129075782518255916020019190600101906128ec565b50612913929150612917565b5090565b5b808211156129135760008155600101612918565b80356001600160a01b038116811461140857600080fd5b60006020828403121561295557600080fd5b611b838261292c565b6001600160e01b0319811681146110a857600080fd5b60006020828403121561298657600080fd5b8135611b838161295e565b60005b838110156129ac578181015183820152602001612994565b83811115611a375750506000910152565b600081518084526129d5816020860160208601612991565b601f01601f19169290920160200192915050565b602081526000611b8360208301846129bd565b600060208284031215612a0e57600080fd5b5035919050565b60008060408385031215612a2857600080fd5b612a318361292c565b946020939093013593505050565b600080600060608486031215612a5457600080fd5b612a5d8461292c565b9250612a6b6020850161292c565b9150604084013590509250925092565b60008060408385031215612a8e57600080fd5b82359150612a9e6020840161292c565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715612ae657612ae6612aa7565b604052919050565b600067ffffffffffffffff831115612b0857612b08612aa7565b612b1b601f8401601f1916602001612abd565b9050828152838383011115612b2f57600080fd5b828260208301376000602084830101529392505050565b600060208284031215612b5857600080fd5b813567ffffffffffffffff811115612b6f57600080fd5b8201601f81018413612b8057600080fd5b610e5884823560208401612aee565b6020808252825182820181905260009190848201906040850190845b81811015612bc757835183529284019291840191600101612bab565b50909695505050505050565b60008060408385031215612be657600080fd5b612bef8361292c565b915060208301358015158114612c0457600080fd5b809150509250929050565b60008060008060808587031215612c2557600080fd5b612c2e8561292c565b9350612c3c6020860161292c565b925060408501359150606085013567ffffffffffffffff811115612c5f57600080fd5b8501601f81018713612c7057600080fd5b612c7f87823560208401612aee565b91505092959194509250565b600082601f830112612c9c57600080fd5b8135602067ffffffffffffffff821115612cb857612cb8612aa7565b8160051b612cc7828201612abd565b9283528481018201928281019087851115612ce157600080fd5b83870192505b84831015612d0757612cf88361292c565b82529183019190830190612ce7565b979650505050505050565b60008060408385031215612d2557600080fd5b823567ffffffffffffffff811115612d3c57600080fd5b612d4885828601612c8b565b95602094909401359450505050565b600060208284031215612d6957600080fd5b813567ffffffffffffffff811115612d8057600080fd5b610e5884828501612c8b565b60008060408385031215612d9f57600080fd5b612da88361292c565b9150612a9e6020840161292c565b600181811c90821680612dca57607f821691505b60208210811415612deb57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600082821015612e1957612e19612df1565b500390565b600060208284031215612e3057600080fd5b5051919050565b6000816000190483118215151615612e5157612e51612df1565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612e7b57612e7b612e56565b500490565b634e487b7160e01b600052603260045260246000fd5b6000600019821415612eaa57612eaa612df1565b5060010190565b60008219821115612ec457612ec4612df1565b500190565b60008351612edb818460208801612991565b835190830190612eef818360208801612991565b01949350505050565b600082612f0757612f07612e56565b500690565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f3e60808301846129bd565b9695505050505050565b600060208284031215612f5a57600080fd5b8151611b838161295e56fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122059246269450187fe7d1b026f46212dc7b9374c611594d00b1e5b00cff4604df164736f6c634300080c0033

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.