ETH Price: $3,463.67 (+2.24%)
Gas: 10 Gwei

Token

TheCosmoGang (CG)
 

Overview

Max Total Supply

2,001 CG

Holders

403

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
melloyelosmooth.eth
Balance
5 CG
0xfa76e804f744ab86208fa35ef1bbaf85961b623d
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:
CosmoGang

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : smart_contract_opti.sol
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
// Creator : TheV

//  _______ __   __ _______    _______ _______ _______ __   __ _______    _______ _______ __    _ _______ 
// |       |  | |  |       |  |       |       |       |  |_|  |       |  |       |       |  |  | |       |
// |_     _|  |_|  |    ___|  |       |   _   |  _____|       |   _   |  |    ___|   _   |   |_| |    ___|
//   |   | |       |   |___   |      _|  | |  | |_____|       |  | |  |  |   | __|  |_|  |       |   | __ 
//   |   | |       |    ___|  |     | |  |_|  |_____  |       |  |_|  |  |   ||  |       |  _    |   ||  |
//   |   | |   _   |   |___   |     |_|       |_____| | ||_|| |       |  |   |_| |   _   | | |   |   |_| |
//   |___| |__| |__|_______|  |_______|_______|_______|_|   |_|_______|  |_______|__| |__|_|  |__|_______|

pragma solidity >=0.7.0;

import "https://github.com/chiru-labs/ERC721A/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Strings.sol";


contract CosmoGang is ERC721A, Ownable {
    enum Faction {None, Jahjahrion, Breedorok, Foodrak, Pimpmyridian,
        Muskarion, Lamborgardoz, Schumarian, Creatron}
    
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;

    uint256 public constant MAX_SUPPLY = 10000;
    mapping (uint256 => string) public tokenURIs;
    mapping (uint256 => Faction) public tokenFactions;
    uint256 public max_per_walet = 5;
    address public main_address = 0x9C21c877B44eBac7F0E8Ee99dB4ebFD4A9Ac5000;
    string public placeholder_uri = "https://bafybeih6b2d4aqvcsw6sv3cu2pi3doldwa4lq42w34ismwvfrictsod5nu.ipfs.infura-ipfs.io/";
    string public base_uri;
    bool public isMinting = false;
    bool public isRevealed = false;
    bool public isBaseUri = false;
    uint256 public price = 0 ether;
    uint256 public current_supply = 2000;

    constructor() ERC721A("TheCosmoGang", "CG")
    {
        // Minting for availability on OpenSea before any mint
        _safeMint(address(this), 1);
        _burn(0);
    }

    function toggleMintState()
        public onlyOwner
    {
        if (isMinting)
        {
            isMinting = false;
        }
        else
        {
            isMinting = true;
        }
    }

    function toggleRevealState()
        public onlyOwner
    {
        if (isRevealed)
        {
            isRevealed = false;
        }
        else
        {
            isRevealed = true;
        }
    }

    function toggleBaseUriState()
        public onlyOwner
    {
        if (isBaseUri)
        {
            isBaseUri = false;
        }
        else
        {
            isBaseUri = true;
        }
    }

    // Mint Logic
    function _mintNFT(uint256 nMint, address recipient)
        private
        returns (uint256[] memory)
    {
        require(_tokenIds.current() + nMint <= MAX_SUPPLY, "No more NFT to mint");
        require(_tokenIds.current() + nMint <= current_supply, "No more NFT to mint currently");
        require(balanceOf(recipient) + nMint <= max_per_walet, "Too much NFT minted");
        
        current_supply -= nMint;
        uint256[] memory newItemIds = new uint256[](nMint);

        for (uint256 i = 0; i < nMint; i++)
        {
            _tokenIds.increment();
            uint256 newItemId = _tokenIds.current();
            newItemIds[i] = newItemId;
        }
        _safeMint(recipient, nMint);
        // _mint(recipient, nMint);

        return newItemIds;
    }

    // Normal Mint
    function mintNFT(uint256 nMint, address recipient)
        external payable
        returns (uint256[] memory)
    {
        require(isMinting, "Mint period have not started yet");
        require(msg.value >= price * nMint, "Not enough ETH to mint");

        return _mintNFT(nMint, recipient);
    }

    // Free Mint
    function giveaway(uint256 nMint, address recipient)
        external onlyOwner
        returns (uint256[] memory)
    {
        return _mintNFT(nMint, recipient);
    }

    function burnNFT(uint256 tokenId)
        external onlyOwner
    {
        _burn(tokenId);
        delete tokenURIs[tokenId];
    }

    function setCurrentSupply(uint256 supply)
        external onlyOwner
    {
        require(getCurrentSupply() + supply <= MAX_SUPPLY, "Too much supply");
        current_supply = supply;
    }

    function transferFrom(address from, address to, uint256 tokenId)
        public
        override
    {
        require(balanceOf(from) > 1, "Not enough NFT to send one");
        super.transferFrom(from, to, tokenId);
    }

    function tokenURI(uint256 tokenId)
        public view
        override
        returns (string memory)
    {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");
        if (isRevealed)
        {
            if (isBaseUri)
            {
                return string(abi.encodePacked(abi.encodePacked(abi.encodePacked(base_uri, "/"), Strings.toString(tokenId)), ".json"));
            }
            else
            {
                return tokenURIs[tokenId];
            }
            
        }
        else
        {
            return placeholder_uri;
        }
    }

    function setTokenURI(uint256 tokenId, string memory _tokenURI, Faction faction)
        private
        // override(ERC721)
    {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        tokenURIs[tokenId] = _tokenURI;
        tokenFactions[tokenId] = faction;
    }

    function updateTokenURI(uint256 tokenId, string memory _tokenURI, Faction faction)
        external onlyOwner
        // override(ERC721A)
    {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        tokenURIs[tokenId] = _tokenURI;
        tokenFactions[tokenId] = faction;
    }

    function updateAllTokenURIs(uint256[] memory tokenIds, string[] memory _tokenURIs, Faction[] memory factions)
        external onlyOwner
        // override(ERC721A)
    {
        mapping(uint256 => string) storage tempTokenURIs = tokenURIs;
        mapping(uint256 => Faction) storage tempTokenFactions = tokenFactions;
        for (uint256 idx = 0; idx <= tokenIds.length; idx++)
        {
            uint256 tokenId = tokenIds[idx];
            string memory _tokenURI = _tokenURIs[idx];
            Faction tokenFaction = factions[idx];
            require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
            tempTokenURIs[tokenId] = _tokenURI;
            tempTokenFactions[tokenId] = tokenFaction;
        }
    }

    function setFaction(uint256 tokenId, Faction _faction)
        external onlyOwner
    {
        tokenFactions[tokenId] = _faction;
    }
    
    function setPrice(uint256 priceGwei)
        external onlyOwner
    {
        price = priceGwei * 10**9;
    }

    function setPlaceholderUri(string memory _placeholder_uri)
        external onlyOwner
    {
        placeholder_uri = _placeholder_uri;
    }

    function setBaseUri(string memory _base_uri)
        external onlyOwner
    {
        base_uri = _base_uri;
    }

    function setMaxPerWallet(uint256 _max_per_wallet)
        external onlyOwner
    {
        max_per_walet = _max_per_wallet;
    }

    function setMainAddress(address _main_address)
        external onlyOwner
    {
        main_address = _main_address;
    }

    function getTokenIds()
        external view onlyOwner
        returns (uint256[] memory)
    {   
        uint256 idx = 0;
        uint256 totalSupply = totalSupply();
        uint256[] memory tokenIds = new uint256[](totalSupply);
        for (uint256 i; i <= _tokenIds.current(); i++)
        {
            if (_exists(i))
            {
                tokenIds[idx] = i;
                idx++;
            }
        }
        return tokenIds;
    }
    
    function getTokenIdsOf(address addr)
        external view onlyOwner
        returns (uint256[] memory)
    {
        uint256 count = balanceOf(addr);
        uint256[] memory tokenIds = new uint256[](count);
        uint256 foundTokens = 0;
        for (uint256 i; i <= _tokenIds.current(); i++)
        {
            if (_exists(i))
            {
                if (ownerOf(i) == addr)
                {
                    tokenIds[foundTokens] = i;
                    foundTokens++;
                }
            }
        }
    
        return tokenIds;
    }

    function getHolders()
        external view onlyOwner
        returns (address[] memory)
    {
        uint256 supply = getCurrentSupply();
        address[] memory holders = new address[](supply);
        uint256 idx = 0;
        for (uint256 i; i <= _tokenIds.current(); i++)
        {
            if (_exists(i))
            {
                address holder = ownerOf(i);
                bool alreadyAdded = false;
                for (uint256 j; j < holders.length; j++)
                {
                    if (holders[j] == holder)
                    {
                        alreadyAdded = true;
                    }
                }
                if (!alreadyAdded)
                {
                    holders[idx] = holder;
                    idx++;
                }
            }
        }

        return holders;
    }

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

    function isHolder(address addr)
        public view
        returns (bool)
    {
        return balanceOf(addr) > 0;
    }

    function withdraw()
        public 
        payable
    {
        uint256 amount = address(this).balance;
        require(amount > 0, "Nothing to withdraw");
        bool success = payable(main_address).send(amount);
        require(success, "Failed to withdraw");
    }

    function getETHBalance(address addr)
        public view
        returns (uint)
    {
        return addr.balance;
    }

    function getContractBalance()
        public view
        returns (uint256)
    {
        return address(this).balance;
    }

    receive()
        external payable
    {
        // balance[msg.sender] += msg.value;
    }

    fallback()
        external
    {

    }
}

