ETH Price: $2,507.09 (-0.46%)

Token

Unbanked Bankers NFT (Bankers)
 

Overview

Max Total Supply

1,829 Bankers

Holders

460

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 Bankers
0x9E6F99415EF72f36Be73e5d547B963fD73E4f886
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

1,932 digital collectibles on the Ethereum blockchain. The Bankers NFT collection provides real utility as well as ownership of a rare digital asset.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
UnbankedBankersNFT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 14 : UnbankedBankersNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

contract UnbankedBankersNFT is ERC721Enumerable, Ownable {
    /* 
    
    Created by: Black Jesus
    Reviewed and deployed by: Brainster
    
     */

    constructor() payable ERC721("Unbanked Bankers NFT", "Bankers") {}

    // Initialize SafeMath library for UINT
    using SafeMath for uint256;
    // Make sure you have enough you change this to mainnet Bankers Contract address before deploy
    ERC721 bankers = ERC721(0x20d4DdB3d16aDdcA064b7126F4b3cEe5437d4194);
    uint256 MINT_PER_MINT_PASS = 1;

    // General NFT Variables
    uint256 public maxTokens = 10000;

    uint256 public tokensReservedForWhitelist = 336;
    uint256 public tokensMintedForWhitelist = 0;

    uint256 public tokensReservedForDutchAuction = 9565;
    uint256 public tokensMintedForDutchAuction = 0;

    uint256 public tokensReservedForReserved = 99;
    uint256 public tokensMintedForReserved = 0;

    string internal baseTokenURI;
    string internal baseTokenURI_EXT;

    event MintAsOwner(address indexed to, uint256 tokenId);
    event MintWhitelist(address indexed to, uint256 tokenId);
    event MintDutchAuction(address indexed to, uint256 price, uint256 tokenId);
    event MintRolloverSale(address indexed to, uint256 tokenId);

    // Modifiers
    modifier onlySender() {
        require(msg.sender == tx.origin, "No smart contracts!");
        _;
    }

    // Contract Governance
    mapping(address => bool) internal shareholderToUnlockGovernance;

    address internal Shareholder_1 = 0xAB2c989e7eD65f558a2f5DF46968B82dC7Fa8F53;
    address internal Shareholder_2 = 0x8173FAe402f05d62B8B5ccAAD09CA4EDFcBA3fb4;
    address internal Shareholder_3 = 0x333e7e956FeA76dA56c6a2EA7DE97d0B043c54bb;

    uint256 internal Shareholder_1_Share = 90;
    uint256 internal Shareholder_2_Share = 1;
    uint256 internal Shareholder_3_Share = 9;

    // Receive Ether
    event Received(address from, uint256 amount);

    receive() external payable {
        emit Received(msg.sender, msg.value);
    }

    // Withdraw Ether
    function withdrawEther() public onlyOwner {
        uint256 _totalETH = address(this).balance;

        uint256 _Shareholder_1_ETH = ((_totalETH * Shareholder_1_Share) / 100);
        uint256 _Shareholder_2_ETH = ((_totalETH * Shareholder_2_Share) / 100);
        uint256 _Shareholder_3_ETH = ((_totalETH * Shareholder_3_Share) / 100);

        payable(Shareholder_1).transfer(_Shareholder_1_ETH);
        payable(Shareholder_2).transfer(_Shareholder_2_ETH);
        payable(Shareholder_3).transfer(_Shareholder_3_ETH);
    }

    function viewWithdrawEtherAmounts()
        public
        view
        onlyOwner
        returns (uint256[] memory)
    {
        uint256 _totalETH = address(this).balance;
        uint256[] memory _ethToSendArray = new uint256[](9);

        uint256 _Shareholder_1_ETH = ((_totalETH * Shareholder_1_Share) / 100);
        uint256 _Shareholder_2_ETH = ((_totalETH * Shareholder_2_Share) / 100);
        uint256 _Shareholder_3_ETH = ((_totalETH * Shareholder_3_Share) / 100);

        _ethToSendArray[0] = _Shareholder_1_ETH;
        _ethToSendArray[1] = _Shareholder_2_ETH;
        _ethToSendArray[2] = _Shareholder_3_ETH;

        return _ethToSendArray;
    }

    // Emergency Withdraw -- Tested and working!
    // Governance Functions
    // It looks super hardcoded but I guess it's okay for something like this.
    modifier onlyShareholder() {
        require(
            msg.sender == Shareholder_1 ||
                msg.sender == Shareholder_2 ||
                msg.sender == Shareholder_3,
            "You are not a shareholder!"
        );
        _;
    }

    function unlockEmergencyFunctionAsShareholder() public onlyShareholder {
        shareholderToUnlockGovernance[msg.sender] = true;
    }

    modifier emergencyOnly() {
        require(
            shareholderToUnlockGovernance[Shareholder_1] &&
                shareholderToUnlockGovernance[Shareholder_2] &&
                shareholderToUnlockGovernance[Shareholder_3],
            "The emergency function has not been unlocked!"
        );
        _;
    }

    function emergencyWithdrawEther() public onlyOwner emergencyOnly {
        payable(msg.sender).transfer(address(this).balance);
    }

    // Check Governance View function
    function checkGovernanceStatus(address address_)
        public
        view
        onlyShareholder
        returns (bool)
    {
        return shareholderToUnlockGovernance[address_];
    }

    ////////// Minting /////////////

    // Owner Mint
    function ownerMintMany(address address_, uint256 amount_) public onlyOwner {
        require(
            tokensReservedForReserved >= tokensMintedForReserved + amount_,
            "No more reserved tokens!"
        );

        tokensMintedForReserved += amount_; // increment tokens minted for reserved

        for (uint256 i = 0; i < amount_; i++) {
            uint256 _mintId = totalSupply();
            _mint(address_, _mintId);

            emit MintAsOwner(address_, _mintId);
        }
    }

    function ownerMint(address address_) public onlyOwner {
        require(
            tokensReservedForReserved > tokensMintedForReserved,
            "No more reserved tokens!"
        );

        tokensMintedForReserved++; // increment tokens minted for reserved

        uint256 _mintId = totalSupply();
        _mint(address_, _mintId);

        emit MintAsOwner(address_, _mintId);
    }

    // Whitelist Items
    uint256 public addressesWhitelisted = 0; // tracker for whitelist amount
    uint256 public whiteListPrice = 0 ether; // fixed price for whitelisted addresses
    mapping(address => uint256) public addressToWhitelistQuota; // mapping for whitelist to quota
    mapping(address => uint256) public addressToWhitelistMinted; // mapping for whitelist to minted
    bool public whiteListMintEnabled;

    modifier whiteListMint() {
        require(whiteListMintEnabled, "Whitelist Mints are not enabled yet!");
        _;
    }

    // Whitelist Functions
    function setWhiteListMintStatus(bool bool_) public onlyOwner {
        whiteListMintEnabled = bool_;
    }

    function addAddressToWhitelist(address[] memory addresses_)
        public
        onlyOwner
    {
        uint256 _amountOfAddresses = addresses_.length;
        for (uint256 i = 0; i < _amountOfAddresses; i++) {
            addressToWhitelistQuota[addresses_[i]] = 1; // record the whitelisted address and quota
        }
        addressesWhitelisted += _amountOfAddresses; // increase tracker by amount of whitelisted addreses
    }

    function checkWhitelistArrayIsUnique(address[] memory addresses_)
        public
        view
        onlyOwner
        returns (bool)
    {
        uint256 _amountOfAddresses = addresses_.length;
        for (uint256 i = 0; i < _amountOfAddresses; i++) {
            if (addressToWhitelistQuota[addresses_[i]] == 1) {
                return false;
            }
        }
        return true;
    }

    function checkWhitelistArrayIsAllUnclaimed(address[] memory addresses_)
        public
        view
        onlyOwner
        returns (bool)
    {
        uint256 _amountOfAddresses = addresses_.length;
        for (uint256 i = 0; i < _amountOfAddresses; i++) {
            if (addressToWhitelistMinted[msg.sender] != 0) {
                return false;
            }
        }
        return true;
    }

    function mintWhitelist() public payable onlySender whiteListMint {
        require(
            addressToWhitelistQuota[msg.sender] > 0,
            "You are not whitelisted!"
        );
        require(
            addressToWhitelistMinted[msg.sender] == 0,
            "You have no more whitelist mints left!"
        );
        require(msg.value == whiteListPrice, "Invalid value sent!");
        require(
            tokensReservedForWhitelist > tokensMintedForWhitelist,
            "No more whitelist tokens!"
        );
        require(maxTokens > totalSupply(), "No more tokens remaining!");

        addressToWhitelistMinted[msg.sender]--; // increments the tracker so that they cannot mint again
        tokensMintedForWhitelist++; // increments tracker of how many tokens have been minted from whitelist

        uint256 _mintId = totalSupply();
        _mint(msg.sender, _mintId);

        emit MintWhitelist(msg.sender, _mintId);
    }

    // Merkle Tree Whitelisting
    bytes32 public merkleRoot =
        0x57c359b719e25852692060d2b4d8ce73ad9fea9406622eab2d3cb352cf46373c;

    function setMerkleRoot(bytes32 merkleRoot_) public onlyOwner {
        merkleRoot = merkleRoot_;
    }

    function isMerkleWhitelisted(bytes32[] memory proof_)
        public
        view
        returns (bool)
    {
        bytes32 _leaf = keccak256(abi.encodePacked(msg.sender));

        for (uint256 i = 0; i < proof_.length; i++) {
            _leaf = _leaf < proof_[i]
                ? keccak256(abi.encodePacked(_leaf, proof_[i]))
                : keccak256(abi.encodePacked(proof_[i], _leaf));
        }
        return _leaf == merkleRoot;
    }

    function mintWhitelistMerkleTree(bytes32[] memory proof_)
        public
        payable
        onlySender
        whiteListMint
    {
        require(isMerkleWhitelisted(proof_), "You are not whitelisted!");
        require(
            addressToWhitelistMinted[msg.sender] == 0,
            "You have no more whitelist mints left!"
        );
        require(msg.value == whiteListPrice, "Invalid value sent!");
        require(
            tokensReservedForWhitelist > tokensMintedForWhitelist,
            "No more whitelist tokens!"
        );
        require(maxTokens > totalSupply(), "No more tokens remaining!");

        addressToWhitelistMinted[msg.sender]++; // increments the tracker so that they cannot mint again
        tokensMintedForWhitelist++; // increments tracker of how many tokens have been minted from whitelist

        uint256 _mintId = totalSupply();
        _mint(msg.sender, _mintId);

        emit MintWhitelist(msg.sender, _mintId);
    }

    // Dutch Auction Items
    uint256 public dutchEndingPrice = 0.01 ether;
    uint256 public dutchPriceAdditional = 0.99 ether; // record the additional price of dutch and deduct
    uint256 public dutchStartTime; // record the start time
    uint256 public dutchDuration; // record the duration
    uint256 public dutchEndTime; // record the end time
    bool public dutchAuctionStarted; // boolean for dutch auction

    modifier dutchAuction() {
        require(
            dutchAuctionStarted && block.timestamp >= dutchStartTime,
            "Dutch auction has not started yet!"
        );
        _;
    }

    function setDutchAuctionStartStatus(bool bool_) public onlyOwner {
        dutchAuctionStarted = bool_;
    }

    // Dutch Action Initialize
    function setDutchAuction(
        uint256 dutchPriceAdditional_,
        uint256 dutchStartTime_,
        uint256 dutchDuration_
    ) public onlyOwner {
        dutchPriceAdditional = dutchPriceAdditional_; // set the additional price of dutch to deduct
        dutchStartTime = dutchStartTime_; // record the current start time as UNIX timestamp
        dutchDuration = dutchDuration_; // record the duration of the dutch in order to deduct
        dutchEndTime = dutchStartTime.add(dutchDuration); // record for safekeeping the ending time
    }

    // Dutch Auction Functions
    function getTimeElapsed() public view returns (uint256) {
        return
            dutchStartTime > 0
                ? dutchStartTime.add(dutchDuration) >= block.timestamp
                    ? block.timestamp.sub(dutchStartTime)
                    : dutchDuration
                : 0; // this value will end at dutchDuration as maximum.
    }

    function getTimeRemaining() public view returns (uint256) {
        return dutchDuration.sub(getTimeElapsed());
    }

    function getAdditionalPrice() public view returns (uint256) {
        return
            dutchDuration.sub(getTimeElapsed()).mul(dutchPriceAdditional).div(
                dutchDuration
            ); // magic equation to calculate additional price on top of ending price
    }

    function getCurrentDutchPrice() public view returns (uint256) {
        return dutchEndingPrice.add(getAdditionalPrice());
    }

    // untested
    function mintDutchAuctionMany(uint256 amount_)
        public
        payable
        onlySender
        dutchAuction
    {
        require(
            tokensReservedForDutchAuction >=
                tokensMintedForDutchAuction + amount_,
            "No more tokens for Dutch Auction!"
        );
        require(
            maxTokens >= totalSupply() + amount_,
            "No more tokens remaining!"
        );
        require(50 >= amount_, "You can only mint up to 50 per transaction!");
        require(
            msg.value >= getCurrentDutchPrice() * amount_,
            "Invalid value sent!"
        );

        tokensMintedForDutchAuction += amount_; // increase tokens minted for dutch auction tracker

        for (uint256 i = 0; i < amount_; i++) {
            uint256 _mintId = totalSupply();
            uint256 _currentPrice = getCurrentDutchPrice();
            _mint(msg.sender, _mintId);

            emit MintDutchAuction(msg.sender, _currentPrice, _mintId);
        }
    }

    function mintDutchAuction() public payable onlySender dutchAuction {
        require(
            tokensReservedForDutchAuction > tokensMintedForDutchAuction,
            "No more tokens for Dutch Auction!"
        );
        require(maxTokens > totalSupply(), "No more tokens remaining!");
        require(msg.value >= getCurrentDutchPrice(), "Invalid value sent!");

        tokensMintedForDutchAuction++; // increase tokens minted for dutch auction tracker

        uint256 _mintId = totalSupply();
        uint256 _currentPrice = getCurrentDutchPrice();
        _mint(msg.sender, _mintId);

        emit MintDutchAuction(msg.sender, _currentPrice, _mintId);
    }

    // Rollover Sale Items
    uint256 public rolloverSalePrice;
    uint256 public rolloverSaleStartTime;
    bool public rolloverSaleStarted;
    uint256 public rolloverSaleTokensMinted;

    modifier rolloverSale() {
        require(
            rolloverSaleStarted && block.timestamp >= rolloverSaleStartTime,
            "Rollover sale has not started yet!"
        );
        _;
    }

    // Rollover Sale Functions
    function setRolloverSalePrice(uint256 price_) public onlyOwner {
        rolloverSalePrice = price_;
    }

    function setRolloverSaleStatus(uint256 rolloverSaleStartTime_, bool bool_)
        public
        onlyOwner
    {
        require(
            rolloverSalePrice != 0,
            "You have not set a rollover sale price!"
        );
        rolloverSaleStartTime = rolloverSaleStartTime_;
        rolloverSaleStarted = bool_;
    }

    function mintRolloverSaleMany(uint256 amount_)
        public
        payable
        onlySender
        rolloverSale
    {
        require(
            maxTokens >= totalSupply() + amount_,
            "No remaining tokens left!"
        );
        require(5 >= amount_, "You can only mint up to 5 per transaction!");
        require(
            msg.value == rolloverSalePrice * amount_,
            "Invalid value sent!"
        );

        rolloverSaleTokensMinted += amount_; // add to tracker of public sale tokens minted

        for (uint256 i = 0; i < amount_; i++) {
            uint256 _mintId = totalSupply();
            _mint(msg.sender, _mintId);

            emit MintRolloverSale(msg.sender, _mintId);
        }
    }

    function mintRolloverSale() public payable onlySender rolloverSale {
        require(maxTokens > totalSupply(), "No remaining tokens left!");
        require(msg.value == rolloverSalePrice, "Invalid value sent!");

        rolloverSaleTokensMinted++; // add to tracker of public sale tokens minted

        uint256 _mintId = totalSupply();
        _mint(msg.sender, _mintId);

        emit MintRolloverSale(msg.sender, _mintId);
    }

    // Mint Pass Mint Function
    function MintPassClaim(uint256 tokenId) public dutchAuction {
        // Require the claimer to have at least one Banker Mint Pass NFT from the specified contract
        require(bankers.ownerOf(tokenId) == msg.sender, "Not Mint Pass owner");
        // Set limit to no more than MINT_PER_MINT_PASS times of the owned Harems
        require(
            super.balanceOf(msg.sender) <
                bankers.balanceOf(msg.sender) * MINT_PER_MINT_PASS,
            "Purchase more Mint Passes"
        );
        require(super.totalSupply() < maxTokens, "Maximum supply reached.");
        uint256 _mintId = totalSupply();

        _mint(msg.sender, _mintId);
    }

    // New White List Functons

    mapping(address => uint8) private _allowList;

    function setAllowList(address[] calldata addresses, uint8 numAllowedToMint)
        external
        onlyOwner
    {
        for (uint256 i = 0; i < addresses.length; i++) {
            _allowList[addresses[i]] = numAllowedToMint;
        }
    }

    function numAvailableToMint(address addr) external view returns (uint8) {
        return _allowList[addr];
    }

    function mintAllowList(uint8 numberOfTokens) public whiteListMint {
        uint256 ts = totalSupply();
        require(
            numberOfTokens <= _allowList[msg.sender],
            "Exceeded max available to purchase"
        );
        require(super.totalSupply() < maxTokens, "Maximum supply reached.");

        _allowList[msg.sender] -= numberOfTokens;
        for (uint256 i = 0; i < numberOfTokens; i++) {
            _mint(msg.sender, ts + i);
        }
    }

    // General NFT Administration
    function setBaseTokenURI(string memory uri_) external onlyOwner {
        baseTokenURI = uri_;
    }

    function setBaseTokenURI_EXT(string memory ext_) external onlyOwner {
        baseTokenURI_EXT = ext_;
    }

    function tokenURI(uint256 tokenId_)
        public
        view
        override
        returns (string memory)
    {
        require(_exists(tokenId_), "Query for non-existent token!");
        return
            string(
                abi.encodePacked(
                    baseTokenURI,
                    Strings.toString(tokenId_),
                    baseTokenURI_EXT
                )
            );
    }

    function walletOfOwner(address address_)
        public
        view
        returns (uint256[] memory)
    {
        uint256 _balance = balanceOf(address_); // get balance of address
        uint256[] memory _tokenIds = new uint256[](_balance); // initialize array
        for (uint256 i = 0; i < _balance; i++) {
            _tokenIds[i] = tokenOfOwnerByIndex(address_, i);
        }
        return _tokenIds;
    }
}

