ETH Price: $2,437.29 (+4.59%)

MECHA BRAWLERS (MBRLRS)
 

Overview

TokenID

144

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
MechaBrawlers

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : MechaBrawlers.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

/*
MechaBrawlers.sol

Contract by @NftDoyler
Thanks <3
*/

contract MechaBrawlers is Ownable, ERC721A {
    uint256 constant public MAX_PUBLIC_SUPPLY = 4950;
    uint256 public TEAM_MINT_MAX = 50;

    uint256 public publicPrice = 0.005 ether;

    uint256 constant public PUBLIC_MINT_LIMIT_TXN = 10;
    uint256 constant public PUBLIC_MINT_LIMIT = 20;

    uint256 public TOTAL_SUPPLY_TEAM;

    string public revealedURI;
    
    string public hiddenURI = "ipfs://QmQhSAXP8ZVmgTJoJj7rCztd6Jhi8LG5qYMoX3nDvjh2a5";

    // OpenSea CONTRACT_URI - https://docs.opensea.io/docs/contract-level-metadata
    string public CONTRACT_URI = "ipfs://QmXTnfqotA6Rq6xw3ZeRaCrMYXdCxebjNzjr1aM9A6daYC";

    bool public paused = true;
    bool public revealed = false;

    address public teamWallet = 0x55D24FdB872679Cb94f4619cde293d1c8166AcE4;

    mapping(address => bool) public userMintedFree;
    mapping(address => uint256) public numUserMints;

    constructor() ERC721A("MECHA BRAWLERS", "MBRLRS") { }

    /*
     *

    $$$$$$$\            $$\                      $$\                     $$$$$$$$\                              $$\     $$\                               
    $$  __$$\           \__|                     $$ |                    $$  _____|                             $$ |    \__|                              
    $$ |  $$ | $$$$$$\  $$\ $$\    $$\ $$$$$$\ $$$$$$\    $$$$$$\        $$ |   $$\   $$\ $$$$$$$\   $$$$$$$\ $$$$$$\   $$\  $$$$$$\  $$$$$$$\   $$$$$$$\ 
    $$$$$$$  |$$  __$$\ $$ |\$$\  $$  |\____$$\\_$$  _|  $$  __$$\       $$$$$\ $$ |  $$ |$$  __$$\ $$  _____|\_$$  _|  $$ |$$  __$$\ $$  __$$\ $$  _____|
    $$  ____/ $$ |  \__|$$ | \$$\$$  / $$$$$$$ | $$ |    $$$$$$$$ |      $$  __|$$ |  $$ |$$ |  $$ |$$ /        $$ |    $$ |$$ /  $$ |$$ |  $$ |\$$$$$$\  
    $$ |      $$ |      $$ |  \$$$  / $$  __$$ | $$ |$$\ $$   ____|      $$ |   $$ |  $$ |$$ |  $$ |$$ |        $$ |$$\ $$ |$$ |  $$ |$$ |  $$ | \____$$\ 
    $$ |      $$ |      $$ |   \$  /  \$$$$$$$ | \$$$$  |\$$$$$$$\       $$ |   \$$$$$$  |$$ |  $$ |\$$$$$$$\   \$$$$  |$$ |\$$$$$$  |$$ |  $$ |$$$$$$$  |
    \__|      \__|      \__|    \_/    \_______|  \____/  \_______|      \__|    \______/ \__|  \__| \_______|   \____/ \__| \______/ \__|  \__|\_______/ 
                                                                                                                                                      
    *
    */

    // This function is if you want to override the first Token ID# for ERC721A
    // Note: Fun fact - by overloading this method you save a small amount of gas for minting (technically just the first mint)
    function _startTokenId() internal view virtual override returns (uint256) {
        return 1;
    }

    function refundOverpay(uint256 price) private {
        if (msg.value > price) {
            (bool succ, ) = payable(msg.sender).call{
                value: (msg.value - price)
            }("");
            require(succ, "Transfer failed");
        }
        else if (msg.value < price) {
            revert("Not enough ETH sent");
        }
    }

    /*
     *

    $$$$$$$\            $$\       $$\ $$\                 $$$$$$$$\                              $$\     $$\                               
    $$  __$$\           $$ |      $$ |\__|                $$  _____|                             $$ |    \__|                              
    $$ |  $$ |$$\   $$\ $$$$$$$\  $$ |$$\  $$$$$$$\       $$ |   $$\   $$\ $$$$$$$\   $$$$$$$\ $$$$$$\   $$\  $$$$$$\  $$$$$$$\   $$$$$$$\ 
    $$$$$$$  |$$ |  $$ |$$  __$$\ $$ |$$ |$$  _____|      $$$$$\ $$ |  $$ |$$  __$$\ $$  _____|\_$$  _|  $$ |$$  __$$\ $$  __$$\ $$  _____|
    $$  ____/ $$ |  $$ |$$ |  $$ |$$ |$$ |$$ /            $$  __|$$ |  $$ |$$ |  $$ |$$ /        $$ |    $$ |$$ /  $$ |$$ |  $$ |\$$$$$$\  
    $$ |      $$ |  $$ |$$ |  $$ |$$ |$$ |$$ |            $$ |   $$ |  $$ |$$ |  $$ |$$ |        $$ |$$\ $$ |$$ |  $$ |$$ |  $$ | \____$$\ 
    $$ |      \$$$$$$  |$$$$$$$  |$$ |$$ |\$$$$$$$\       $$ |   \$$$$$$  |$$ |  $$ |\$$$$$$$\   \$$$$  |$$ |\$$$$$$  |$$ |  $$ |$$$$$$$  |
    \__|       \______/ \_______/ \__|\__| \_______|      \__|    \______/ \__|  \__| \_______|   \____/ \__| \______/ \__|  \__|\_______/ 

    *
    */

    function teamMint(uint256 quantity) public payable {
        require(msg.sender == teamWallet, "Team minting only");
        require(TOTAL_SUPPLY_TEAM + quantity <= TEAM_MINT_MAX, "No team mints left");

        TOTAL_SUPPLY_TEAM += quantity;

        _safeMint(msg.sender, quantity);
    }
    
    function freeMint(uint256 quantity) external payable mintCompliance(quantity) {
        require(msg.value == 0, "This phase is free");
        require(quantity == 1, "Only 1 free");

        require(!userMintedFree[msg.sender], "User max free limit");
        
        userMintedFree[msg.sender] = true;

        _safeMint(msg.sender, quantity);
    }

    function publicMint(uint256 quantity) external payable mintCompliance(quantity) {
        require(quantity <= PUBLIC_MINT_LIMIT_TXN, "Quantity too high");

        uint256 price = publicPrice;
        uint256 currMints = numUserMints[msg.sender];
                
        require(currMints + quantity <= PUBLIC_MINT_LIMIT, "User max mint limit");
        
        refundOverpay(price * quantity);

        numUserMints[msg.sender] = (currMints + quantity);

        _safeMint(msg.sender, quantity);
    }

    /*
     *

    $$\    $$\ $$\                               $$$$$$$$\                              $$\     $$\                               
    $$ |   $$ |\__|                              $$  _____|                             $$ |    \__|                              
    $$ |   $$ |$$\  $$$$$$\  $$\  $$\  $$\       $$ |   $$\   $$\ $$$$$$$\   $$$$$$$\ $$$$$$\   $$\  $$$$$$\  $$$$$$$\   $$$$$$$\ 
    \$$\  $$  |$$ |$$  __$$\ $$ | $$ | $$ |      $$$$$\ $$ |  $$ |$$  __$$\ $$  _____|\_$$  _|  $$ |$$  __$$\ $$  __$$\ $$  _____|
     \$$\$$  / $$ |$$$$$$$$ |$$ | $$ | $$ |      $$  __|$$ |  $$ |$$ |  $$ |$$ /        $$ |    $$ |$$ /  $$ |$$ |  $$ |\$$$$$$\  
      \$$$  /  $$ |$$   ____|$$ | $$ | $$ |      $$ |   $$ |  $$ |$$ |  $$ |$$ |        $$ |$$\ $$ |$$ |  $$ |$$ |  $$ | \____$$\ 
       \$  /   $$ |\$$$$$$$\ \$$$$$\$$$$  |      $$ |   \$$$$$$  |$$ |  $$ |\$$$$$$$\   \$$$$  |$$ |\$$$$$$  |$$ |  $$ |$$$$$$$  |
        \_/    \__| \_______| \_____\____/       \__|    \______/ \__|  \__| \_______|   \____/ \__| \______/ \__|  \__|\_______/ 

    *
    */

    // Note: walletOfOwner is only really necessary for enumerability when staking/using on websites etc.
        // That said, it's a public view so we can keep it in.
        // This could also be optimized if someone REALLY wanted, but it's just a public view.
        // Check the pinned tweets of 0xInuarashi for more ideas on this method!
        // For now, this is just the version that existed in v1.
    function walletOfOwner(address _owner) public view returns (uint256[] memory)
    {
        uint256 ownerTokenCount = balanceOf(_owner);
        uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
        uint256 currentTokenId = 1;
        uint256 ownedTokenIndex = 0;

        while (ownedTokenIndex < ownerTokenCount && currentTokenId <= MAX_PUBLIC_SUPPLY) {
            address currentTokenOwner = ownerOf(currentTokenId);

            if (currentTokenOwner == _owner) {
                ownedTokenIds[ownedTokenIndex] = currentTokenId;

                ownedTokenIndex++;
            }

        currentTokenId++;
        }

        return ownedTokenIds;
    }

    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        // Note: You don't REALLY need this require statement since nothing should be querying for non-existing tokens after reveal.
            // That said, it's a public view method so gas efficiency shouldn't come into play.
        require(_exists(_tokenId), "ERC721Metadata: URI query for nonexistent token");
        
        if (revealed) {
            return string(abi.encodePacked(revealedURI, Strings.toString(_tokenId), ".json"));
        }
        else {
            return hiddenURI;
        }
    }

    // https://docs.opensea.io/docs/contract-level-metadata
    // https://ethereum.stackexchange.com/questions/110924/how-to-properly-implement-a-contracturi-for-on-chain-nfts
    function contractURI() public view returns (string memory) {
        return CONTRACT_URI;
    }

    /*
     *

     $$$$$$\                                                    $$$$$$$$\                              $$\     $$\                               
    $$  __$$\                                                   $$  _____|                             $$ |    \__|                              
    $$ /  $$ |$$\  $$\  $$\ $$$$$$$\   $$$$$$\   $$$$$$\        $$ |   $$\   $$\ $$$$$$$\   $$$$$$$\ $$$$$$\   $$\  $$$$$$\  $$$$$$$\   $$$$$$$\ 
    $$ |  $$ |$$ | $$ | $$ |$$  __$$\ $$  __$$\ $$  __$$\       $$$$$\ $$ |  $$ |$$  __$$\ $$  _____|\_$$  _|  $$ |$$  __$$\ $$  __$$\ $$  _____|
    $$ |  $$ |$$ | $$ | $$ |$$ |  $$ |$$$$$$$$ |$$ |  \__|      $$  __|$$ |  $$ |$$ |  $$ |$$ /        $$ |    $$ |$$ /  $$ |$$ |  $$ |\$$$$$$\  
    $$ |  $$ |$$ | $$ | $$ |$$ |  $$ |$$   ____|$$ |            $$ |   $$ |  $$ |$$ |  $$ |$$ |        $$ |$$\ $$ |$$ |  $$ |$$ |  $$ | \____$$\ 
     $$$$$$  |\$$$$$\$$$$  |$$ |  $$ |\$$$$$$$\ $$ |            $$ |   \$$$$$$  |$$ |  $$ |\$$$$$$$\   \$$$$  |$$ |\$$$$$$  |$$ |  $$ |$$$$$$$  |
     \______/  \_____\____/ \__|  \__| \_______|\__|            \__|    \______/ \__|  \__| \_______|   \____/ \__| \______/ \__|  \__|\_______/ 

     *
     */

    function setTeamMintMax(uint256 _teamMintMax) public onlyOwner {
        TEAM_MINT_MAX = _teamMintMax;
    }

    function setPublicPrice(uint256 _publicPrice) public onlyOwner {
        publicPrice = _publicPrice;
    }

    function setBaseURI(string memory _baseUri) public onlyOwner {
        revealedURI = _baseUri;
    }

    // Note: This method can be hidden/removed if this is a constant.
    function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
        hiddenURI = _hiddenMetadataUri;
    }

    function revealCollection(bool _revealed, string memory _baseUri) public onlyOwner {
        revealed = _revealed;
        revealedURI = _baseUri;
    }

    // https://docs.opensea.io/docs/contract-level-metadata
    function setContractURI(string memory _contractURI) public onlyOwner {
        CONTRACT_URI = _contractURI;
    }

    // Note: Another option is to inherit Pausable without implementing the logic yourself.
        // https://github.com/OpenZeppelin/openzeppelin-contracts/blob/master/contracts/security/Pausable.sol
    function setPaused(bool _state) public onlyOwner {
        paused = _state;
    }

    function setRevealed(bool _state) public onlyOwner {
        revealed = _state;
    }

    function setTeamWalletAddress(address _teamWallet) public onlyOwner {
        teamWallet = _teamWallet;
    }

    function withdraw() external payable onlyOwner {
        // Withdraw the ENTIRE balance to the team wallet
        (bool succ, ) = payable(teamWallet).call{
            value: address(this).balance
        }("");
        require(succ, "Team transfer failed");
    }

    // Owner-only mint functionality to "Airdrop" mints to specific users
        // Note: These will likely end up hidden on OpenSea
    function mintToUser(uint256 quantity, address receiver) public onlyOwner mintCompliance(quantity) {
        _safeMint(receiver, quantity);
    }

    /*
     *

    $$\      $$\                 $$\ $$\  $$$$$$\  $$\                               
    $$$\    $$$ |                $$ |\__|$$  __$$\ \__|                              
    $$$$\  $$$$ | $$$$$$\   $$$$$$$ |$$\ $$ /  \__|$$\  $$$$$$\   $$$$$$\   $$$$$$$\ 
    $$\$$\$$ $$ |$$  __$$\ $$  __$$ |$$ |$$$$\     $$ |$$  __$$\ $$  __$$\ $$  _____|
    $$ \$$$  $$ |$$ /  $$ |$$ /  $$ |$$ |$$  _|    $$ |$$$$$$$$ |$$ |  \__|\$$$$$$\  
    $$ |\$  /$$ |$$ |  $$ |$$ |  $$ |$$ |$$ |      $$ |$$   ____|$$ |       \____$$\ 
    $$ | \_/ $$ |\$$$$$$  |\$$$$$$$ |$$ |$$ |      $$ |\$$$$$$$\ $$ |      $$$$$$$  |
    \__|     \__| \______/  \_______|\__|\__|      \__| \_______|\__|      \_______/ 

    *
    */

    modifier mintCompliance(uint256 quantity) {
        require(!paused, "Contract is paused");
        require(totalSupply() + quantity <= MAX_PUBLIC_SUPPLY, "Not enough mints left");
        require(tx.origin == msg.sender, "No contract minting");
        _;
    }
}