File 2 of 7 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 3 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (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 Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 7 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Counters.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 7 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.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 bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with `_mintERC2309`.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to `_mintERC2309`
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // 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`
    // - [232..255] `extraData`
    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 auxiliary 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 auxiliary 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;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            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;
        ownership.extraData = uint24(packed >> BITPOS_EXTRA_DATA);
    }

    /**
     * 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 Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, BITMASK_ADDRESS)
            // `owner | (block.timestamp << BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << BITPOS_NEXT_INITIALIZED`.
            result := shl(BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

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

        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-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 {
        transferFrom(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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

    /**
     * @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 for each mint.
     */
    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` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 tokenId = startTokenId;
            uint256 end = startTokenId + quantity;
            do {
                emit Transfer(address(0), to, tokenId++);
            } while (tokenId < end);

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _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] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        mapping(uint256 => address) storage tokenApprovalsPtr = _tokenApprovals;
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId]`.
        assembly {
            // Compute the slot.
            mstore(0x00, tokenId)
            mstore(0x20, tokenApprovalsPtr.slot)
            approvedAddressSlot := keccak256(0x00, 0x40)
            // Load the slot's value from storage.
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    /**
     * @dev Returns whether the `approvedAddress` is equals to `from` or `msgSender`.
     */
    function _isOwnerOrApproved(
        address approvedAddress,
        address from,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `from` to the lower 160 bits, in case the upper bits somehow aren't clean.
            from := and(from, BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, BITMASK_ADDRESS)
            // `msgSender == from || msgSender == approvedAddress`.
            result := or(eq(msgSender, from), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @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 transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                to,
                BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

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

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isOwnerOrApproved(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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] = _packOwnershipData(
                from,
                (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // 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 Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << BITPOS_EXTRA_DATA;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @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 6 of 7 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.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();

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    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;
        // Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
        uint24 extraData;
    }

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

    // ==============================
    //            IERC2309
    // ==============================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId` (inclusive) is transferred from `from` to `to`,
     * as defined in the ERC2309 standard. See `_mintERC2309` for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 7 of 7 : 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":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","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"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[],"name":"MAX_SUPPLY","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":"base_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burnNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"current_supply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getContractBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getCurrentSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getETHBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getHolders","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getTokenIdsOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nMint","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"giveaway","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isBaseUri","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"isHolder","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMinting","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isRevealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"main_address","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"max_per_walet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"nMint","type":"uint256"},{"internalType":"address","name":"recipient","type":"address"}],"name":"mintNFT","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"placeholder_uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_base_uri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"supply","type":"uint256"}],"name":"setCurrentSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"enum CosmoGang.Faction","name":"_faction","type":"uint8"}],"name":"setFaction","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_main_address","type":"address"}],"name":"setMainAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_max_per_wallet","type":"uint256"}],"name":"setMaxPerWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_placeholder_uri","type":"string"}],"name":"setPlaceholderUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceGwei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleBaseUriState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"toggleRevealState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenFactions","outputs":[{"internalType":"enum CosmoGang.Faction","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"tokenURIs","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":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"string[]","name":"_tokenURIs","type":"string[]"},{"internalType":"enum CosmoGang.Faction[]","name":"factions","type":"uint8[]"}],"name":"updateAllTokenURIs","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"enum CosmoGang.Faction","name":"faction","type":"uint8"}],"name":"updateTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