File 2 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() {
        _setOwner(_msgSender());
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

File 4 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 5 of 14 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 8 of 14 : 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 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) {
        return msg.data;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintAsOwner","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"price","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintDutchAuction","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintRolloverSale","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintWhitelist","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Received","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"MintPassClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses_","type":"address[]"}],"name":"addAddressToWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToWhitelistMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressToWhitelistQuota","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"addressesWhitelisted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"checkGovernanceStatus","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses_","type":"address[]"}],"name":"checkWhitelistArrayIsAllUnclaimed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses_","type":"address[]"}],"name":"checkWhitelistArrayIsUnique","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchAuctionStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchEndTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchEndingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchPriceAdditional","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dutchStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getAdditionalPrice","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":[],"name":"getCurrentDutchPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimeElapsed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTimeRemaining","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":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"isMerkleWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"numberOfTokens","type":"uint8"}],"name":"mintAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintDutchAuction","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintDutchAuctionMany","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintRolloverSale","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"mintRolloverSaleMany","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof_","type":"bytes32[]"}],"name":"mintWhitelistMerkleTree","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"numAvailableToMint","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"},{"internalType":"uint256","name":"amount_","type":"uint256"}],"name":"ownerMintMany","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rolloverSalePrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rolloverSaleStartTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rolloverSaleStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rolloverSaleTokensMinted","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint8","name":"numAllowedToMint","type":"uint8"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri_","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"ext_","type":"string"}],"name":"setBaseTokenURI_EXT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"dutchPriceAdditional_","type":"uint256"},{"internalType":"uint256","name":"dutchStartTime_","type":"uint256"},{"internalType":"uint256","name":"dutchDuration_","type":"uint256"}],"name":"setDutchAuction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setDutchAuctionStartStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot_","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"price_","type":"uint256"}],"name":"setRolloverSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rolloverSaleStartTime_","type":"uint256"},{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setRolloverSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"bool_","type":"bool"}],"name":"setWhiteListMintStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","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":"tokensMintedForDutchAuction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMintedForReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensMintedForWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensReservedForDutchAuction","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensReservedForReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensReservedForWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockEmergencyFunctionAsShareholder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"viewWithdrawEtherAmounts","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"address_","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListMintEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whiteListPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