File 2 of 6 : 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 3 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 6 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev ERC721 token receiver interface.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Mask of an entry in packed address data.
    uint256 private constant BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant BITMASK_BURNED = 1 << 224;
    
    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The tokenId of the next token to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned.
    // See `_packedOwnershipOf` implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

    // 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;

    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
        _currentIndex = _startTokenId();
    }

    /**
     * @dev Returns the starting token ID. 
     * To change the starting token ID, please override this function.
     */
    function _startTokenId() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count. 
     * To get the total number of tokens minted, please see `_totalMinted`.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

    /**
     * @dev Returns the total amount of tokens minted in the contract.
     */
    function _totalMinted() internal view returns (uint256) {
        // Counter underflow is impossible as _currentIndex does not decrement,
        // and it is initialized to `_startTokenId()`
        unchecked {
            return _currentIndex - _startTokenId();
        }
    }

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view returns (uint256) {
        return _burnCounter;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes of the XOR of
        // all function selectors in the interface. See: https://eips.ethereum.org/EIPS/eip-165
        // e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_MINTED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> BITPOS_NUMBER_BURNED) & BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return uint64(_packedAddressData[owner] >> BITPOS_AUX);
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        assembly { // Cast aux without masking.
            auxCasted := aux
        }
        packed = (packed & BITMASK_AUX_COMPLEMENT) | (auxCasted << BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an ownership that has an address and is not burned
                        // before an ownership that does not have an address and is not burned.
                        // Hence, curr will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed is zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> BITPOS_START_TIMESTAMP);
        ownership.burned = packed & BITMASK_BURNED != 0;
    }

    /**
     * Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @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) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

    /**
     * @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 Casts the address to uint256 without masking.
     */
    function _addressToUint256(address value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev Casts the boolean to uint256 without branching.
     */
    function _boolToUint256(bool value) private pure returns (uint256 result) {
        assembly {
            result := value
        }
    }

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = address(uint160(_packedOwnershipOf(tokenId)));
        if (to == owner) revert ApprovalToCurrentOwner();

        if (_msgSenderERC721A() != owner)
            if (!isApprovedForAll(owner, _msgSenderERC721A())) {
                revert ApprovalCallerNotOwnerNorApproved();
            }

        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        if (operator == _msgSenderERC721A()) revert ApproveToCaller();

        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), 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 {
        _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 {
        _transfer(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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`),
     */
    function _exists(uint256 tokenId) internal view returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Equivalent to `_safeMint(to, quantity, '')`.
     */
    function _safeMint(address to, uint256 quantity) internal {
        _safeMint(to, quantity, '');
    }

    /**
     * @dev Safely mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement
     *   {IERC721Receiver-onERC721Received}, which is called for each safe transfer.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.code.length != 0) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

        _beforeTokenTransfers(address(0), to, startTokenId, quantity);

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the balance and number minted.
            _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                (_boolToUint256(quantity == 1) << BITPOS_NEXT_INITIALIZED);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) private {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
            isApprovedForAll(from, _msgSenderERC721A()) ||
            getApproved(tokenId) == _msgSenderERC721A());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(to) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = address(uint160(prevOwnershipPacked));

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSenderERC721A() == from ||
                isApprovedForAll(from, _msgSenderERC721A()) ||
                getApproved(tokenId) == _msgSenderERC721A());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

        // Clear approvals from the previous owner.
        delete _tokenApprovals[tokenId];

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] =
                _addressToUint256(from) |
                (block.timestamp << BITPOS_START_TIMESTAMP) |
                BITMASK_BURNED | 
                BITMASK_NEXT_INITIALIZED;

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * 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, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function _toString(uint256 value) internal pure returns (string memory ptr) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), 
            // but we allocate 128 bytes to keep the free memory pointer 32-byte word aliged.
            // We will need 1 32-byte word to store the length, 
            // and 3 32-byte words to store a maximum of 78 digits. Total: 32 + 3 * 32 = 128.
            ptr := add(mload(0x40), 128)
            // Update the free memory pointer to allocate.
            mstore(0x40, ptr)

            // Cache the end of the memory to calculate the length later.
            let end := ptr

            // We write the string from the rightmost digit to the leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // Costs a bit more than early returning for the zero case,
            // but cheaper in terms of deployment and overall runtime costs.
            for { 
                // Initialize and perform the first pass without check.
                let temp := value
                // Move the pointer 1 byte leftwards to point to an empty character slot.
                ptr := sub(ptr, 1)
                // Write the character to the pointer. 48 is the ASCII index of '0'.
                mstore8(ptr, add(48, mod(temp, 10)))
                temp := div(temp, 10)
            } temp { 
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
            } { // Body of the for loop.
                ptr := sub(ptr, 1)
                mstore8(ptr, add(48, mod(temp, 10)))
            }
            
            let length := sub(end, ptr)
            // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
            // Store the length.
            mstore(ptr, length)
        }
    }
}

File 5 of 6 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.0.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

/**
 * @dev Interface of an ERC721A compliant contract.
 */
interface IERC721A {
    /**
     * The caller must own the token or be an approved operator.
     */
    error ApprovalCallerNotOwnerNorApproved();

    /**
     * The token does not exist.
     */
    error ApprovalQueryForNonexistentToken();

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

    /**
     * The token does not exist.
     */
    error OwnerQueryForNonexistentToken();

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     *
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);

    // ==============================
    //            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);

    // ==============================
    //            IERC721
    // ==============================

    /**
     * @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`.
     *
     * 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;

    /**
     * @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 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 the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @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);

    // ==============================
    //        IERC721Metadata
    // ==============================

    /**
     * @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 6 of 6 : 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;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"CONTRACT_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINT_LIMIT_TXN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_MINT_MAX","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_SUPPLY_TEAM","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"quantity","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"}],"name":"mintToUser","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numUserMints","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"publicPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"_baseUri","type":"string"}],"name":"revealCollection","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"revealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_contractURI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_publicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_teamMintMax","type":"uint256"}],"name":"setTeamMintMax","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_teamWallet","type":"address"}],"name":"setTeamWalletAddress","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":"quantity","type":"uint256"}],"name":"teamMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"","type":"address"}],"name":"userMintedFree","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

608060405260326009556611c37937e08000600a5560405180606001604052806035815260200162004c9b60359139600d908051906020019062000045929190620002c2565b5060405180606001604052806035815260200162004cd060359139600e908051906020019062000077929190620002c2565b506001600f60006101000a81548160ff0219169083151502179055506000600f60016101000a81548160ff0219169083151502179055507355d24fdb872679cb94f4619cde293d1c8166ace4600f60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200011057600080fd5b506040518060400160405280600e81526020017f4d4543484120425241574c4552530000000000000000000000000000000000008152506040518060400160405280600681526020017f4d42524c525300000000000000000000000000000000000000000000000000008152506200019d62000191620001ed60201b60201c565b620001f560201b60201c565b8160039080519060200190620001b5929190620002c2565b508060049080519060200190620001ce929190620002c2565b50620001df620002b960201b60201c565b6001819055505050620003d7565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60006001905090565b828054620002d09062000372565b90600052602060002090601f016020900481019282620002f4576000855562000340565b82601f106200030f57805160ff191683800117855562000340565b8280016001018555821562000340579182015b828111156200033f57825182559160200191906001019062000322565b5b5090506200034f919062000353565b5090565b5b808211156200036e57600081600090555060010162000354565b5090565b600060028204905060018216806200038b57607f821691505b60208210811415620003a257620003a1620003a8565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6148b480620003e76000396000f3fe6080604052600436106102885760003560e01c80636352211e1161015a57806395d89b41116100c1578063c87b56dd1161007a578063c87b56dd14610970578063e0a80853146109ad578063e8a3d485146109d6578063e985e9c514610a01578063f2fde38b14610a3e578063f7e8d6ea14610a6757610288565b806395d89b4114610874578063a22cb4651461089f578063a945bf80146108c8578063b88d4fde146108f3578063bceae77b1461091c578063c62752551461094757610288565b80637aeb7242116101135780637aeb7242146107735780637c928fe9146107b05780638cc54e7f146107cc5780638da5cb5b146107f75780639007bd7214610822578063938e3d7b1461084b57610288565b80636352211e1461064f57806364f640761461068c5780636b39fca4146106c957806370a08231146106f4578063715018a614610731578063763ea95f1461074857610288565b80632fbba115116101fe57806351830227116101b7578063518302271461055157806355f804b31461057c57806356b4f673146105a557806359927044146105d05780635c975abb146105fb5780635ed3e25e1461062657610288565b80632fbba115146104715780632fecf20b1461048d5780633ccfd60b146104b857806342842e0e146104c2578063438b6300146104eb5780634fdd43cb1461052857610288565b806316c38b3c1161025057806316c38b3c1461038457806318160ddd146103ad57806323b872dd146103d85780632a47f799146104015780632c4b23341461042c5780632db115441461045557610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630f15ad8d1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906137c0565b610a92565b6040516102c19190613de7565b60405180910390f35b3480156102d657600080fd5b506102df610b24565b6040516102ec9190613e02565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190613863565b610bb6565b6040516103299190613d5e565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906136f7565b610c32565b005b34801561036757600080fd5b50610382600480360381019061037d9190613863565b610dd9565b005b34801561039057600080fd5b506103ab60048036038101906103a69190613737565b610e5f565b005b3480156103b957600080fd5b506103c2610ef8565b6040516103cf9190614024565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906135e1565b610f0f565b005b34801561040d57600080fd5b50610416610f1f565b6040516104239190614024565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190613574565b610f25565b005b61046f600480360381019061046a9190613863565b610fe5565b005b61048b60048036038101906104869190613863565b61124c565b005b34801561049957600080fd5b506104a2611354565b6040516104af9190614024565b60405180910390f35b6104c0611359565b005b3480156104ce57600080fd5b506104e960048036038101906104e491906135e1565b6114a6565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613574565b6114c6565b60405161051f9190613dc5565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a919061381a565b6115d1565b005b34801561055d57600080fd5b50610566611667565b6040516105739190613de7565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e919061381a565b61167a565b005b3480156105b157600080fd5b506105ba611710565b6040516105c79190613e02565b60405180910390f35b3480156105dc57600080fd5b506105e561179e565b6040516105f29190613d5e565b60405180910390f35b34801561060757600080fd5b506106106117c4565b60405161061d9190613de7565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613764565b6117d7565b005b34801561065b57600080fd5b5061067660048036038101906106719190613863565b611888565b6040516106839190613d5e565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613574565b61189a565b6040516106c09190613de7565b60405180910390f35b3480156106d557600080fd5b506106de6118ba565b6040516106eb9190614024565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613574565b6118c0565b6040516107289190614024565b60405180910390f35b34801561073d57600080fd5b50610746611979565b005b34801561075457600080fd5b5061075d611a01565b60405161076a9190614024565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613574565b611a07565b6040516107a79190614024565b60405180910390f35b6107ca60048036038101906107c59190613863565b611a1f565b005b3480156107d857600080fd5b506107e1611cae565b6040516107ee9190613e02565b60405180910390f35b34801561080357600080fd5b5061080c611d3c565b6040516108199190613d5e565b60405180910390f35b34801561082e57600080fd5b5061084960048036038101906108449190613890565b611d65565b005b34801561085757600080fd5b50610872600480360381019061086d919061381a565b611f06565b005b34801561088057600080fd5b50610889611f9c565b6040516108969190613e02565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c191906136b7565b61202e565b005b3480156108d457600080fd5b506108dd6121a6565b6040516108ea9190614024565b60405180910390f35b3480156108ff57600080fd5b5061091a60048036038101906109159190613634565b6121ac565b005b34801561092857600080fd5b5061093161221f565b60405161093e9190614024565b60405180910390f35b34801561095357600080fd5b5061096e60048036038101906109699190613863565b612224565b005b34801561097c57600080fd5b5061099760048036038101906109929190613863565b6122aa565b6040516109a49190613e02565b60405180910390f35b3480156109b957600080fd5b506109d460048036038101906109cf9190613737565b6123ce565b005b3480156109e257600080fd5b506109eb612467565b6040516109f89190613e02565b60405180910390f35b348015610a0d57600080fd5b50610a286004803603810190610a2391906135a1565b6124f9565b604051610a359190613de7565b60405180910390f35b348015610a4a57600080fd5b50610a656004803603810190610a609190613574565b61258d565b005b348015610a7357600080fd5b50610a7c612685565b604051610a899190613e02565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aed57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610b339061432d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5f9061432d565b8015610bac5780601f10610b8157610100808354040283529160200191610bac565b820191906000526020600020905b815481529060010190602001808311610b8f57829003601f168201915b5050505050905090565b6000610bc182612713565b610bf7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3d82612772565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc4612840565b73ffffffffffffffffffffffffffffffffffffffff1614610d2757610cf081610ceb612840565b6124f9565b610d26576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610de1612848565b73ffffffffffffffffffffffffffffffffffffffff16610dff611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c90613f04565b60405180910390fd5b8060098190555050565b610e67612848565b73ffffffffffffffffffffffffffffffffffffffff16610e85611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613f04565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610f02612850565b6002546001540303905090565b610f1a838383612859565b505050565b61135681565b610f2d612848565b73ffffffffffffffffffffffffffffffffffffffff16610f4b611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9890613f04565b60405180910390fd5b80600f60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b80600f60009054906101000a900460ff1615611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90613fe4565b60405180910390fd5b61135681611042610ef8565b61104c9190614162565b111561108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614004565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290613ec4565b60405180910390fd5b600a82111561113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613fc4565b60405180910390fd5b6000600a5490506000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601484826111989190614162565b11156111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090613ee4565b60405180910390fd5b6111ed84836111e891906141e9565b612c03565b83816111f99190614162565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112463385612d0f565b50505050565b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390613ea4565b60405180910390fd5b60095481600b546112ed9190614162565b111561132e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132590613f64565b60405180910390fd5b80600b60008282546113409190614162565b925050819055506113513382612d0f565b50565b600a81565b611361612848565b73ffffffffffffffffffffffffffffffffffffffff1661137f611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc90613f04565b60405180910390fd5b6000600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161141d90613d49565b60006040518083038185875af1925050503d806000811461145a576040519150601f19603f3d011682016040523d82523d6000602084013e61145f565b606091505b50509050806114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90613e44565b60405180910390fd5b50565b6114c1838383604051806020016040528060008152506121ac565b505050565b606060006114d3836118c0565b905060008167ffffffffffffffff8111156114f1576114f06144c6565b5b60405190808252806020026020018201604052801561151f5781602001602082028036833780820191505090505b50905060006001905060005b838110801561153c57506113568211155b156115c557600061154c83611888565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b1578284838151811061159657611595614497565b5b60200260200101818152505081806115ad90614390565b9250505b82806115bc90614390565b9350505061152b565b82945050505050919050565b6115d9612848565b73ffffffffffffffffffffffffffffffffffffffff166115f7611d3c565b73ffffffffffffffffffffffffffffffffffffffff161461164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164490613f04565b60405180910390fd5b80600d9080519060200190611663929190613388565b5050565b600f60019054906101000a900460ff1681565b611682612848565b73ffffffffffffffffffffffffffffffffffffffff166116a0611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146116f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ed90613f04565b60405180910390fd5b80600c908051906020019061170c929190613388565b5050565b600e805461171d9061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546117499061432d565b80156117965780601f1061176b57610100808354040283529160200191611796565b820191906000526020600020905b81548152906001019060200180831161177957829003601f168201915b505050505081565b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60009054906101000a900460ff1681565b6117df612848565b73ffffffffffffffffffffffffffffffffffffffff166117fd611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184a90613f04565b60405180910390fd5b81600f60016101000a81548160ff02191690831515021790555080600c9080519060200190611883929190613388565b505050565b600061189382612772565b9050919050565b60106020528060005260406000206000915054906101000a900460ff1681565b60095481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611928576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611981612848565b73ffffffffffffffffffffffffffffffffffffffff1661199f611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec90613f04565b60405180910390fd5b6119ff6000612d2d565b565b600b5481565b60116020528060005260406000206000915090505481565b80600f60009054906101000a900460ff1615611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790613fe4565b60405180910390fd5b61135681611a7c610ef8565b611a869190614162565b1115611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90614004565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90613ec4565b60405180910390fd5b60003414611b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6f90613f84565b60405180910390fd5b60018214611bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb290613e24565b60405180910390fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90613f24565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611caa3383612d0f565b5050565b600d8054611cbb9061432d565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce79061432d565b8015611d345780601f10611d0957610100808354040283529160200191611d34565b820191906000526020600020905b815481529060010190602001808311611d1757829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d6d612848565b73ffffffffffffffffffffffffffffffffffffffff16611d8b611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890613f04565b60405180910390fd5b81600f60009054906101000a900460ff1615611e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2990613fe4565b60405180910390fd5b61135681611e3e610ef8565b611e489190614162565b1115611e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8090614004565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eee90613ec4565b60405180910390fd5b611f018284612d0f565b505050565b611f0e612848565b73ffffffffffffffffffffffffffffffffffffffff16611f2c611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7990613f04565b60405180910390fd5b80600e9080519060200190611f98929190613388565b5050565b606060048054611fab9061432d565b80601f0160208091040260200160405190810160405280929190818152602001828054611fd79061432d565b80156120245780601f10611ff957610100808354040283529160200191612024565b820191906000526020600020905b81548152906001019060200180831161200757829003601f168201915b5050505050905090565b612036612840565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006120a8612840565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612155612840565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161219a9190613de7565b60405180910390a35050565b600a5481565b6121b7848484612859565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612219576121e284848484612df1565b612218576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601481565b61222c612848565b73ffffffffffffffffffffffffffffffffffffffff1661224a611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790613f04565b60405180910390fd5b80600a8190555050565b60606122b582612713565b6122f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122eb90613f44565b60405180910390fd5b600f60019054906101000a900460ff161561233b57600c61231483612f51565b604051602001612325929190613d1a565b60405160208183030381529060405290506123c9565b600d80546123489061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546123749061432d565b80156123c15780601f10612396576101008083540402835291602001916123c1565b820191906000526020600020905b8154815290600101906020018083116123a457829003601f168201915b505050505090505b919050565b6123d6612848565b73ffffffffffffffffffffffffffffffffffffffff166123f4611d3c565b73ffffffffffffffffffffffffffffffffffffffff161461244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190613f04565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b6060600e80546124769061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546124a29061432d565b80156124ef5780601f106124c4576101008083540402835291602001916124ef565b820191906000526020600020905b8154815290600101906020018083116124d257829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612595612848565b73ffffffffffffffffffffffffffffffffffffffff166125b3611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090613f04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267090613e64565b60405180910390fd5b61268281612d2d565b50565b600c80546126929061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546126be9061432d565b801561270b5780601f106126e05761010080835404028352916020019161270b565b820191906000526020600020905b8154815290600101906020018083116126ee57829003601f168201915b505050505081565b60008161271e612850565b1115801561272d575060015482105b801561276b575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b60008082905080612781612850565b11612809576001548110156128085760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612806575b60008114156127fc5760056000836001900393508381526020019081526020016000205490506127d1565b809250505061283b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b600061286482612772565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146128cb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166128ec612840565b73ffffffffffffffffffffffffffffffffffffffff16148061291b575061291a85612915612840565b6124f9565b5b806129605750612929612840565b73ffffffffffffffffffffffffffffffffffffffff1661294884610bb6565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612999576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a00576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a0d85858560016130b2565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612b0a866130b8565b1717600560008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415612b94576000600184019050600060056000838152602001908152602001600020541415612b92576001548114612b91578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bfc85858560016130c2565b5050505050565b80341115612cc85760003373ffffffffffffffffffffffffffffffffffffffff168234612c309190614243565b604051612c3c90613d49565b60006040518083038185875af1925050503d8060008114612c79576040519150601f19603f3d011682016040523d82523d6000602084013e612c7e565b606091505b5050905080612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb990613e84565b60405180910390fd5b50612d0c565b80341015612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0290613fa4565b60405180910390fd5b5b50565b612d298282604051806020016040528060008152506130c8565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e17612840565b8786866040518563ffffffff1660e01b8152600401612e399493929190613d79565b602060405180830381600087803b158015612e5357600080fd5b505af1925050508015612e8457506040513d601f19601f82011682018060405250810190612e8191906137ed565b60015b612efe573d8060008114612eb4576040519150601f19603f3d011682016040523d82523d6000602084013e612eb9565b606091505b50600081511415612ef6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612f99576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ad565b600082905060005b60008214612fcb578080612fb490614390565b915050600a82612fc491906141b8565b9150612fa1565b60008167ffffffffffffffff811115612fe757612fe66144c6565b5b6040519080825280601f01601f1916602001820160405280156130195781602001600182028036833780820191505090505b5090505b600085146130a6576001826130329190614243565b9150600a8561304191906143d9565b603061304d9190614162565b60f81b81838151811061306357613062614497565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561309f91906141b8565b945061301d565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613136576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613171576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61317e60008583866130b2565b600160406001901b178302600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16131e36001851461337e565b901b60a042901b6131f3866130b8565b1717600560008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146132f7575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132a76000878480600101955087612df1565b6132dd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106132385782600154146132f257600080fd5b613362565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106132f8575b81600181905550505061337860008583866130c2565b50505050565b6000819050919050565b8280546133949061432d565b90600052602060002090601f0160209004810192826133b657600085556133fd565b82601f106133cf57805160ff19168380011785556133fd565b828001600101855582156133fd579182015b828111156133fc5782518255916020019190600101906133e1565b5b50905061340a919061340e565b5090565b5b8082111561342757600081600090555060010161340f565b5090565b600061343e61343984614064565b61403f565b90508281526020810184848401111561345a576134596144fa565b5b6134658482856142eb565b509392505050565b600061348061347b84614095565b61403f565b90508281526020810184848401111561349c5761349b6144fa565b5b6134a78482856142eb565b509392505050565b6000813590506134be81614822565b92915050565b6000813590506134d381614839565b92915050565b6000813590506134e881614850565b92915050565b6000815190506134fd81614850565b92915050565b600082601f830112613518576135176144f5565b5b813561352884826020860161342b565b91505092915050565b600082601f830112613546576135456144f5565b5b813561355684826020860161346d565b91505092915050565b60008135905061356e81614867565b92915050565b60006020828403121561358a57613589614504565b5b6000613598848285016134af565b91505092915050565b600080604083850312156135b8576135b7614504565b5b60006135c6858286016134af565b92505060206135d7858286016134af565b9150509250929050565b6000806000606084860312156135fa576135f9614504565b5b6000613608868287016134af565b9350506020613619868287016134af565b925050604061362a8682870161355f565b9150509250925092565b6000806000806080858703121561364e5761364d614504565b5b600061365c878288016134af565b945050602061366d878288016134af565b935050604061367e8782880161355f565b925050606085013567ffffffffffffffff81111561369f5761369e6144ff565b5b6136ab87828801613503565b91505092959194509250565b600080604083850312156136ce576136cd614504565b5b60006136dc858286016134af565b92505060206136ed858286016134c4565b9150509250929050565b6000806040838503121561370e5761370d614504565b5b600061371c858286016134af565b925050602061372d8582860161355f565b9150509250929050565b60006020828403121561374d5761374c614504565b5b600061375b848285016134c4565b91505092915050565b6000806040838503121561377b5761377a614504565b5b6000613789858286016134c4565b925050602083013567ffffffffffffffff8111156137aa576137a96144ff565b5b6137b685828601613531565b9150509250929050565b6000602082840312156137d6576137d5614504565b5b60006137e4848285016134d9565b91505092915050565b60006020828403121561380357613802614504565b5b6000613811848285016134ee565b91505092915050565b6000602082840312156138305761382f614504565b5b600082013567ffffffffffffffff81111561384e5761384d6144ff565b5b61385a84828501613531565b91505092915050565b60006020828403121561387957613878614504565b5b60006138878482850161355f565b91505092915050565b600080604083850312156138a7576138a6614504565b5b60006138b58582860161355f565b92505060206138c6858286016134af565b9150509250929050565b60006138dc8383613cfc565b60208301905092915050565b6138f181614277565b82525050565b6000613902826140eb565b61390c8185614119565b9350613917836140c6565b8060005b8381101561394857815161392f88826138d0565b975061393a8361410c565b92505060018101905061391b565b5085935050505092915050565b61395e81614289565b82525050565b600061396f826140f6565b613979818561412a565b93506139898185602086016142fa565b61399281614509565b840191505092915050565b60006139a882614101565b6139b28185614146565b93506139c28185602086016142fa565b6139cb81614509565b840191505092915050565b60006139e182614101565b6139eb8185614157565b93506139fb8185602086016142fa565b80840191505092915050565b60008154613a148161432d565b613a1e8186614157565b94506001821660008114613a395760018114613a4a57613a7d565b60ff19831686528186019350613a7d565b613a53856140d6565b60005b83811015613a7557815481890152600182019150602081019050613a56565b838801955050505b50505092915050565b6000613a93600b83614146565b9150613a9e8261451a565b602082019050919050565b6000613ab6601483614146565b9150613ac182614543565b602082019050919050565b6000613ad9602683614146565b9150613ae48261456c565b604082019050919050565b6000613afc600f83614146565b9150613b07826145bb565b602082019050919050565b6000613b1f601183614146565b9150613b2a826145e4565b602082019050919050565b6000613b42601383614146565b9150613b4d8261460d565b602082019050919050565b6000613b65601383614146565b9150613b7082614636565b602082019050919050565b6000613b88600583614157565b9150613b938261465f565b600582019050919050565b6000613bab602083614146565b9150613bb682614688565b602082019050919050565b6000613bce601383614146565b9150613bd9826146b1565b602082019050919050565b6000613bf1602f83614146565b9150613bfc826146da565b604082019050919050565b6000613c14601283614146565b9150613c1f82614729565b602082019050919050565b6000613c37601283614146565b9150613c4282614752565b602082019050919050565b6000613c5a601383614146565b9150613c658261477b565b602082019050919050565b6000613c7d601183614146565b9150613c88826147a4565b602082019050919050565b6000613ca060008361413b565b9150613cab826147cd565b600082019050919050565b6000613cc3601283614146565b9150613cce826147d0565b602082019050919050565b6000613ce6601583614146565b9150613cf1826147f9565b602082019050919050565b613d05816142e1565b82525050565b613d14816142e1565b82525050565b6000613d268285613a07565b9150613d3282846139d6565b9150613d3d82613b7b565b91508190509392505050565b6000613d5482613c93565b9150819050919050565b6000602082019050613d7360008301846138e8565b92915050565b6000608082019050613d8e60008301876138e8565b613d9b60208301866138e8565b613da86040830185613d0b565b8181036060830152613dba8184613964565b905095945050505050565b60006020820190508181036000830152613ddf81846138f7565b905092915050565b6000602082019050613dfc6000830184613955565b92915050565b60006020820190508181036000830152613e1c818461399d565b905092915050565b60006020820190508181036000830152613e3d81613a86565b9050919050565b60006020820190508181036000830152613e5d81613aa9565b9050919050565b60006020820190508181036000830152613e7d81613acc565b9050919050565b60006020820190508181036000830152613e9d81613aef565b9050919050565b60006020820190508181036000830152613ebd81613b12565b9050919050565b60006020820190508181036000830152613edd81613b35565b9050919050565b60006020820190508181036000830152613efd81613b58565b9050919050565b60006020820190508181036000830152613f1d81613b9e565b9050919050565b60006020820190508181036000830152613f3d81613bc1565b9050919050565b60006020820190508181036000830152613f5d81613be4565b9050919050565b60006020820190508181036000830152613f7d81613c07565b9050919050565b60006020820190508181036000830152613f9d81613c2a565b9050919050565b60006020820190508181036000830152613fbd81613c4d565b9050919050565b60006020820190508181036000830152613fdd81613c70565b9050919050565b60006020820190508181036000830152613ffd81613cb6565b9050919050565b6000602082019050818103600083015261401d81613cd9565b9050919050565b60006020820190506140396000830184613d0b565b92915050565b600061404961405a565b9050614055828261435f565b919050565b6000604051905090565b600067ffffffffffffffff82111561407f5761407e6144c6565b5b61408882614509565b9050602081019050919050565b600067ffffffffffffffff8211156140b0576140af6144c6565b5b6140b982614509565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061416d826142e1565b9150614178836142e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141ad576141ac61440a565b5b828201905092915050565b60006141c3826142e1565b91506141ce836142e1565b9250826141de576141dd614439565b5b828204905092915050565b60006141f4826142e1565b91506141ff836142e1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142385761423761440a565b5b828202905092915050565b600061424e826142e1565b9150614259836142e1565b92508282101561426c5761426b61440a565b5b828203905092915050565b6000614282826142c1565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156143185780820151818401526020810190506142fd565b83811115614327576000848401525b50505050565b6000600282049050600182168061434557607f821691505b6020821081141561435957614358614468565b5b50919050565b61436882614509565b810181811067ffffffffffffffff82111715614387576143866144c6565b5b80604052505050565b600061439b826142e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143ce576143cd61440a565b5b600182019050919050565b60006143e4826142e1565b91506143ef836142e1565b9250826143ff576143fe614439565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f6e6c7920312066726565000000000000000000000000000000000000000000600082015250565b7f5465616d207472616e73666572206661696c6564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f5465616d206d696e74696e67206f6e6c79000000000000000000000000000000600082015250565b7f4e6f20636f6e7472616374206d696e74696e6700000000000000000000000000600082015250565b7f55736572206d6178206d696e74206c696d697400000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f55736572206d61782066726565206c696d697400000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6f207465616d206d696e7473206c6566740000000000000000000000000000600082015250565b7f5468697320706861736520697320667265650000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b7f5175616e7469747920746f6f2068696768000000000000000000000000000000600082015250565b50565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b7f4e6f7420656e6f756768206d696e7473206c6566740000000000000000000000600082015250565b61482b81614277565b811461483657600080fd5b50565b61484281614289565b811461484d57600080fd5b50565b61485981614295565b811461486457600080fd5b50565b614870816142e1565b811461487b57600080fd5b5056fea26469706673582212202e1d253ddd2c24e8a2f8d68efa29d323ca112f3c5457dc374e6949279f1cedde64736f6c63430008070033697066733a2f2f516d516853415850385a566d67544a6f4a6a3772437a7464364a6869384c473571594d6f58336e44766a68326135697066733a2f2f516d58546e66716f7441365271367877335a65526143724d595864437865626a4e7a6a7231614d39413664615943

Deployed Bytecode

0x6080604052600436106102885760003560e01c80636352211e1161015a57806395d89b41116100c1578063c87b56dd1161007a578063c87b56dd14610970578063e0a80853146109ad578063e8a3d485146109d6578063e985e9c514610a01578063f2fde38b14610a3e578063f7e8d6ea14610a6757610288565b806395d89b4114610874578063a22cb4651461089f578063a945bf80146108c8578063b88d4fde146108f3578063bceae77b1461091c578063c62752551461094757610288565b80637aeb7242116101135780637aeb7242146107735780637c928fe9146107b05780638cc54e7f146107cc5780638da5cb5b146107f75780639007bd7214610822578063938e3d7b1461084b57610288565b80636352211e1461064f57806364f640761461068c5780636b39fca4146106c957806370a08231146106f4578063715018a614610731578063763ea95f1461074857610288565b80632fbba115116101fe57806351830227116101b7578063518302271461055157806355f804b31461057c57806356b4f673146105a557806359927044146105d05780635c975abb146105fb5780635ed3e25e1461062657610288565b80632fbba115146104715780632fecf20b1461048d5780633ccfd60b146104b857806342842e0e146104c2578063438b6300146104eb5780634fdd43cb1461052857610288565b806316c38b3c1161025057806316c38b3c1461038457806318160ddd146103ad57806323b872dd146103d85780632a47f799146104015780632c4b23341461042c5780632db115441461045557610288565b806301ffc9a71461028d57806306fdde03146102ca578063081812fc146102f5578063095ea7b3146103325780630f15ad8d1461035b575b600080fd5b34801561029957600080fd5b506102b460048036038101906102af91906137c0565b610a92565b6040516102c19190613de7565b60405180910390f35b3480156102d657600080fd5b506102df610b24565b6040516102ec9190613e02565b60405180910390f35b34801561030157600080fd5b5061031c60048036038101906103179190613863565b610bb6565b6040516103299190613d5e565b60405180910390f35b34801561033e57600080fd5b50610359600480360381019061035491906136f7565b610c32565b005b34801561036757600080fd5b50610382600480360381019061037d9190613863565b610dd9565b005b34801561039057600080fd5b506103ab60048036038101906103a69190613737565b610e5f565b005b3480156103b957600080fd5b506103c2610ef8565b6040516103cf9190614024565b60405180910390f35b3480156103e457600080fd5b506103ff60048036038101906103fa91906135e1565b610f0f565b005b34801561040d57600080fd5b50610416610f1f565b6040516104239190614024565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190613574565b610f25565b005b61046f600480360381019061046a9190613863565b610fe5565b005b61048b60048036038101906104869190613863565b61124c565b005b34801561049957600080fd5b506104a2611354565b6040516104af9190614024565b60405180910390f35b6104c0611359565b005b3480156104ce57600080fd5b506104e960048036038101906104e491906135e1565b6114a6565b005b3480156104f757600080fd5b50610512600480360381019061050d9190613574565b6114c6565b60405161051f9190613dc5565b60405180910390f35b34801561053457600080fd5b5061054f600480360381019061054a919061381a565b6115d1565b005b34801561055d57600080fd5b50610566611667565b6040516105739190613de7565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e919061381a565b61167a565b005b3480156105b157600080fd5b506105ba611710565b6040516105c79190613e02565b60405180910390f35b3480156105dc57600080fd5b506105e561179e565b6040516105f29190613d5e565b60405180910390f35b34801561060757600080fd5b506106106117c4565b60405161061d9190613de7565b60405180910390f35b34801561063257600080fd5b5061064d60048036038101906106489190613764565b6117d7565b005b34801561065b57600080fd5b5061067660048036038101906106719190613863565b611888565b6040516106839190613d5e565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613574565b61189a565b6040516106c09190613de7565b60405180910390f35b3480156106d557600080fd5b506106de6118ba565b6040516106eb9190614024565b60405180910390f35b34801561070057600080fd5b5061071b60048036038101906107169190613574565b6118c0565b6040516107289190614024565b60405180910390f35b34801561073d57600080fd5b50610746611979565b005b34801561075457600080fd5b5061075d611a01565b60405161076a9190614024565b60405180910390f35b34801561077f57600080fd5b5061079a60048036038101906107959190613574565b611a07565b6040516107a79190614024565b60405180910390f35b6107ca60048036038101906107c59190613863565b611a1f565b005b3480156107d857600080fd5b506107e1611cae565b6040516107ee9190613e02565b60405180910390f35b34801561080357600080fd5b5061080c611d3c565b6040516108199190613d5e565b60405180910390f35b34801561082e57600080fd5b5061084960048036038101906108449190613890565b611d65565b005b34801561085757600080fd5b50610872600480360381019061086d919061381a565b611f06565b005b34801561088057600080fd5b50610889611f9c565b6040516108969190613e02565b60405180910390f35b3480156108ab57600080fd5b506108c660048036038101906108c191906136b7565b61202e565b005b3480156108d457600080fd5b506108dd6121a6565b6040516108ea9190614024565b60405180910390f35b3480156108ff57600080fd5b5061091a60048036038101906109159190613634565b6121ac565b005b34801561092857600080fd5b5061093161221f565b60405161093e9190614024565b60405180910390f35b34801561095357600080fd5b5061096e60048036038101906109699190613863565b612224565b005b34801561097c57600080fd5b5061099760048036038101906109929190613863565b6122aa565b6040516109a49190613e02565b60405180910390f35b3480156109b957600080fd5b506109d460048036038101906109cf9190613737565b6123ce565b005b3480156109e257600080fd5b506109eb612467565b6040516109f89190613e02565b60405180910390f35b348015610a0d57600080fd5b50610a286004803603810190610a2391906135a1565b6124f9565b604051610a359190613de7565b60405180910390f35b348015610a4a57600080fd5b50610a656004803603810190610a609190613574565b61258d565b005b348015610a7357600080fd5b50610a7c612685565b604051610a899190613e02565b60405180910390f35b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610aed57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b1d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060038054610b339061432d565b80601f0160208091040260200160405190810160405280929190818152602001828054610b5f9061432d565b8015610bac5780601f10610b8157610100808354040283529160200191610bac565b820191906000526020600020905b815481529060010190602001808311610b8f57829003601f168201915b5050505050905090565b6000610bc182612713565b610bf7576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6007600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610c3d82612772565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ca5576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cc4612840565b73ffffffffffffffffffffffffffffffffffffffff1614610d2757610cf081610ceb612840565b6124f9565b610d26576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826007600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610de1612848565b73ffffffffffffffffffffffffffffffffffffffff16610dff611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614610e55576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e4c90613f04565b60405180910390fd5b8060098190555050565b610e67612848565b73ffffffffffffffffffffffffffffffffffffffff16610e85611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614610edb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed290613f04565b60405180910390fd5b80600f60006101000a81548160ff02191690831515021790555050565b6000610f02612850565b6002546001540303905090565b610f1a838383612859565b505050565b61135681565b610f2d612848565b73ffffffffffffffffffffffffffffffffffffffff16610f4b611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9890613f04565b60405180910390fd5b80600f60026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b80600f60009054906101000a900460ff1615611036576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161102d90613fe4565b60405180910390fd5b61135681611042610ef8565b61104c9190614162565b111561108d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161108490614004565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110f290613ec4565b60405180910390fd5b600a82111561113f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113690613fc4565b60405180910390fd5b6000600a5490506000601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050601484826111989190614162565b11156111d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d090613ee4565b60405180910390fd5b6111ed84836111e891906141e9565b612c03565b83816111f99190614162565b601160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506112463385612d0f565b50505050565b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146112dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112d390613ea4565b60405180910390fd5b60095481600b546112ed9190614162565b111561132e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132590613f64565b60405180910390fd5b80600b60008282546113409190614162565b925050819055506113513382612d0f565b50565b600a81565b611361612848565b73ffffffffffffffffffffffffffffffffffffffff1661137f611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146113d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cc90613f04565b60405180910390fd5b6000600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff164760405161141d90613d49565b60006040518083038185875af1925050503d806000811461145a576040519150601f19603f3d011682016040523d82523d6000602084013e61145f565b606091505b50509050806114a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149a90613e44565b60405180910390fd5b50565b6114c1838383604051806020016040528060008152506121ac565b505050565b606060006114d3836118c0565b905060008167ffffffffffffffff8111156114f1576114f06144c6565b5b60405190808252806020026020018201604052801561151f5781602001602082028036833780820191505090505b50905060006001905060005b838110801561153c57506113568211155b156115c557600061154c83611888565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156115b1578284838151811061159657611595614497565b5b60200260200101818152505081806115ad90614390565b9250505b82806115bc90614390565b9350505061152b565b82945050505050919050565b6115d9612848565b73ffffffffffffffffffffffffffffffffffffffff166115f7611d3c565b73ffffffffffffffffffffffffffffffffffffffff161461164d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164490613f04565b60405180910390fd5b80600d9080519060200190611663929190613388565b5050565b600f60019054906101000a900460ff1681565b611682612848565b73ffffffffffffffffffffffffffffffffffffffff166116a0611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146116f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116ed90613f04565b60405180910390fd5b80600c908051906020019061170c929190613388565b5050565b600e805461171d9061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546117499061432d565b80156117965780601f1061176b57610100808354040283529160200191611796565b820191906000526020600020905b81548152906001019060200180831161177957829003601f168201915b505050505081565b600f60029054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f60009054906101000a900460ff1681565b6117df612848565b73ffffffffffffffffffffffffffffffffffffffff166117fd611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611853576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184a90613f04565b60405180910390fd5b81600f60016101000a81548160ff02191690831515021790555080600c9080519060200190611883929190613388565b505050565b600061189382612772565b9050919050565b60106020528060005260406000206000915054906101000a900460ff1681565b60095481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611928576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611981612848565b73ffffffffffffffffffffffffffffffffffffffff1661199f611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146119f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ec90613f04565b60405180910390fd5b6119ff6000612d2d565b565b600b5481565b60116020528060005260406000206000915090505481565b80600f60009054906101000a900460ff1615611a70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6790613fe4565b60405180910390fd5b61135681611a7c610ef8565b611a869190614162565b1115611ac7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611abe90614004565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2c90613ec4565b60405180910390fd5b60003414611b78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6f90613f84565b60405180910390fd5b60018214611bbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb290613e24565b60405180910390fd5b601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615611c48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3f90613f24565b60405180910390fd5b6001601060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611caa3383612d0f565b5050565b600d8054611cbb9061432d565b80601f0160208091040260200160405190810160405280929190818152602001828054611ce79061432d565b8015611d345780601f10611d0957610100808354040283529160200191611d34565b820191906000526020600020905b815481529060010190602001808311611d1757829003601f168201915b505050505081565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611d6d612848565b73ffffffffffffffffffffffffffffffffffffffff16611d8b611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611de1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd890613f04565b60405180910390fd5b81600f60009054906101000a900460ff1615611e32576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e2990613fe4565b60405180910390fd5b61135681611e3e610ef8565b611e489190614162565b1115611e89576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8090614004565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611ef7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eee90613ec4565b60405180910390fd5b611f018284612d0f565b505050565b611f0e612848565b73ffffffffffffffffffffffffffffffffffffffff16611f2c611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614611f82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7990613f04565b60405180910390fd5b80600e9080519060200190611f98929190613388565b5050565b606060048054611fab9061432d565b80601f0160208091040260200160405190810160405280929190818152602001828054611fd79061432d565b80156120245780601f10611ff957610100808354040283529160200191612024565b820191906000526020600020905b81548152906001019060200180831161200757829003601f168201915b5050505050905090565b612036612840565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561209b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600860006120a8612840565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16612155612840565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161219a9190613de7565b60405180910390a35050565b600a5481565b6121b7848484612859565b60008373ffffffffffffffffffffffffffffffffffffffff163b14612219576121e284848484612df1565b612218576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b601481565b61222c612848565b73ffffffffffffffffffffffffffffffffffffffff1661224a611d3c565b73ffffffffffffffffffffffffffffffffffffffff16146122a0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229790613f04565b60405180910390fd5b80600a8190555050565b60606122b582612713565b6122f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122eb90613f44565b60405180910390fd5b600f60019054906101000a900460ff161561233b57600c61231483612f51565b604051602001612325929190613d1a565b60405160208183030381529060405290506123c9565b600d80546123489061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546123749061432d565b80156123c15780601f10612396576101008083540402835291602001916123c1565b820191906000526020600020905b8154815290600101906020018083116123a457829003601f168201915b505050505090505b919050565b6123d6612848565b73ffffffffffffffffffffffffffffffffffffffff166123f4611d3c565b73ffffffffffffffffffffffffffffffffffffffff161461244a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161244190613f04565b60405180910390fd5b80600f60016101000a81548160ff02191690831515021790555050565b6060600e80546124769061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546124a29061432d565b80156124ef5780601f106124c4576101008083540402835291602001916124ef565b820191906000526020600020905b8154815290600101906020018083116124d257829003601f168201915b5050505050905090565b6000600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612595612848565b73ffffffffffffffffffffffffffffffffffffffff166125b3611d3c565b73ffffffffffffffffffffffffffffffffffffffff1614612609576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260090613f04565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612679576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267090613e64565b60405180910390fd5b61268281612d2d565b50565b600c80546126929061432d565b80601f01602080910402602001604051908101604052809291908181526020018280546126be9061432d565b801561270b5780601f106126e05761010080835404028352916020019161270b565b820191906000526020600020905b8154815290600101906020018083116126ee57829003601f168201915b505050505081565b60008161271e612850565b1115801561272d575060015482105b801561276b575060007c0100000000000000000000000000000000000000000000000000000000600560008581526020019081526020016000205416145b9050919050565b60008082905080612781612850565b11612809576001548110156128085760006005600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612806575b60008114156127fc5760056000836001900393508381526020019081526020016000205490506127d1565b809250505061283b565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600033905090565b60006001905090565b600061286482612772565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146128cb576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff166128ec612840565b73ffffffffffffffffffffffffffffffffffffffff16148061291b575061291a85612915612840565b6124f9565b5b806129605750612929612840565b73ffffffffffffffffffffffffffffffffffffffff1661294884610bb6565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612999576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612a00576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612a0d85858560016130b2565b6007600084815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055507c020000000000000000000000000000000000000000000000000000000060a042901b612b0a866130b8565b1717600560008581526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000083161415612b94576000600184019050600060056000838152602001908152602001600020541415612b92576001548114612b91578260056000838152602001908152602001600020819055505b5b505b828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bfc85858560016130c2565b5050505050565b80341115612cc85760003373ffffffffffffffffffffffffffffffffffffffff168234612c309190614243565b604051612c3c90613d49565b60006040518083038185875af1925050503d8060008114612c79576040519150601f19603f3d011682016040523d82523d6000602084013e612c7e565b606091505b5050905080612cc2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb990613e84565b60405180910390fd5b50612d0c565b80341015612d0b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d0290613fa4565b60405180910390fd5b5b50565b612d298282604051806020016040528060008152506130c8565b5050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e17612840565b8786866040518563ffffffff1660e01b8152600401612e399493929190613d79565b602060405180830381600087803b158015612e5357600080fd5b505af1925050508015612e8457506040513d601f19601f82011682018060405250810190612e8191906137ed565b60015b612efe573d8060008114612eb4576040519150601f19603f3d011682016040523d82523d6000602084013e612eb9565b606091505b50600081511415612ef6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612f99576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ad565b600082905060005b60008214612fcb578080612fb490614390565b915050600a82612fc491906141b8565b9150612fa1565b60008167ffffffffffffffff811115612fe757612fe66144c6565b5b6040519080825280601f01601f1916602001820160405280156130195781602001600182028036833780820191505090505b5090505b600085146130a6576001826130329190614243565b9150600a8561304191906143d9565b603061304d9190614162565b60f81b81838151811061306357613062614497565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561309f91906141b8565b945061301d565b8093505050505b919050565b50505050565b6000819050919050565b50505050565b60006001549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613136576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000831415613171576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61317e60008583866130b2565b600160406001901b178302600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555060e16131e36001851461337e565b901b60a042901b6131f3866130b8565b1717600560008381526020019081526020016000208190555060008190506000848201905060008673ffffffffffffffffffffffffffffffffffffffff163b146132f7575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46132a76000878480600101955087612df1565b6132dd576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106132385782600154146132f257600080fd5b613362565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106132f8575b81600181905550505061337860008583866130c2565b50505050565b6000819050919050565b8280546133949061432d565b90600052602060002090601f0160209004810192826133b657600085556133fd565b82601f106133cf57805160ff19168380011785556133fd565b828001600101855582156133fd579182015b828111156133fc5782518255916020019190600101906133e1565b5b50905061340a919061340e565b5090565b5b8082111561342757600081600090555060010161340f565b5090565b600061343e61343984614064565b61403f565b90508281526020810184848401111561345a576134596144fa565b5b6134658482856142eb565b509392505050565b600061348061347b84614095565b61403f565b90508281526020810184848401111561349c5761349b6144fa565b5b6134a78482856142eb565b509392505050565b6000813590506134be81614822565b92915050565b6000813590506134d381614839565b92915050565b6000813590506134e881614850565b92915050565b6000815190506134fd81614850565b92915050565b600082601f830112613518576135176144f5565b5b813561352884826020860161342b565b91505092915050565b600082601f830112613546576135456144f5565b5b813561355684826020860161346d565b91505092915050565b60008135905061356e81614867565b92915050565b60006020828403121561358a57613589614504565b5b6000613598848285016134af565b91505092915050565b600080604083850312156135b8576135b7614504565b5b60006135c6858286016134af565b92505060206135d7858286016134af565b9150509250929050565b6000806000606084860312156135fa576135f9614504565b5b6000613608868287016134af565b9350506020613619868287016134af565b925050604061362a8682870161355f565b9150509250925092565b6000806000806080858703121561364e5761364d614504565b5b600061365c878288016134af565b945050602061366d878288016134af565b935050604061367e8782880161355f565b925050606085013567ffffffffffffffff81111561369f5761369e6144ff565b5b6136ab87828801613503565b91505092959194509250565b600080604083850312156136ce576136cd614504565b5b60006136dc858286016134af565b92505060206136ed858286016134c4565b9150509250929050565b6000806040838503121561370e5761370d614504565b5b600061371c858286016134af565b925050602061372d8582860161355f565b9150509250929050565b60006020828403121561374d5761374c614504565b5b600061375b848285016134c4565b91505092915050565b6000806040838503121561377b5761377a614504565b5b6000613789858286016134c4565b925050602083013567ffffffffffffffff8111156137aa576137a96144ff565b5b6137b685828601613531565b9150509250929050565b6000602082840312156137d6576137d5614504565b5b60006137e4848285016134d9565b91505092915050565b60006020828403121561380357613802614504565b5b6000613811848285016134ee565b91505092915050565b6000602082840312156138305761382f614504565b5b600082013567ffffffffffffffff81111561384e5761384d6144ff565b5b61385a84828501613531565b91505092915050565b60006020828403121561387957613878614504565b5b60006138878482850161355f565b91505092915050565b600080604083850312156138a7576138a6614504565b5b60006138b58582860161355f565b92505060206138c6858286016134af565b9150509250929050565b60006138dc8383613cfc565b60208301905092915050565b6138f181614277565b82525050565b6000613902826140eb565b61390c8185614119565b9350613917836140c6565b8060005b8381101561394857815161392f88826138d0565b975061393a8361410c565b92505060018101905061391b565b5085935050505092915050565b61395e81614289565b82525050565b600061396f826140f6565b613979818561412a565b93506139898185602086016142fa565b61399281614509565b840191505092915050565b60006139a882614101565b6139b28185614146565b93506139c28185602086016142fa565b6139cb81614509565b840191505092915050565b60006139e182614101565b6139eb8185614157565b93506139fb8185602086016142fa565b80840191505092915050565b60008154613a148161432d565b613a1e8186614157565b94506001821660008114613a395760018114613a4a57613a7d565b60ff19831686528186019350613a7d565b613a53856140d6565b60005b83811015613a7557815481890152600182019150602081019050613a56565b838801955050505b50505092915050565b6000613a93600b83614146565b9150613a9e8261451a565b602082019050919050565b6000613ab6601483614146565b9150613ac182614543565b602082019050919050565b6000613ad9602683614146565b9150613ae48261456c565b604082019050919050565b6000613afc600f83614146565b9150613b07826145bb565b602082019050919050565b6000613b1f601183614146565b9150613b2a826145e4565b602082019050919050565b6000613b42601383614146565b9150613b4d8261460d565b602082019050919050565b6000613b65601383614146565b9150613b7082614636565b602082019050919050565b6000613b88600583614157565b9150613b938261465f565b600582019050919050565b6000613bab602083614146565b9150613bb682614688565b602082019050919050565b6000613bce601383614146565b9150613bd9826146b1565b602082019050919050565b6000613bf1602f83614146565b9150613bfc826146da565b604082019050919050565b6000613c14601283614146565b9150613c1f82614729565b602082019050919050565b6000613c37601283614146565b9150613c4282614752565b602082019050919050565b6000613c5a601383614146565b9150613c658261477b565b602082019050919050565b6000613c7d601183614146565b9150613c88826147a4565b602082019050919050565b6000613ca060008361413b565b9150613cab826147cd565b600082019050919050565b6000613cc3601283614146565b9150613cce826147d0565b602082019050919050565b6000613ce6601583614146565b9150613cf1826147f9565b602082019050919050565b613d05816142e1565b82525050565b613d14816142e1565b82525050565b6000613d268285613a07565b9150613d3282846139d6565b9150613d3d82613b7b565b91508190509392505050565b6000613d5482613c93565b9150819050919050565b6000602082019050613d7360008301846138e8565b92915050565b6000608082019050613d8e60008301876138e8565b613d9b60208301866138e8565b613da86040830185613d0b565b8181036060830152613dba8184613964565b905095945050505050565b60006020820190508181036000830152613ddf81846138f7565b905092915050565b6000602082019050613dfc6000830184613955565b92915050565b60006020820190508181036000830152613e1c818461399d565b905092915050565b60006020820190508181036000830152613e3d81613a86565b9050919050565b60006020820190508181036000830152613e5d81613aa9565b9050919050565b60006020820190508181036000830152613e7d81613acc565b9050919050565b60006020820190508181036000830152613e9d81613aef565b9050919050565b60006020820190508181036000830152613ebd81613b12565b9050919050565b60006020820190508181036000830152613edd81613b35565b9050919050565b60006020820190508181036000830152613efd81613b58565b9050919050565b60006020820190508181036000830152613f1d81613b9e565b9050919050565b60006020820190508181036000830152613f3d81613bc1565b9050919050565b60006020820190508181036000830152613f5d81613be4565b9050919050565b60006020820190508181036000830152613f7d81613c07565b9050919050565b60006020820190508181036000830152613f9d81613c2a565b9050919050565b60006020820190508181036000830152613fbd81613c4d565b9050919050565b60006020820190508181036000830152613fdd81613c70565b9050919050565b60006020820190508181036000830152613ffd81613cb6565b9050919050565b6000602082019050818103600083015261401d81613cd9565b9050919050565b60006020820190506140396000830184613d0b565b92915050565b600061404961405a565b9050614055828261435f565b919050565b6000604051905090565b600067ffffffffffffffff82111561407f5761407e6144c6565b5b61408882614509565b9050602081019050919050565b600067ffffffffffffffff8211156140b0576140af6144c6565b5b6140b982614509565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b600061416d826142e1565b9150614178836142e1565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156141ad576141ac61440a565b5b828201905092915050565b60006141c3826142e1565b91506141ce836142e1565b9250826141de576141dd614439565b5b828204905092915050565b60006141f4826142e1565b91506141ff836142e1565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156142385761423761440a565b5b828202905092915050565b600061424e826142e1565b9150614259836142e1565b92508282101561426c5761426b61440a565b5b828203905092915050565b6000614282826142c1565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156143185780820151818401526020810190506142fd565b83811115614327576000848401525b50505050565b6000600282049050600182168061434557607f821691505b6020821081141561435957614358614468565b5b50919050565b61436882614509565b810181811067ffffffffffffffff82111715614387576143866144c6565b5b80604052505050565b600061439b826142e1565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156143ce576143cd61440a565b5b600182019050919050565b60006143e4826142e1565b91506143ef836142e1565b9250826143ff576143fe614439565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f6e6c7920312066726565000000000000000000000000000000000000000000600082015250565b7f5465616d207472616e73666572206661696c6564000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f5472616e73666572206661696c65640000000000000000000000000000000000600082015250565b7f5465616d206d696e74696e67206f6e6c79000000000000000000000000000000600082015250565b7f4e6f20636f6e7472616374206d696e74696e6700000000000000000000000000600082015250565b7f55736572206d6178206d696e74206c696d697400000000000000000000000000600082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f55736572206d61782066726565206c696d697400000000000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4e6f207465616d206d696e7473206c6566740000000000000000000000000000600082015250565b7f5468697320706861736520697320667265650000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204554482073656e7400000000000000000000000000600082015250565b7f5175616e7469747920746f6f2068696768000000000000000000000000000000600082015250565b50565b7f436f6e7472616374206973207061757365640000000000000000000000000000600082015250565b7f4e6f7420656e6f756768206d696e7473206c6566740000000000000000000000600082015250565b61482b81614277565b811461483657600080fd5b50565b61484281614289565b811461484d57600080fd5b50565b61485981614295565b811461486457600080fd5b50565b614870816142e1565b811461487b57600080fd5b5056fea26469706673582212202e1d253ddd2c24e8a2f8d68efa29d323ca112f3c5457dc374e6949279f1cedde64736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ 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.