60806040526005600c55739c21c877b44ebac7f0e8ee99db4ebfd4a9ac5000600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180608001604052806058815260200162005bee60589139600e90805190602001906200008f92919062000c35565b506000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff02191690831515021790555060006011556107d0601255348015620000f957600080fd5b506040518060400160405280600c81526020017f546865436f736d6f47616e6700000000000000000000000000000000000000008152506040518060400160405280600281526020017f434700000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200017e92919062000c35565b5080600390805190602001906200019792919062000c35565b50620001a8620001fb60201b60201c565b6000819055505050620001d0620001c46200020060201b60201c565b6200020860201b60201c565b620001e3306001620002ce60201b60201c565b620001f56000620002f460201b60201c565b62000f36565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620002f08282604051806020016040528060008152506200030a60201b60201c565b5050565b62000307816000620003bb60201b60201c565b50565b6200031c83836200066660201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620003b657600080549050600083820390505b6200036560008683806001019450866200086560201b60201c565b6200039c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106200034a578160005414620003b357600080fd5b50505b505050565b6000620003ce83620009d760201b60201c565b90506000819050600080620003e98662000ab360201b60201c565b91509150841562000475576200041681846200040a62000ad560201b60201c565b62000add60201b60201c565b62000474576200043c836200043062000ad560201b60201c565b62000b2160201b60201c565b62000473576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6200048b83600088600162000bb560201b60201c565b80156200049757600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200054f83620005058560008862000bbb60201b60201c565b7c02000000000000000000000000000000000000000000000000000000007c0100000000000000000000000000000000000000000000000000000000171762000beb60201b60201c565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415620005da576000600187019050600060046000838152602001908152602001600020541415620005d8576000548114620005d7578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200064c83600088600162000c1660201b60201c565b600160008154809291906001019190505550505050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415620006d4576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141562000710576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000725600084838562000bb560201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620007b48362000796600086600062000bbb60201b60201c565b620007a78562000c1c60201b60201c565b1762000beb60201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210620007d85780600081905550505062000860600084838562000c1660201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026200089362000ad560201b60201c565b8786866040518563ffffffff1660e01b8152600401620008b7949392919062000d91565b602060405180830381600087803b158015620008d257600080fd5b505af19250505080156200090657506040513d601f19601f8201168201806040525081019062000903919062000cfc565b60015b62000984573d806000811462000939576040519150601f19603f3d011682016040523d82523d6000602084013e6200093e565b606091505b506000815114156200097c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008082905080620009ee620001fb60201b60201c565b1162000a7c5760005481101562000a7b5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141562000a79575b600081141562000a6e57600460008360019003935083815260200190815260200160002054905062000a41565b809250505062000aae565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b60008060e883901c905060e862000bda86868462000c2c60201b60201c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001821460e11b9050919050565b60009392505050565b82805462000c439062000ea1565b90600052602060002090601f01602090048101928262000c67576000855562000cb3565b82601f1062000c8257805160ff191683800117855562000cb3565b8280016001018555821562000cb3579182015b8281111562000cb257825182559160200191906001019062000c95565b5b50905062000cc2919062000cc6565b5090565b5b8082111562000ce157600081600090555060010162000cc7565b5090565b60008151905062000cf68162000f1c565b92915050565b60006020828403121562000d155762000d1462000f06565b5b600062000d258482850162000ce5565b91505092915050565b62000d398162000e01565b82525050565b600062000d4c8262000de5565b62000d58818562000df0565b935062000d6a81856020860162000e6b565b62000d758162000f0b565b840191505092915050565b62000d8b8162000e61565b82525050565b600060808201905062000da8600083018762000d2e565b62000db7602083018662000d2e565b62000dc6604083018562000d80565b818103606083015262000dda818462000d3f565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b600062000e0e8262000e41565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000e8b57808201518184015260208101905062000e6e565b8381111562000e9b576000848401525b50505050565b6000600282049050600182168062000eba57607f821691505b6020821081141562000ed15762000ed062000ed7565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b62000f278162000e15565b811462000f3357600080fd5b50565b614ca88062000f466000396000f3fe6080604052600436106103035760003560e01c80636c8b703f11610190578063a22cb465116100dc578063d4d7b19a11610095578063dc5473011161006f578063dc54730114610b69578063e268e4d314610b92578063e985e9c514610bbb578063f2fde38b14610bf85761030a565b8063d4d7b19a14610ad8578063d4f126ea14610b15578063db9771f514610b405761030a565b8063a22cb465146109f2578063a65e088614610a1b578063b2693cb114610a32578063b88d4fde14610a5b578063c325969d14610a84578063c87b56dd14610a9b5761030a565b80638da5cb5b1161014957806398f7fbb51161012357806398f7fbb514610936578063a035b1fe14610961578063a09ac5571461098c578063a0bcfc7f146109c95761030a565b80638da5cb5b146108b757806391b7f5ed146108e257806395d89b411461090b5761030a565b80636c8b703f146107a75780636f9fb98a146107e457806370a082311461080f578063715018a61461084c57806371dce28c14610863578063786f29101461088c5761030a565b80633ccfd60b1161024f57806354214f6911610208578063669f5a51116101e2578063669f5a51146106f857806367f718a9146107285780636aea5f1b146107535780636afd4ba21461077e5761030a565b806354214f69146106655780635fe8e7cc146106905780636352211e146106bb5761030a565b80633ccfd60b146105885780633da68c691461059257806342842e0e146105bd5780634f3e1efc146105e6578063510db75a146106115780635324f9aa146106285761030a565b806318160ddd116102bc5780632a8092df116102965780632a8092df146104b857806332cb6b0c146104e35780633bb66a7b1461050e5780633c0a1d091461054b5761030a565b806318160ddd1461043b57806323b872dd146104665780632890e0d71461048f5761030a565b806301ffc9a71461031957806306ae6df21461035657806306fdde031461037f578063081812fc146103aa578063087b77ec146103e7578063095ea7b3146104125761030a565b3661030a57005b34801561031657600080fd5b50005b34801561032557600080fd5b50610340600480360381019061033b919061399d565b610c21565b60405161034d9190614115565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613aed565b610cb3565b005b34801561038b57600080fd5b50610394610d6b565b6040516103a1919061414b565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc9190613a40565b610dfd565b6040516103de919061406a565b60405180910390f35b3480156103f357600080fd5b506103fc610e79565b604051610409919061406a565b60405180910390f35b34801561041e57600080fd5b50610439600480360381019061043491906138b6565b610e9f565b005b34801561044757600080fd5b50610450610fe0565b60405161045d919061430d565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906137a0565b610ff7565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613a40565b611052565b005b3480156104c457600080fd5b506104cd611085565b6040516104da9190614115565b60405180910390f35b3480156104ef57600080fd5b506104f8611098565b604051610505919061430d565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190613733565b61109e565b604051610542919061430d565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190613a6d565b6110bf565b60405161057f91906140f3565b60405180910390f35b6105906110db565b005b34801561059e57600080fd5b506105a76111c2565b6040516105b4919061430d565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df91906137a0565b6111c8565b005b3480156105f257600080fd5b506105fb6111e8565b604051610608919061430d565b60405180910390f35b34801561061d57600080fd5b506106266111f7565b005b34801561063457600080fd5b5061064f600480360381019061064a9190613733565b611252565b60405161065c91906140f3565b60405180910390f35b34801561067157600080fd5b5061067a611363565b6040516106879190614115565b60405180910390f35b34801561069c57600080fd5b506106a5611376565b6040516106b291906140d1565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613a40565b6114fe565b6040516106ef919061406a565b60405180910390f35b610712600480360381019061070d9190613a6d565b611510565b60405161071f91906140f3565b60405180910390f35b34801561073457600080fd5b5061073d6115c3565b60405161074a91906140f3565b60405180910390f35b34801561075f57600080fd5b50610768611694565b604051610775919061430d565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a091906139f7565b61169a565b005b3480156107b357600080fd5b506107ce60048036038101906107c99190613a40565b6116bc565b6040516107db919061414b565b60405180910390f35b3480156107f057600080fd5b506107f961175c565b604051610806919061430d565b60405180910390f35b34801561081b57600080fd5b5061083660048036038101906108319190613733565b611764565b604051610843919061430d565b60405180910390f35b34801561085857600080fd5b5061086161181d565b005b34801561086f57600080fd5b5061088a60048036038101906108859190613aad565b611831565b005b34801561089857600080fd5b506108a1611878565b6040516108ae919061414b565b60405180910390f35b3480156108c357600080fd5b506108cc611906565b6040516108d9919061406a565b60405180910390f35b3480156108ee57600080fd5b5061090960048036038101906109049190613a40565b611930565b005b34801561091757600080fd5b50610920611951565b60405161092d919061414b565b60405180910390f35b34801561094257600080fd5b5061094b6119e3565b6040516109589190614115565b60405180910390f35b34801561096d57600080fd5b506109766119f6565b604051610983919061430d565b60405180910390f35b34801561099857600080fd5b506109b360048036038101906109ae9190613a40565b6119fc565b6040516109c09190614130565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb91906139f7565b611a1c565b005b3480156109fe57600080fd5b50610a196004803603810190610a149190613876565b611a3e565b005b348015610a2757600080fd5b50610a30611bb6565b005b348015610a3e57600080fd5b50610a596004803603810190610a5491906138f6565b611c11565b005b348015610a6757600080fd5b50610a826004803603810190610a7d91906137f3565b611d54565b005b348015610a9057600080fd5b50610a99611dc7565b005b348015610aa757600080fd5b50610ac26004803603810190610abd9190613a40565b611e22565b604051610acf919061414b565b60405180910390f35b348015610ae457600080fd5b50610aff6004803603810190610afa9190613733565b61203c565b604051610b0c9190614115565b60405180910390f35b348015610b2157600080fd5b50610b2a612050565b604051610b37919061414b565b60405180910390f35b348015610b4c57600080fd5b50610b676004803603810190610b629190613733565b6120de565b005b348015610b7557600080fd5b50610b906004803603810190610b8b9190613a40565b61212a565b005b348015610b9e57600080fd5b50610bb96004803603810190610bb49190613a40565b612193565b005b348015610bc757600080fd5b50610be26004803603810190610bdd9190613760565b6121a5565b604051610bef9190614115565b60405180910390f35b348015610c0457600080fd5b50610c1f6004803603810190610c1a9190613733565b612239565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cac5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610cbb6122bd565b610cc48361233b565b610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061428d565b60405180910390fd5b81600a60008581526020019081526020016000209080519060200190610d2a9291906132fa565b5080600b600085815260200190815260200160002060006101000a81548160ff02191690836008811115610d6157610d60614833565b5b0217905550505050565b606060028054610d7a906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610da6906146f8565b8015610df35780601f10610dc857610100808354040283529160200191610df3565b820191906000526020600020905b815481529060010190602001808311610dd657829003601f168201915b5050505050905090565b6000610e088261233b565b610e3e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610eaa826114fe565b90508073ffffffffffffffffffffffffffffffffffffffff16610ecb61239a565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e57610ef781610ef261239a565b6121a5565b610f2d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610fea6123a2565b6001546000540303905090565b600161100284611764565b11611042576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110399061418d565b60405180910390fd5b61104d8383836123a7565b505050565b61105a6122bd565b611063816126cc565b600a600082815260200190815260200160002060006110829190613380565b50565b601060009054906101000a900460ff1681565b61271081565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b60606110c96122bd565b6110d383836126da565b905092915050565b600047905060008111611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a906141ad565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050509050806111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061416d565b60405180910390fd5b5050565b600c5481565b6111e383838360405180602001604052806000815250611d54565b505050565b60006111f2610fe0565b905090565b6111ff6122bd565b601060009054906101000a900460ff1615611234576000601060006101000a81548160ff021916908315150217905550611250565b6001601060006101000a81548160ff0219169083151502179055505b565b606061125c6122bd565b600061126783611764565b905060008167ffffffffffffffff811115611285576112846148c0565b5b6040519080825280602002602001820160405280156112b35781602001602082028036833780820191505090505b5090506000805b6112c460096128b8565b8111611357576112d38161233b565b15611344578573ffffffffffffffffffffffffffffffffffffffff166112f8826114fe565b73ffffffffffffffffffffffffffffffffffffffff161415611343578083838151811061132857611327614891565b5b602002602001018181525050818061133f9061475b565b9250505b5b808061134f9061475b565b9150506112ba565b50819350505050919050565b601060019054906101000a900460ff1681565b60606113806122bd565b600061138a6111e8565b905060008167ffffffffffffffff8111156113a8576113a76148c0565b5b6040519080825280602002602001820160405280156113d65781602001602082028036833780820191505090505b5090506000805b6113e760096128b8565b81116114f4576113f68161233b565b156114e1576000611406826114fe565b90506000805b855181101561147b578273ffffffffffffffffffffffffffffffffffffffff1686828151811061143f5761143e614891565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141561146857600191505b80806114739061475b565b91505061140c565b50806114de578185858151811061149557611494614891565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505083806114da9061475b565b9450505b50505b80806114ec9061475b565b9150506113dd565b5081935050505090565b6000611509826128c6565b9050919050565b6060601060009054906101000a900460ff16611561576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115589061420d565b60405180910390fd5b8260115461156f919061458f565b3410156115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a89061422d565b60405180910390fd5b6115bb83836126da565b905092915050565b60606115cd6122bd565b6000806115d8610fe0565b905060008167ffffffffffffffff8111156115f6576115f56148c0565b5b6040519080825280602002602001820160405280156116245781602001602082028036833780820191505090505b50905060005b61163460096128b8565b811161168a576116438161233b565b15611677578082858151811061165c5761165b614891565b5b60200260200101818152505083806116739061475b565b9450505b80806116829061475b565b91505061162a565b5080935050505090565b60125481565b6116a26122bd565b80600e90805190602001906116b89291906132fa565b5050565b600a60205280600052604060002060009150905080546116db906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611707906146f8565b80156117545780601f1061172957610100808354040283529160200191611754565b820191906000526020600020905b81548152906001019060200180831161173757829003601f168201915b505050505081565b600047905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117cc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118256122bd565b61182f6000612994565b565b6118396122bd565b80600b600084815260200190815260200160002060006101000a81548160ff0219169083600881111561186f5761186e614833565b5b02179055505050565b600f8054611885906146f8565b80601f01602080910402602001604051908101604052809291908181526020018280546118b1906146f8565b80156118fe5780601f106118d3576101008083540402835291602001916118fe565b820191906000526020600020905b8154815290600101906020018083116118e157829003601f168201915b505050505081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119386122bd565b633b9aca0081611948919061458f565b60118190555050565b606060038054611960906146f8565b80601f016020809104026020016040519081016040528092919081815260200182805461198c906146f8565b80156119d95780601f106119ae576101008083540402835291602001916119d9565b820191906000526020600020905b8154815290600101906020018083116119bc57829003601f168201915b5050505050905090565b601060029054906101000a900460ff1681565b60115481565b600b6020528060005260406000206000915054906101000a900460ff1681565b611a246122bd565b80600f9080519060200190611a3a9291906132fa565b5050565b611a4661239a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aab576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ab861239a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b6561239a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611baa9190614115565b60405180910390a35050565b611bbe6122bd565b601060029054906101000a900460ff1615611bf3576000601060026101000a81548160ff021916908315150217905550611c0f565b6001601060026101000a81548160ff0219169083151502179055505b565b611c196122bd565b6000600a90506000600b905060005b85518111611d4c576000868281518110611c4557611c44614891565b5b602002602001015190506000868381518110611c6457611c63614891565b5b602002602001015190506000868481518110611c8357611c82614891565b5b60200260200101519050611c968361233b565b611cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccc9061428d565b60405180910390fd5b818660008581526020019081526020016000209080519060200190611cfb9291906132fa565b508085600085815260200190815260200160002060006101000a81548160ff02191690836008811115611d3157611d30614833565b5b02179055505050508080611d449061475b565b915050611c28565b505050505050565b611d5f848484610ff7565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611dc157611d8a84848484612a5a565b611dc0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611dcf6122bd565b601060019054906101000a900460ff1615611e04576000601060016101000a81548160ff021916908315150217905550611e20565b6001601060016101000a81548160ff0219169083151502179055505b565b6060611e2d8261233b565b611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e63906142cd565b60405180910390fd5b601060019054906101000a900460ff1615611fa957601060029054906101000a900460ff1615611f0657600f604051602001611ea89190614048565b604051602081830303815290604052611ec083612bba565b604051602001611ed1929190614002565b604051602081830303815290604052604051602001611ef09190614026565b6040516020818303038152906040529050612037565b600a60008381526020019081526020016000208054611f24906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611f50906146f8565b8015611f9d5780601f10611f7257610100808354040283529160200191611f9d565b820191906000526020600020905b815481529060010190602001808311611f8057829003601f168201915b50505050509050612037565b600e8054611fb6906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611fe2906146f8565b801561202f5780601f106120045761010080835404028352916020019161202f565b820191906000526020600020905b81548152906001019060200180831161201257829003601f168201915b505050505090505b919050565b60008061204883611764565b119050919050565b600e805461205d906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054612089906146f8565b80156120d65780601f106120ab576101008083540402835291602001916120d6565b820191906000526020600020905b8154815290600101906020018083116120b957829003601f168201915b505050505081565b6120e66122bd565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6121326122bd565b6127108161213e6111e8565b6121489190614508565b1115612189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612180906142ed565b60405180910390fd5b8060128190555050565b61219b6122bd565b80600c8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122416122bd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a8906141cd565b60405180910390fd5b6122ba81612994565b50565b6122c5612d1b565b73ffffffffffffffffffffffffffffffffffffffff166122e3611906565b73ffffffffffffffffffffffffffffffffffffffff1614612339576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612330906142ad565b60405180910390fd5b565b6000816123466123a2565b11158015612355575060005482105b8015612393575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60006123b2826128c6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612419576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061242584612d23565b9150915061243b818761243661239a565b612d45565b612487576124508661244b61239a565b6121a5565b612486576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124ee576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124fb8686866001612d89565b801561250657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506125d4856125b0888887612d8f565b7c020000000000000000000000000000000000000000000000000000000017612db7565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561265c57600060018501905060006004600083815260200190815260200160002054141561265a576000548114612659578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126c48686866001612de2565b505050505050565b6126d7816000612de8565b50565b6060612710836126ea60096128b8565b6126f49190614508565b1115612735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272c906141ed565b60405180910390fd5b6012548361274360096128b8565b61274d9190614508565b111561278e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127859061424d565b60405180910390fd5b600c548361279b84611764565b6127a59190614508565b11156127e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dd9061426d565b60405180910390fd5b82601260008282546127f891906145e9565b9250508190555060008367ffffffffffffffff81111561281b5761281a6148c0565b5b6040519080825280602002602001820160405280156128495781602001602082028036833780820191505090505b50905060005b848110156128a357612861600961303c565b600061286d60096128b8565b90508083838151811061288357612882614891565b5b60200260200101818152505050808061289b9061475b565b91505061284f565b506128ae8385613052565b8091505092915050565b600081600001549050919050565b600080829050806128d56123a2565b1161295d5760005481101561295c5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561295a575b6000811415612950576004600083600190039350838152602001908152602001600020549050612925565b809250505061298f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a8061239a565b8786866040518563ffffffff1660e01b8152600401612aa29493929190614085565b602060405180830381600087803b158015612abc57600080fd5b505af1925050508015612aed57506040513d601f19601f82011682018060405250810190612aea91906139ca565b60015b612b67573d8060008114612b1d576040519150601f19603f3d011682016040523d82523d6000602084013e612b22565b606091505b50600081511415612b5f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612c02576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d16565b600082905060005b60008214612c34578080612c1d9061475b565b915050600a82612c2d919061455e565b9150612c0a565b60008167ffffffffffffffff811115612c5057612c4f6148c0565b5b6040519080825280601f01601f191660200182016040528015612c825781602001600182028036833780820191505090505b5090505b60008514612d0f57600182612c9b91906145e9565b9150600a85612caa91906147a4565b6030612cb69190614508565b60f81b818381518110612ccc57612ccb614891565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d08919061455e565b9450612c86565b8093505050505b919050565b600033905090565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612da6868684613070565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612df3836128c6565b90506000819050600080612e0686612d23565b915091508415612e6f57612e228184612e1d61239a565b612d45565b612e6e57612e3783612e3261239a565b6121a5565b612e6d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612e7d836000886001612d89565b8015612e8857600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612f3083612eed85600088612d8f565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612db7565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612fb8576000600187019050600060046000838152602001908152602001600020541415612fb6576000548114612fb5578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613022836000886001612de2565b600160008154809291906001019190505550505050505050565b6001816000016000828254019250508190555050565b61306c828260405180602001604052806000815250613079565b5050565b60009392505050565b6130838383613116565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461311157600080549050600083820390505b6130c36000868380600101945086612a5a565b6130f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130b057816000541461310e57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613183576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156131be576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131cb6000848385612d89565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613242836132336000866000612d8f565b61323c856132ea565b17612db7565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613266578060008190555050506132e56000848385612de2565b505050565b60006001821460e11b9050919050565b828054613306906146f8565b90600052602060002090601f016020900481019282613328576000855561336f565b82601f1061334157805160ff191683800117855561336f565b8280016001018555821561336f579182015b8281111561336e578251825591602001919060010190613353565b5b50905061337c91906133c0565b5090565b50805461338c906146f8565b6000825580601f1061339e57506133bd565b601f0160209004906000526020600020908101906133bc91906133c0565b5b50565b5b808211156133d95760008160009055506001016133c1565b5090565b60006133f06133eb8461434d565b614328565b90508083825260208201905082856020860282011115613413576134126148f4565b5b60005b85811015613443578161342988826136db565b845260208401935060208301925050600181019050613416565b5050509392505050565b600061346061345b84614379565b614328565b90508083825260208201905082856020860282011115613483576134826148f4565b5b60005b858110156134d157813567ffffffffffffffff8111156134a9576134a86148ef565b5b8086016134b689826136f0565b85526020850194506020840193505050600181019050613486565b5050509392505050565b60006134ee6134e9846143a5565b614328565b90508083825260208201905082856020860282011115613511576135106148f4565b5b60005b858110156135415781613527888261371e565b845260208401935060208301925050600181019050613514565b5050509392505050565b600061355e613559846143d1565b614328565b90508281526020810184848401111561357a576135796148f9565b5b6135858482856146b6565b509392505050565b60006135a061359b84614402565b614328565b9050828152602081018484840111156135bc576135bb6148f9565b5b6135c78482856146b6565b509392505050565b6000813590506135de81614c06565b92915050565b600082601f8301126135f9576135f86148ef565b5b81356136098482602086016133dd565b91505092915050565b600082601f830112613627576136266148ef565b5b813561363784826020860161344d565b91505092915050565b600082601f830112613655576136546148ef565b5b81356136658482602086016134db565b91505092915050565b60008135905061367d81614c1d565b92915050565b60008135905061369281614c34565b92915050565b6000815190506136a781614c34565b92915050565b600082601f8301126136c2576136c16148ef565b5b81356136d284826020860161354b565b91505092915050565b6000813590506136ea81614c4b565b92915050565b600082601f830112613705576137046148ef565b5b813561371584826020860161358d565b91505092915050565b60008135905061372d81614c5b565b92915050565b60006020828403121561374957613748614903565b5b6000613757848285016135cf565b91505092915050565b6000806040838503121561377757613776614903565b5b6000613785858286016135cf565b9250506020613796858286016135cf565b9150509250929050565b6000806000606084860312156137b9576137b8614903565b5b60006137c7868287016135cf565b93505060206137d8868287016135cf565b92505060406137e98682870161371e565b9150509250925092565b6000806000806080858703121561380d5761380c614903565b5b600061381b878288016135cf565b945050602061382c878288016135cf565b935050604061383d8782880161371e565b925050606085013567ffffffffffffffff81111561385e5761385d6148fe565b5b61386a878288016136ad565b91505092959194509250565b6000806040838503121561388d5761388c614903565b5b600061389b858286016135cf565b92505060206138ac8582860161366e565b9150509250929050565b600080604083850312156138cd576138cc614903565b5b60006138db858286016135cf565b92505060206138ec8582860161371e565b9150509250929050565b60008060006060848603121561390f5761390e614903565b5b600084013567ffffffffffffffff81111561392d5761392c6148fe565b5b61393986828701613640565b935050602084013567ffffffffffffffff81111561395a576139596148fe565b5b61396686828701613612565b925050604084013567ffffffffffffffff811115613987576139866148fe565b5b613993868287016135e4565b9150509250925092565b6000602082840312156139b3576139b2614903565b5b60006139c184828501613683565b91505092915050565b6000602082840312156139e0576139df614903565b5b60006139ee84828501613698565b91505092915050565b600060208284031215613a0d57613a0c614903565b5b600082013567ffffffffffffffff811115613a2b57613a2a6148fe565b5b613a37848285016136f0565b91505092915050565b600060208284031215613a5657613a55614903565b5b6000613a648482850161371e565b91505092915050565b60008060408385031215613a8457613a83614903565b5b6000613a928582860161371e565b9250506020613aa3858286016135cf565b9150509250929050565b60008060408385031215613ac457613ac3614903565b5b6000613ad28582860161371e565b9250506020613ae3858286016136db565b9150509250929050565b600080600060608486031215613b0657613b05614903565b5b6000613b148682870161371e565b935050602084013567ffffffffffffffff811115613b3557613b346148fe565b5b613b41868287016136f0565b9250506040613b52868287016136db565b9150509250925092565b6000613b688383613b8c565b60208301905092915050565b6000613b808383613fe4565b60208301905092915050565b613b958161461d565b82525050565b613ba48161461d565b82525050565b6000613bb582614468565b613bbf81856144ae565b9350613bca83614433565b8060005b83811015613bfb578151613be28882613b5c565b9750613bed83614494565b925050600181019050613bce565b5085935050505092915050565b6000613c1382614473565b613c1d81856144bf565b9350613c2883614443565b8060005b83811015613c59578151613c408882613b74565b9750613c4b836144a1565b925050600181019050613c2c565b5085935050505092915050565b613c6f8161462f565b82525050565b6000613c808261447e565b613c8a81856144d0565b9350613c9a8185602086016146c5565b613ca381614908565b840191505092915050565b6000613cb98261447e565b613cc381856144e1565b9350613cd38185602086016146c5565b80840191505092915050565b613ce8816146a4565b82525050565b6000613cf982614489565b613d0381856144ec565b9350613d138185602086016146c5565b613d1c81614908565b840191505092915050565b6000613d3282614489565b613d3c81856144fd565b9350613d4c8185602086016146c5565b80840191505092915050565b60008154613d65816146f8565b613d6f81866144fd565b94506001821660008114613d8a5760018114613d9b57613dce565b60ff19831686528186019350613dce565b613da485614453565b60005b83811015613dc657815481890152600182019150602081019050613da7565b838801955050505b50505092915050565b6000613de46012836144ec565b9150613def82614919565b602082019050919050565b6000613e07601a836144ec565b9150613e1282614942565b602082019050919050565b6000613e2a6013836144ec565b9150613e358261496b565b602082019050919050565b6000613e4d6026836144ec565b9150613e5882614994565b604082019050919050565b6000613e706013836144ec565b9150613e7b826149e3565b602082019050919050565b6000613e936020836144ec565b9150613e9e82614a0c565b602082019050919050565b6000613eb66016836144ec565b9150613ec182614a35565b602082019050919050565b6000613ed9601d836144ec565b9150613ee482614a5e565b602082019050919050565b6000613efc6013836144ec565b9150613f0782614a87565b602082019050919050565b6000613f1f602e836144ec565b9150613f2a82614ab0565b604082019050919050565b6000613f426005836144fd565b9150613f4d82614aff565b600582019050919050565b6000613f656020836144ec565b9150613f7082614b28565b602082019050919050565b6000613f88602f836144ec565b9150613f9382614b51565b604082019050919050565b6000613fab600f836144ec565b9150613fb682614ba0565b602082019050919050565b6000613fce6001836144fd565b9150613fd982614bc9565b600182019050919050565b613fed8161469a565b82525050565b613ffc8161469a565b82525050565b600061400e8285613cae565b915061401a8284613d27565b91508190509392505050565b60006140328284613cae565b915061403d82613f35565b915081905092915050565b60006140548284613d58565b915061405f82613fc1565b915081905092915050565b600060208201905061407f6000830184613b9b565b92915050565b600060808201905061409a6000830187613b9b565b6140a76020830186613b9b565b6140b46040830185613ff3565b81810360608301526140c68184613c75565b905095945050505050565b600060208201905081810360008301526140eb8184613baa565b905092915050565b6000602082019050818103600083015261410d8184613c08565b905092915050565b600060208201905061412a6000830184613c66565b92915050565b60006020820190506141456000830184613cdf565b92915050565b600060208201905081810360008301526141658184613cee565b905092915050565b6000602082019050818103600083015261418681613dd7565b9050919050565b600060208201905081810360008301526141a681613dfa565b9050919050565b600060208201905081810360008301526141c681613e1d565b9050919050565b600060208201905081810360008301526141e681613e40565b9050919050565b6000602082019050818103600083015261420681613e63565b9050919050565b6000602082019050818103600083015261422681613e86565b9050919050565b6000602082019050818103600083015261424681613ea9565b9050919050565b6000602082019050818103600083015261426681613ecc565b9050919050565b6000602082019050818103600083015261428681613eef565b9050919050565b600060208201905081810360008301526142a681613f12565b9050919050565b600060208201905081810360008301526142c681613f58565b9050919050565b600060208201905081810360008301526142e681613f7b565b9050919050565b6000602082019050818103600083015261430681613f9e565b9050919050565b60006020820190506143226000830184613ff3565b92915050565b6000614332614343565b905061433e828261472a565b919050565b6000604051905090565b600067ffffffffffffffff821115614368576143676148c0565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614394576143936148c0565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143c0576143bf6148c0565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143ec576143eb6148c0565b5b6143f582614908565b9050602081019050919050565b600067ffffffffffffffff82111561441d5761441c6148c0565b5b61442682614908565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145138261469a565b915061451e8361469a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614553576145526147d5565b5b828201905092915050565b60006145698261469a565b91506145748361469a565b92508261458457614583614804565b5b828204905092915050565b600061459a8261469a565b91506145a58361469a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145de576145dd6147d5565b5b828202905092915050565b60006145f48261469a565b91506145ff8361469a565b925082821015614612576146116147d5565b5b828203905092915050565b60006146288261467a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061467582614bf2565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006146af82614667565b9050919050565b82818337600083830152505050565b60005b838110156146e35780820151818401526020810190506146c8565b838111156146f2576000848401525b50505050565b6000600282049050600182168061471057607f821691505b6020821081141561472457614723614862565b5b50919050565b61473382614908565b810181811067ffffffffffffffff82111715614752576147516148c0565b5b80604052505050565b60006147668261469a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614799576147986147d5565b5b600182019050919050565b60006147af8261469a565b91506147ba8361469a565b9250826147ca576147c9614804565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204e465420746f2073656e64206f6e65000000000000600082015250565b7f4e6f7468696e6720746f20776974686472617700000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f7265204e465420746f206d696e7400000000000000000000000000600082015250565b7f4d696e7420706572696f642068617665206e6f74207374617274656420796574600082015250565b7f4e6f7420656e6f7567682045544820746f206d696e7400000000000000000000600082015250565b7f4e6f206d6f7265204e465420746f206d696e742063757272656e746c79000000600082015250565b7f546f6f206d756368204e4654206d696e74656400000000000000000000000000600082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f546f6f206d75636820737570706c790000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60098110614c0357614c02614833565b5b50565b614c0f8161461d565b8114614c1a57600080fd5b50565b614c268161462f565b8114614c3157600080fd5b50565b614c3d8161463b565b8114614c4857600080fd5b50565b60098110614c5857600080fd5b50565b614c648161469a565b8114614c6f57600080fd5b5056fea26469706673582212209f38ce1b3d18ba704a75862c87e9737f70d9558a693d75d910c366766a1e00fe64736f6c6343000807003368747470733a2f2f6261667962656968366232643461717663737736737633637532706933646f6c647761346c71343277333469736d77766672696374736f64356e752e697066732e696e667572612d697066732e696f2f