600b80546001600160a01b03199081167320d4ddb3d16addca064b7126f4b3cee5437d4194179091556001600c819055612710600d55610150600e556000600f81905561255d60105560118190556063601255601381905560178054841673ab2c989e7ed65f558a2f5df46968b82dc7fa8f53179055601880548416738173fae402f05d62b8b5ccaad09ca4edfcba3fb41790556019805490931673333e7e956fea76da56c6a2ea7de97d0b043c54bb17909255605a601a55601b556009601c55601d819055601e8190557f57c359b719e25852692060d2b4d8ce73ad9fea9406622eab2d3cb352cf46373c602255662386f26fc10000602355670dbd2fc137a30000602455601460808181527f556e62616e6b65642042616e6b657273204e465400000000000000000000000060a0908152610100604052600760c09081526642616e6b65727360c81b60e052919391926200015e929190620001ed565b50805162000174906001906020840190620001ed565b505050620001916200018b6200019760201b60201c565b6200019b565b620002d0565b3390565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001fb9062000293565b90600052602060002090601f0160209004810192826200021f57600085556200026a565b82601f106200023a57805160ff19168380011785556200026a565b828001600101855582156200026a579182015b828111156200026a5782518255916020019190600101906200024d565b50620002789291506200027c565b5090565b5b808211156200027857600081556001016200027d565b600181811c90821680620002a857607f821691505b60208210811415620002ca57634e487b7160e01b600052602260045260246000fd5b50919050565b6145dd80620002e06000396000f3fe60806040526004361061044b5760003560e01c8063715018a611610234578063c507104a1161012e578063dac6270d116100b6578063e07353ae1161007a578063e07353ae14610c7b578063e831574214610c91578063e985e9c514610ca7578063f2fde38b14610cf0578063fc790b1e14610d1057600080fd5b8063dac6270d14610c01578063db8362c514610c16578063dc92f8f014610c2c578063dd79331f14610c41578063ddff5b1c14610c5b57600080fd5b8063cb062e47116100fd578063cb062e4714610b6b578063d345ad7214610b7e578063d3bcbb3c14610b94578063d577fec614610bb4578063d854d1a214610be157600080fd5b8063c507104a14610af5578063c77eb89c14610b0b578063c82da95414610b2b578063c87b56dd14610b4b57600080fd5b806395d89b41116101bc578063b88d4fde11610180578063b88d4fde14610a3a578063b95032f914610a5a578063be36538314610a74578063c04a283614610a94578063c2dd690314610adf57600080fd5b806395d89b41146109ba578063a22cb465146109cf578063a4979a9c146109ef578063a64e450014610a05578063a69d9c4714610a2557600080fd5b80637cb64759116102035780637cb64759146109345780638243a29c146109545780638295784d1461096957806388685cbd146109895780638da5cb5b1461099c57600080fd5b8063715018a6146108de5780637362377b146108f35780637756837c1461090857806378934e831461091e57600080fd5b806330176e131161034557806348190ff6116102cd578063514dba1e11610291578063514dba1e1461085c5780635cbd3a7e146108725780636352211e1461088857806368575685146108a857806370a08231146108be57600080fd5b806348190ff6146107db5780634e464238146107fb5780634f6ccce7146108115780634faa2d541461083157806350339ace1461084657600080fd5b806340378688116103145780634037868814610745578063404907ea1461076557806342842e0e1461077b578063438b63001461079b57806345f6566e146107bb57600080fd5b806330176e13146106d857806331a8a44d146106f8578063324ce9841461070b5780633cc090de1461072b57600080fd5b806315b6ff27116103d357806323b872dd1161039757806323b872dd1461065a578063275f3a2f1461067a5780632d3df31f1461069a5780632eb4a7ab146106a25780632f745c59146106b857600080fd5b806315b6ff27146105d757806318160ddd146105ed5780631e3bcc8e1461060257806322f14762146106225780632379c2851461064457600080fd5b806306fdde031161041a57806306fdde0314610528578063075026d01461054a578063081812fc1461055f578063095ea7b3146105975780630f169517146105b757600080fd5b806301ffc9a71461048f57806302ffaed1146104c457806305dc0487146104e657806305fab7a5146104ee57600080fd5b3661048a57604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561049b57600080fd5b506104af6104aa366004613e73565b610d18565b60405190151581526020015b60405180910390f35b3480156104d057600080fd5b506104e46104df366004613eab565b610d43565b005b6104e4610d8d565b3480156104fa57600080fd5b5061051a610509366004613b0e565b602080526000908152604090205481565b6040519081526020016104bb565b34801561053457600080fd5b5061053d610ec1565b6040516104bb91906140e8565b34801561055657600080fd5b5061051a610f53565b34801561056b57600080fd5b5061057f61057a366004613e5b565b610f86565b6040516001600160a01b0390911681526020016104bb565b3480156105a357600080fd5b506104e46105b2366004613c6f565b61101b565b3480156105c357600080fd5b506104af6105d2366004613d19565b611131565b3480156105e357600080fd5b5061051a60265481565b3480156105f957600080fd5b5060085461051a565b34801561060e57600080fd5b506104e461061d366004613b0e565b6111e8565b34801561062e57600080fd5b506106376112c7565b6040516104bb91906140a4565b34801561065057600080fd5b5061051a60105481565b34801561066657600080fd5b506104e4610675366004613b7e565b611409565b34801561068657600080fd5b506104e4610695366004613f09565b61143a565b6104e46114dc565b3480156106ae57600080fd5b5061051a60225481565b3480156106c457600080fd5b5061051a6106d3366004613c6f565b6116b7565b3480156106e457600080fd5b506104e46106f3366004613eab565b61174d565b6104e4610706366004613e5b565b61178a565b34801561071757600080fd5b506104e4610726366004613c6f565b61194c565b34801561073757600080fd5b506021546104af9060ff1681565b34801561075157600080fd5b506104e4610760366004613e5b565b611a60565b34801561077157600080fd5b5061051a602a5481565b34801561078757600080fd5b506104e4610796366004613b7e565b611a8f565b3480156107a757600080fd5b506106376107b6366004613b0e565b611aaa565b3480156107c757600080fd5b506104e46107d6366004613e5b565b611b68565b3480156107e757600080fd5b506104e46107f6366004613e41565b611da2565b34801561080757600080fd5b5061051a60135481565b34801561081d57600080fd5b5061051a61082c366004613e5b565b611ddf565b34801561083d57600080fd5b5061051a611e80565b34801561085257600080fd5b5061051a600f5481565b34801561086857600080fd5b5061051a60115481565b34801561087e57600080fd5b5061051a601d5481565b34801561089457600080fd5b5061057f6108a3366004613e5b565b611ec4565b3480156108b457600080fd5b5061051a601e5481565b3480156108ca57600080fd5b5061051a6108d9366004613b0e565b611f3b565b3480156108ea57600080fd5b506104e4611fc2565b3480156108ff57600080fd5b506104e4611ff8565b34801561091457600080fd5b5061051a60235481565b34801561092a57600080fd5b5061051a60125481565b34801561094057600080fd5b506104e461094f366004613e5b565b612135565b34801561096057600080fd5b506104e4612164565b34801561097557600080fd5b506104e4610984366004613c9a565b612204565b6104e4610997366004613dba565b6122b6565b3480156109a857600080fd5b50600a546001600160a01b031661057f565b3480156109c657600080fd5b5061053d612483565b3480156109db57600080fd5b506104e46109ea366004613c3b565b612492565b3480156109fb57600080fd5b5061051a600e5481565b348015610a1157600080fd5b506104e4610a20366004613f2b565b612557565b348015610a3157600080fd5b5061051a6125a2565b348015610a4657600080fd5b506104e4610a55366004613bbe565b6125b8565b348015610a6657600080fd5b50602b546104af9060ff1681565b348015610a8057600080fd5b506104af610a8f366004613b0e565b6125ea565b348015610aa057600080fd5b50610acd610aaf366004613b0e565b6001600160a01b03166000908152602d602052604090205460ff1690565b60405160ff90911681526020016104bb565b348015610aeb57600080fd5b5061051a60255481565b348015610b0157600080fd5b5061051a60275481565b348015610b1757600080fd5b506104af610b26366004613dba565b612690565b348015610b3757600080fd5b506104e4610b46366004613e41565b6127dc565b348015610b5757600080fd5b5061053d610b66366004613e5b565b612819565b6104e4610b79366004613e5b565b6128b5565b348015610b8a57600080fd5b5061051a602c5481565b348015610ba057600080fd5b506104e4610baf366004613d19565b612a95565b348015610bc057600080fd5b5061051a610bcf366004613b0e565b601f6020526000908152604090205481565b348015610bed57600080fd5b506104af610bfc366004613d19565b612b4d565b348015610c0d57600080fd5b5061051a612bb7565b348015610c2257600080fd5b5061051a60245481565b348015610c3857600080fd5b506104e4612bc4565b348015610c4d57600080fd5b506028546104af9060ff1681565b348015610c6757600080fd5b506104e4610c76366004613f56565b612ce9565b348015610c8757600080fd5b5061051a60295481565b348015610c9d57600080fd5b5061051a600d5481565b348015610cb357600080fd5b506104af610cc2366004613b46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610cfc57600080fd5b506104e4610d0b366004613b0e565b612e44565b6104e4612edc565b60006001600160e01b0319821663780e9d6360e01b1480610d3d5750610d3d82612ff9565b92915050565b600a546001600160a01b03163314610d765760405162461bcd60e51b8152600401610d6d906142ec565b60405180910390fd5b8051610d899060159060208401906139fc565b5050565b333214610dac5760405162461bcd60e51b8152600401610d6d906142bf565b60285460ff168015610dc057506025544210155b610ddc5760405162461bcd60e51b8152600401610d6d906140fb565b60115460105411610dff5760405162461bcd60e51b8152600401610d6d90614321565b600854600d5411610e225760405162461bcd60e51b8152600401610d6d9061418f565b610e2a6125a2565b341015610e495760405162461bcd60e51b8152600401610d6d90614250565b60118054906000610e598361450b565b91905055506000610e6960085490565b90506000610e756125a2565b9050610e813383613049565b604080518281526020810184905233917fdaa045d42a3e393e68713f4d86f01a118383dbd19b795912cfd9f4394bc3b45091015b60405180910390a25050565b606060008054610ed0906144d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610efc906144d0565b8015610f495780601f10610f1e57610100808354040283529160200191610f49565b820191906000526020600020905b815481529060010190602001808311610f2c57829003601f168201915b5050505050905090565b6000610f81602654610f7b602454610f75610f6c611e80565b60265490613197565b906131aa565b906131b6565b905090565b6000818152600260205260408120546001600160a01b0316610fff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d6d565b506000908152600460205260409020546001600160a01b031690565b600061102682611ec4565b9050806001600160a01b0316836001600160a01b031614156110945760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d6d565b336001600160a01b03821614806110b057506110b08133610cc2565b6111225760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d6d565b61112c83836131c2565b505050565b600a546000906001600160a01b0316331461115e5760405162461bcd60e51b8152600401610d6d906142ec565b815160005b818110156111dc57601f600085838151811061118f57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054600114156111ca575060009392505050565b806111d48161450b565b915050611163565b5060019150505b919050565b600a546001600160a01b031633146112125760405162461bcd60e51b8152600401610d6d906142ec565b601354601254116112605760405162461bcd60e51b81526020600482015260186024820152774e6f206d6f726520726573657276656420746f6b656e732160401b6044820152606401610d6d565b601380549060006112708361450b565b9190505550600061128060085490565b905061128c8282613049565b816001600160a01b03167f82bff94c69b4a624bb0d25e15735cf4189fdc4706e6b6806c94886b0009f2bdf82604051610eb591815260200190565b600a546060906001600160a01b031633146112f45760405162461bcd60e51b8152600401610d6d906142ec565b6040805160098082526101408201909252479160009190602082016101208036833701905050905060006064601a548461132e9190614434565b6113389190614420565b905060006064601b548561134c9190614434565b6113569190614420565b905060006064601c548661136a9190614434565b6113749190614420565b9050828460008151811061139857634e487b7160e01b600052603260045260246000fd5b60200260200101818152505081846001815181106113c657634e487b7160e01b600052603260045260246000fd5b60200260200101818152505080846002815181106113f457634e487b7160e01b600052603260045260246000fd5b60209081029190910101525091935050505090565b6114133382613230565b61142f5760405162461bcd60e51b8152600401610d6d90614362565b61112c838383613327565b600a546001600160a01b031633146114645760405162461bcd60e51b8152600401610d6d906142ec565b6029546114c35760405162461bcd60e51b815260206004820152602760248201527f596f752068617665206e6f7420736574206120726f6c6c6f7665722073616c656044820152662070726963652160c81b6064820152608401610d6d565b602a91909155602b805460ff1916911515919091179055565b3332146114fb5760405162461bcd60e51b8152600401610d6d906142bf565b60215460ff1661151d5760405162461bcd60e51b8152600401610d6d9061420c565b336000908152601f60205260409020546115745760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b6044820152606401610d6d565b336000908152602080526040902054156115a05760405162461bcd60e51b8152600401610d6d906141c6565b601e5434146115c15760405162461bcd60e51b8152600401610d6d90614250565b600f54600e54116116105760405162461bcd60e51b81526020600482015260196024820152784e6f206d6f72652077686974656c69737420746f6b656e732160381b6044820152606401610d6d565b600854600d54116116335760405162461bcd60e51b8152600401610d6d9061418f565b336000908152602080526040812080549161164d836144b9565b9091555050600f80549060006116628361450b565b9190505550600061167260085490565b905061167e3382613049565b60405181815233907fda47e427fb170a95b4539ea720c3caf8ad5a319335b1a85fb3a8db83a61159c0906020015b60405180910390a250565b60006116c283611f3b565b82106117245760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d6d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146117775760405162461bcd60e51b8152600401610d6d906142ec565b8051610d899060149060208401906139fc565b3332146117a95760405162461bcd60e51b8152600401610d6d906142bf565b602b5460ff1680156117bd5750602a544210155b6117d95760405162461bcd60e51b8152600401610d6d9061427d565b806117e360085490565b6117ed9190614408565b600d54101561183a5760405162461bcd60e51b81526020600482015260196024820152784e6f2072656d61696e696e6720746f6b656e73206c6566742160381b6044820152606401610d6d565b806005101561189e5760405162461bcd60e51b815260206004820152602a60248201527f596f752063616e206f6e6c79206d696e7420757020746f203520706572207472604482015269616e73616374696f6e2160b01b6064820152608401610d6d565b806029546118ac9190614434565b34146118ca5760405162461bcd60e51b8152600401610d6d90614250565b80602c60008282546118dc9190614408565b90915550600090505b81811015610d895760006118f860085490565b90506119043382613049565b60405181815233907f84c3d13e58f975be443cb619b0cd52382e886629cd5f453f4d9c2b8e45de10959060200160405180910390a250806119448161450b565b9150506118e5565b600a546001600160a01b031633146119765760405162461bcd60e51b8152600401610d6d906142ec565b806013546119849190614408565b60125410156119d05760405162461bcd60e51b81526020600482015260186024820152774e6f206d6f726520726573657276656420746f6b656e732160401b6044820152606401610d6d565b80601360008282546119e29190614408565b90915550600090505b8181101561112c5760006119fe60085490565b9050611a0a8482613049565b836001600160a01b03167f82bff94c69b4a624bb0d25e15735cf4189fdc4706e6b6806c94886b0009f2bdf82604051611a4591815260200190565b60405180910390a25080611a588161450b565b9150506119eb565b600a546001600160a01b03163314611a8a5760405162461bcd60e51b8152600401610d6d906142ec565b602955565b61112c838383604051806020016040528060008152506125b8565b60606000611ab783611f3b565b905060008167ffffffffffffffff811115611ae257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b0b578160200160208202803683370190505b50905060005b82811015611b6057611b2385826116b7565b828281518110611b4357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611b588161450b565b915050611b11565b509392505050565b60285460ff168015611b7c57506025544210155b611b985760405162461bcd60e51b8152600401610d6d906140fb565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015611bdc57600080fd5b505afa158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c149190613b2a565b6001600160a01b031614611c605760405162461bcd60e51b81526020600482015260136024820152722737ba1026b4b73a102830b9b99037bbb732b960691b6044820152606401610d6d565b600c54600b546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015611ca657600080fd5b505afa158015611cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cde9190613ef1565b611ce89190614434565b611cf133611f3b565b10611d3e5760405162461bcd60e51b815260206004820152601960248201527f5075726368617365206d6f7265204d696e7420506173736573000000000000006044820152606401610d6d565b600d5460085410611d8b5760405162461bcd60e51b815260206004820152601760248201527626b0bc34b6bab69039bab838363c903932b0b1b432b21760491b6044820152606401610d6d565b6000611d9660085490565b9050610d893382613049565b600a546001600160a01b03163314611dcc5760405162461bcd60e51b8152600401610d6d906142ec565b6021805460ff1916911515919091179055565b6000611dea60085490565b8210611e4d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d6d565b60088281548110611e6e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60008060255411611e915750600090565b42611ea96026546025546134d290919063ffffffff16565b1015611eb6575060265490565b602554610f81904290613197565b6000818152600260205260408120546001600160a01b031680610d3d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d6d565b60006001600160a01b038216611fa65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d6d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611fec5760405162461bcd60e51b8152600401610d6d906142ec565b611ff660006134de565b565b600a546001600160a01b031633146120225760405162461bcd60e51b8152600401610d6d906142ec565b601a5447906000906064906120379084614434565b6120419190614420565b905060006064601b54846120559190614434565b61205f9190614420565b905060006064601c54856120739190614434565b61207d9190614420565b6017546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156120b8573d6000803e3d6000fd5b506018546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156120f3573d6000803e3d6000fd5b506019546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561212e573d6000803e3d6000fd5b5050505050565b600a546001600160a01b0316331461215f5760405162461bcd60e51b8152600401610d6d906142ec565b602255565b6017546001600160a01b031633148061218757506018546001600160a01b031633145b8061219c57506019546001600160a01b031633145b6121e85760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f742061207368617265686f6c646572210000000000006044820152606401610d6d565b336000908152601660205260409020805460ff19166001179055565b600a546001600160a01b0316331461222e5760405162461bcd60e51b8152600401610d6d906142ec565b60005b828110156122b05781602d600086868581811061225e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906122739190613b0e565b6001600160a01b031681526020810191909152604001600020805460ff191660ff92909216919091179055806122a88161450b565b915050612231565b50505050565b3332146122d55760405162461bcd60e51b8152600401610d6d906142bf565b60215460ff166122f75760405162461bcd60e51b8152600401610d6d9061420c565b61230081612690565b6123475760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b6044820152606401610d6d565b336000908152602080526040902054156123735760405162461bcd60e51b8152600401610d6d906141c6565b601e5434146123945760405162461bcd60e51b8152600401610d6d90614250565b600f54600e54116123e35760405162461bcd60e51b81526020600482015260196024820152784e6f206d6f72652077686974656c69737420746f6b656e732160381b6044820152606401610d6d565b600854600d54116124065760405162461bcd60e51b8152600401610d6d9061418f565b33600090815260208052604081208054916124208361450b565b9091555050600f80549060006124358361450b565b9190505550600061244560085490565b90506124513382613049565b60405181815233907fda47e427fb170a95b4539ea720c3caf8ad5a319335b1a85fb3a8db83a61159c090602001610eb5565b606060018054610ed0906144d0565b6001600160a01b0382163314156124eb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d6d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146125815760405162461bcd60e51b8152600401610d6d906142ec565b60248390556025829055602681905561259a82826134d2565b602755505050565b6000610f816125af610f53565b602354906134d2565b6125c23383613230565b6125de5760405162461bcd60e51b8152600401610d6d90614362565b6122b084848484613530565b6017546000906001600160a01b031633148061261057506018546001600160a01b031633145b8061262557506019546001600160a01b031633145b6126715760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f742061207368617265686f6c646572210000000000006044820152606401610d6d565b506001600160a01b031660009081526016602052604090205460ff1690565b6040516bffffffffffffffffffffffff193360601b166020820152600090819060340160405160208183030381529060405280519060200120905060005b83518110156127d1578381815181106126f757634e487b7160e01b600052603260045260246000fd5b602002602001015182106127635783818151811061272557634e487b7160e01b600052603260045260246000fd5b602002602001015182604051602001612748929190918252602082015260400190565b604051602081830303815290604052805190602001206127bd565b8184828151811061278457634e487b7160e01b600052603260045260246000fd5b60200260200101516040516020016127a6929190918252602082015260400190565b604051602081830303815290604052805190602001205b9150806127c98161450b565b9150506126ce565b506022541492915050565b600a546001600160a01b031633146128065760405162461bcd60e51b8152600401610d6d906142ec565b6028805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b03166128805760405162461bcd60e51b815260206004820152601d60248201527f517565727920666f72206e6f6e2d6578697374656e7420746f6b656e210000006044820152606401610d6d565b601461288b83613563565b601560405160200161289f93929190614034565b6040516020818303038152906040529050919050565b3332146128d45760405162461bcd60e51b8152600401610d6d906142bf565b60285460ff1680156128e857506025544210155b6129045760405162461bcd60e51b8152600401610d6d906140fb565b806011546129129190614408565b60105410156129335760405162461bcd60e51b8152600401610d6d90614321565b8061293d60085490565b6129479190614408565b600d5410156129685760405162461bcd60e51b8152600401610d6d9061418f565b80603210156129cd5760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206d696e7420757020746f20353020706572207460448201526a72616e73616374696f6e2160a81b6064820152608401610d6d565b806129d66125a2565b6129e09190614434565b3410156129ff5760405162461bcd60e51b8152600401610d6d90614250565b8060116000828254612a119190614408565b90915550600090505b81811015610d89576000612a2d60085490565b90506000612a396125a2565b9050612a453383613049565b604080518281526020810184905233917fdaa045d42a3e393e68713f4d86f01a118383dbd19b795912cfd9f4394bc3b450910160405180910390a250508080612a8d9061450b565b915050612a1a565b600a546001600160a01b03163314612abf5760405162461bcd60e51b8152600401610d6d906142ec565b805160005b81811015612b31576001601f6000858481518110612af257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080612b299061450b565b915050612ac4565b5080601d6000828254612b449190614408565b90915550505050565b600a546000906001600160a01b03163314612b7a5760405162461bcd60e51b8152600401610d6d906142ec565b815160005b818110156111dc5733600090815260208052604090205415612ba5575060009392505050565b80612baf8161450b565b915050612b7f565b6000610f81610f6c611e80565b600a546001600160a01b03163314612bee5760405162461bcd60e51b8152600401610d6d906142ec565b6017546001600160a01b031660009081526016602052604090205460ff168015612c3257506018546001600160a01b031660009081526016602052604090205460ff165b8015612c5857506019546001600160a01b031660009081526016602052604090205460ff165b612cba5760405162461bcd60e51b815260206004820152602d60248201527f54686520656d657267656e63792066756e6374696f6e20686173206e6f74206260448201526c65656e20756e6c6f636b65642160981b6064820152608401610d6d565b60405133904780156108fc02916000818181858888f19350505050158015612ce6573d6000803e3d6000fd5b50565b60215460ff16612d0b5760405162461bcd60e51b8152600401610d6d9061420c565b6000612d1660085490565b336000908152602d602052604090205490915060ff9081169083161115612d8a5760405162461bcd60e51b815260206004820152602260248201527f4578636565646564206d617820617661696c61626c6520746f20707572636861604482015261736560f01b6064820152608401610d6d565b600d5460085410612dd75760405162461bcd60e51b815260206004820152601760248201527626b0bc34b6bab69039bab838363c903932b0b1b432b21760491b6044820152606401610d6d565b336000908152602d602052604081208054849290612df990849060ff1661446a565b92506101000a81548160ff021916908360ff16021790555060005b8260ff1681101561112c57612e3233612e2d8385614408565b613049565b80612e3c8161450b565b915050612e14565b600a546001600160a01b03163314612e6e5760405162461bcd60e51b8152600401610d6d906142ec565b6001600160a01b038116612ed35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d6d565b612ce6816134de565b333214612efb5760405162461bcd60e51b8152600401610d6d906142bf565b602b5460ff168015612f0f5750602a544210155b612f2b5760405162461bcd60e51b8152600401610d6d9061427d565b600854600d5411612f7a5760405162461bcd60e51b81526020600482015260196024820152784e6f2072656d61696e696e6720746f6b656e73206c6566742160381b6044820152606401610d6d565b6029543414612f9b5760405162461bcd60e51b8152600401610d6d90614250565b602c8054906000612fab8361450b565b91905055506000612fbb60085490565b9050612fc73382613049565b60405181815233907f84c3d13e58f975be443cb619b0cd52382e886629cd5f453f4d9c2b8e45de1095906020016116ac565b60006001600160e01b031982166380ac58cd60e01b148061302a57506001600160e01b03198216635b5e139f60e01b145b80610d3d57506301ffc9a760e01b6001600160e01b0319831614610d3d565b6001600160a01b03821661309f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d6d565b6000818152600260205260409020546001600160a01b0316156131045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d6d565b6131106000838361367d565b6001600160a01b0382166000908152600360205260408120805460019290613139908490614408565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006131a38284614453565b9392505050565b60006131a38284614434565b60006131a38284614420565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906131f782611ec4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166132a95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d6d565b60006132b483611ec4565b9050806001600160a01b0316846001600160a01b031614806132ef5750836001600160a01b03166132e484610f86565b6001600160a01b0316145b8061331f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661333a82611ec4565b6001600160a01b0316146133a25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d6d565b6001600160a01b0382166134045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d6d565b61340f83838361367d565b61341a6000826131c2565b6001600160a01b0383166000908152600360205260408120805460019290613443908490614453565b90915550506001600160a01b0382166000908152600360205260408120805460019290613471908490614408565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006131a38284614408565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61353b848484613327565b61354784848484613735565b6122b05760405162461bcd60e51b8152600401610d6d9061413d565b6060816135875750506040805180820190915260018152600360fc1b602082015290565b8160005b81156135b1578061359b8161450b565b91506135aa9050600a83614420565b915061358b565b60008167ffffffffffffffff8111156135da57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613604576020820181803683370190505b5090505b841561331f57613619600183614453565b9150613626600a86614526565b613631906030614408565b60f81b81838151811061365457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613676600a86614420565b9450613608565b6001600160a01b0383166136d8576136d381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6136fb565b816001600160a01b0316836001600160a01b0316146136fb576136fb8382613842565b6001600160a01b0382166137125761112c816138df565b826001600160a01b0316826001600160a01b03161461112c5761112c82826139b8565b60006001600160a01b0384163b1561383757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613779903390899088908890600401614067565b602060405180830381600087803b15801561379357600080fd5b505af19250505080156137c3575060408051601f3d908101601f191682019092526137c091810190613e8f565b60015b61381d573d8080156137f1576040519150601f19603f3d011682016040523d82523d6000602084013e6137f6565b606091505b5080516138155760405162461bcd60e51b8152600401610d6d9061413d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061331f565b506001949350505050565b6000600161384f84611f3b565b6138599190614453565b6000838152600760205260409020549091508082146138ac576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906138f190600190614453565b6000838152600960205260408120546008805493945090928490811061392757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061395657634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061399c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139c383611f3b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613a08906144d0565b90600052602060002090601f016020900481019282613a2a5760008555613a70565b82601f10613a4357805160ff1916838001178555613a70565b82800160010185558215613a70579182015b82811115613a70578251825591602001919060010190613a55565b50613a7c929150613a80565b5090565b5b80821115613a7c5760008155600101613a81565b600067ffffffffffffffff831115613aaf57613aaf614566565b613ac2601f8401601f19166020016143b3565b9050828152838383011115613ad657600080fd5b828260208301376000602084830101529392505050565b803580151581146111e357600080fd5b803560ff811681146111e357600080fd5b600060208284031215613b1f578081fd5b81356131a38161457c565b600060208284031215613b3b578081fd5b81516131a38161457c565b60008060408385031215613b58578081fd5b8235613b638161457c565b91506020830135613b738161457c565b809150509250929050565b600080600060608486031215613b92578081fd5b8335613b9d8161457c565b92506020840135613bad8161457c565b929592945050506040919091013590565b60008060008060808587031215613bd3578081fd5b8435613bde8161457c565b93506020850135613bee8161457c565b925060408501359150606085013567ffffffffffffffff811115613c10578182fd5b8501601f81018713613c20578182fd5b613c2f87823560208401613a95565b91505092959194509250565b60008060408385031215613c4d578182fd5b8235613c588161457c565b9150613c6660208401613aed565b90509250929050565b60008060408385031215613c81578182fd5b8235613c8c8161457c565b946020939093013593505050565b600080600060408486031215613cae578081fd5b833567ffffffffffffffff80821115613cc5578283fd5b818601915086601f830112613cd8578283fd5b813581811115613ce6578384fd5b8760208260051b8501011115613cfa578384fd5b602092830195509350613d109186019050613afd565b90509250925092565b60006020808385031215613d2b578182fd5b823567ffffffffffffffff811115613d41578283fd5b8301601f81018513613d51578283fd5b8035613d64613d5f826143e4565b6143b3565b80828252848201915084840188868560051b8701011115613d83578687fd5b8694505b83851015613dae578035613d9a8161457c565b835260019490940193918501918501613d87565b50979650505050505050565b60006020808385031215613dcc578182fd5b823567ffffffffffffffff811115613de2578283fd5b8301601f81018513613df2578283fd5b8035613e00613d5f826143e4565b80828252848201915084840188868560051b8701011115613e1f578687fd5b8694505b83851015613dae578035835260019490940193918501918501613e23565b600060208284031215613e52578081fd5b6131a382613aed565b600060208284031215613e6c578081fd5b5035919050565b600060208284031215613e84578081fd5b81356131a381614591565b600060208284031215613ea0578081fd5b81516131a381614591565b600060208284031215613ebc578081fd5b813567ffffffffffffffff811115613ed2578182fd5b8201601f81018413613ee2578182fd5b61331f84823560208401613a95565b600060208284031215613f02578081fd5b5051919050565b60008060408385031215613f1b578182fd5b82359150613c6660208401613aed565b600080600060608486031215613f3f578081fd5b505081359360208301359350604090920135919050565b600060208284031215613f67578081fd5b6131a382613afd565b60008151808452613f8881602086016020860161448d565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613fb657607f831692505b6020808410821415613fd657634e487b7160e01b86526022600452602486fd5b818015613fea5760018114613ffb57614028565b60ff19861689528489019650614028565b60008881526020902060005b868110156140205781548b820152908501908301614007565b505084890196505b50505050505092915050565b60006140408286613f9c565b845161405081836020890161448d565b61405c81830186613f9c565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061409a90830184613f70565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156140dc578351835292840192918401916001016140c0565b50909695505050505050565b6020815260006131a36020830184613f70565b60208082526022908201527f44757463682061756374696f6e20686173206e6f742073746172746564207965604082015261742160f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526019908201527f4e6f206d6f726520746f6b656e732072656d61696e696e672100000000000000604082015260600190565b60208082526026908201527f596f752068617665206e6f206d6f72652077686974656c697374206d696e7473604082015265206c6566742160d01b606082015260800190565b60208082526024908201527f57686974656c697374204d696e747320617265206e6f7420656e61626c6564206040820152637965742160e01b606082015260800190565b602080825260139082015272496e76616c69642076616c75652073656e742160681b604082015260600190565b60208082526022908201527f526f6c6c6f7665722073616c6520686173206e6f742073746172746564207965604082015261742160f01b606082015260800190565b6020808252601390820152724e6f20736d61727420636f6e7472616374732160681b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f4e6f206d6f726520746f6b656e7320666f722044757463682041756374696f6e6040820152602160f81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156143dc576143dc614566565b604052919050565b600067ffffffffffffffff8211156143fe576143fe614566565b5060051b60200190565b6000821982111561441b5761441b61453a565b500190565b60008261442f5761442f614550565b500490565b600081600019048311821515161561444e5761444e61453a565b500290565b6000828210156144655761446561453a565b500390565b600060ff821660ff8416808210156144845761448461453a565b90039392505050565b60005b838110156144a8578181015183820152602001614490565b838111156122b05750506000910152565b6000816144c8576144c861453a565b506000190190565b600181811c908216806144e457607f821691505b6020821081141561450557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561451f5761451f61453a565b5060010190565b60008261453557614535614550565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612ce657600080fd5b6001600160e01b031981168114612ce657600080fdfea2646970667358221220c323861dd236f36f3e827061ae2b293550a7aaa4861436f1dc8237ca61b61fd164736f6c63430008040033

