ETH Price: $2,734.43 (+12.88%)
 

Overview

Max Total Supply

6,969 MONG

Holders

1,835

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
333488.eth
Balance
0 MONG
0x1e2ab2c1ee48aa5c705e6a638087bf7fc1877095
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

MONGS are a culture, a vibe.They believe that somehow this is new, and hip, and an attack on the powers of society. 6969 generative MONGS are coming to Ethereum. They plan to displace crypto coin.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MongsToken

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 300 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

contract MongsToken is
    Context,
    Ownable,
    ERC721Burnable,
    ERC721Pausable
{
    using Strings for uint256;
    event Blend(address indexed operator, uint256 indexed tokenId, uint256 indexed burnTokenId);

    struct WhitelistSettings {
        uint256[] startTime;
        uint256[] limitPerAddress;        
        uint256[] whitelistIds;
    }

    uint24 private constant PROJECT_SCALE = 1e6;
    uint24 private constant MAX_MINT_ID = 999999;

    string private _baseTokenURI;
    string private _contractURI;
    address private _proxyRegistryAddress;

    address private _payoutAddress;
    uint256 private _projectFee;
    uint256 private _supplyTracker;

    // Mapping from address to balance
    mapping(address => uint256) private _balances;

    // Mapping from project id to current mint number
    mapping(uint256 => uint256) private _projectMints;

    // Mapping from project id to project upgrades
    mapping(uint256 => string) private _projectURIs;

    // Mapping from project id to address or token
    mapping(uint256 => mapping(address => uint256)) private _addressClaims;
    mapping(uint256 => mapping(uint256 => uint256)) private _tokenClaims;

    // Mapping to nonce used
    mapping(uint256 => mapping(uint256 => bool)) private _nonces;

    // Mapping from project id to project settings
    mapping(uint256 => address) public _projectOwner;
    
    // Mapping from project id to project settings
    mapping(uint256 => uint256) private _projectSettings;

    // Mapping from project id to project upgrades
    mapping(uint256 => uint256) private _projectUpgrades;

    // Mapping from project id to project blends
    mapping(uint256 => uint256) private _projectBlends;

    // Mapping from project id to project perks
    mapping(uint256 => mapping(uint256 => uint256)) private _projectPerks;

    // Mapping from whitelist id to address approved
    mapping(uint256 => mapping(address => bool)) private _whitelist;

    // Mapping from project id whitelist array
    mapping(uint256 => WhitelistSettings) private _projectWhitelist;

    constructor(
        string memory name,
        string memory symbol,
        string memory baseTokenURI,
        string memory initContractURI,
        address payoutAddress,
        address proxyAddress
    ) ERC721(name, symbol) {
        _proxyRegistryAddress = proxyAddress;
        _baseTokenURI = baseTokenURI;
        _contractURI = initContractURI;
        _payoutAddress = payoutAddress;
        _projectFee = 100;        
    }

    //view functions
    function balance(address owner) public view returns (uint256) {
        return _balances[owner];
    }

    function totalSupply() public view returns (uint256) {
        return _supplyTracker;
    }

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

    function projectSupply(uint256 projectId) public view returns (uint256) {
        return _projectMints[projectId];
    }

    function addressClaims(address owner, uint256 projectId) public view returns(uint256) {
        return _addressClaims[projectId][owner];
    }

    function tokenClaims(uint256 tokenId, uint256 projectId) public view returns(uint256) {
        return _tokenClaims[projectId][tokenId];
    }

    function projectSettings(uint256 projectId) public view returns (
        uint256 maxSupply,
        uint256 costEach,
        uint256 startTime, 
        uint256 limitPerTx, 
        uint256 limitPerAddress
    ) {
        uint256 settings = _projectSettings[projectId];
        maxSupply = uint256(uint64(settings));
        costEach = uint256(uint64(settings>>64));
        startTime = uint256(uint64(settings>>128));
        limitPerTx = uint256(uint32(settings>>192));
        limitPerAddress = uint256(uint32(settings>>224));
    }

    function projectPerks(uint256 projectId, uint256 perkProjectId) public view returns (        
        uint256 costEach,
        uint256 startTime, 
        uint256 limitPerTx, 
        uint256 limitPerAddress,
        uint256 limitPerToken
    ) {
        uint256 settings = _projectPerks[projectId][perkProjectId];
        costEach = uint256(uint64(settings));
        startTime = uint256(uint64(settings>>64));
        limitPerTx = uint256(uint64(settings>>128));
        limitPerAddress = uint256(uint32(settings>>192));
        limitPerToken = uint256(uint32(settings>>224));
    }

    function projectUpgrades(uint256 projectId) public view returns (        
        uint256 outputProjectId,
        uint256 inputQuantity
    ) {
        uint256 settings = _projectUpgrades[projectId];
        outputProjectId = uint256(uint128(settings));
        inputQuantity = uint256(uint128(settings>>128));
    }

    function projectBlends(uint256 projectId) public view returns (        
        uint256 burnProjectId
    ) {
        burnProjectId = _projectBlends[projectId];
    }

    function checkSignature(
        uint256 projectId, 
        uint256 nonce, 
        bytes memory signature
    ) public view returns (
        uint256 maxSupply
    ) {
        address signer = ECDSA.recover(ECDSA.toEthSignedMessageHash(keccak256(abi.encode(projectId,nonce))), signature);
        require(signer == _projectOwner[projectId], "BADSIG");
        (maxSupply, , , , ) = projectSettings(projectId); 
    }

    function checkWhitelist(address owner, uint256 whitelistId) public view returns (
        bool approved
    ) {
        approved = _whitelist[whitelistId][owner];
    }

    function checkProjectWhitelist(uint256 projectId) public view returns (
        uint256[] memory startTime,
        uint256[] memory limitPerAddress,        
        uint256[] memory whitelistIds
    ) {
        startTime = _projectWhitelist[projectId].startTime;
        limitPerAddress = _projectWhitelist[projectId].limitPerAddress;
        whitelistIds = _projectWhitelist[projectId].whitelistIds;
    }

    //admin functions 

    function setProxy(address proxyRegistryAddress) public onlyOwner {
        _proxyRegistryAddress = proxyRegistryAddress;
    }

    function setProjectFee(uint256 projectFee) public onlyOwner {
        _projectFee = projectFee;
    } 
    
    function setPayoutAddress(address payoutAddress) public onlyOwner {
        _payoutAddress = payoutAddress;
    }   

    function setContractURI(string memory initContractURI) public onlyOwner {
        _contractURI = initContractURI;
    } 

    function setProjectURI(uint256 projectId, string memory projectURI) public onlyOwner {
        _projectURIs[projectId] = projectURI;
    } 

    function setBaseURI(string memory baseTokenURI) public onlyOwner {
        _baseTokenURI = baseTokenURI;
    }

    function addProject(address owner, uint256 projectId) public onlyOwner {
        _projectOwner[projectId] = owner;
    }

    function transferProject(address newOwner, uint256 projectId) public {
        require(_projectOwner[projectId] == _msgSender(), "NOTOWNER");
        _projectOwner[projectId] = newOwner;
    }

    function configProject(
        uint256 projectId,
        uint256 maxSupply,
        uint256 costEach,
        uint256 startTime, 
        uint256 limitPerTx, 
        uint256 limitPerAddress
    ) public {
        require(_projectOwner[projectId] == _msgSender(), "NOTOWNER");        
        require(maxSupply > 0 && maxSupply <= MAX_MINT_ID, "SUPPLY");
        require(costEach <= 18 ether, "COST");
        require(startTime < 2e64 && limitPerTx < 2e32 && limitPerAddress < 2e32, "OOB");

        uint256 settings = maxSupply;
        settings |= costEach<<64;
        settings |= startTime<<128;
        settings |= limitPerTx<<192;
        settings |= limitPerAddress<<224;
        _projectSettings[projectId] = settings;
    }

    function configPerk(
        uint256 projectId,
        uint256 perkProjectId,
        uint256 costEach,
        uint256 startTime,
        uint256 limitPerTx,
        uint256 limitPerAddress,
        uint256 limitPerToken       
    ) public {
        require(_projectOwner[projectId] == _msgSender(), "NOTOWNER");
        require(_projectOwner[perkProjectId] != address(0), "NOPERK");
        require(costEach <= 18 ether, "COST");
        require(startTime < 2e64 && limitPerTx < 2e32 && limitPerAddress < 2e32 && limitPerToken < 2e32, "OOB");

        uint256 settings = costEach;
        settings |= startTime<<64;
        settings |= limitPerTx<<128;
        settings |= limitPerAddress<<192;
        settings |= limitPerToken<<224;
        _projectPerks[projectId][perkProjectId] = settings;  
    }

    function configUpgrade(
        uint256 projectId,
        uint256 outputProjectId,
        uint256 quantity       
    ) public {
        require(_projectOwner[projectId] == _msgSender(), "NOTOWNER");
        require(_projectOwner[outputProjectId] == _msgSender(), "NOTOWNER");

        uint256 settings = outputProjectId;
        settings |= quantity<<128;
        _projectUpgrades[projectId] = settings;  
    }

    function configBlend(
        uint256 projectId,
        uint256 burnProjectId      
    ) public {
        require(_projectOwner[projectId] == _msgSender(), "NOTOWNER");
        _projectBlends[projectId] = burnProjectId;  
    }

    function pushWhitelist(uint256 whitelistId, address[] memory addresses) public onlyOwner {
        for (uint256 i = 0; i < addresses.length; ++i) {
            _whitelist[whitelistId][addresses[i]] = true;
        }
    }

    function popWhitelist(uint256 whitelistId, address[] memory addresses) public onlyOwner {
        for (uint256 i = 0; i < addresses.length; ++i) {
            delete _whitelist[whitelistId][addresses[i]];
        }
    }

    function configWhitelist(uint256 projectId, uint256[] memory startTime, uint256[] memory limitPerAddress, uint256[] memory whitelistIds) public onlyOwner {
        require(startTime.length == limitPerAddress.length, "LENGTH");
        require(limitPerAddress.length == whitelistIds.length, "LENGTH");
        _projectWhitelist[projectId] = WhitelistSettings(startTime, limitPerAddress, whitelistIds);
    }

    //user functions

    function withdraw(address payable account) public {
        require(account == _msgSender(), "AUTH");
        uint256 payment = _balances[account]; 
        require(payment > 0, "NOFUNDS"); 
        _balances[account] = 0;
        Address.sendValue(account, payment);
    }

    function mint(address to, uint256 projectId, uint256 quantity) public payable {
        address owner;
        uint256 maxSupply;
        uint256 totalCost;
        uint256 limitPerAddress;
        (owner, maxSupply, totalCost, limitPerAddress) = _checkProject(_msgSender(), projectId, quantity);
        _internalMint(owner,to,projectId,maxSupply,totalCost,quantity,limitPerAddress);
    }

    function mintWhitelist(address to, uint256 projectId, uint256 quantity) external {
        uint256 maxSupply;
        uint256 mints = _projectMints[projectId];
        (maxSupply, , , , ) = projectSettings(projectId);

        bool eligible = false;
        for (uint256 i = 0; i < _projectWhitelist[projectId].whitelistIds.length; ++i) {
            if(_whitelist[_projectWhitelist[projectId].whitelistIds[i]][_msgSender()]) {
                eligible = true;

                if(_projectWhitelist[projectId].limitPerAddress[i] > 0) {
                    require(_addressClaims[projectId][_msgSender()] + quantity <= _projectWhitelist[projectId].limitPerAddress[i], "ADDRESS LIMIT");
                    _addressClaims[projectId][_msgSender()] += quantity;
                }

                if(_projectWhitelist[projectId].startTime[i] > 0) {
                    require(_projectWhitelist[projectId].startTime[i] <= block.timestamp, "TOO EARLY");
                }

                break;
            }
        }
        
        require(eligible, "NOTWHITELISTED");
        require(mints + quantity <= maxSupply, "COMPLETE");

        _projectMints[projectId] += quantity;
        _supplyTracker += quantity;

        for (uint256 i = 0; i < quantity; ++i) {
            _safeMint(to, (projectId * PROJECT_SCALE) + mints + i + 1);
        }    
    }

    function promo(address to, uint256 projectId, uint256 claimId, bytes memory signature) external {
        require(_nonces[projectId][claimId] == false, "CLAIMED");
        uint256 maxSupply = checkSignature(projectId, claimId, signature);
        uint256 mintNumber = _projectMints[projectId] + 1;
        require(mintNumber <= maxSupply, "COMPLETE");
        _projectMints[projectId] += 1;
        _supplyTracker += 1;
        _nonces[projectId][claimId] = true;
        _safeMint(to, (projectId * PROJECT_SCALE) + mintNumber);
    }

    function claim(address to, uint256 projectId, uint256 quantity, uint256 tokenId) public payable {
        address owner;
        uint256 maxSupply;
        uint256 totalCost;
        uint256 limitPerAddress;
        uint256 limitPerToken;
        uint256 perkProjectId = tokenId / PROJECT_SCALE;

        require(ERC721.ownerOf(tokenId) == _msgSender(), "TOKENID");

        (owner, maxSupply, totalCost, limitPerAddress, limitPerToken) = _checkPerk(projectId, perkProjectId, quantity);
        
        if(limitPerToken > 0) {
            require(_tokenClaims[projectId][tokenId] + quantity <= limitPerToken, "TOKEN LIMIT");
            _tokenClaims[projectId][tokenId] += quantity;
        }

        _internalMint(owner,to,projectId,maxSupply,totalCost,quantity,limitPerAddress);
    }

    function upgrade(address to, uint256[] memory tokenIds) public {
        require(tokenIds.length > 0, "NOTOKENS");
        uint256 maxSupply;
        uint256 outputProjectId;
        uint256 projectId = tokenIds[0] / PROJECT_SCALE;
        (maxSupply, outputProjectId) = _checkUpgrade(projectId, tokenIds.length);

        for (uint256 i = 0; i < tokenIds.length; ++i) {
            require((tokenIds[i] / PROJECT_SCALE) == projectId, "NOTMATCH");
            burn(tokenIds[i]);
        }

        uint256 mintNumber = _projectMints[outputProjectId] + 1;
        require(mintNumber <= maxSupply, "COMPLETE");
        _projectMints[outputProjectId] += 1;
        _supplyTracker += 1;
        _safeMint(to, (outputProjectId * PROJECT_SCALE) + mintNumber);
    }

    function blend(uint256 tokenId, uint256 burnTokenId) public {
        uint256 projectId = tokenId / PROJECT_SCALE;
        uint256 burnProjectId = burnTokenId / PROJECT_SCALE;
        uint256 compareProjectId = _projectBlends[projectId];
        require(burnProjectId == compareProjectId, "INVALID");
        require(ERC721.ownerOf(tokenId) == _msgSender(), "TOKENID");
        burn(burnTokenId);
        emit Blend(_msgSender(), tokenId, burnTokenId);
    }
    
    function pause() public onlyOwner {
        _pause();
    }
    
    function unpause() public onlyOwner {
        _unpause();
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        override(ERC721)
        returns (string memory)
    {
        require(_exists(tokenId), "NOTOKEN");
        uint256 projectId = tokenId / PROJECT_SCALE;        
        string memory _projectURI = _projectURIs[projectId];

        if (bytes(_projectURI).length > 0) {
            return string(abi.encodePacked(_projectURI, tokenId.toString()));
        }

        return super.tokenURI(tokenId);
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721, ERC721Pausable) {
        super._beforeTokenTransfer(from, to, tokenId);
    }

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

    /**
     * Override isApprovedForAll to whitelist user's OpenSea proxy accounts to enable gas-less listings.
     */
    function isApprovedForAll(address owner, address operator)
        override
        public
        view
        returns (bool)
    {
        // Whitelist OpenSea proxy contract for easy trading.
        if(_proxyRegistryAddress != address(0)) {
            ProxyRegistry proxyRegistry = ProxyRegistry(_proxyRegistryAddress);
            if (address(proxyRegistry.proxies(owner)) == operator) {
                return true;
            }
        }

        return super.isApprovedForAll(owner, operator);
    }

    //internal functions

    function _internalMint(
        address projectOwner,
        address destination,
        uint256 projectId,
        uint256 maxSupply,
        uint256 totalCost,
        uint256 quantity,
        uint256 limitPerAddress
    ) internal {
        if(projectOwner != _msgSender()) {
            require(totalCost == msg.value, "FUNDS");        

            if(limitPerAddress > 0) {
                require(_addressClaims[projectId][_msgSender()] + quantity <= limitPerAddress, "ADDRESS LIMIT");
                _addressClaims[projectId][_msgSender()] += quantity;
            }

            uint256 projectFee = (msg.value * _projectFee) / 1000;
            uint256 projectPayout = msg.value - projectFee;

            _balances[_payoutAddress] += projectFee;        
            _balances[projectOwner] += projectPayout;
        }        

        uint256 mints = _projectMints[projectId];
        require(mints + quantity <= maxSupply, "COMPLETE");

        _projectMints[projectId] += quantity;
        _supplyTracker += quantity;

        for (uint256 i = 0; i < quantity; ++i) {
            _safeMint(destination, (projectId * PROJECT_SCALE) + mints + i + 1);
        }    
    }

    function _checkProject(address operator, uint256 projectId, uint256 quantity) internal view returns (
        address owner,
        uint256 maxSupply,
        uint256 totalCost,
        uint256 limitPerAddress
    ) {        
        uint256 costEach;
        uint256 startTime;
        uint256 limitPerTx;
        (maxSupply, costEach, startTime, limitPerTx, limitPerAddress) = projectSettings(projectId);
        owner = _projectOwner[projectId];

        if(operator != owner) {
            require(startTime > 0, "DISABLED");
            require(startTime <= block.timestamp, "TOO EARLY");
            require(quantity <= limitPerTx, "TX LIMIT");
        }
        
        totalCost = quantity * costEach;        
    }

    function _checkPerk(uint256 projectId, uint256 perkProjectId, uint256 quantity) internal view returns (
        address owner,
        uint256 maxSupply,
        uint256 totalCost,
        uint256 limitPerAddress,
        uint256 limitPerToken
    ) {        
        uint256 costEach;
        uint256 startTime;
        uint256 limitPerTx;
        (maxSupply, , , , ) = projectSettings(projectId);
        (costEach, startTime, limitPerTx, limitPerAddress, limitPerToken) = projectPerks(projectId, perkProjectId);
        require(startTime > 0, "DISABLED");
        require(startTime <= block.timestamp, "TOO EARLY");
        require(quantity <= limitPerTx, "TX LIMIT");
        totalCost = quantity * costEach;
        owner = _projectOwner[projectId];
    }

    function _checkUpgrade(uint256 projectId, uint256 quantity) internal view returns (
        uint256 maxSupply,
        uint256 outputProjectId
    ) {        
        uint256 inputQuantity;
        (outputProjectId, inputQuantity) = projectUpgrades(projectId);
        (maxSupply, , , , ) = projectSettings(outputProjectId);  
        require(inputQuantity > 0, "DISABLED");      
        require(quantity == inputQuantity, "QUANTITY");
    }

    

}

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

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 {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, 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 Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev 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 3 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "../../../security/Pausable.sol";

/**
 * @dev ERC721 token with pausable token transfers, minting and burning.
 *
 * Useful for scenarios such as preventing trades until the end of an evaluation
 * period, or having an emergency switch for freezing all token transfers in the
 * event of a large bug.
 */
abstract contract ERC721Pausable is ERC721, Pausable {
    /**
     * @dev See {ERC721-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - the contract must not be paused.
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        require(!paused(), "ERC721Pausable: token transfer while paused");
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

File 7 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

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 8 of 15 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 15 of 15 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"string","name":"initContractURI","type":"string"},{"internalType":"address","name":"payoutAddress","type":"address"},{"internalType":"address","name":"proxyAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"burnTokenId","type":"uint256"}],"name":"Blend","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":"account","type":"address"}],"name":"Paused","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"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_projectOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"addProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"addressClaims","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":"balance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"burnTokenId","type":"uint256"}],"name":"blend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"checkProjectWhitelist","outputs":[{"internalType":"uint256[]","name":"startTime","type":"uint256[]"},{"internalType":"uint256[]","name":"limitPerAddress","type":"uint256[]"},{"internalType":"uint256[]","name":"whitelistIds","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"nonce","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"checkSignature","outputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"whitelistId","type":"uint256"}],"name":"checkWhitelist","outputs":[{"internalType":"bool","name":"approved","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"burnProjectId","type":"uint256"}],"name":"configBlend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"perkProjectId","type":"uint256"},{"internalType":"uint256","name":"costEach","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"limitPerTx","type":"uint256"},{"internalType":"uint256","name":"limitPerAddress","type":"uint256"},{"internalType":"uint256","name":"limitPerToken","type":"uint256"}],"name":"configPerk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"costEach","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"limitPerTx","type":"uint256"},{"internalType":"uint256","name":"limitPerAddress","type":"uint256"}],"name":"configProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"outputProjectId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"configUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256[]","name":"startTime","type":"uint256[]"},{"internalType":"uint256[]","name":"limitPerAddress","type":"uint256[]"},{"internalType":"uint256[]","name":"whitelistIds","type":"uint256[]"}],"name":"configWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mintWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistId","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"popWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"projectBlends","outputs":[{"internalType":"uint256","name":"burnProjectId","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"perkProjectId","type":"uint256"}],"name":"projectPerks","outputs":[{"internalType":"uint256","name":"costEach","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"limitPerTx","type":"uint256"},{"internalType":"uint256","name":"limitPerAddress","type":"uint256"},{"internalType":"uint256","name":"limitPerToken","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"projectSettings","outputs":[{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"costEach","type":"uint256"},{"internalType":"uint256","name":"startTime","type":"uint256"},{"internalType":"uint256","name":"limitPerTx","type":"uint256"},{"internalType":"uint256","name":"limitPerAddress","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"projectSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"projectUpgrades","outputs":[{"internalType":"uint256","name":"outputProjectId","type":"uint256"},{"internalType":"uint256","name":"inputQuantity","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"uint256","name":"claimId","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"promo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistId","type":"uint256"},{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"pushWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"initContractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"payoutAddress","type":"address"}],"name":"setPayoutAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectFee","type":"uint256"}],"name":"setProjectFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"projectId","type":"uint256"},{"internalType":"string","name":"projectURI","type":"string"}],"name":"setProjectURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxyRegistryAddress","type":"address"}],"name":"setProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"tokenClaims","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"},{"internalType":"uint256","name":"projectId","type":"uint256"}],"name":"transferProject","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"upgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162004d7438038062004d748339810160408190526200003491620002b7565b85856200004133620000f1565b81516200005690600190602085019062000141565b5080516200006c90600290602084019062000141565b50506007805460ff1916905550600a80546001600160a01b0319166001600160a01b0383161790558351620000a990600890602087019062000141565b508251620000bf90600990602086019062000141565b5050600b80546001600160a01b0319166001600160a01b039290921691909117905550506064600c5550620003e29050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b8280546200014f906200038f565b90600052602060002090601f016020900481019282620001735760008555620001be565b82601f106200018e57805160ff1916838001178555620001be565b82800160010185558215620001be579182015b82811115620001be578251825591602001919060010190620001a1565b50620001cc929150620001d0565b5090565b5b80821115620001cc5760008155600101620001d1565b80516001600160a01b0381168114620001ff57600080fd5b919050565b600082601f83011262000215578081fd5b81516001600160401b0380821115620002325762000232620003cc565b604051601f8301601f19908116603f011681019082821181831017156200025d576200025d620003cc565b8160405283815260209250868385880101111562000279578485fd5b8491505b838210156200029c57858201830151818301840152908201906200027d565b83821115620002ad57848385830101525b9695505050505050565b60008060008060008060c08789031215620002d0578182fd5b86516001600160401b0380821115620002e7578384fd5b620002f58a838b0162000204565b975060208901519150808211156200030b578384fd5b620003198a838b0162000204565b965060408901519150808211156200032f578384fd5b6200033d8a838b0162000204565b9550606089015191508082111562000353578384fd5b506200036289828a0162000204565b9350506200037360808801620001e7565b91506200038360a08801620001e7565b90509295509295509295565b600181811c90821680620003a457607f821691505b60208210811415620003c657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61498280620003f26000396000f3fe60806040526004361061036b5760003560e01c80639118fe01116101c6578063ba2d08f4116100f7578063e3d670d711610095578063f049967a1161006f578063f049967a14610ace578063f2fde38b14610aee578063f63a01c014610b0e578063f993435d14610b7757600080fd5b8063e3d670d714610a63578063e8a3d48514610a99578063e985e9c514610aae57600080fd5b8063ce2126e6116100d1578063ce2126e6146109bf578063d088070a146109df578063dafd7c1614610a23578063db1afc7914610a4357600080fd5b8063ba2d08f414610949578063c1b17dec1461097f578063c87b56dd1461099f57600080fd5b8063a69d99b111610164578063b38991341161013e578063b3899134146108c9578063b7e32229146108e9578063b88d4fde14610909578063b9782a191461092957600080fd5b8063a69d99b11461085a578063aa5fc2671461087a578063ab6f86a4146108a957600080fd5b806397107d6d116101a057806397107d6d146107b257806398bb5a6a146107d25780639c09f6821461081a578063a22cb4651461083a57600080fd5b80639118fe0114610750578063938e3d7b1461077d57806395d89b411461079d57600080fd5b806342966c68116102a057806370a082311161023e5780638456cb59116102185780638456cb59146106c657806387647781146106db578063899df819146107125780638da5cb5b1461073257600080fd5b806370a082311461067e578063715018a61461069e57806377b1f713146106b357600080fd5b806355f804b31161027a57806355f804b3146106065780635c975abb1461062657806361e638701461063e5780636352211e1461065e57600080fd5b806342966c68146105a657806351cff8d9146105c657806353a7bec8146105e657600080fd5b806323b872dd1161030d57806333ea51a8116102e757806333ea51a81461050f5780633f4ba83a1461052f57806342842e0e14610544578063428563dc1461056457600080fd5b806323b872dd1461047357806323ca704614610493578063249723c8146104b357600080fd5b8063081812fc11610349578063081812fc146103e9578063095ea7b314610421578063156e29f61461044157806318160ddd1461045457600080fd5b806301ffc9a71461037057806305875641146103a557806306fdde03146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004614272565b610ba4565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103c56103c0366004614111565b610bb5565b005b3480156103d357600080fd5b506103dc610dc9565b60405161039c91906146a7565b3480156103f557600080fd5b506104096104043660046142f9565b610e5b565b6040516001600160a01b03909116815260200161039c565b34801561042d57600080fd5b506103c561043c366004614190565b610ef0565b6103c561044f3660046141bb565b611006565b34801561046057600080fd5b50600d545b60405190815260200161039c565b34801561047f57600080fd5b506103c561048e366004614067565b611038565b34801561049f57600080fd5b506103c56104ae3660046143b9565b61106a565b3480156104bf57600080fd5b506104fa6104ce3660046142f9565b6000908152601660205260409020546fffffffffffffffffffffffffffffffff81169160809190911c90565b6040805192835260208301919091520161039c565b34801561051b57600080fd5b506103c561052a366004614013565b61117a565b34801561053b57600080fd5b506103c56111c6565b34801561055057600080fd5b506103c561055f366004614067565b6111fa565b34801561057057600080fd5b5061046561057f366004614190565b60009081526011602090815260408083206001600160a01b03949094168352929052205490565b3480156105b257600080fd5b506103c56105c13660046142f9565b611215565b3480156105d257600080fd5b506103c56105e1366004614013565b61128f565b3480156105f257600080fd5b506103c5610601366004614190565b611347565b34801561061257600080fd5b506103c56106213660046142c6565b61139f565b34801561063257600080fd5b5060075460ff16610390565b34801561064a57600080fd5b506103c5610659366004614552565b6113dc565b34801561066a57600080fd5b506104096106793660046142f9565b61158c565b34801561068a57600080fd5b50610465610699366004614013565b611603565b3480156106aa57600080fd5b506103c561168a565b6103c56106c1366004614238565b6116be565b3480156106d257600080fd5b506103c56117e8565b3480156106e757600080fd5b506104656106f6366004614476565b6000908152601260209081526040808320938352929052205490565b34801561071e57600080fd5b506103c561072d3660046141ef565b61181a565b34801561073e57600080fd5b506000546001600160a01b0316610409565b34801561075c57600080fd5b5061046561076b3660046142f9565b60009081526017602052604090205490565b34801561078957600080fd5b506103c56107983660046142c6565b61194a565b3480156107a957600080fd5b506103dc611987565b3480156107be57600080fd5b506103c56107cd366004614013565b611996565b3480156107de57600080fd5b506107f26107ed3660046142f9565b6119e2565b604080519586526020860194909452928401919091526060830152608082015260a00161039c565b34801561082657600080fd5b506103c56108353660046142f9565b611a25565b34801561084657600080fd5b506103c561085536600461415f565b611a54565b34801561086657600080fd5b506103c5610875366004614476565b611a5f565b34801561088657600080fd5b5061089a6108953660046142f9565b611b53565b60405161039c9392919061466e565b3480156108b557600080fd5b506103c56108c4366004614190565b611c8b565b3480156108d557600080fd5b506103c56108e4366004614311565b611cdc565b3480156108f557600080fd5b506103c5610904366004614311565b611d82565b34801561091557600080fd5b506103c56109243660046140a7565b611e2e565b34801561093557600080fd5b506103c561094436600461443b565b611e66565b34801561095557600080fd5b506104096109643660046142f9565b6014602052600090815260409020546001600160a01b031681565b34801561098b57600080fd5b506103c561099a3660046141bb565b611eaf565b3480156109ab57600080fd5b506103dc6109ba3660046142f9565b612277565b3480156109cb57600080fd5b506103c56109da366004614510565b6123c3565b3480156109eb57600080fd5b506103906109fa366004614190565b60009081526019602090815260408083206001600160a01b039094168352929052205460ff1690565b348015610a2f57600080fd5b50610465610a3e366004614497565b61254d565b348015610a4f57600080fd5b506103c5610a5e366004614476565b612644565b348015610a6f57600080fd5b50610465610a7e366004614013565b6001600160a01b03166000908152600e602052604090205490565b348015610aa557600080fd5b506103dc6126a7565b348015610aba57600080fd5b50610390610ac936600461402f565b6126b6565b348015610ada57600080fd5b506103c5610ae93660046144e5565b612798565b348015610afa57600080fd5b506103c5610b09366004614013565b612854565b348015610b1a57600080fd5b506107f2610b29366004614476565b6000918252601860209081526040808420928452919052908190205467ffffffffffffffff808216939282901c811692608083901c9091169163ffffffff60c082901c169160e09190911c90565b348015610b8357600080fd5b50610465610b923660046142f9565b6000908152600f602052604090205490565b6000610baf826128ec565b92915050565b6000815111610bf65760405162461bcd60e51b81526020600482015260086024820152674e4f544f4b454e5360c01b60448201526064015b60405180910390fd5b6000806000620f424062ffffff1684600081518110610c2557634e487b7160e01b600052603260045260246000fd5b6020026020010151610c3791906147ff565b9050610c4481855161293c565b909350915060005b8451811015610d095781620f424062ffffff16868381518110610c7f57634e487b7160e01b600052603260045260246000fd5b6020026020010151610c9191906147ff565b14610cc95760405162461bcd60e51b815260206004820152600860248201526709c9ea89a82a886960c31b6044820152606401610bed565b610cf9858281518110610cec57634e487b7160e01b600052603260045260246000fd5b6020026020010151611215565b610d02816148b0565b9050610c4c565b506000828152600f6020526040812054610d249060016147e7565b905083811115610d615760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000838152600f60205260408120805460019290610d809084906147e7565b925050819055506001600d6000828254610d9a91906147e7565b90915550610dc190508682610db2620f424087614813565b610dbc91906147e7565b6129ef565b505050505050565b606060018054610dd890614875565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0490614875565b8015610e515780601f10610e2657610100808354040283529160200191610e51565b820191906000526020600020905b815481529060010190602001808311610e3457829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610ed45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bed565b506000908152600560205260409020546001600160a01b031690565b6000610efb8261158c565b9050806001600160a01b0316836001600160a01b03161415610f695760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bed565b336001600160a01b0382161480610f855750610f8581336126b6565b610ff75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bed565b6110018383612a09565b505050565b6000808080611016338787612a77565b9296509094509250905061102f84888886868a87612b85565b50505050505050565b611043335b82612dbe565b61105f5760405162461bcd60e51b8152600401610bed90614741565b611001838383612e8d565b6000546001600160a01b031633146110945760405162461bcd60e51b8152600401610bed9061470c565b81518351146110ce5760405162461bcd60e51b81526020600482015260066024820152650988a9c8ea8960d31b6044820152606401610bed565b80518251146111085760405162461bcd60e51b81526020600482015260066024820152650988a9c8ea8960d31b6044820152606401610bed565b6040805160608101825284815260208082018590528183018490526000878152601a82529290922081518051929391926111459284920190613e66565b50602082810151805161115e9260018501920190613e66565b506040820151805161102f916002840191602090910190613e66565b6000546001600160a01b031633146111a45760405162461bcd60e51b8152600401610bed9061470c565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111f05760405162461bcd60e51b8152600401610bed9061470c565b6111f8613038565b565b61100183838360405180602001604052806000815250611e2e565b61121e3361103d565b6112835760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610bed565b61128c816130d4565b50565b6001600160a01b03811633146112d05760405162461bcd60e51b8152600401610bed90602080825260049082015263082aaa8960e31b604082015260600190565b6001600160a01b0381166000908152600e6020526040902054806113205760405162461bcd60e51b81526020600482015260076024820152664e4f46554e445360c81b6044820152606401610bed565b6001600160a01b0382166000908152600e6020526040812055611343828261317b565b5050565b6000546001600160a01b031633146113715760405162461bcd60e51b8152600401610bed9061470c565b600090815260146020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113c95760405162461bcd60e51b8152600401610bed9061470c565b8051611343906008906020840190613eb1565b6000878152601460205260409020546001600160a01b0316331461142d5760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000868152601460205260409020546001600160a01b031661147a5760405162461bcd60e51b81526020600482015260066024820152654e4f5045524b60d01b6044820152606401610bed565b67f9ccd8a1c50800008511156114bb5760405162461bcd60e51b8152600401610bed9060208082526004908201526310d3d4d560e21b604082015260600190565b72184f03e93ff9f4daa797ed6e38ed64bf6a1f0160411b841080156114ed57506d09dc5ada82b70b59df020000000083105b801561150657506d09dc5ada82b70b59df020000000082105b801561151f57506d09dc5ada82b70b59df020000000081105b6115515760405162461bcd60e51b815260206004820152600360248201526227a7a160e91b6044820152606401610bed565b60009687526018602090815260408089209789529690529585902060e09690961b60c09190911b60809290921b9290941b9092171717179055565b6000818152600360205260408120546001600160a01b031680610baf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bed565b60006001600160a01b03821661166e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bed565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146116b45760405162461bcd60e51b8152600401610bed9061470c565b6111f86000613294565b600080808080806116d2620f4240886147ff565b9050336116de8861158c565b6001600160a01b03161461171e5760405162461bcd60e51b81526020600482015260076024820152661513d2d153925160ca1b6044820152606401610bed565b61172989828a6132e4565b93995091975095509350915081156117cd5760008981526012602090815260408083208a84529091529020548290611762908a906147e7565b111561179e5760405162461bcd60e51b815260206004820152600b60248201526a1513d2d15388131253525560aa1b6044820152606401610bed565b60008981526012602090815260408083208a8452909152812080548a92906117c79084906147e7565b90915550505b6117dc868b8b88888d89612b85565b50505050505050505050565b6000546001600160a01b031633146118125760405162461bcd60e51b8152600401610bed9061470c565b6111f8613435565b600083815260136020908152604080832085845290915290205460ff161561186e5760405162461bcd60e51b815260206004820152600760248201526610d3105253515160ca1b6044820152606401610bed565b600061187b84848461254d565b6000858152600f6020526040812054919250906118999060016147e7565b9050818111156118d65760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000858152600f602052604081208054600192906118f59084906147e7565b925050819055506001600d600082825461190f91906147e7565b909155505060008581526013602090815260408083208784529091529020805460ff19166001179055610dc18682610db2620f424089614813565b6000546001600160a01b031633146119745760405162461bcd60e51b8152600401610bed9061470c565b8051611343906009906020840190613eb1565b606060028054610dd890614875565b6000546001600160a01b031633146119c05760405162461bcd60e51b8152600401610bed9061470c565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600090815260156020526040908190205467ffffffffffffffff808216939282901c811692608083901c9091169163ffffffff60c082901c169160e09190911c90565b6000546001600160a01b03163314611a4f5760405162461bcd60e51b8152600401610bed9061470c565b600c55565b6113433383836134b0565b6000611a6e620f4240846147ff565b90506000611a7f620f4240846147ff565b600083815260176020526040902054909150808214611aca5760405162461bcd60e51b81526020600482015260076024820152661253959053125160ca1b6044820152606401610bed565b33611ad48661158c565b6001600160a01b031614611b145760405162461bcd60e51b81526020600482015260076024820152661513d2d153925160ca1b6044820152606401610bed565b611b1d84611215565b6040518490869033907f2d7c9a88b6c68ef5e0bc4ddd2cbd63412c13b038eb36b78fee0dc6f18dc9781490600090a45050505050565b6000818152601a6020908152604091829020805483518184028101840190945280845260609384938493919290830182828015611baf57602002820191906000526020600020905b815481526020019060010190808311611b9b575b50505050509250601a6000858152602001908152602001600020600101805480602002602001604051908101604052809291908181526020018280548015611c1657602002820191906000526020600020905b815481526020019060010190808311611c02575b50505050509150601a6000858152602001908152602001600020600201805480602002602001604051908101604052809291908181526020018280548015611c7d57602002820191906000526020600020905b815481526020019060010190808311611c69575b505050505090509193909250565b6000818152601460205260409020546001600160a01b031633146113715760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000546001600160a01b03163314611d065760405162461bcd60e51b8152600401610bed9061470c565b60005b815181101561100157601960008481526020019081526020016000206000838381518110611d4757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169055611d7b816148b0565b9050611d09565b6000546001600160a01b03163314611dac5760405162461bcd60e51b8152600401610bed9061470c565b60005b8151811015611001576000838152601960205260408120835160019290859085908110611dec57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055611e27816148b0565b9050611daf565b611e383383612dbe565b611e545760405162461bcd60e51b8152600401610bed90614741565b611e608484848461357f565b50505050565b6000546001600160a01b03163314611e905760405162461bcd60e51b8152600401610bed9061470c565b6000828152601060209081526040909120825161100192840190613eb1565b6000828152600f6020526040812054611ec7846119e2565b5092945060009250829150505b6000868152601a602052604090206002015481101561216a576000868152601a602052604081206002018054601992919084908110611f2357634e487b7160e01b600052603260045260246000fd5b906000526020600020015481526020019081526020016000206000611f453390565b6001600160a01b0316815260208101919091526040016000205460ff161561215a576000868152601a60205260408120600190810180549194509083908110611f9e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156120a0576000868152601a60205260409020600101805482908110611fe057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154856011600089815260200190815260200160002060006120083390565b6001600160a01b03166001600160a01b031681526020019081526020016000205461203391906147e7565b11156120715760405162461bcd60e51b815260206004820152600d60248201526c105111149154d4c81312535255609a1b6044820152606401610bed565b60008681526011602090815260408083203384529091528120805487929061209a9084906147e7565b90915550505b6000868152601a602052604081208054839081106120ce57634e487b7160e01b600052603260045260246000fd5b90600052602060002001541115612155576000868152601a6020526040902080544291908390811061211057634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156121555760405162461bcd60e51b8152602060048201526009602482015268544f4f204541524c5960b81b6044820152606401610bed565b61216a565b612163816148b0565b9050611ed4565b50806121a95760405162461bcd60e51b815260206004820152600e60248201526d1393d515d2125511531254d5115160921b6044820152606401610bed565b826121b485846147e7565b11156121ed5760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000858152600f60205260408120805486929061220b9084906147e7565b9250508190555083600d600082825461222491906147e7565b90915550600090505b8481101561102f57612267878285612248620f42408b614813565b61225291906147e7565b61225c91906147e7565b610dbc9060016147e7565b612270816148b0565b905061222d565b6000818152600360205260409020546060906001600160a01b03166122c85760405162461bcd60e51b81526020600482015260076024820152662727aa27a5a2a760c91b6044820152606401610bed565b60006122d7620f4240846147ff565b6000818152601060205260408120805492935090916122f590614875565b80601f016020809104026020016040519081016040528092919081815260200182805461232190614875565b801561236e5780601f106123435761010080835404028352916020019161236e565b820191906000526020600020905b81548152906001019060200180831161235157829003601f168201915b505050505090506000815111156123b25780612389856135b2565b60405160200161239a929190614603565b60405160208183030381529060405292505050919050565b6123bb846136cc565b949350505050565b6000868152601460205260409020546001600160a01b031633146124145760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000851180156124275750620f423f8511155b61245c5760405162461bcd60e51b8152602060048201526006602482015265535550504c5960d01b6044820152606401610bed565b67f9ccd8a1c508000084111561249d5760405162461bcd60e51b8152600401610bed9060208082526004908201526310d3d4d560e21b604082015260600190565b72184f03e93ff9f4daa797ed6e38ed64bf6a1f0160411b831080156124cf57506d09dc5ada82b70b59df020000000082105b80156124e857506d09dc5ada82b70b59df020000000081105b61251a5760405162461bcd60e51b815260206004820152600360248201526227a7a160e91b6044820152606401610bed565b6000958652601560205260409586902060e09190911b60c09290921b60809390931b9390951b9093179190911717179055565b6000806125d86125d28686604051602001612572929190918252602082015260400190565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b846137a6565b6000868152601460205260409020549091506001600160a01b0380831691161461262d5760405162461bcd60e51b815260206004820152600660248201526542414453494760d01b6044820152606401610bed565b612636856119e2565b509298975050505050505050565b6000828152601460205260409020546001600160a01b031633146126955760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b60009182526017602052604090912055565b606060098054610dd890614875565b600a546000906001600160a01b03161561276757600a5460405163c455279160e01b81526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b15801561271457600080fd5b505afa158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c91906142aa565b6001600160a01b03161415612765576001915050610baf565b505b6001600160a01b0380841660009081526006602090815260408083209386168352929052205460ff165b9392505050565b6000838152601460205260409020546001600160a01b031633146127e95760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000828152601460205260409020546001600160a01b0316331461283a5760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b60009283526016602052604090922060809290921b179055565b6000546001600160a01b0316331461287e5760405162461bcd60e51b8152600401610bed9061470c565b6001600160a01b0381166128e35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bed565b61128c81613294565b60006001600160e01b031982166380ac58cd60e01b148061291d57506001600160e01b03198216635b5e139f60e01b145b80610baf57506301ffc9a760e01b6001600160e01b0319831614610baf565b6000828152601660205260408120546fffffffffffffffffffffffffffffffff81169060801c61296b826119e2565b50929550505081151590506129ad5760405162461bcd60e51b8152602060048201526008602482015267111254d05093115160c21b6044820152606401610bed565b8084146129e75760405162461bcd60e51b81526020600482015260086024820152675155414e5449545960c01b6044820152606401610bed565b509250929050565b6113438282604051806020016040528060008152506137ca565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a3e8261158c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806000806000806000612a8b896119e2565b60008e8152601460205260409020546001600160a01b039081169c50949a509750919550935091508a168714612b6d5760008211612af65760405162461bcd60e51b8152602060048201526008602482015267111254d05093115160c21b6044820152606401610bed565b42821115612b325760405162461bcd60e51b8152602060048201526009602482015268544f4f204541524c5960b81b6044820152606401610bed565b80881115612b6d5760405162461bcd60e51b8152602060048201526008602482015267151608131253525560c21b6044820152606401610bed565b612b778389614813565b945050505093509350935093565b6001600160a01b0387163314612cf557348314612bcc5760405162461bcd60e51b815260206004820152600560248201526446554e445360d81b6044820152606401610bed565b8015612c665760008581526011602090815260408083203384529091529020548190612bf99084906147e7565b1115612c375760405162461bcd60e51b815260206004820152600d60248201526c105111149154d4c81312535255609a1b6044820152606401610bed565b600085815260116020908152604080832033845290915281208054849290612c609084906147e7565b90915550505b60006103e8600c5434612c799190614813565b612c8391906147ff565b90506000612c918234614832565b600b546001600160a01b03166000908152600e6020526040812080549293508492909190612cc09084906147e7565b90915550506001600160a01b0389166000908152600e602052604081208054839290612ced9084906147e7565b909155505050505b6000858152600f602052604090205484612d0f84836147e7565b1115612d485760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000868152600f602052604081208054859290612d669084906147e7565b9250508190555082600d6000828254612d7f91906147e7565b90915550600090505b83811015612db357612da3888284612248620f42408c614813565b612dac816148b0565b9050612d88565b505050505050505050565b6000818152600360205260408120546001600160a01b0316612e375760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bed565b6000612e428361158c565b9050806001600160a01b0316846001600160a01b03161480612e7d5750836001600160a01b0316612e7284610e5b565b6001600160a01b0316145b806123bb57506123bb81856126b6565b826001600160a01b0316612ea08261158c565b6001600160a01b031614612f085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bed565b6001600160a01b038216612f6a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bed565b612f758383836137fd565b612f80600082612a09565b6001600160a01b0383166000908152600460205260408120805460019290612fa9908490614832565b90915550506001600160a01b0382166000908152600460205260408120805460019290612fd79084906147e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60075460ff1661308a5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bed565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006130df8261158c565b90506130ed816000846137fd565b6130f8600083612a09565b6001600160a01b0381166000908152600460205260408120805460019290613121908490614832565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b804710156131cb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bed565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613218576040519150601f19603f3d011682016040523d82523d6000602084013e61321d565b606091505b50509050806110015760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000806000806000806132f98b6119e2565b50505060008d81526018602090815260408083208f8452909152908190205492995067ffffffffffffffff808416939182901c81169250608082901c169060c081901c63ffffffff169060e01c9098509650919450925090508161338a5760405162461bcd60e51b8152602060048201526008602482015267111254d05093115160c21b6044820152606401610bed565b428211156133c65760405162461bcd60e51b8152602060048201526009602482015268544f4f204541524c5960b81b6044820152606401610bed565b808911156134015760405162461bcd60e51b8152602060048201526008602482015267151608131253525560c21b6044820152606401610bed565b61340b838a614813565b60009b8c5260146020526040909b20546001600160a01b03169b969a995093975091955050505050565b60075460ff161561347b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bed565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586130b73390565b816001600160a01b0316836001600160a01b031614156135125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bed565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61358a848484612e8d565b61359684848484613808565b611e605760405162461bcd60e51b8152600401610bed906146ba565b6060816135d65750506040805180820190915260018152600360fc1b602082015290565b8160005b811561360057806135ea816148b0565b91506135f99050600a836147ff565b91506135da565b60008167ffffffffffffffff81111561362957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613653576020820181803683370190505b5090505b84156123bb57613668600183614832565b9150613675600a866148cb565b6136809060306147e7565b60f81b8183815181106136a357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506136c5600a866147ff565b9450613657565b6000818152600360205260409020546060906001600160a01b031661374b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bed565b6000613755613915565b905060008151116137755760405180602001604052806000815250612791565b8061377f846135b2565b604051602001613790929190614603565b6040516020818303038152906040529392505050565b60008060006137b58585613924565b915091506137c281613994565b509392505050565b6137d48383613b95565b6137e16000848484613808565b6110015760405162461bcd60e51b8152600401610bed906146ba565b611001838383613ce3565b60006001600160a01b0384163b1561390a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061384c903390899088908890600401614632565b602060405180830381600087803b15801561386657600080fd5b505af1925050508015613896575060408051601f3d908101601f191682019092526138939181019061428e565b60015b6138f0573d8080156138c4576040519150601f19603f3d011682016040523d82523d6000602084013e6138c9565b606091505b5080516138e85760405162461bcd60e51b8152600401610bed906146ba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123bb565b506001949350505050565b606060088054610dd890614875565b60008082516041141561395b5760208301516040840151606085015160001a61394f87828585613d4a565b9450945050505061398d565b825160401415613985576020830151604084015161397a868383613e37565b93509350505061398d565b506000905060025b9250929050565b60008160048111156139b657634e487b7160e01b600052602160045260246000fd5b14156139bf5750565b60018160048111156139e157634e487b7160e01b600052602160045260246000fd5b1415613a2f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bed565b6002816004811115613a5157634e487b7160e01b600052602160045260246000fd5b1415613a9f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bed565b6003816004811115613ac157634e487b7160e01b600052602160045260246000fd5b1415613b1a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bed565b6004816004811115613b3c57634e487b7160e01b600052602160045260246000fd5b141561128c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bed565b6001600160a01b038216613beb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bed565b6000818152600360205260409020546001600160a01b031615613c505760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bed565b613c5c600083836137fd565b6001600160a01b0382166000908152600460205260408120805460019290613c859084906147e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60075460ff16156110015760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610bed565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613d815750600090506003613e2e565b8460ff16601b14158015613d9957508460ff16601c14155b15613daa5750600090506004613e2e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613dfe573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613e2757600060019250925050613e2e565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01613e5887828885613d4a565b935093505050935093915050565b828054828255906000526020600020908101928215613ea1579160200282015b82811115613ea1578251825591602001919060010190613e86565b50613ead929150613f24565b5090565b828054613ebd90614875565b90600052602060002090601f016020900481019282613edf5760008555613ea1565b82601f10613ef857805160ff1916838001178555613ea1565b82800160010185558215613ea15791820182811115613ea1578251825591602001919060010190613e86565b5b80821115613ead5760008155600101613f25565b600082601f830112613f49578081fd5b81356020613f5e613f59836147c3565b614792565b80838252828201915082860187848660051b8901011115613f7d578586fd5b855b85811015613f9b57813584529284019290840190600101613f7f565b5090979650505050505050565b600082601f830112613fb8578081fd5b813567ffffffffffffffff811115613fd257613fd261490b565b613fe5601f8201601f1916602001614792565b818152846020838601011115613ff9578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215614024578081fd5b813561279181614921565b60008060408385031215614041578081fd5b823561404c81614921565b9150602083013561405c81614921565b809150509250929050565b60008060006060848603121561407b578081fd5b833561408681614921565b9250602084013561409681614921565b929592945050506040919091013590565b600080600080608085870312156140bc578081fd5b84356140c781614921565b935060208501356140d781614921565b925060408501359150606085013567ffffffffffffffff8111156140f9578182fd5b61410587828801613fa8565b91505092959194509250565b60008060408385031215614123578182fd5b823561412e81614921565b9150602083013567ffffffffffffffff811115614149578182fd5b61415585828601613f39565b9150509250929050565b60008060408385031215614171578182fd5b823561417c81614921565b91506020830135801515811461405c578182fd5b600080604083850312156141a2578182fd5b82356141ad81614921565b946020939093013593505050565b6000806000606084860312156141cf578081fd5b83356141da81614921565b95602085013595506040909401359392505050565b60008060008060808587031215614204578182fd5b843561420f81614921565b93506020850135925060408501359150606085013567ffffffffffffffff8111156140f9578182fd5b6000806000806080858703121561424d578182fd5b843561425881614921565b966020860135965060408601359560600135945092505050565b600060208284031215614283578081fd5b813561279181614936565b60006020828403121561429f578081fd5b815161279181614936565b6000602082840312156142bb578081fd5b815161279181614921565b6000602082840312156142d7578081fd5b813567ffffffffffffffff8111156142ed578182fd5b6123bb84828501613fa8565b60006020828403121561430a578081fd5b5035919050565b60008060408385031215614323578182fd5b8235915060208084013567ffffffffffffffff811115614341578283fd5b8401601f81018613614351578283fd5b803561435f613f59826147c3565b80828252848201915084840189868560051b870101111561437e578687fd5b8694505b838510156143a957803561439581614921565b835260019490940193918501918501614382565b5080955050505050509250929050565b600080600080608085870312156143ce578182fd5b84359350602085013567ffffffffffffffff808211156143ec578384fd5b6143f888838901613f39565b9450604087013591508082111561440d578384fd5b61441988838901613f39565b9350606087013591508082111561442e578283fd5b5061410587828801613f39565b6000806040838503121561444d578182fd5b82359150602083013567ffffffffffffffff81111561446a578182fd5b61415585828601613fa8565b60008060408385031215614488578182fd5b50508035926020909101359150565b6000806000606084860312156144ab578081fd5b8335925060208401359150604084013567ffffffffffffffff8111156144cf578182fd5b6144db86828701613fa8565b9150509250925092565b6000806000606084860312156144f9578081fd5b505081359360208301359350604090920135919050565b60008060008060008060c08789031215614528578384fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b600080600080600080600060e0888a03121561456c578485fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b6000815180845260208085019450808401835b838110156145cc578151875295820195908201906001016145b0565b509495945050505050565b600081518084526145ef816020860160208601614849565b601f01601f19169290920160200192915050565b60008351614615818460208801614849565b835190830190614629818360208801614849565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261466460808301846145d7565b9695505050505050565b606081526000614681606083018661459d565b8281036020840152614693818661459d565b90508281036040840152614664818561459d565b60208152600061279160208301846145d7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156147bb576147bb61490b565b604052919050565b600067ffffffffffffffff8211156147dd576147dd61490b565b5060051b60200190565b600082198211156147fa576147fa6148df565b500190565b60008261480e5761480e6148f5565b500490565b600081600019048311821515161561482d5761482d6148df565b500290565b600082821015614844576148446148df565b500390565b60005b8381101561486457818101518382015260200161484c565b83811115611e605750506000910152565b600181811c9082168061488957607f821691505b602082108114156148aa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156148c4576148c46148df565b5060010190565b6000826148da576148da6148f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461128c57600080fd5b6001600160e01b03198116811461128c57600080fdfea2646970667358221220a587a5f29266175e511baf17c75b4e963a39dede8c1f8a1c013d6b34ba01c99564736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000002e4b80ad58de2cdb32db1afdf9eed888cf3b92e000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000054d4f4e475300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d4f4e4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e6d6f6e67732e696f2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6d6574612e6d6f6e67732e696f2f636f6e74726163740000

Deployed Bytecode

0x60806040526004361061036b5760003560e01c80639118fe01116101c6578063ba2d08f4116100f7578063e3d670d711610095578063f049967a1161006f578063f049967a14610ace578063f2fde38b14610aee578063f63a01c014610b0e578063f993435d14610b7757600080fd5b8063e3d670d714610a63578063e8a3d48514610a99578063e985e9c514610aae57600080fd5b8063ce2126e6116100d1578063ce2126e6146109bf578063d088070a146109df578063dafd7c1614610a23578063db1afc7914610a4357600080fd5b8063ba2d08f414610949578063c1b17dec1461097f578063c87b56dd1461099f57600080fd5b8063a69d99b111610164578063b38991341161013e578063b3899134146108c9578063b7e32229146108e9578063b88d4fde14610909578063b9782a191461092957600080fd5b8063a69d99b11461085a578063aa5fc2671461087a578063ab6f86a4146108a957600080fd5b806397107d6d116101a057806397107d6d146107b257806398bb5a6a146107d25780639c09f6821461081a578063a22cb4651461083a57600080fd5b80639118fe0114610750578063938e3d7b1461077d57806395d89b411461079d57600080fd5b806342966c68116102a057806370a082311161023e5780638456cb59116102185780638456cb59146106c657806387647781146106db578063899df819146107125780638da5cb5b1461073257600080fd5b806370a082311461067e578063715018a61461069e57806377b1f713146106b357600080fd5b806355f804b31161027a57806355f804b3146106065780635c975abb1461062657806361e638701461063e5780636352211e1461065e57600080fd5b806342966c68146105a657806351cff8d9146105c657806353a7bec8146105e657600080fd5b806323b872dd1161030d57806333ea51a8116102e757806333ea51a81461050f5780633f4ba83a1461052f57806342842e0e14610544578063428563dc1461056457600080fd5b806323b872dd1461047357806323ca704614610493578063249723c8146104b357600080fd5b8063081812fc11610349578063081812fc146103e9578063095ea7b314610421578063156e29f61461044157806318160ddd1461045457600080fd5b806301ffc9a71461037057806305875641146103a557806306fdde03146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004614272565b610ba4565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103c56103c0366004614111565b610bb5565b005b3480156103d357600080fd5b506103dc610dc9565b60405161039c91906146a7565b3480156103f557600080fd5b506104096104043660046142f9565b610e5b565b6040516001600160a01b03909116815260200161039c565b34801561042d57600080fd5b506103c561043c366004614190565b610ef0565b6103c561044f3660046141bb565b611006565b34801561046057600080fd5b50600d545b60405190815260200161039c565b34801561047f57600080fd5b506103c561048e366004614067565b611038565b34801561049f57600080fd5b506103c56104ae3660046143b9565b61106a565b3480156104bf57600080fd5b506104fa6104ce3660046142f9565b6000908152601660205260409020546fffffffffffffffffffffffffffffffff81169160809190911c90565b6040805192835260208301919091520161039c565b34801561051b57600080fd5b506103c561052a366004614013565b61117a565b34801561053b57600080fd5b506103c56111c6565b34801561055057600080fd5b506103c561055f366004614067565b6111fa565b34801561057057600080fd5b5061046561057f366004614190565b60009081526011602090815260408083206001600160a01b03949094168352929052205490565b3480156105b257600080fd5b506103c56105c13660046142f9565b611215565b3480156105d257600080fd5b506103c56105e1366004614013565b61128f565b3480156105f257600080fd5b506103c5610601366004614190565b611347565b34801561061257600080fd5b506103c56106213660046142c6565b61139f565b34801561063257600080fd5b5060075460ff16610390565b34801561064a57600080fd5b506103c5610659366004614552565b6113dc565b34801561066a57600080fd5b506104096106793660046142f9565b61158c565b34801561068a57600080fd5b50610465610699366004614013565b611603565b3480156106aa57600080fd5b506103c561168a565b6103c56106c1366004614238565b6116be565b3480156106d257600080fd5b506103c56117e8565b3480156106e757600080fd5b506104656106f6366004614476565b6000908152601260209081526040808320938352929052205490565b34801561071e57600080fd5b506103c561072d3660046141ef565b61181a565b34801561073e57600080fd5b506000546001600160a01b0316610409565b34801561075c57600080fd5b5061046561076b3660046142f9565b60009081526017602052604090205490565b34801561078957600080fd5b506103c56107983660046142c6565b61194a565b3480156107a957600080fd5b506103dc611987565b3480156107be57600080fd5b506103c56107cd366004614013565b611996565b3480156107de57600080fd5b506107f26107ed3660046142f9565b6119e2565b604080519586526020860194909452928401919091526060830152608082015260a00161039c565b34801561082657600080fd5b506103c56108353660046142f9565b611a25565b34801561084657600080fd5b506103c561085536600461415f565b611a54565b34801561086657600080fd5b506103c5610875366004614476565b611a5f565b34801561088657600080fd5b5061089a6108953660046142f9565b611b53565b60405161039c9392919061466e565b3480156108b557600080fd5b506103c56108c4366004614190565b611c8b565b3480156108d557600080fd5b506103c56108e4366004614311565b611cdc565b3480156108f557600080fd5b506103c5610904366004614311565b611d82565b34801561091557600080fd5b506103c56109243660046140a7565b611e2e565b34801561093557600080fd5b506103c561094436600461443b565b611e66565b34801561095557600080fd5b506104096109643660046142f9565b6014602052600090815260409020546001600160a01b031681565b34801561098b57600080fd5b506103c561099a3660046141bb565b611eaf565b3480156109ab57600080fd5b506103dc6109ba3660046142f9565b612277565b3480156109cb57600080fd5b506103c56109da366004614510565b6123c3565b3480156109eb57600080fd5b506103906109fa366004614190565b60009081526019602090815260408083206001600160a01b039094168352929052205460ff1690565b348015610a2f57600080fd5b50610465610a3e366004614497565b61254d565b348015610a4f57600080fd5b506103c5610a5e366004614476565b612644565b348015610a6f57600080fd5b50610465610a7e366004614013565b6001600160a01b03166000908152600e602052604090205490565b348015610aa557600080fd5b506103dc6126a7565b348015610aba57600080fd5b50610390610ac936600461402f565b6126b6565b348015610ada57600080fd5b506103c5610ae93660046144e5565b612798565b348015610afa57600080fd5b506103c5610b09366004614013565b612854565b348015610b1a57600080fd5b506107f2610b29366004614476565b6000918252601860209081526040808420928452919052908190205467ffffffffffffffff808216939282901c811692608083901c9091169163ffffffff60c082901c169160e09190911c90565b348015610b8357600080fd5b50610465610b923660046142f9565b6000908152600f602052604090205490565b6000610baf826128ec565b92915050565b6000815111610bf65760405162461bcd60e51b81526020600482015260086024820152674e4f544f4b454e5360c01b60448201526064015b60405180910390fd5b6000806000620f424062ffffff1684600081518110610c2557634e487b7160e01b600052603260045260246000fd5b6020026020010151610c3791906147ff565b9050610c4481855161293c565b909350915060005b8451811015610d095781620f424062ffffff16868381518110610c7f57634e487b7160e01b600052603260045260246000fd5b6020026020010151610c9191906147ff565b14610cc95760405162461bcd60e51b815260206004820152600860248201526709c9ea89a82a886960c31b6044820152606401610bed565b610cf9858281518110610cec57634e487b7160e01b600052603260045260246000fd5b6020026020010151611215565b610d02816148b0565b9050610c4c565b506000828152600f6020526040812054610d249060016147e7565b905083811115610d615760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000838152600f60205260408120805460019290610d809084906147e7565b925050819055506001600d6000828254610d9a91906147e7565b90915550610dc190508682610db2620f424087614813565b610dbc91906147e7565b6129ef565b505050505050565b606060018054610dd890614875565b80601f0160208091040260200160405190810160405280929190818152602001828054610e0490614875565b8015610e515780601f10610e2657610100808354040283529160200191610e51565b820191906000526020600020905b815481529060010190602001808311610e3457829003601f168201915b5050505050905090565b6000818152600360205260408120546001600160a01b0316610ed45760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bed565b506000908152600560205260409020546001600160a01b031690565b6000610efb8261158c565b9050806001600160a01b0316836001600160a01b03161415610f695760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610bed565b336001600160a01b0382161480610f855750610f8581336126b6565b610ff75760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610bed565b6110018383612a09565b505050565b6000808080611016338787612a77565b9296509094509250905061102f84888886868a87612b85565b50505050505050565b611043335b82612dbe565b61105f5760405162461bcd60e51b8152600401610bed90614741565b611001838383612e8d565b6000546001600160a01b031633146110945760405162461bcd60e51b8152600401610bed9061470c565b81518351146110ce5760405162461bcd60e51b81526020600482015260066024820152650988a9c8ea8960d31b6044820152606401610bed565b80518251146111085760405162461bcd60e51b81526020600482015260066024820152650988a9c8ea8960d31b6044820152606401610bed565b6040805160608101825284815260208082018590528183018490526000878152601a82529290922081518051929391926111459284920190613e66565b50602082810151805161115e9260018501920190613e66565b506040820151805161102f916002840191602090910190613e66565b6000546001600160a01b031633146111a45760405162461bcd60e51b8152600401610bed9061470c565b600b80546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146111f05760405162461bcd60e51b8152600401610bed9061470c565b6111f8613038565b565b61100183838360405180602001604052806000815250611e2e565b61121e3361103d565b6112835760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201526f1b995c881b9bdc88185c1c1c9bdd995960821b6064820152608401610bed565b61128c816130d4565b50565b6001600160a01b03811633146112d05760405162461bcd60e51b8152600401610bed90602080825260049082015263082aaa8960e31b604082015260600190565b6001600160a01b0381166000908152600e6020526040902054806113205760405162461bcd60e51b81526020600482015260076024820152664e4f46554e445360c81b6044820152606401610bed565b6001600160a01b0382166000908152600e6020526040812055611343828261317b565b5050565b6000546001600160a01b031633146113715760405162461bcd60e51b8152600401610bed9061470c565b600090815260146020526040902080546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146113c95760405162461bcd60e51b8152600401610bed9061470c565b8051611343906008906020840190613eb1565b6000878152601460205260409020546001600160a01b0316331461142d5760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000868152601460205260409020546001600160a01b031661147a5760405162461bcd60e51b81526020600482015260066024820152654e4f5045524b60d01b6044820152606401610bed565b67f9ccd8a1c50800008511156114bb5760405162461bcd60e51b8152600401610bed9060208082526004908201526310d3d4d560e21b604082015260600190565b72184f03e93ff9f4daa797ed6e38ed64bf6a1f0160411b841080156114ed57506d09dc5ada82b70b59df020000000083105b801561150657506d09dc5ada82b70b59df020000000082105b801561151f57506d09dc5ada82b70b59df020000000081105b6115515760405162461bcd60e51b815260206004820152600360248201526227a7a160e91b6044820152606401610bed565b60009687526018602090815260408089209789529690529585902060e09690961b60c09190911b60809290921b9290941b9092171717179055565b6000818152600360205260408120546001600160a01b031680610baf5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610bed565b60006001600160a01b03821661166e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610bed565b506001600160a01b031660009081526004602052604090205490565b6000546001600160a01b031633146116b45760405162461bcd60e51b8152600401610bed9061470c565b6111f86000613294565b600080808080806116d2620f4240886147ff565b9050336116de8861158c565b6001600160a01b03161461171e5760405162461bcd60e51b81526020600482015260076024820152661513d2d153925160ca1b6044820152606401610bed565b61172989828a6132e4565b93995091975095509350915081156117cd5760008981526012602090815260408083208a84529091529020548290611762908a906147e7565b111561179e5760405162461bcd60e51b815260206004820152600b60248201526a1513d2d15388131253525560aa1b6044820152606401610bed565b60008981526012602090815260408083208a8452909152812080548a92906117c79084906147e7565b90915550505b6117dc868b8b88888d89612b85565b50505050505050505050565b6000546001600160a01b031633146118125760405162461bcd60e51b8152600401610bed9061470c565b6111f8613435565b600083815260136020908152604080832085845290915290205460ff161561186e5760405162461bcd60e51b815260206004820152600760248201526610d3105253515160ca1b6044820152606401610bed565b600061187b84848461254d565b6000858152600f6020526040812054919250906118999060016147e7565b9050818111156118d65760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000858152600f602052604081208054600192906118f59084906147e7565b925050819055506001600d600082825461190f91906147e7565b909155505060008581526013602090815260408083208784529091529020805460ff19166001179055610dc18682610db2620f424089614813565b6000546001600160a01b031633146119745760405162461bcd60e51b8152600401610bed9061470c565b8051611343906009906020840190613eb1565b606060028054610dd890614875565b6000546001600160a01b031633146119c05760405162461bcd60e51b8152600401610bed9061470c565b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b600090815260156020526040908190205467ffffffffffffffff808216939282901c811692608083901c9091169163ffffffff60c082901c169160e09190911c90565b6000546001600160a01b03163314611a4f5760405162461bcd60e51b8152600401610bed9061470c565b600c55565b6113433383836134b0565b6000611a6e620f4240846147ff565b90506000611a7f620f4240846147ff565b600083815260176020526040902054909150808214611aca5760405162461bcd60e51b81526020600482015260076024820152661253959053125160ca1b6044820152606401610bed565b33611ad48661158c565b6001600160a01b031614611b145760405162461bcd60e51b81526020600482015260076024820152661513d2d153925160ca1b6044820152606401610bed565b611b1d84611215565b6040518490869033907f2d7c9a88b6c68ef5e0bc4ddd2cbd63412c13b038eb36b78fee0dc6f18dc9781490600090a45050505050565b6000818152601a6020908152604091829020805483518184028101840190945280845260609384938493919290830182828015611baf57602002820191906000526020600020905b815481526020019060010190808311611b9b575b50505050509250601a6000858152602001908152602001600020600101805480602002602001604051908101604052809291908181526020018280548015611c1657602002820191906000526020600020905b815481526020019060010190808311611c02575b50505050509150601a6000858152602001908152602001600020600201805480602002602001604051908101604052809291908181526020018280548015611c7d57602002820191906000526020600020905b815481526020019060010190808311611c69575b505050505090509193909250565b6000818152601460205260409020546001600160a01b031633146113715760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000546001600160a01b03163314611d065760405162461bcd60e51b8152600401610bed9061470c565b60005b815181101561100157601960008481526020019081526020016000206000838381518110611d4757634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff19169055611d7b816148b0565b9050611d09565b6000546001600160a01b03163314611dac5760405162461bcd60e51b8152600401610bed9061470c565b60005b8151811015611001576000838152601960205260408120835160019290859085908110611dec57634e487b7160e01b600052603260045260246000fd5b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff1916911515919091179055611e27816148b0565b9050611daf565b611e383383612dbe565b611e545760405162461bcd60e51b8152600401610bed90614741565b611e608484848461357f565b50505050565b6000546001600160a01b03163314611e905760405162461bcd60e51b8152600401610bed9061470c565b6000828152601060209081526040909120825161100192840190613eb1565b6000828152600f6020526040812054611ec7846119e2565b5092945060009250829150505b6000868152601a602052604090206002015481101561216a576000868152601a602052604081206002018054601992919084908110611f2357634e487b7160e01b600052603260045260246000fd5b906000526020600020015481526020019081526020016000206000611f453390565b6001600160a01b0316815260208101919091526040016000205460ff161561215a576000868152601a60205260408120600190810180549194509083908110611f9e57634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156120a0576000868152601a60205260409020600101805482908110611fe057634e487b7160e01b600052603260045260246000fd5b9060005260206000200154856011600089815260200190815260200160002060006120083390565b6001600160a01b03166001600160a01b031681526020019081526020016000205461203391906147e7565b11156120715760405162461bcd60e51b815260206004820152600d60248201526c105111149154d4c81312535255609a1b6044820152606401610bed565b60008681526011602090815260408083203384529091528120805487929061209a9084906147e7565b90915550505b6000868152601a602052604081208054839081106120ce57634e487b7160e01b600052603260045260246000fd5b90600052602060002001541115612155576000868152601a6020526040902080544291908390811061211057634e487b7160e01b600052603260045260246000fd5b906000526020600020015411156121555760405162461bcd60e51b8152602060048201526009602482015268544f4f204541524c5960b81b6044820152606401610bed565b61216a565b612163816148b0565b9050611ed4565b50806121a95760405162461bcd60e51b815260206004820152600e60248201526d1393d515d2125511531254d5115160921b6044820152606401610bed565b826121b485846147e7565b11156121ed5760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000858152600f60205260408120805486929061220b9084906147e7565b9250508190555083600d600082825461222491906147e7565b90915550600090505b8481101561102f57612267878285612248620f42408b614813565b61225291906147e7565b61225c91906147e7565b610dbc9060016147e7565b612270816148b0565b905061222d565b6000818152600360205260409020546060906001600160a01b03166122c85760405162461bcd60e51b81526020600482015260076024820152662727aa27a5a2a760c91b6044820152606401610bed565b60006122d7620f4240846147ff565b6000818152601060205260408120805492935090916122f590614875565b80601f016020809104026020016040519081016040528092919081815260200182805461232190614875565b801561236e5780601f106123435761010080835404028352916020019161236e565b820191906000526020600020905b81548152906001019060200180831161235157829003601f168201915b505050505090506000815111156123b25780612389856135b2565b60405160200161239a929190614603565b60405160208183030381529060405292505050919050565b6123bb846136cc565b949350505050565b6000868152601460205260409020546001600160a01b031633146124145760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000851180156124275750620f423f8511155b61245c5760405162461bcd60e51b8152602060048201526006602482015265535550504c5960d01b6044820152606401610bed565b67f9ccd8a1c508000084111561249d5760405162461bcd60e51b8152600401610bed9060208082526004908201526310d3d4d560e21b604082015260600190565b72184f03e93ff9f4daa797ed6e38ed64bf6a1f0160411b831080156124cf57506d09dc5ada82b70b59df020000000082105b80156124e857506d09dc5ada82b70b59df020000000081105b61251a5760405162461bcd60e51b815260206004820152600360248201526227a7a160e91b6044820152606401610bed565b6000958652601560205260409586902060e09190911b60c09290921b60809390931b9390951b9093179190911717179055565b6000806125d86125d28686604051602001612572929190918252602082015260400190565b60408051601f1981840301815282825280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000084830152603c8085019190915282518085039091018152605c909301909152815191012090565b846137a6565b6000868152601460205260409020549091506001600160a01b0380831691161461262d5760405162461bcd60e51b815260206004820152600660248201526542414453494760d01b6044820152606401610bed565b612636856119e2565b509298975050505050505050565b6000828152601460205260409020546001600160a01b031633146126955760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b60009182526017602052604090912055565b606060098054610dd890614875565b600a546000906001600160a01b03161561276757600a5460405163c455279160e01b81526001600160a01b03858116600483015291821691841690829063c45527919060240160206040518083038186803b15801561271457600080fd5b505afa158015612728573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061274c91906142aa565b6001600160a01b03161415612765576001915050610baf565b505b6001600160a01b0380841660009081526006602090815260408083209386168352929052205460ff165b9392505050565b6000838152601460205260409020546001600160a01b031633146127e95760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b6000828152601460205260409020546001600160a01b0316331461283a5760405162461bcd60e51b81526020600482015260086024820152672727aa27aba722a960c11b6044820152606401610bed565b60009283526016602052604090922060809290921b179055565b6000546001600160a01b0316331461287e5760405162461bcd60e51b8152600401610bed9061470c565b6001600160a01b0381166128e35760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610bed565b61128c81613294565b60006001600160e01b031982166380ac58cd60e01b148061291d57506001600160e01b03198216635b5e139f60e01b145b80610baf57506301ffc9a760e01b6001600160e01b0319831614610baf565b6000828152601660205260408120546fffffffffffffffffffffffffffffffff81169060801c61296b826119e2565b50929550505081151590506129ad5760405162461bcd60e51b8152602060048201526008602482015267111254d05093115160c21b6044820152606401610bed565b8084146129e75760405162461bcd60e51b81526020600482015260086024820152675155414e5449545960c01b6044820152606401610bed565b509250929050565b6113438282604051806020016040528060008152506137ca565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612a3e8261158c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806000806000806000612a8b896119e2565b60008e8152601460205260409020546001600160a01b039081169c50949a509750919550935091508a168714612b6d5760008211612af65760405162461bcd60e51b8152602060048201526008602482015267111254d05093115160c21b6044820152606401610bed565b42821115612b325760405162461bcd60e51b8152602060048201526009602482015268544f4f204541524c5960b81b6044820152606401610bed565b80881115612b6d5760405162461bcd60e51b8152602060048201526008602482015267151608131253525560c21b6044820152606401610bed565b612b778389614813565b945050505093509350935093565b6001600160a01b0387163314612cf557348314612bcc5760405162461bcd60e51b815260206004820152600560248201526446554e445360d81b6044820152606401610bed565b8015612c665760008581526011602090815260408083203384529091529020548190612bf99084906147e7565b1115612c375760405162461bcd60e51b815260206004820152600d60248201526c105111149154d4c81312535255609a1b6044820152606401610bed565b600085815260116020908152604080832033845290915281208054849290612c609084906147e7565b90915550505b60006103e8600c5434612c799190614813565b612c8391906147ff565b90506000612c918234614832565b600b546001600160a01b03166000908152600e6020526040812080549293508492909190612cc09084906147e7565b90915550506001600160a01b0389166000908152600e602052604081208054839290612ced9084906147e7565b909155505050505b6000858152600f602052604090205484612d0f84836147e7565b1115612d485760405162461bcd60e51b8152602060048201526008602482015267434f4d504c45544560c01b6044820152606401610bed565b6000868152600f602052604081208054859290612d669084906147e7565b9250508190555082600d6000828254612d7f91906147e7565b90915550600090505b83811015612db357612da3888284612248620f42408c614813565b612dac816148b0565b9050612d88565b505050505050505050565b6000818152600360205260408120546001600160a01b0316612e375760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610bed565b6000612e428361158c565b9050806001600160a01b0316846001600160a01b03161480612e7d5750836001600160a01b0316612e7284610e5b565b6001600160a01b0316145b806123bb57506123bb81856126b6565b826001600160a01b0316612ea08261158c565b6001600160a01b031614612f085760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610bed565b6001600160a01b038216612f6a5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610bed565b612f758383836137fd565b612f80600082612a09565b6001600160a01b0383166000908152600460205260408120805460019290612fa9908490614832565b90915550506001600160a01b0382166000908152600460205260408120805460019290612fd79084906147e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60075460ff1661308a5760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610bed565b6007805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60006130df8261158c565b90506130ed816000846137fd565b6130f8600083612a09565b6001600160a01b0381166000908152600460205260408120805460019290613121908490614832565b909155505060008281526003602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b804710156131cb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610bed565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613218576040519150601f19603f3d011682016040523d82523d6000602084013e61321d565b606091505b50509050806110015760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610bed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000806000806000806000806132f98b6119e2565b50505060008d81526018602090815260408083208f8452909152908190205492995067ffffffffffffffff808416939182901c81169250608082901c169060c081901c63ffffffff169060e01c9098509650919450925090508161338a5760405162461bcd60e51b8152602060048201526008602482015267111254d05093115160c21b6044820152606401610bed565b428211156133c65760405162461bcd60e51b8152602060048201526009602482015268544f4f204541524c5960b81b6044820152606401610bed565b808911156134015760405162461bcd60e51b8152602060048201526008602482015267151608131253525560c21b6044820152606401610bed565b61340b838a614813565b60009b8c5260146020526040909b20546001600160a01b03169b969a995093975091955050505050565b60075460ff161561347b5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610bed565b6007805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586130b73390565b816001600160a01b0316836001600160a01b031614156135125760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610bed565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61358a848484612e8d565b61359684848484613808565b611e605760405162461bcd60e51b8152600401610bed906146ba565b6060816135d65750506040805180820190915260018152600360fc1b602082015290565b8160005b811561360057806135ea816148b0565b91506135f99050600a836147ff565b91506135da565b60008167ffffffffffffffff81111561362957634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613653576020820181803683370190505b5090505b84156123bb57613668600183614832565b9150613675600a866148cb565b6136809060306147e7565b60f81b8183815181106136a357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506136c5600a866147ff565b9450613657565b6000818152600360205260409020546060906001600160a01b031661374b5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610bed565b6000613755613915565b905060008151116137755760405180602001604052806000815250612791565b8061377f846135b2565b604051602001613790929190614603565b6040516020818303038152906040529392505050565b60008060006137b58585613924565b915091506137c281613994565b509392505050565b6137d48383613b95565b6137e16000848484613808565b6110015760405162461bcd60e51b8152600401610bed906146ba565b611001838383613ce3565b60006001600160a01b0384163b1561390a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061384c903390899088908890600401614632565b602060405180830381600087803b15801561386657600080fd5b505af1925050508015613896575060408051601f3d908101601f191682019092526138939181019061428e565b60015b6138f0573d8080156138c4576040519150601f19603f3d011682016040523d82523d6000602084013e6138c9565b606091505b5080516138e85760405162461bcd60e51b8152600401610bed906146ba565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506123bb565b506001949350505050565b606060088054610dd890614875565b60008082516041141561395b5760208301516040840151606085015160001a61394f87828585613d4a565b9450945050505061398d565b825160401415613985576020830151604084015161397a868383613e37565b93509350505061398d565b506000905060025b9250929050565b60008160048111156139b657634e487b7160e01b600052602160045260246000fd5b14156139bf5750565b60018160048111156139e157634e487b7160e01b600052602160045260246000fd5b1415613a2f5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610bed565b6002816004811115613a5157634e487b7160e01b600052602160045260246000fd5b1415613a9f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610bed565b6003816004811115613ac157634e487b7160e01b600052602160045260246000fd5b1415613b1a5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610bed565b6004816004811115613b3c57634e487b7160e01b600052602160045260246000fd5b141561128c5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610bed565b6001600160a01b038216613beb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610bed565b6000818152600360205260409020546001600160a01b031615613c505760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610bed565b613c5c600083836137fd565b6001600160a01b0382166000908152600460205260408120805460019290613c859084906147e7565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60075460ff16156110015760405162461bcd60e51b815260206004820152602b60248201527f4552433732315061757361626c653a20746f6b656e207472616e73666572207760448201526a1a1a5b19481c185d5cd95960aa1b6064820152608401610bed565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613d815750600090506003613e2e565b8460ff16601b14158015613d9957508460ff16601c14155b15613daa5750600090506004613e2e565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613dfe573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613e2757600060019250925050613e2e565b9150600090505b94509492505050565b6000806001600160ff1b03831660ff84901c601b01613e5887828885613d4a565b935093505050935093915050565b828054828255906000526020600020908101928215613ea1579160200282015b82811115613ea1578251825591602001919060010190613e86565b50613ead929150613f24565b5090565b828054613ebd90614875565b90600052602060002090601f016020900481019282613edf5760008555613ea1565b82601f10613ef857805160ff1916838001178555613ea1565b82800160010185558215613ea15791820182811115613ea1578251825591602001919060010190613e86565b5b80821115613ead5760008155600101613f25565b600082601f830112613f49578081fd5b81356020613f5e613f59836147c3565b614792565b80838252828201915082860187848660051b8901011115613f7d578586fd5b855b85811015613f9b57813584529284019290840190600101613f7f565b5090979650505050505050565b600082601f830112613fb8578081fd5b813567ffffffffffffffff811115613fd257613fd261490b565b613fe5601f8201601f1916602001614792565b818152846020838601011115613ff9578283fd5b816020850160208301379081016020019190915292915050565b600060208284031215614024578081fd5b813561279181614921565b60008060408385031215614041578081fd5b823561404c81614921565b9150602083013561405c81614921565b809150509250929050565b60008060006060848603121561407b578081fd5b833561408681614921565b9250602084013561409681614921565b929592945050506040919091013590565b600080600080608085870312156140bc578081fd5b84356140c781614921565b935060208501356140d781614921565b925060408501359150606085013567ffffffffffffffff8111156140f9578182fd5b61410587828801613fa8565b91505092959194509250565b60008060408385031215614123578182fd5b823561412e81614921565b9150602083013567ffffffffffffffff811115614149578182fd5b61415585828601613f39565b9150509250929050565b60008060408385031215614171578182fd5b823561417c81614921565b91506020830135801515811461405c578182fd5b600080604083850312156141a2578182fd5b82356141ad81614921565b946020939093013593505050565b6000806000606084860312156141cf578081fd5b83356141da81614921565b95602085013595506040909401359392505050565b60008060008060808587031215614204578182fd5b843561420f81614921565b93506020850135925060408501359150606085013567ffffffffffffffff8111156140f9578182fd5b6000806000806080858703121561424d578182fd5b843561425881614921565b966020860135965060408601359560600135945092505050565b600060208284031215614283578081fd5b813561279181614936565b60006020828403121561429f578081fd5b815161279181614936565b6000602082840312156142bb578081fd5b815161279181614921565b6000602082840312156142d7578081fd5b813567ffffffffffffffff8111156142ed578182fd5b6123bb84828501613fa8565b60006020828403121561430a578081fd5b5035919050565b60008060408385031215614323578182fd5b8235915060208084013567ffffffffffffffff811115614341578283fd5b8401601f81018613614351578283fd5b803561435f613f59826147c3565b80828252848201915084840189868560051b870101111561437e578687fd5b8694505b838510156143a957803561439581614921565b835260019490940193918501918501614382565b5080955050505050509250929050565b600080600080608085870312156143ce578182fd5b84359350602085013567ffffffffffffffff808211156143ec578384fd5b6143f888838901613f39565b9450604087013591508082111561440d578384fd5b61441988838901613f39565b9350606087013591508082111561442e578283fd5b5061410587828801613f39565b6000806040838503121561444d578182fd5b82359150602083013567ffffffffffffffff81111561446a578182fd5b61415585828601613fa8565b60008060408385031215614488578182fd5b50508035926020909101359150565b6000806000606084860312156144ab578081fd5b8335925060208401359150604084013567ffffffffffffffff8111156144cf578182fd5b6144db86828701613fa8565b9150509250925092565b6000806000606084860312156144f9578081fd5b505081359360208301359350604090920135919050565b60008060008060008060c08789031215614528578384fd5b505084359660208601359650604086013595606081013595506080810135945060a0013592509050565b600080600080600080600060e0888a03121561456c578485fd5b505085359760208701359750604087013596606081013596506080810135955060a0810135945060c0013592509050565b6000815180845260208085019450808401835b838110156145cc578151875295820195908201906001016145b0565b509495945050505050565b600081518084526145ef816020860160208601614849565b601f01601f19169290920160200192915050565b60008351614615818460208801614849565b835190830190614629818360208801614849565b01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261466460808301846145d7565b9695505050505050565b606081526000614681606083018661459d565b8281036020840152614693818661459d565b90508281036040840152614664818561459d565b60208152600061279160208301846145d7565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff811182821017156147bb576147bb61490b565b604052919050565b600067ffffffffffffffff8211156147dd576147dd61490b565b5060051b60200190565b600082198211156147fa576147fa6148df565b500190565b60008261480e5761480e6148f5565b500490565b600081600019048311821515161561482d5761482d6148df565b500290565b600082821015614844576148446148df565b500390565b60005b8381101561486457818101518382015260200161484c565b83811115611e605750506000910152565b600181811c9082168061488957607f821691505b602082108114156148aa57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156148c4576148c46148df565b5060010190565b6000826148da576148da6148f5565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461128c57600080fd5b6001600160e01b03198116811461128c57600080fdfea2646970667358221220a587a5f29266175e511baf17c75b4e963a39dede8c1f8a1c013d6b34ba01c99564736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000002e4b80ad58de2cdb32db1afdf9eed888cf3b92e000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c100000000000000000000000000000000000000000000000000000000000000054d4f4e475300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000044d4f4e4700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c68747470733a2f2f6d6574612e6d6f6e67732e696f2f746f6b656e2f00000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6d6574612e6d6f6e67732e696f2f636f6e74726163740000

-----Decoded View---------------
Arg [0] : name (string): MONGS
Arg [1] : symbol (string): MONG
Arg [2] : baseTokenURI (string): https://meta.mongs.io/token/
Arg [3] : initContractURI (string): https://meta.mongs.io/contract
Arg [4] : payoutAddress (address): 0x02e4B80Ad58de2CDB32Db1afdF9eEd888cF3B92e
Arg [5] : proxyAddress (address): 0xa5409ec958C83C3f309868babACA7c86DCB077c1

-----Encoded View---------------
14 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [4] : 00000000000000000000000002e4b80ad58de2cdb32db1afdf9eed888cf3b92e
Arg [5] : 000000000000000000000000a5409ec958c83c3f309868babaca7c86dcb077c1
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [7] : 4d4f4e4753000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [9] : 4d4f4e4700000000000000000000000000000000000000000000000000000000
Arg [10] : 000000000000000000000000000000000000000000000000000000000000001c
Arg [11] : 68747470733a2f2f6d6574612e6d6f6e67732e696f2f746f6b656e2f00000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [13] : 68747470733a2f2f6d6574612e6d6f6e67732e696f2f636f6e74726163740000


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.