Deployed Bytecode

0x6080604052600436106103035760003560e01c80636c8b703f11610190578063a22cb465116100dc578063d4d7b19a11610095578063dc5473011161006f578063dc54730114610b69578063e268e4d314610b92578063e985e9c514610bbb578063f2fde38b14610bf85761030a565b8063d4d7b19a14610ad8578063d4f126ea14610b15578063db9771f514610b405761030a565b8063a22cb465146109f2578063a65e088614610a1b578063b2693cb114610a32578063b88d4fde14610a5b578063c325969d14610a84578063c87b56dd14610a9b5761030a565b80638da5cb5b1161014957806398f7fbb51161012357806398f7fbb514610936578063a035b1fe14610961578063a09ac5571461098c578063a0bcfc7f146109c95761030a565b80638da5cb5b146108b757806391b7f5ed146108e257806395d89b411461090b5761030a565b80636c8b703f146107a75780636f9fb98a146107e457806370a082311461080f578063715018a61461084c57806371dce28c14610863578063786f29101461088c5761030a565b80633ccfd60b1161024f57806354214f6911610208578063669f5a51116101e2578063669f5a51146106f857806367f718a9146107285780636aea5f1b146107535780636afd4ba21461077e5761030a565b806354214f69146106655780635fe8e7cc146106905780636352211e146106bb5761030a565b80633ccfd60b146105885780633da68c691461059257806342842e0e146105bd5780634f3e1efc146105e6578063510db75a146106115780635324f9aa146106285761030a565b806318160ddd116102bc5780632a8092df116102965780632a8092df146104b857806332cb6b0c146104e35780633bb66a7b1461050e5780633c0a1d091461054b5761030a565b806318160ddd1461043b57806323b872dd146104665780632890e0d71461048f5761030a565b806301ffc9a71461031957806306ae6df21461035657806306fdde031461037f578063081812fc146103aa578063087b77ec146103e7578063095ea7b3146104125761030a565b3661030a57005b34801561031657600080fd5b50005b34801561032557600080fd5b50610340600480360381019061033b919061399d565b610c21565b60405161034d9190614115565b60405180910390f35b34801561036257600080fd5b5061037d60048036038101906103789190613aed565b610cb3565b005b34801561038b57600080fd5b50610394610d6b565b6040516103a1919061414b565b60405180910390f35b3480156103b657600080fd5b506103d160048036038101906103cc9190613a40565b610dfd565b6040516103de919061406a565b60405180910390f35b3480156103f357600080fd5b506103fc610e79565b604051610409919061406a565b60405180910390f35b34801561041e57600080fd5b50610439600480360381019061043491906138b6565b610e9f565b005b34801561044757600080fd5b50610450610fe0565b60405161045d919061430d565b60405180910390f35b34801561047257600080fd5b5061048d600480360381019061048891906137a0565b610ff7565b005b34801561049b57600080fd5b506104b660048036038101906104b19190613a40565b611052565b005b3480156104c457600080fd5b506104cd611085565b6040516104da9190614115565b60405180910390f35b3480156104ef57600080fd5b506104f8611098565b604051610505919061430d565b60405180910390f35b34801561051a57600080fd5b5061053560048036038101906105309190613733565b61109e565b604051610542919061430d565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190613a6d565b6110bf565b60405161057f91906140f3565b60405180910390f35b6105906110db565b005b34801561059e57600080fd5b506105a76111c2565b6040516105b4919061430d565b60405180910390f35b3480156105c957600080fd5b506105e460048036038101906105df91906137a0565b6111c8565b005b3480156105f257600080fd5b506105fb6111e8565b604051610608919061430d565b60405180910390f35b34801561061d57600080fd5b506106266111f7565b005b34801561063457600080fd5b5061064f600480360381019061064a9190613733565b611252565b60405161065c91906140f3565b60405180910390f35b34801561067157600080fd5b5061067a611363565b6040516106879190614115565b60405180910390f35b34801561069c57600080fd5b506106a5611376565b6040516106b291906140d1565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613a40565b6114fe565b6040516106ef919061406a565b60405180910390f35b610712600480360381019061070d9190613a6d565b611510565b60405161071f91906140f3565b60405180910390f35b34801561073457600080fd5b5061073d6115c3565b60405161074a91906140f3565b60405180910390f35b34801561075f57600080fd5b50610768611694565b604051610775919061430d565b60405180910390f35b34801561078a57600080fd5b506107a560048036038101906107a091906139f7565b61169a565b005b3480156107b357600080fd5b506107ce60048036038101906107c99190613a40565b6116bc565b6040516107db919061414b565b60405180910390f35b3480156107f057600080fd5b506107f961175c565b604051610806919061430d565b60405180910390f35b34801561081b57600080fd5b5061083660048036038101906108319190613733565b611764565b604051610843919061430d565b60405180910390f35b34801561085857600080fd5b5061086161181d565b005b34801561086f57600080fd5b5061088a60048036038101906108859190613aad565b611831565b005b34801561089857600080fd5b506108a1611878565b6040516108ae919061414b565b60405180910390f35b3480156108c357600080fd5b506108cc611906565b6040516108d9919061406a565b60405180910390f35b3480156108ee57600080fd5b5061090960048036038101906109049190613a40565b611930565b005b34801561091757600080fd5b50610920611951565b60405161092d919061414b565b60405180910390f35b34801561094257600080fd5b5061094b6119e3565b6040516109589190614115565b60405180910390f35b34801561096d57600080fd5b506109766119f6565b604051610983919061430d565b60405180910390f35b34801561099857600080fd5b506109b360048036038101906109ae9190613a40565b6119fc565b6040516109c09190614130565b60405180910390f35b3480156109d557600080fd5b506109f060048036038101906109eb91906139f7565b611a1c565b005b3480156109fe57600080fd5b50610a196004803603810190610a149190613876565b611a3e565b005b348015610a2757600080fd5b50610a30611bb6565b005b348015610a3e57600080fd5b50610a596004803603810190610a5491906138f6565b611c11565b005b348015610a6757600080fd5b50610a826004803603810190610a7d91906137f3565b611d54565b005b348015610a9057600080fd5b50610a99611dc7565b005b348015610aa757600080fd5b50610ac26004803603810190610abd9190613a40565b611e22565b604051610acf919061414b565b60405180910390f35b348015610ae457600080fd5b50610aff6004803603810190610afa9190613733565b61203c565b604051610b0c9190614115565b60405180910390f35b348015610b2157600080fd5b50610b2a612050565b604051610b37919061414b565b60405180910390f35b348015610b4c57600080fd5b50610b676004803603810190610b629190613733565b6120de565b005b348015610b7557600080fd5b50610b906004803603810190610b8b9190613a40565b61212a565b005b348015610b9e57600080fd5b50610bb96004803603810190610bb49190613a40565b612193565b005b348015610bc757600080fd5b50610be26004803603810190610bdd9190613760565b6121a5565b604051610bef9190614115565b60405180910390f35b348015610c0457600080fd5b50610c1f6004803603810190610c1a9190613733565b612239565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610c7c57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610cac5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610cbb6122bd565b610cc48361233b565b610d03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cfa9061428d565b60405180910390fd5b81600a60008581526020019081526020016000209080519060200190610d2a9291906132fa565b5080600b600085815260200190815260200160002060006101000a81548160ff02191690836008811115610d6157610d60614833565b5b0217905550505050565b606060028054610d7a906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054610da6906146f8565b8015610df35780601f10610dc857610100808354040283529160200191610df3565b820191906000526020600020905b815481529060010190602001808311610dd657829003601f168201915b5050505050905090565b6000610e088261233b565b610e3e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610eaa826114fe565b90508073ffffffffffffffffffffffffffffffffffffffff16610ecb61239a565b73ffffffffffffffffffffffffffffffffffffffff1614610f2e57610ef781610ef261239a565b6121a5565b610f2d576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000610fea6123a2565b6001546000540303905090565b600161100284611764565b11611042576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110399061418d565b60405180910390fd5b61104d8383836123a7565b505050565b61105a6122bd565b611063816126cc565b600a600082815260200190815260200160002060006110829190613380565b50565b601060009054906101000a900460ff1681565b61271081565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b60606110c96122bd565b6110d383836126da565b905092915050565b600047905060008111611123576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111a906141ad565b60405180910390fd5b6000600d60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050509050806111be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111b59061416d565b60405180910390fd5b5050565b600c5481565b6111e383838360405180602001604052806000815250611d54565b505050565b60006111f2610fe0565b905090565b6111ff6122bd565b601060009054906101000a900460ff1615611234576000601060006101000a81548160ff021916908315150217905550611250565b6001601060006101000a81548160ff0219169083151502179055505b565b606061125c6122bd565b600061126783611764565b905060008167ffffffffffffffff811115611285576112846148c0565b5b6040519080825280602002602001820160405280156112b35781602001602082028036833780820191505090505b5090506000805b6112c460096128b8565b8111611357576112d38161233b565b15611344578573ffffffffffffffffffffffffffffffffffffffff166112f8826114fe565b73ffffffffffffffffffffffffffffffffffffffff161415611343578083838151811061132857611327614891565b5b602002602001018181525050818061133f9061475b565b9250505b5b808061134f9061475b565b9150506112ba565b50819350505050919050565b601060019054906101000a900460ff1681565b60606113806122bd565b600061138a6111e8565b905060008167ffffffffffffffff8111156113a8576113a76148c0565b5b6040519080825280602002602001820160405280156113d65781602001602082028036833780820191505090505b5090506000805b6113e760096128b8565b81116114f4576113f68161233b565b156114e1576000611406826114fe565b90506000805b855181101561147b578273ffffffffffffffffffffffffffffffffffffffff1686828151811061143f5761143e614891565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16141561146857600191505b80806114739061475b565b91505061140c565b50806114de578185858151811061149557611494614891565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505083806114da9061475b565b9450505b50505b80806114ec9061475b565b9150506113dd565b5081935050505090565b6000611509826128c6565b9050919050565b6060601060009054906101000a900460ff16611561576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115589061420d565b60405180910390fd5b8260115461156f919061458f565b3410156115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a89061422d565b60405180910390fd5b6115bb83836126da565b905092915050565b60606115cd6122bd565b6000806115d8610fe0565b905060008167ffffffffffffffff8111156115f6576115f56148c0565b5b6040519080825280602002602001820160405280156116245781602001602082028036833780820191505090505b50905060005b61163460096128b8565b811161168a576116438161233b565b15611677578082858151811061165c5761165b614891565b5b60200260200101818152505083806116739061475b565b9450505b80806116829061475b565b91505061162a565b5080935050505090565b60125481565b6116a26122bd565b80600e90805190602001906116b89291906132fa565b5050565b600a60205280600052604060002060009150905080546116db906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611707906146f8565b80156117545780601f1061172957610100808354040283529160200191611754565b820191906000526020600020905b81548152906001019060200180831161173757829003601f168201915b505050505081565b600047905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117cc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6118256122bd565b61182f6000612994565b565b6118396122bd565b80600b600084815260200190815260200160002060006101000a81548160ff0219169083600881111561186f5761186e614833565b5b02179055505050565b600f8054611885906146f8565b80601f01602080910402602001604051908101604052809291908181526020018280546118b1906146f8565b80156118fe5780601f106118d3576101008083540402835291602001916118fe565b820191906000526020600020905b8154815290600101906020018083116118e157829003601f168201915b505050505081565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6119386122bd565b633b9aca0081611948919061458f565b60118190555050565b606060038054611960906146f8565b80601f016020809104026020016040519081016040528092919081815260200182805461198c906146f8565b80156119d95780601f106119ae576101008083540402835291602001916119d9565b820191906000526020600020905b8154815290600101906020018083116119bc57829003601f168201915b5050505050905090565b601060029054906101000a900460ff1681565b60115481565b600b6020528060005260406000206000915054906101000a900460ff1681565b611a246122bd565b80600f9080519060200190611a3a9291906132fa565b5050565b611a4661239a565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611aab576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611ab861239a565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611b6561239a565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611baa9190614115565b60405180910390a35050565b611bbe6122bd565b601060029054906101000a900460ff1615611bf3576000601060026101000a81548160ff021916908315150217905550611c0f565b6001601060026101000a81548160ff0219169083151502179055505b565b611c196122bd565b6000600a90506000600b905060005b85518111611d4c576000868281518110611c4557611c44614891565b5b602002602001015190506000868381518110611c6457611c63614891565b5b602002602001015190506000868481518110611c8357611c82614891565b5b60200260200101519050611c968361233b565b611cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ccc9061428d565b60405180910390fd5b818660008581526020019081526020016000209080519060200190611cfb9291906132fa565b508085600085815260200190815260200160002060006101000a81548160ff02191690836008811115611d3157611d30614833565b5b02179055505050508080611d449061475b565b915050611c28565b505050505050565b611d5f848484610ff7565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611dc157611d8a84848484612a5a565b611dc0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611dcf6122bd565b601060019054906101000a900460ff1615611e04576000601060016101000a81548160ff021916908315150217905550611e20565b6001601060016101000a81548160ff0219169083151502179055505b565b6060611e2d8261233b565b611e6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e63906142cd565b60405180910390fd5b601060019054906101000a900460ff1615611fa957601060029054906101000a900460ff1615611f0657600f604051602001611ea89190614048565b604051602081830303815290604052611ec083612bba565b604051602001611ed1929190614002565b604051602081830303815290604052604051602001611ef09190614026565b6040516020818303038152906040529050612037565b600a60008381526020019081526020016000208054611f24906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611f50906146f8565b8015611f9d5780601f10611f7257610100808354040283529160200191611f9d565b820191906000526020600020905b815481529060010190602001808311611f8057829003601f168201915b50505050509050612037565b600e8054611fb6906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054611fe2906146f8565b801561202f5780601f106120045761010080835404028352916020019161202f565b820191906000526020600020905b81548152906001019060200180831161201257829003601f168201915b505050505090505b919050565b60008061204883611764565b119050919050565b600e805461205d906146f8565b80601f0160208091040260200160405190810160405280929190818152602001828054612089906146f8565b80156120d65780601f106120ab576101008083540402835291602001916120d6565b820191906000526020600020905b8154815290600101906020018083116120b957829003601f168201915b505050505081565b6120e66122bd565b80600d60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6121326122bd565b6127108161213e6111e8565b6121489190614508565b1115612189576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612180906142ed565b60405180910390fd5b8060128190555050565b61219b6122bd565b80600c8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122416122bd565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156122b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a8906141cd565b60405180910390fd5b6122ba81612994565b50565b6122c5612d1b565b73ffffffffffffffffffffffffffffffffffffffff166122e3611906565b73ffffffffffffffffffffffffffffffffffffffff1614612339576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612330906142ad565b60405180910390fd5b565b6000816123466123a2565b11158015612355575060005482105b8015612393575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60006123b2826128c6565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612419576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061242584612d23565b9150915061243b818761243661239a565b612d45565b612487576124508661244b61239a565b6121a5565b612486576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156124ee576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6124fb8686866001612d89565b801561250657600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506125d4856125b0888887612d8f565b7c020000000000000000000000000000000000000000000000000000000017612db7565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561265c57600060018501905060006004600083815260200190815260200160002054141561265a576000548114612659578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126c48686866001612de2565b505050505050565b6126d7816000612de8565b50565b6060612710836126ea60096128b8565b6126f49190614508565b1115612735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272c906141ed565b60405180910390fd5b6012548361274360096128b8565b61274d9190614508565b111561278e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127859061424d565b60405180910390fd5b600c548361279b84611764565b6127a59190614508565b11156127e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127dd9061426d565b60405180910390fd5b82601260008282546127f891906145e9565b9250508190555060008367ffffffffffffffff81111561281b5761281a6148c0565b5b6040519080825280602002602001820160405280156128495781602001602082028036833780820191505090505b50905060005b848110156128a357612861600961303c565b600061286d60096128b8565b90508083838151811061288357612882614891565b5b60200260200101818152505050808061289b9061475b565b91505061284f565b506128ae8385613052565b8091505092915050565b600081600001549050919050565b600080829050806128d56123a2565b1161295d5760005481101561295c5760006004600083815260200190815260200160002054905060007c01000000000000000000000000000000000000000000000000000000008216141561295a575b6000811415612950576004600083600190039350838152602001908152602001600020549050612925565b809250505061298f565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a8061239a565b8786866040518563ffffffff1660e01b8152600401612aa29493929190614085565b602060405180830381600087803b158015612abc57600080fd5b505af1925050508015612aed57506040513d601f19601f82011682018060405250810190612aea91906139ca565b60015b612b67573d8060008114612b1d576040519150601f19603f3d011682016040523d82523d6000602084013e612b22565b606091505b50600081511415612b5f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60606000821415612c02576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d16565b600082905060005b60008214612c34578080612c1d9061475b565b915050600a82612c2d919061455e565b9150612c0a565b60008167ffffffffffffffff811115612c5057612c4f6148c0565b5b6040519080825280601f01601f191660200182016040528015612c825781602001600182028036833780820191505090505b5090505b60008514612d0f57600182612c9b91906145e9565b9150600a85612caa91906147a4565b6030612cb69190614508565b60f81b818381518110612ccc57612ccb614891565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d08919061455e565b9450612c86565b8093505050505b919050565b600033905090565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612da6868684613070565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000612df3836128c6565b90506000819050600080612e0686612d23565b915091508415612e6f57612e228184612e1d61239a565b612d45565b612e6e57612e3783612e3261239a565b6121a5565b612e6d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b612e7d836000886001612d89565b8015612e8857600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550612f3083612eed85600088612d8f565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612db7565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415612fb8576000600187019050600060046000838152602001908152602001600020541415612fb6576000548114612fb5578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613022836000886001612de2565b600160008154809291906001019190505550505050505050565b6001816000016000828254019250508190555050565b61306c828260405180602001604052806000815250613079565b5050565b60009392505050565b6130838383613116565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461311157600080549050600083820390505b6130c36000868380600101945086612a5a565b6130f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106130b057816000541461310e57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613183576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156131be576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131cb6000848385612d89565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613242836132336000866000612d8f565b61323c856132ea565b17612db7565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613266578060008190555050506132e56000848385612de2565b505050565b60006001821460e11b9050919050565b828054613306906146f8565b90600052602060002090601f016020900481019282613328576000855561336f565b82601f1061334157805160ff191683800117855561336f565b8280016001018555821561336f579182015b8281111561336e578251825591602001919060010190613353565b5b50905061337c91906133c0565b5090565b50805461338c906146f8565b6000825580601f1061339e57506133bd565b601f0160209004906000526020600020908101906133bc91906133c0565b5b50565b5b808211156133d95760008160009055506001016133c1565b5090565b60006133f06133eb8461434d565b614328565b90508083825260208201905082856020860282011115613413576134126148f4565b5b60005b85811015613443578161342988826136db565b845260208401935060208301925050600181019050613416565b5050509392505050565b600061346061345b84614379565b614328565b90508083825260208201905082856020860282011115613483576134826148f4565b5b60005b858110156134d157813567ffffffffffffffff8111156134a9576134a86148ef565b5b8086016134b689826136f0565b85526020850194506020840193505050600181019050613486565b5050509392505050565b60006134ee6134e9846143a5565b614328565b90508083825260208201905082856020860282011115613511576135106148f4565b5b60005b858110156135415781613527888261371e565b845260208401935060208301925050600181019050613514565b5050509392505050565b600061355e613559846143d1565b614328565b90508281526020810184848401111561357a576135796148f9565b5b6135858482856146b6565b509392505050565b60006135a061359b84614402565b614328565b9050828152602081018484840111156135bc576135bb6148f9565b5b6135c78482856146b6565b509392505050565b6000813590506135de81614c06565b92915050565b600082601f8301126135f9576135f86148ef565b5b81356136098482602086016133dd565b91505092915050565b600082601f830112613627576136266148ef565b5b813561363784826020860161344d565b91505092915050565b600082601f830112613655576136546148ef565b5b81356136658482602086016134db565b91505092915050565b60008135905061367d81614c1d565b92915050565b60008135905061369281614c34565b92915050565b6000815190506136a781614c34565b92915050565b600082601f8301126136c2576136c16148ef565b5b81356136d284826020860161354b565b91505092915050565b6000813590506136ea81614c4b565b92915050565b600082601f830112613705576137046148ef565b5b813561371584826020860161358d565b91505092915050565b60008135905061372d81614c5b565b92915050565b60006020828403121561374957613748614903565b5b6000613757848285016135cf565b91505092915050565b6000806040838503121561377757613776614903565b5b6000613785858286016135cf565b9250506020613796858286016135cf565b9150509250929050565b6000806000606084860312156137b9576137b8614903565b5b60006137c7868287016135cf565b93505060206137d8868287016135cf565b92505060406137e98682870161371e565b9150509250925092565b6000806000806080858703121561380d5761380c614903565b5b600061381b878288016135cf565b945050602061382c878288016135cf565b935050604061383d8782880161371e565b925050606085013567ffffffffffffffff81111561385e5761385d6148fe565b5b61386a878288016136ad565b91505092959194509250565b6000806040838503121561388d5761388c614903565b5b600061389b858286016135cf565b92505060206138ac8582860161366e565b9150509250929050565b600080604083850312156138cd576138cc614903565b5b60006138db858286016135cf565b92505060206138ec8582860161371e565b9150509250929050565b60008060006060848603121561390f5761390e614903565b5b600084013567ffffffffffffffff81111561392d5761392c6148fe565b5b61393986828701613640565b935050602084013567ffffffffffffffff81111561395a576139596148fe565b5b61396686828701613612565b925050604084013567ffffffffffffffff811115613987576139866148fe565b5b613993868287016135e4565b9150509250925092565b6000602082840312156139b3576139b2614903565b5b60006139c184828501613683565b91505092915050565b6000602082840312156139e0576139df614903565b5b60006139ee84828501613698565b91505092915050565b600060208284031215613a0d57613a0c614903565b5b600082013567ffffffffffffffff811115613a2b57613a2a6148fe565b5b613a37848285016136f0565b91505092915050565b600060208284031215613a5657613a55614903565b5b6000613a648482850161371e565b91505092915050565b60008060408385031215613a8457613a83614903565b5b6000613a928582860161371e565b9250506020613aa3858286016135cf565b9150509250929050565b60008060408385031215613ac457613ac3614903565b5b6000613ad28582860161371e565b9250506020613ae3858286016136db565b9150509250929050565b600080600060608486031215613b0657613b05614903565b5b6000613b148682870161371e565b935050602084013567ffffffffffffffff811115613b3557613b346148fe565b5b613b41868287016136f0565b9250506040613b52868287016136db565b9150509250925092565b6000613b688383613b8c565b60208301905092915050565b6000613b808383613fe4565b60208301905092915050565b613b958161461d565b82525050565b613ba48161461d565b82525050565b6000613bb582614468565b613bbf81856144ae565b9350613bca83614433565b8060005b83811015613bfb578151613be28882613b5c565b9750613bed83614494565b925050600181019050613bce565b5085935050505092915050565b6000613c1382614473565b613c1d81856144bf565b9350613c2883614443565b8060005b83811015613c59578151613c408882613b74565b9750613c4b836144a1565b925050600181019050613c2c565b5085935050505092915050565b613c6f8161462f565b82525050565b6000613c808261447e565b613c8a81856144d0565b9350613c9a8185602086016146c5565b613ca381614908565b840191505092915050565b6000613cb98261447e565b613cc381856144e1565b9350613cd38185602086016146c5565b80840191505092915050565b613ce8816146a4565b82525050565b6000613cf982614489565b613d0381856144ec565b9350613d138185602086016146c5565b613d1c81614908565b840191505092915050565b6000613d3282614489565b613d3c81856144fd565b9350613d4c8185602086016146c5565b80840191505092915050565b60008154613d65816146f8565b613d6f81866144fd565b94506001821660008114613d8a5760018114613d9b57613dce565b60ff19831686528186019350613dce565b613da485614453565b60005b83811015613dc657815481890152600182019150602081019050613da7565b838801955050505b50505092915050565b6000613de46012836144ec565b9150613def82614919565b602082019050919050565b6000613e07601a836144ec565b9150613e1282614942565b602082019050919050565b6000613e2a6013836144ec565b9150613e358261496b565b602082019050919050565b6000613e4d6026836144ec565b9150613e5882614994565b604082019050919050565b6000613e706013836144ec565b9150613e7b826149e3565b602082019050919050565b6000613e936020836144ec565b9150613e9e82614a0c565b602082019050919050565b6000613eb66016836144ec565b9150613ec182614a35565b602082019050919050565b6000613ed9601d836144ec565b9150613ee482614a5e565b602082019050919050565b6000613efc6013836144ec565b9150613f0782614a87565b602082019050919050565b6000613f1f602e836144ec565b9150613f2a82614ab0565b604082019050919050565b6000613f426005836144fd565b9150613f4d82614aff565b600582019050919050565b6000613f656020836144ec565b9150613f7082614b28565b602082019050919050565b6000613f88602f836144ec565b9150613f9382614b51565b604082019050919050565b6000613fab600f836144ec565b9150613fb682614ba0565b602082019050919050565b6000613fce6001836144fd565b9150613fd982614bc9565b600182019050919050565b613fed8161469a565b82525050565b613ffc8161469a565b82525050565b600061400e8285613cae565b915061401a8284613d27565b91508190509392505050565b60006140328284613cae565b915061403d82613f35565b915081905092915050565b60006140548284613d58565b915061405f82613fc1565b915081905092915050565b600060208201905061407f6000830184613b9b565b92915050565b600060808201905061409a6000830187613b9b565b6140a76020830186613b9b565b6140b46040830185613ff3565b81810360608301526140c68184613c75565b905095945050505050565b600060208201905081810360008301526140eb8184613baa565b905092915050565b6000602082019050818103600083015261410d8184613c08565b905092915050565b600060208201905061412a6000830184613c66565b92915050565b60006020820190506141456000830184613cdf565b92915050565b600060208201905081810360008301526141658184613cee565b905092915050565b6000602082019050818103600083015261418681613dd7565b9050919050565b600060208201905081810360008301526141a681613dfa565b9050919050565b600060208201905081810360008301526141c681613e1d565b9050919050565b600060208201905081810360008301526141e681613e40565b9050919050565b6000602082019050818103600083015261420681613e63565b9050919050565b6000602082019050818103600083015261422681613e86565b9050919050565b6000602082019050818103600083015261424681613ea9565b9050919050565b6000602082019050818103600083015261426681613ecc565b9050919050565b6000602082019050818103600083015261428681613eef565b9050919050565b600060208201905081810360008301526142a681613f12565b9050919050565b600060208201905081810360008301526142c681613f58565b9050919050565b600060208201905081810360008301526142e681613f7b565b9050919050565b6000602082019050818103600083015261430681613f9e565b9050919050565b60006020820190506143226000830184613ff3565b92915050565b6000614332614343565b905061433e828261472a565b919050565b6000604051905090565b600067ffffffffffffffff821115614368576143676148c0565b5b602082029050602081019050919050565b600067ffffffffffffffff821115614394576143936148c0565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143c0576143bf6148c0565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156143ec576143eb6148c0565b5b6143f582614908565b9050602081019050919050565b600067ffffffffffffffff82111561441d5761441c6148c0565b5b61442682614908565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145138261469a565b915061451e8361469a565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614553576145526147d5565b5b828201905092915050565b60006145698261469a565b91506145748361469a565b92508261458457614583614804565b5b828204905092915050565b600061459a8261469a565b91506145a58361469a565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156145de576145dd6147d5565b5b828202905092915050565b60006145f48261469a565b91506145ff8361469a565b925082821015614612576146116147d5565b5b828203905092915050565b60006146288261467a565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600081905061467582614bf2565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006146af82614667565b9050919050565b82818337600083830152505050565b60005b838110156146e35780820151818401526020810190506146c8565b838111156146f2576000848401525b50505050565b6000600282049050600182168061471057607f821691505b6020821081141561472457614723614862565b5b50919050565b61473382614908565b810181811067ffffffffffffffff82111715614752576147516148c0565b5b80604052505050565b60006147668261469a565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614799576147986147d5565b5b600182019050919050565b60006147af8261469a565b91506147ba8361469a565b9250826147ca576147c9614804565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204e465420746f2073656e64206f6e65000000000000600082015250565b7f4e6f7468696e6720746f20776974686472617700000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f7265204e465420746f206d696e7400000000000000000000000000600082015250565b7f4d696e7420706572696f642068617665206e6f74207374617274656420796574600082015250565b7f4e6f7420656e6f7567682045544820746f206d696e7400000000000000000000600082015250565b7f4e6f206d6f7265204e465420746f206d696e742063757272656e746c79000000600082015250565b7f546f6f206d756368204e4654206d696e74656400000000000000000000000000600082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f546f6f206d75636820737570706c790000000000000000000000000000000000600082015250565b7f2f00000000000000000000000000000000000000000000000000000000000000600082015250565b60098110614c0357614c02614833565b5b50565b614c0f8161461d565b8114614c1a57600080fd5b50565b614c268161462f565b8114614c3157600080fd5b50565b614c3d8161463b565b8114614c4857600080fd5b50565b60098110614c5857600080fd5b50565b614c648161469a565b8114614c6f57600080fd5b5056fea26469706673582212209f38ce1b3d18ba704a75862c87e9737f70d9558a693d75d910c366766a1e00fe64736f6c63430008070033

Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.