Deployed Bytecode

0x60806040526004361061044b5760003560e01c8063715018a611610234578063c507104a1161012e578063dac6270d116100b6578063e07353ae1161007a578063e07353ae14610c7b578063e831574214610c91578063e985e9c514610ca7578063f2fde38b14610cf0578063fc790b1e14610d1057600080fd5b8063dac6270d14610c01578063db8362c514610c16578063dc92f8f014610c2c578063dd79331f14610c41578063ddff5b1c14610c5b57600080fd5b8063cb062e47116100fd578063cb062e4714610b6b578063d345ad7214610b7e578063d3bcbb3c14610b94578063d577fec614610bb4578063d854d1a214610be157600080fd5b8063c507104a14610af5578063c77eb89c14610b0b578063c82da95414610b2b578063c87b56dd14610b4b57600080fd5b806395d89b41116101bc578063b88d4fde11610180578063b88d4fde14610a3a578063b95032f914610a5a578063be36538314610a74578063c04a283614610a94578063c2dd690314610adf57600080fd5b806395d89b41146109ba578063a22cb465146109cf578063a4979a9c146109ef578063a64e450014610a05578063a69d9c4714610a2557600080fd5b80637cb64759116102035780637cb64759146109345780638243a29c146109545780638295784d1461096957806388685cbd146109895780638da5cb5b1461099c57600080fd5b8063715018a6146108de5780637362377b146108f35780637756837c1461090857806378934e831461091e57600080fd5b806330176e131161034557806348190ff6116102cd578063514dba1e11610291578063514dba1e1461085c5780635cbd3a7e146108725780636352211e1461088857806368575685146108a857806370a08231146108be57600080fd5b806348190ff6146107db5780634e464238146107fb5780634f6ccce7146108115780634faa2d541461083157806350339ace1461084657600080fd5b806340378688116103145780634037868814610745578063404907ea1461076557806342842e0e1461077b578063438b63001461079b57806345f6566e146107bb57600080fd5b806330176e13146106d857806331a8a44d146106f8578063324ce9841461070b5780633cc090de1461072b57600080fd5b806315b6ff27116103d357806323b872dd1161039757806323b872dd1461065a578063275f3a2f1461067a5780632d3df31f1461069a5780632eb4a7ab146106a25780632f745c59146106b857600080fd5b806315b6ff27146105d757806318160ddd146105ed5780631e3bcc8e1461060257806322f14762146106225780632379c2851461064457600080fd5b806306fdde031161041a57806306fdde0314610528578063075026d01461054a578063081812fc1461055f578063095ea7b3146105975780630f169517146105b757600080fd5b806301ffc9a71461048f57806302ffaed1146104c457806305dc0487146104e657806305fab7a5146104ee57600080fd5b3661048a57604080513381523460208201527f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f88525874910160405180910390a1005b600080fd5b34801561049b57600080fd5b506104af6104aa366004613e73565b610d18565b60405190151581526020015b60405180910390f35b3480156104d057600080fd5b506104e46104df366004613eab565b610d43565b005b6104e4610d8d565b3480156104fa57600080fd5b5061051a610509366004613b0e565b602080526000908152604090205481565b6040519081526020016104bb565b34801561053457600080fd5b5061053d610ec1565b6040516104bb91906140e8565b34801561055657600080fd5b5061051a610f53565b34801561056b57600080fd5b5061057f61057a366004613e5b565b610f86565b6040516001600160a01b0390911681526020016104bb565b3480156105a357600080fd5b506104e46105b2366004613c6f565b61101b565b3480156105c357600080fd5b506104af6105d2366004613d19565b611131565b3480156105e357600080fd5b5061051a60265481565b3480156105f957600080fd5b5060085461051a565b34801561060e57600080fd5b506104e461061d366004613b0e565b6111e8565b34801561062e57600080fd5b506106376112c7565b6040516104bb91906140a4565b34801561065057600080fd5b5061051a60105481565b34801561066657600080fd5b506104e4610675366004613b7e565b611409565b34801561068657600080fd5b506104e4610695366004613f09565b61143a565b6104e46114dc565b3480156106ae57600080fd5b5061051a60225481565b3480156106c457600080fd5b5061051a6106d3366004613c6f565b6116b7565b3480156106e457600080fd5b506104e46106f3366004613eab565b61174d565b6104e4610706366004613e5b565b61178a565b34801561071757600080fd5b506104e4610726366004613c6f565b61194c565b34801561073757600080fd5b506021546104af9060ff1681565b34801561075157600080fd5b506104e4610760366004613e5b565b611a60565b34801561077157600080fd5b5061051a602a5481565b34801561078757600080fd5b506104e4610796366004613b7e565b611a8f565b3480156107a757600080fd5b506106376107b6366004613b0e565b611aaa565b3480156107c757600080fd5b506104e46107d6366004613e5b565b611b68565b3480156107e757600080fd5b506104e46107f6366004613e41565b611da2565b34801561080757600080fd5b5061051a60135481565b34801561081d57600080fd5b5061051a61082c366004613e5b565b611ddf565b34801561083d57600080fd5b5061051a611e80565b34801561085257600080fd5b5061051a600f5481565b34801561086857600080fd5b5061051a60115481565b34801561087e57600080fd5b5061051a601d5481565b34801561089457600080fd5b5061057f6108a3366004613e5b565b611ec4565b3480156108b457600080fd5b5061051a601e5481565b3480156108ca57600080fd5b5061051a6108d9366004613b0e565b611f3b565b3480156108ea57600080fd5b506104e4611fc2565b3480156108ff57600080fd5b506104e4611ff8565b34801561091457600080fd5b5061051a60235481565b34801561092a57600080fd5b5061051a60125481565b34801561094057600080fd5b506104e461094f366004613e5b565b612135565b34801561096057600080fd5b506104e4612164565b34801561097557600080fd5b506104e4610984366004613c9a565b612204565b6104e4610997366004613dba565b6122b6565b3480156109a857600080fd5b50600a546001600160a01b031661057f565b3480156109c657600080fd5b5061053d612483565b3480156109db57600080fd5b506104e46109ea366004613c3b565b612492565b3480156109fb57600080fd5b5061051a600e5481565b348015610a1157600080fd5b506104e4610a20366004613f2b565b612557565b348015610a3157600080fd5b5061051a6125a2565b348015610a4657600080fd5b506104e4610a55366004613bbe565b6125b8565b348015610a6657600080fd5b50602b546104af9060ff1681565b348015610a8057600080fd5b506104af610a8f366004613b0e565b6125ea565b348015610aa057600080fd5b50610acd610aaf366004613b0e565b6001600160a01b03166000908152602d602052604090205460ff1690565b60405160ff90911681526020016104bb565b348015610aeb57600080fd5b5061051a60255481565b348015610b0157600080fd5b5061051a60275481565b348015610b1757600080fd5b506104af610b26366004613dba565b612690565b348015610b3757600080fd5b506104e4610b46366004613e41565b6127dc565b348015610b5757600080fd5b5061053d610b66366004613e5b565b612819565b6104e4610b79366004613e5b565b6128b5565b348015610b8a57600080fd5b5061051a602c5481565b348015610ba057600080fd5b506104e4610baf366004613d19565b612a95565b348015610bc057600080fd5b5061051a610bcf366004613b0e565b601f6020526000908152604090205481565b348015610bed57600080fd5b506104af610bfc366004613d19565b612b4d565b348015610c0d57600080fd5b5061051a612bb7565b348015610c2257600080fd5b5061051a60245481565b348015610c3857600080fd5b506104e4612bc4565b348015610c4d57600080fd5b506028546104af9060ff1681565b348015610c6757600080fd5b506104e4610c76366004613f56565b612ce9565b348015610c8757600080fd5b5061051a60295481565b348015610c9d57600080fd5b5061051a600d5481565b348015610cb357600080fd5b506104af610cc2366004613b46565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b348015610cfc57600080fd5b506104e4610d0b366004613b0e565b612e44565b6104e4612edc565b60006001600160e01b0319821663780e9d6360e01b1480610d3d5750610d3d82612ff9565b92915050565b600a546001600160a01b03163314610d765760405162461bcd60e51b8152600401610d6d906142ec565b60405180910390fd5b8051610d899060159060208401906139fc565b5050565b333214610dac5760405162461bcd60e51b8152600401610d6d906142bf565b60285460ff168015610dc057506025544210155b610ddc5760405162461bcd60e51b8152600401610d6d906140fb565b60115460105411610dff5760405162461bcd60e51b8152600401610d6d90614321565b600854600d5411610e225760405162461bcd60e51b8152600401610d6d9061418f565b610e2a6125a2565b341015610e495760405162461bcd60e51b8152600401610d6d90614250565b60118054906000610e598361450b565b91905055506000610e6960085490565b90506000610e756125a2565b9050610e813383613049565b604080518281526020810184905233917fdaa045d42a3e393e68713f4d86f01a118383dbd19b795912cfd9f4394bc3b45091015b60405180910390a25050565b606060008054610ed0906144d0565b80601f0160208091040260200160405190810160405280929190818152602001828054610efc906144d0565b8015610f495780601f10610f1e57610100808354040283529160200191610f49565b820191906000526020600020905b815481529060010190602001808311610f2c57829003601f168201915b5050505050905090565b6000610f81602654610f7b602454610f75610f6c611e80565b60265490613197565b906131aa565b906131b6565b905090565b6000818152600260205260408120546001600160a01b0316610fff5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d6d565b506000908152600460205260409020546001600160a01b031690565b600061102682611ec4565b9050806001600160a01b0316836001600160a01b031614156110945760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610d6d565b336001600160a01b03821614806110b057506110b08133610cc2565b6111225760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610d6d565b61112c83836131c2565b505050565b600a546000906001600160a01b0316331461115e5760405162461bcd60e51b8152600401610d6d906142ec565b815160005b818110156111dc57601f600085838151811061118f57634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054600114156111ca575060009392505050565b806111d48161450b565b915050611163565b5060019150505b919050565b600a546001600160a01b031633146112125760405162461bcd60e51b8152600401610d6d906142ec565b601354601254116112605760405162461bcd60e51b81526020600482015260186024820152774e6f206d6f726520726573657276656420746f6b656e732160401b6044820152606401610d6d565b601380549060006112708361450b565b9190505550600061128060085490565b905061128c8282613049565b816001600160a01b03167f82bff94c69b4a624bb0d25e15735cf4189fdc4706e6b6806c94886b0009f2bdf82604051610eb591815260200190565b600a546060906001600160a01b031633146112f45760405162461bcd60e51b8152600401610d6d906142ec565b6040805160098082526101408201909252479160009190602082016101208036833701905050905060006064601a548461132e9190614434565b6113389190614420565b905060006064601b548561134c9190614434565b6113569190614420565b905060006064601c548661136a9190614434565b6113749190614420565b9050828460008151811061139857634e487b7160e01b600052603260045260246000fd5b60200260200101818152505081846001815181106113c657634e487b7160e01b600052603260045260246000fd5b60200260200101818152505080846002815181106113f457634e487b7160e01b600052603260045260246000fd5b60209081029190910101525091935050505090565b6114133382613230565b61142f5760405162461bcd60e51b8152600401610d6d90614362565b61112c838383613327565b600a546001600160a01b031633146114645760405162461bcd60e51b8152600401610d6d906142ec565b6029546114c35760405162461bcd60e51b815260206004820152602760248201527f596f752068617665206e6f7420736574206120726f6c6c6f7665722073616c656044820152662070726963652160c81b6064820152608401610d6d565b602a91909155602b805460ff1916911515919091179055565b3332146114fb5760405162461bcd60e51b8152600401610d6d906142bf565b60215460ff1661151d5760405162461bcd60e51b8152600401610d6d9061420c565b336000908152601f60205260409020546115745760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b6044820152606401610d6d565b336000908152602080526040902054156115a05760405162461bcd60e51b8152600401610d6d906141c6565b601e5434146115c15760405162461bcd60e51b8152600401610d6d90614250565b600f54600e54116116105760405162461bcd60e51b81526020600482015260196024820152784e6f206d6f72652077686974656c69737420746f6b656e732160381b6044820152606401610d6d565b600854600d54116116335760405162461bcd60e51b8152600401610d6d9061418f565b336000908152602080526040812080549161164d836144b9565b9091555050600f80549060006116628361450b565b9190505550600061167260085490565b905061167e3382613049565b60405181815233907fda47e427fb170a95b4539ea720c3caf8ad5a319335b1a85fb3a8db83a61159c0906020015b60405180910390a250565b60006116c283611f3b565b82106117245760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610d6d565b506001600160a01b03919091166000908152600660209081526040808320938352929052205490565b600a546001600160a01b031633146117775760405162461bcd60e51b8152600401610d6d906142ec565b8051610d899060149060208401906139fc565b3332146117a95760405162461bcd60e51b8152600401610d6d906142bf565b602b5460ff1680156117bd5750602a544210155b6117d95760405162461bcd60e51b8152600401610d6d9061427d565b806117e360085490565b6117ed9190614408565b600d54101561183a5760405162461bcd60e51b81526020600482015260196024820152784e6f2072656d61696e696e6720746f6b656e73206c6566742160381b6044820152606401610d6d565b806005101561189e5760405162461bcd60e51b815260206004820152602a60248201527f596f752063616e206f6e6c79206d696e7420757020746f203520706572207472604482015269616e73616374696f6e2160b01b6064820152608401610d6d565b806029546118ac9190614434565b34146118ca5760405162461bcd60e51b8152600401610d6d90614250565b80602c60008282546118dc9190614408565b90915550600090505b81811015610d895760006118f860085490565b90506119043382613049565b60405181815233907f84c3d13e58f975be443cb619b0cd52382e886629cd5f453f4d9c2b8e45de10959060200160405180910390a250806119448161450b565b9150506118e5565b600a546001600160a01b031633146119765760405162461bcd60e51b8152600401610d6d906142ec565b806013546119849190614408565b60125410156119d05760405162461bcd60e51b81526020600482015260186024820152774e6f206d6f726520726573657276656420746f6b656e732160401b6044820152606401610d6d565b80601360008282546119e29190614408565b90915550600090505b8181101561112c5760006119fe60085490565b9050611a0a8482613049565b836001600160a01b03167f82bff94c69b4a624bb0d25e15735cf4189fdc4706e6b6806c94886b0009f2bdf82604051611a4591815260200190565b60405180910390a25080611a588161450b565b9150506119eb565b600a546001600160a01b03163314611a8a5760405162461bcd60e51b8152600401610d6d906142ec565b602955565b61112c838383604051806020016040528060008152506125b8565b60606000611ab783611f3b565b905060008167ffffffffffffffff811115611ae257634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611b0b578160200160208202803683370190505b50905060005b82811015611b6057611b2385826116b7565b828281518110611b4357634e487b7160e01b600052603260045260246000fd5b602090810291909101015280611b588161450b565b915050611b11565b509392505050565b60285460ff168015611b7c57506025544210155b611b985760405162461bcd60e51b8152600401610d6d906140fb565b600b546040516331a9108f60e11b81526004810183905233916001600160a01b031690636352211e9060240160206040518083038186803b158015611bdc57600080fd5b505afa158015611bf0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c149190613b2a565b6001600160a01b031614611c605760405162461bcd60e51b81526020600482015260136024820152722737ba1026b4b73a102830b9b99037bbb732b960691b6044820152606401610d6d565b600c54600b546040516370a0823160e01b81523360048201526001600160a01b03909116906370a082319060240160206040518083038186803b158015611ca657600080fd5b505afa158015611cba573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611cde9190613ef1565b611ce89190614434565b611cf133611f3b565b10611d3e5760405162461bcd60e51b815260206004820152601960248201527f5075726368617365206d6f7265204d696e7420506173736573000000000000006044820152606401610d6d565b600d5460085410611d8b5760405162461bcd60e51b815260206004820152601760248201527626b0bc34b6bab69039bab838363c903932b0b1b432b21760491b6044820152606401610d6d565b6000611d9660085490565b9050610d893382613049565b600a546001600160a01b03163314611dcc5760405162461bcd60e51b8152600401610d6d906142ec565b6021805460ff1916911515919091179055565b6000611dea60085490565b8210611e4d5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610d6d565b60088281548110611e6e57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b60008060255411611e915750600090565b42611ea96026546025546134d290919063ffffffff16565b1015611eb6575060265490565b602554610f81904290613197565b6000818152600260205260408120546001600160a01b031680610d3d5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610d6d565b60006001600160a01b038216611fa65760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610d6d565b506001600160a01b031660009081526003602052604090205490565b600a546001600160a01b03163314611fec5760405162461bcd60e51b8152600401610d6d906142ec565b611ff660006134de565b565b600a546001600160a01b031633146120225760405162461bcd60e51b8152600401610d6d906142ec565b601a5447906000906064906120379084614434565b6120419190614420565b905060006064601b54846120559190614434565b61205f9190614420565b905060006064601c54856120739190614434565b61207d9190614420565b6017546040519192506001600160a01b03169084156108fc029085906000818181858888f193505050501580156120b8573d6000803e3d6000fd5b506018546040516001600160a01b039091169083156108fc029084906000818181858888f193505050501580156120f3573d6000803e3d6000fd5b506019546040516001600160a01b039091169082156108fc029083906000818181858888f1935050505015801561212e573d6000803e3d6000fd5b5050505050565b600a546001600160a01b0316331461215f5760405162461bcd60e51b8152600401610d6d906142ec565b602255565b6017546001600160a01b031633148061218757506018546001600160a01b031633145b8061219c57506019546001600160a01b031633145b6121e85760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f742061207368617265686f6c646572210000000000006044820152606401610d6d565b336000908152601660205260409020805460ff19166001179055565b600a546001600160a01b0316331461222e5760405162461bcd60e51b8152600401610d6d906142ec565b60005b828110156122b05781602d600086868581811061225e57634e487b7160e01b600052603260045260246000fd5b90506020020160208101906122739190613b0e565b6001600160a01b031681526020810191909152604001600020805460ff191660ff92909216919091179055806122a88161450b565b915050612231565b50505050565b3332146122d55760405162461bcd60e51b8152600401610d6d906142bf565b60215460ff166122f75760405162461bcd60e51b8152600401610d6d9061420c565b61230081612690565b6123475760405162461bcd60e51b8152602060048201526018602482015277596f7520617265206e6f742077686974656c69737465642160401b6044820152606401610d6d565b336000908152602080526040902054156123735760405162461bcd60e51b8152600401610d6d906141c6565b601e5434146123945760405162461bcd60e51b8152600401610d6d90614250565b600f54600e54116123e35760405162461bcd60e51b81526020600482015260196024820152784e6f206d6f72652077686974656c69737420746f6b656e732160381b6044820152606401610d6d565b600854600d54116124065760405162461bcd60e51b8152600401610d6d9061418f565b33600090815260208052604081208054916124208361450b565b9091555050600f80549060006124358361450b565b9190505550600061244560085490565b90506124513382613049565b60405181815233907fda47e427fb170a95b4539ea720c3caf8ad5a319335b1a85fb3a8db83a61159c090602001610eb5565b606060018054610ed0906144d0565b6001600160a01b0382163314156124eb5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610d6d565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b031633146125815760405162461bcd60e51b8152600401610d6d906142ec565b60248390556025829055602681905561259a82826134d2565b602755505050565b6000610f816125af610f53565b602354906134d2565b6125c23383613230565b6125de5760405162461bcd60e51b8152600401610d6d90614362565b6122b084848484613530565b6017546000906001600160a01b031633148061261057506018546001600160a01b031633145b8061262557506019546001600160a01b031633145b6126715760405162461bcd60e51b815260206004820152601a60248201527f596f7520617265206e6f742061207368617265686f6c646572210000000000006044820152606401610d6d565b506001600160a01b031660009081526016602052604090205460ff1690565b6040516bffffffffffffffffffffffff193360601b166020820152600090819060340160405160208183030381529060405280519060200120905060005b83518110156127d1578381815181106126f757634e487b7160e01b600052603260045260246000fd5b602002602001015182106127635783818151811061272557634e487b7160e01b600052603260045260246000fd5b602002602001015182604051602001612748929190918252602082015260400190565b604051602081830303815290604052805190602001206127bd565b8184828151811061278457634e487b7160e01b600052603260045260246000fd5b60200260200101516040516020016127a6929190918252602082015260400190565b604051602081830303815290604052805190602001205b9150806127c98161450b565b9150506126ce565b506022541492915050565b600a546001600160a01b031633146128065760405162461bcd60e51b8152600401610d6d906142ec565b6028805460ff1916911515919091179055565b6000818152600260205260409020546060906001600160a01b03166128805760405162461bcd60e51b815260206004820152601d60248201527f517565727920666f72206e6f6e2d6578697374656e7420746f6b656e210000006044820152606401610d6d565b601461288b83613563565b601560405160200161289f93929190614034565b6040516020818303038152906040529050919050565b3332146128d45760405162461bcd60e51b8152600401610d6d906142bf565b60285460ff1680156128e857506025544210155b6129045760405162461bcd60e51b8152600401610d6d906140fb565b806011546129129190614408565b60105410156129335760405162461bcd60e51b8152600401610d6d90614321565b8061293d60085490565b6129479190614408565b600d5410156129685760405162461bcd60e51b8152600401610d6d9061418f565b80603210156129cd5760405162461bcd60e51b815260206004820152602b60248201527f596f752063616e206f6e6c79206d696e7420757020746f20353020706572207460448201526a72616e73616374696f6e2160a81b6064820152608401610d6d565b806129d66125a2565b6129e09190614434565b3410156129ff5760405162461bcd60e51b8152600401610d6d90614250565b8060116000828254612a119190614408565b90915550600090505b81811015610d89576000612a2d60085490565b90506000612a396125a2565b9050612a453383613049565b604080518281526020810184905233917fdaa045d42a3e393e68713f4d86f01a118383dbd19b795912cfd9f4394bc3b450910160405180910390a250508080612a8d9061450b565b915050612a1a565b600a546001600160a01b03163314612abf5760405162461bcd60e51b8152600401610d6d906142ec565b805160005b81811015612b31576001601f6000858481518110612af257634e487b7160e01b600052603260045260246000fd5b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508080612b299061450b565b915050612ac4565b5080601d6000828254612b449190614408565b90915550505050565b600a546000906001600160a01b03163314612b7a5760405162461bcd60e51b8152600401610d6d906142ec565b815160005b818110156111dc5733600090815260208052604090205415612ba5575060009392505050565b80612baf8161450b565b915050612b7f565b6000610f81610f6c611e80565b600a546001600160a01b03163314612bee5760405162461bcd60e51b8152600401610d6d906142ec565b6017546001600160a01b031660009081526016602052604090205460ff168015612c3257506018546001600160a01b031660009081526016602052604090205460ff165b8015612c5857506019546001600160a01b031660009081526016602052604090205460ff165b612cba5760405162461bcd60e51b815260206004820152602d60248201527f54686520656d657267656e63792066756e6374696f6e20686173206e6f74206260448201526c65656e20756e6c6f636b65642160981b6064820152608401610d6d565b60405133904780156108fc02916000818181858888f19350505050158015612ce6573d6000803e3d6000fd5b50565b60215460ff16612d0b5760405162461bcd60e51b8152600401610d6d9061420c565b6000612d1660085490565b336000908152602d602052604090205490915060ff9081169083161115612d8a5760405162461bcd60e51b815260206004820152602260248201527f4578636565646564206d617820617661696c61626c6520746f20707572636861604482015261736560f01b6064820152608401610d6d565b600d5460085410612dd75760405162461bcd60e51b815260206004820152601760248201527626b0bc34b6bab69039bab838363c903932b0b1b432b21760491b6044820152606401610d6d565b336000908152602d602052604081208054849290612df990849060ff1661446a565b92506101000a81548160ff021916908360ff16021790555060005b8260ff1681101561112c57612e3233612e2d8385614408565b613049565b80612e3c8161450b565b915050612e14565b600a546001600160a01b03163314612e6e5760405162461bcd60e51b8152600401610d6d906142ec565b6001600160a01b038116612ed35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610d6d565b612ce6816134de565b333214612efb5760405162461bcd60e51b8152600401610d6d906142bf565b602b5460ff168015612f0f5750602a544210155b612f2b5760405162461bcd60e51b8152600401610d6d9061427d565b600854600d5411612f7a5760405162461bcd60e51b81526020600482015260196024820152784e6f2072656d61696e696e6720746f6b656e73206c6566742160381b6044820152606401610d6d565b6029543414612f9b5760405162461bcd60e51b8152600401610d6d90614250565b602c8054906000612fab8361450b565b91905055506000612fbb60085490565b9050612fc73382613049565b60405181815233907f84c3d13e58f975be443cb619b0cd52382e886629cd5f453f4d9c2b8e45de1095906020016116ac565b60006001600160e01b031982166380ac58cd60e01b148061302a57506001600160e01b03198216635b5e139f60e01b145b80610d3d57506301ffc9a760e01b6001600160e01b0319831614610d3d565b6001600160a01b03821661309f5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610d6d565b6000818152600260205260409020546001600160a01b0316156131045760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610d6d565b6131106000838361367d565b6001600160a01b0382166000908152600360205260408120805460019290613139908490614408565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60006131a38284614453565b9392505050565b60006131a38284614434565b60006131a38284614420565b600081815260046020526040902080546001600160a01b0319166001600160a01b03841690811790915581906131f782611ec4565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b03166132a95760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610d6d565b60006132b483611ec4565b9050806001600160a01b0316846001600160a01b031614806132ef5750836001600160a01b03166132e484610f86565b6001600160a01b0316145b8061331f57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b031661333a82611ec4565b6001600160a01b0316146133a25760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610d6d565b6001600160a01b0382166134045760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610d6d565b61340f83838361367d565b61341a6000826131c2565b6001600160a01b0383166000908152600360205260408120805460019290613443908490614453565b90915550506001600160a01b0382166000908152600360205260408120805460019290613471908490614408565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60006131a38284614408565b600a80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61353b848484613327565b61354784848484613735565b6122b05760405162461bcd60e51b8152600401610d6d9061413d565b6060816135875750506040805180820190915260018152600360fc1b602082015290565b8160005b81156135b1578061359b8161450b565b91506135aa9050600a83614420565b915061358b565b60008167ffffffffffffffff8111156135da57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613604576020820181803683370190505b5090505b841561331f57613619600183614453565b9150613626600a86614526565b613631906030614408565b60f81b81838151811061365457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613676600a86614420565b9450613608565b6001600160a01b0383166136d8576136d381600880546000838152600960205260408120829055600182018355919091527ff3f7a9fe364faab93b216da50a3214154f22a0a2b415b23a84c8169e8b636ee30155565b6136fb565b816001600160a01b0316836001600160a01b0316146136fb576136fb8382613842565b6001600160a01b0382166137125761112c816138df565b826001600160a01b0316826001600160a01b03161461112c5761112c82826139b8565b60006001600160a01b0384163b1561383757604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613779903390899088908890600401614067565b602060405180830381600087803b15801561379357600080fd5b505af19250505080156137c3575060408051601f3d908101601f191682019092526137c091810190613e8f565b60015b61381d573d8080156137f1576040519150601f19603f3d011682016040523d82523d6000602084013e6137f6565b606091505b5080516138155760405162461bcd60e51b8152600401610d6d9061413d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061331f565b506001949350505050565b6000600161384f84611f3b565b6138599190614453565b6000838152600760205260409020549091508082146138ac576001600160a01b03841660009081526006602090815260408083208584528252808320548484528184208190558352600790915290208190555b5060009182526007602090815260408084208490556001600160a01b039094168352600681528383209183525290812055565b6008546000906138f190600190614453565b6000838152600960205260408120546008805493945090928490811061392757634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050806008838154811061395657634e487b7160e01b600052603260045260246000fd5b600091825260208083209091019290925582815260099091526040808220849055858252812055600880548061399c57634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b60006139c383611f3b565b6001600160a01b039093166000908152600660209081526040808320868452825280832085905593825260079052919091209190915550565b828054613a08906144d0565b90600052602060002090601f016020900481019282613a2a5760008555613a70565b82601f10613a4357805160ff1916838001178555613a70565b82800160010185558215613a70579182015b82811115613a70578251825591602001919060010190613a55565b50613a7c929150613a80565b5090565b5b80821115613a7c5760008155600101613a81565b600067ffffffffffffffff831115613aaf57613aaf614566565b613ac2601f8401601f19166020016143b3565b9050828152838383011115613ad657600080fd5b828260208301376000602084830101529392505050565b803580151581146111e357600080fd5b803560ff811681146111e357600080fd5b600060208284031215613b1f578081fd5b81356131a38161457c565b600060208284031215613b3b578081fd5b81516131a38161457c565b60008060408385031215613b58578081fd5b8235613b638161457c565b91506020830135613b738161457c565b809150509250929050565b600080600060608486031215613b92578081fd5b8335613b9d8161457c565b92506020840135613bad8161457c565b929592945050506040919091013590565b60008060008060808587031215613bd3578081fd5b8435613bde8161457c565b93506020850135613bee8161457c565b925060408501359150606085013567ffffffffffffffff811115613c10578182fd5b8501601f81018713613c20578182fd5b613c2f87823560208401613a95565b91505092959194509250565b60008060408385031215613c4d578182fd5b8235613c588161457c565b9150613c6660208401613aed565b90509250929050565b60008060408385031215613c81578182fd5b8235613c8c8161457c565b946020939093013593505050565b600080600060408486031215613cae578081fd5b833567ffffffffffffffff80821115613cc5578283fd5b818601915086601f830112613cd8578283fd5b813581811115613ce6578384fd5b8760208260051b8501011115613cfa578384fd5b602092830195509350613d109186019050613afd565b90509250925092565b60006020808385031215613d2b578182fd5b823567ffffffffffffffff811115613d41578283fd5b8301601f81018513613d51578283fd5b8035613d64613d5f826143e4565b6143b3565b80828252848201915084840188868560051b8701011115613d83578687fd5b8694505b83851015613dae578035613d9a8161457c565b835260019490940193918501918501613d87565b50979650505050505050565b60006020808385031215613dcc578182fd5b823567ffffffffffffffff811115613de2578283fd5b8301601f81018513613df2578283fd5b8035613e00613d5f826143e4565b80828252848201915084840188868560051b8701011115613e1f578687fd5b8694505b83851015613dae578035835260019490940193918501918501613e23565b600060208284031215613e52578081fd5b6131a382613aed565b600060208284031215613e6c578081fd5b5035919050565b600060208284031215613e84578081fd5b81356131a381614591565b600060208284031215613ea0578081fd5b81516131a381614591565b600060208284031215613ebc578081fd5b813567ffffffffffffffff811115613ed2578182fd5b8201601f81018413613ee2578182fd5b61331f84823560208401613a95565b600060208284031215613f02578081fd5b5051919050565b60008060408385031215613f1b578182fd5b82359150613c6660208401613aed565b600080600060608486031215613f3f578081fd5b505081359360208301359350604090920135919050565b600060208284031215613f67578081fd5b6131a382613afd565b60008151808452613f8881602086016020860161448d565b601f01601f19169290920160200192915050565b8054600090600181811c9080831680613fb657607f831692505b6020808410821415613fd657634e487b7160e01b86526022600452602486fd5b818015613fea5760018114613ffb57614028565b60ff19861689528489019650614028565b60008881526020902060005b868110156140205781548b820152908501908301614007565b505084890196505b50505050505092915050565b60006140408286613f9c565b845161405081836020890161448d565b61405c81830186613f9c565b979650505050505050565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061409a90830184613f70565b9695505050505050565b6020808252825182820181905260009190848201906040850190845b818110156140dc578351835292840192918401916001016140c0565b50909695505050505050565b6020815260006131a36020830184613f70565b60208082526022908201527f44757463682061756374696f6e20686173206e6f742073746172746564207965604082015261742160f01b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526019908201527f4e6f206d6f726520746f6b656e732072656d61696e696e672100000000000000604082015260600190565b60208082526026908201527f596f752068617665206e6f206d6f72652077686974656c697374206d696e7473604082015265206c6566742160d01b606082015260800190565b60208082526024908201527f57686974656c697374204d696e747320617265206e6f7420656e61626c6564206040820152637965742160e01b606082015260800190565b602080825260139082015272496e76616c69642076616c75652073656e742160681b604082015260600190565b60208082526022908201527f526f6c6c6f7665722073616c6520686173206e6f742073746172746564207965604082015261742160f01b606082015260800190565b6020808252601390820152724e6f20736d61727420636f6e7472616374732160681b604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f4e6f206d6f726520746f6b656e7320666f722044757463682041756374696f6e6040820152602160f81b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156143dc576143dc614566565b604052919050565b600067ffffffffffffffff8211156143fe576143fe614566565b5060051b60200190565b6000821982111561441b5761441b61453a565b500190565b60008261442f5761442f614550565b500490565b600081600019048311821515161561444e5761444e61453a565b500290565b6000828210156144655761446561453a565b500390565b600060ff821660ff8416808210156144845761448461453a565b90039392505050565b60005b838110156144a8578181015183820152602001614490565b838111156122b05750506000910152565b6000816144c8576144c861453a565b506000190190565b600181811c908216806144e457607f821691505b6020821081141561450557634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561451f5761451f61453a565b5060010190565b60008261453557614535614550565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114612ce657600080fd5b6001600160e01b031981168114612ce657600080fdfea2646970667358221220c323861dd236f36f3e827061ae2b293550a7aaa4861436f1dc8237ca61b61fd164736f6c63430008040033

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.