ETH Price: $2,406.93 (+2.89%)

Token

TheCosmoGang (CG)
 

Overview

Max Total Supply

126 CG

Holders

38

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
pop8: Deployer
Balance
5 CG
0xbd9f8735980ca642d9a6df8899bb1430c32ebf67
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.sol
//Contract based on https://docs.openzeppelin.com/contracts/3.x/erc721
// SPDX-License-Identifier: MIT
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 {
    address public constant MAIN_ADDRESS = 0x9C21c877B44eBac7F0E8Ee99dB4ebFD4A9Ac5000;
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_PER_WALLET = 5;
    // string public constant PLACEHOLDER_URI = "https://infura-ipfs.io/ipfs/QmZ4oaUmJqXuVCZJAPQCfmkKyjv4muC1DS7d8hFu1meDEn";
    // string public constant PLACEHOLDER_URI = "ipfs://infura-ipfs.io/ipfs/QmP1c2YSBYPmLNGSeC7S91u9isPi1RUt3PP4QVjphaEpJX";
    string public constant PLACEHOLDER_URI = "https://bafybeih6b2d4aqvcsw6sv3cu2pi3doldwa4lq42w34ismwvfrictsod5nu.ipfs.infura-ipfs.io/";

    enum Faction {None, Jahjahrion, Breedorok, Foodrak, Pimpmyridian,
        Muskarion, Lamborgardoz, Schumarian, Creatron}

    uint256 public price = 0 ether;
    using Counters for Counters.Counter;
    Counters.Counter private _tokenIds;
    uint256 public current_supply = 2000;
    uint256[] public _tokenIdsList;
    mapping (uint256 => string) public tokenURIs;
    mapping (uint256 => address) private _tokenOwners;
    mapping (uint256 => Faction) public tokenFactions;
    address[] public holders;
    address[] public whitelist;
    mapping(string => uint8) public hashes;
    bool public isMinting = false;
    mapping(address => uint) private balance;
    mapping(address => uint) private presaleAmount;

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

    function startMinting()
        public onlyOwner
    {
        require(!isMinting, "Minting already started");
        if (!isMinting)
        {
            isMinting = true;
        }
    }

    function stopMinting()
        public onlyOwner
    {
        require(isMinting, "Minting hasn't start yet");
        if (isMinting)
        {
            isMinting = false;
        }
    }

    // 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_WALLET, "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();
            _safeMint(recipient, 1);
            // _mint(recipient, 1);
            _tokenOwners[newItemId] = recipient;
            _tokenIdsList.push(newItemId);
            setTokenURI(newItemId, PLACEHOLDER_URI, Faction.None);
            addHolder(recipient);

            newItemIds[i] = newItemId;
        }

        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
    {
        address owner = _tokenOwners[tokenId];
        _burn(tokenId);
        delete tokenURIs[tokenId];
        delete _tokenOwners[tokenId];
        delete _tokenIdsList[tokenId];

        uint256 remainingBalance = balanceOf(owner);
        if (remainingBalance <= 0)
        {
            removeHolder(owner);
        }
    }

    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");
        return tokenURIs[tokenId];
    }

    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 setPrice(uint256 priceGwei)
        external onlyOwner
    {
        price = priceGwei * 10**9;
    }

    function getTokenIds()
        external view onlyOwner
        returns (uint256[] memory)
    {
        return _tokenIdsList;
    }
    
    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 < _tokenIdsList.length; i++)
        {
            uint256 tokenId = _tokenIdsList[i];
            if (_tokenOwners[tokenId] == addr)
            {
                tokenIds[foundTokens] = tokenId;
                foundTokens++;
            }
        }
    
        return tokenIds;
    }

    function getCurrentSupply()
        public view
        returns (uint256)
    {
        // return _tokenIds.current();
        return _tokenIdsList.length;
    }

    function addHolder(address addr)
        private
    {
        bool add_to_holders = true;
        for (uint256 i = 0; i < holders.length; i++)
        {
            if (holders[i] == addr)
            {
                add_to_holders = false;
            }
        }
        if (add_to_holders)
        {
            holders.push(addr);
        }
    }

    function removeHolder(address addr)
        private
    {
        uint256 balance_of_owner = balanceOf(addr);
        require(balance_of_owner != 0, "Can't remove holder since he still got some NFTs");

        uint256 idx_to_delete;
        for (uint256 i = 0; i < holders.length; i++)
        {
            if (holders[i] == addr)
            {
                idx_to_delete = i;
            }
        }
        delete holders[idx_to_delete];
    }

    function isHolder(address addr)
        public view
        returns (bool)
    {
        for (uint256 i = 0; i < holders.length; i++)
        {
            if (holders[i] == addr)
            {
                return true;
            }
        }
        return false;
    }

    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 random()
        public view
        returns (uint)
    {
        string memory difficulty = Strings.toString(block.difficulty);
        string memory timestamp = Strings.toString(block.timestamp);
        // string memory holdersstr = "";
        // for (uint i = 0; i < holders.length; i++)
        // {
        //     string memory stringAddr = string(abi.encodePacked(holders[i]));
        //     holdersstr = string(abi.encodePacked(holdersstr, stringAddr));
        // }

        // abi.encodePacked is used to concatenate strings and get the result in bytes
        // bytes memory key = abi.encodePacked(difficulty, timestamp, holdersstr);
        bytes memory key = abi.encodePacked(difficulty, timestamp);
        return uint(keccak256(key));
    }

    function getRandomHolder()
        public view
        returns (address)
    {
        uint idx = random() % holders.length;
        return holders[idx];
    }

    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 v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 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":"MAIN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PER_WALLET","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PLACEHOLDER_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"_tokenIdsList","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"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":"getRandomHolder","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":"string","name":"","type":"string"}],"name":"hashes","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"holders","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":[{"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":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"random","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":"uint256","name":"supply","type":"uint256"}],"name":"setCurrentSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"priceGwei","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stopMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","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":"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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelist","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260006009556107d0600b556000601360006101000a81548160ff0219169083151502179055503480156200003757600080fd5b506040518060400160405280600c81526020017f546865436f736d6f47616e6700000000000000000000000000000000000000008152506040518060400160405280600281526020017f43470000000000000000000000000000000000000000000000000000000000008152508160029080519060200190620000bc92919062000b73565b508060039080519060200190620000d592919062000b73565b50620000e66200013960201b60201c565b60008190555050506200010e620001026200013e60201b60201c565b6200014660201b60201c565b620001213060016200020c60201b60201c565b6200013360006200023260201b60201c565b62000e74565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6200022e8282604051806020016040528060008152506200024860201b60201c565b5050565b62000245816000620002f960201b60201c565b50565b6200025a8383620005a460201b60201c565b60008373ffffffffffffffffffffffffffffffffffffffff163b14620002f457600080549050600083820390505b620002a36000868380600101945086620007a360201b60201c565b620002da576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811062000288578160005414620002f157600080fd5b50505b505050565b60006200030c836200091560201b60201c565b905060008190506000806200032786620009f160201b60201c565b915091508415620003b3576200035481846200034862000a1360201b60201c565b62000a1b60201b60201c565b620003b2576200037a836200036e62000a1360201b60201c565b62000a5f60201b60201c565b620003b1576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b620003c983600088600162000af360201b60201c565b8015620003d557600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506200048d83620004438560008862000af960201b60201c565b7c02000000000000000000000000000000000000000000000000000000007c0100000000000000000000000000000000000000000000000000000000171762000b2960201b60201c565b600460008881526020019081526020016000208190555060007c020000000000000000000000000000000000000000000000000000000085161415620005185760006001870190506000600460008381526020019081526020016000205414156200051657600054811462000515578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46200058a83600088600162000b5460201b60201c565b600160008154809291906001019190505550505050505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000612576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156200064e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b62000663600084838562000af360201b60201c565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550620006f283620006d4600086600062000af960201b60201c565b620006e58562000b5a60201b60201c565b1762000b2960201b60201c565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821062000716578060008190555050506200079e600084838562000b5460201b60201c565b505050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02620007d162000a1360201b60201c565b8786866040518563ffffffff1660e01b8152600401620007f5949392919062000ccf565b602060405180830381600087803b1580156200081057600080fd5b505af19250505080156200084457506040513d601f19601f8201168201806040525081019062000841919062000c3a565b60015b620008c2573d806000811462000877576040519150601f19603f3d011682016040523d82523d6000602084013e6200087c565b606091505b50600081511415620008ba576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b600080829050806200092c6200013960201b60201c565b11620009ba57600054811015620009b95760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415620009b7575b6000811415620009ac5760046000836001900393508381526020019081526020016000205490506200097f565b8092505050620009ec565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b50505050565b60008060e883901c905060e862000b1886868462000b6a60201b60201c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b60006001821460e11b9050919050565b60009392505050565b82805462000b819062000ddf565b90600052602060002090601f01602090048101928262000ba5576000855562000bf1565b82601f1062000bc057805160ff191683800117855562000bf1565b8280016001018555821562000bf1579182015b8281111562000bf057825182559160200191906001019062000bd3565b5b50905062000c00919062000c04565b5090565b5b8082111562000c1f57600081600090555060010162000c05565b5090565b60008151905062000c348162000e5a565b92915050565b60006020828403121562000c535762000c5262000e44565b5b600062000c638482850162000c23565b91505092915050565b62000c778162000d3f565b82525050565b600062000c8a8262000d23565b62000c96818562000d2e565b935062000ca881856020860162000da9565b62000cb38162000e49565b840191505092915050565b62000cc98162000d9f565b82525050565b600060808201905062000ce6600083018762000c6c565b62000cf5602083018662000c6c565b62000d04604083018562000cbe565b818103606083015262000d18818462000c7d565b905095945050505050565b600081519050919050565b600082825260208201905092915050565b600062000d4c8262000d7f565b9050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000dc957808201518184015260208101905062000dac565b8381111562000dd9576000848401525b50505050565b6000600282049050600182168062000df857607f821691505b6020821081141562000e0f5762000e0e62000e15565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b62000e658162000d53565b811462000e7157600080fd5b50565b614cbb8062000e846000396000f3fe60806040526004361061028c5760003560e01c806367f718a91161015a57806395d89b41116100c1578063c68329d81161007a578063c68329d814610a5d578063c87b56dd14610a88578063d4d7b19a14610ac5578063dc54730114610b02578063e985e9c514610b2b578063f2fde38b14610b68576102e9565b806395d89b41146109615780639a65ea261461098c578063a035b1fe146109a3578063a09ac557146109ce578063a22cb46514610a0b578063b88d4fde14610a34576102e9565b8063715018a611610113578063715018a614610863578063798d46eb1461087a5780637ebd1b30146108a55780638da5cb5b146108e257806391b7f5ed1461090d578063924c860914610936576102e9565b806367f718a91461072b578063685e0dc7146107565780636aea5f1b146107935780636c8b703f146107be5780636f9fb98a146107fb57806370a0823114610826576102e9565b806332cb6b0c116101fe57806349476553116101b757806349476553146105ee5780634f3e1efc1461062b5780635324f9aa146106565780635ec01e4d146106935780636352211e146106be578063669f5a51146106fb576102e9565b806332cb6b0c146104ff5780633bb66a7b1461052a5780633c0a1d09146105675780633ccfd60b146105a45780633e3e0b12146105ae57806342842e0e146105c5576102e9565b80630f2cdd6c116102505780630f2cdd6c146103ef57806318160ddd1461041a57806323b872dd146104455780632890e0d71461046e5780632a11ced0146104975780632a8092df146104d4576102e9565b806301ffc9a7146102f857806306ae6df21461033557806306fdde031461035e578063081812fc14610389578063095ea7b3146103c6576102e9565b366102e95734601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546102e0919061446c565b92505081905550005b3480156102f557600080fd5b50005b34801561030457600080fd5b5061031f600480360381019061031a9190613b0c565b610b91565b60405161032c91906140db565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613c1c565b610c23565b005b34801561036a57600080fd5b50610373610d4f565b6040516103809190614111565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613baf565b610de1565b6040516103bd9190614052565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e89190613acc565b610e5d565b005b3480156103fb57600080fd5b50610404610f9e565b6040516104119190614333565b60405180910390f35b34801561042657600080fd5b5061042f610fa3565b60405161043c9190614333565b60405180910390f35b34801561045157600080fd5b5061046c600480360381019061046791906139b6565b610fba565b005b34801561047a57600080fd5b5061049560048036038101906104909190613baf565b611015565b005b3480156104a357600080fd5b506104be60048036038101906104b99190613baf565b61116d565b6040516104cb9190614052565b60405180910390f35b3480156104e057600080fd5b506104e96111ac565b6040516104f691906140db565b60405180910390f35b34801561050b57600080fd5b506105146111bf565b6040516105219190614333565b60405180910390f35b34801561053657600080fd5b50610551600480360381019061054c9190613949565b6111c5565b60405161055e9190614333565b60405180910390f35b34801561057357600080fd5b5061058e60048036038101906105899190613bdc565b6111e6565b60405161059b91906140b9565b60405180910390f35b6105ac611276565b005b3480156105ba57600080fd5b506105c361134f565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906139b6565b61144d565b005b3480156105fa57600080fd5b5061061560048036038101906106109190613baf565b61146d565b6040516106229190614333565b60405180910390f35b34801561063757600080fd5b50610640611491565b60405161064d9190614333565b60405180910390f35b34801561066257600080fd5b5061067d60048036038101906106789190613949565b61149e565b60405161068a91906140b9565b60405180910390f35b34801561069f57600080fd5b506106a8611660565b6040516106b59190614333565b60405180910390f35b3480156106ca57600080fd5b506106e560048036038101906106e09190613baf565b6116b4565b6040516106f29190614052565b60405180910390f35b61071560048036038101906107109190613bdc565b6116c6565b60405161072291906140b9565b60405180910390f35b34801561073757600080fd5b50610740611779565b60405161074d91906140b9565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190613b66565b61184d565b60405161078a919061434e565b60405180910390f35b34801561079f57600080fd5b506107a8611883565b6040516107b59190614333565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190613baf565b611889565b6040516107f29190614111565b60405180910390f35b34801561080757600080fd5b50610810611929565b60405161081d9190614333565b60405180910390f35b34801561083257600080fd5b5061084d60048036038101906108489190613949565b611931565b60405161085a9190614333565b60405180910390f35b34801561086f57600080fd5b506108786119ea565b005b34801561088657600080fd5b5061088f611a72565b60405161089c9190614052565b60405180910390f35b3480156108b157600080fd5b506108cc60048036038101906108c79190613baf565b611ad4565b6040516108d99190614052565b60405180910390f35b3480156108ee57600080fd5b506108f7611b13565b6040516109049190614052565b60405180910390f35b34801561091957600080fd5b50610934600480360381019061092f9190613baf565b611b3d565b005b34801561094257600080fd5b5061094b611bd2565b6040516109589190614052565b60405180910390f35b34801561096d57600080fd5b50610976611bea565b6040516109839190614111565b60405180910390f35b34801561099857600080fd5b506109a1611c7c565b005b3480156109af57600080fd5b506109b8611d7a565b6040516109c59190614333565b60405180910390f35b3480156109da57600080fd5b506109f560048036038101906109f09190613baf565b611d80565b604051610a0291906140f6565b60405180910390f35b348015610a1757600080fd5b50610a326004803603810190610a2d9190613a8c565b611da0565b005b348015610a4057600080fd5b50610a5b6004803603810190610a569190613a09565b611f18565b005b348015610a6957600080fd5b50610a72611f8b565b604051610a7f9190614111565b60405180910390f35b348015610a9457600080fd5b50610aaf6004803603810190610aaa9190613baf565b611fa7565b604051610abc9190614111565b60405180910390f35b348015610ad157600080fd5b50610aec6004803603810190610ae79190613949565b612094565b604051610af991906140db565b60405180910390f35b348015610b0e57600080fd5b50610b296004803603810190610b249190613baf565b612143565b005b348015610b3757600080fd5b50610b526004803603810190610b4d9190613976565b612220565b604051610b5f91906140db565b60405180910390f35b348015610b7457600080fd5b50610b8f6004803603810190610b8a9190613949565b6122b4565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bec57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c1c5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610c2b6123ac565b73ffffffffffffffffffffffffffffffffffffffff16610c49611b13565b73ffffffffffffffffffffffffffffffffffffffff1614610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c96906142d3565b60405180910390fd5b610ca8836123b4565b610ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cde906142b3565b60405180910390fd5b81600d60008581526020019081526020016000209080519060200190610d0e929190613708565b5080600f600085815260200190815260200160002060006101000a81548160ff02191690836008811115610d4557610d446147a4565b5b0217905550505050565b606060028054610d5e90614669565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8a90614669565b8015610dd75780601f10610dac57610100808354040283529160200191610dd7565b820191906000526020600020905b815481529060010190602001808311610dba57829003601f168201915b5050505050905090565b6000610dec826123b4565b610e22576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e68826116b4565b90508073ffffffffffffffffffffffffffffffffffffffff16610e89612413565b73ffffffffffffffffffffffffffffffffffffffff1614610eec57610eb581610eb0612413565b612220565b610eeb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600581565b6000610fad61241b565b6001546000540303905090565b6001610fc584611931565b11611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc90614153565b60405180910390fd5b611010838383612420565b505050565b61101d6123ac565b73ffffffffffffffffffffffffffffffffffffffff1661103b611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611091576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611088906142d3565b60405180910390fd5b6000600e600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506110d282612745565b600d600083815260200190815260200160002060006110f1919061378e565b600e600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600c828154811061113b5761113a614802565b5b9060005260206000200160009055600061115482611931565b9050600081116111685761116782612753565b5b505050565b6010818154811061117d57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601360009054906101000a900460ff1681565b61271081565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b60606111f06123ac565b73ffffffffffffffffffffffffffffffffffffffff1661120e611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906142d3565b60405180910390fd5b61126e8383612889565b905092915050565b6000479050600081116112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b590614193565b60405180910390fd5b6000739c21c877b44ebac7f0e8ee99db4ebfd4a9ac500073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505090508061134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290614133565b60405180910390fd5b5050565b6113576123ac565b73ffffffffffffffffffffffffffffffffffffffff16611375611b13565b73ffffffffffffffffffffffffffffffffffffffff16146113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c2906142d3565b60405180910390fd5b601360009054906101000a900460ff1661141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190614213565b60405180910390fd5b601360009054906101000a900460ff161561144b576000601360006101000a81548160ff0219169083151502179055505b565b61146883838360405180602001604052806000815250611f18565b505050565b600c818154811061147d57600080fd5b906000526020600020016000915090505481565b6000600c80549050905090565b60606114a86123ac565b73ffffffffffffffffffffffffffffffffffffffff166114c6611b13565b73ffffffffffffffffffffffffffffffffffffffff161461151c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611513906142d3565b60405180910390fd5b600061152783611931565b905060008167ffffffffffffffff81111561154557611544614831565b5b6040519080825280602002602001820160405280156115735781602001602082028036833780820191505090505b5090506000805b600c80549050811015611654576000600c828154811061159d5761159c614802565b5b906000526020600020015490508673ffffffffffffffffffffffffffffffffffffffff16600e600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611640578084848151811061162557611624614802565b5b602002602001018181525050828061163c906146cc565b9350505b50808061164c906146cc565b91505061157a565b50819350505050919050565b60008061166c44612b0f565b9050600061167942612b0f565b90506000828260405160200161169092919061402e565b6040516020818303038152906040529050808051906020012060001c935050505090565b60006116bf82612c70565b9050919050565b6060601360009054906101000a900460ff16611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e906141f3565b60405180910390fd5b8260095461172591906144f3565b341015611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90614253565b60405180910390fd5b6117718383612889565b905092915050565b60606117836123ac565b73ffffffffffffffffffffffffffffffffffffffff166117a1611b13565b73ffffffffffffffffffffffffffffffffffffffff16146117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee906142d3565b60405180910390fd5b600c80548060200260200160405190810160405280929190818152602001828054801561184357602002820191906000526020600020905b81548152602001906001019080831161182f575b5050505050905090565b6012818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600b5481565b600d60205280600052604060002060009150905080546118a890614669565b80601f01602080910402602001604051908101604052809291908181526020018280546118d490614669565b80156119215780601f106118f657610100808354040283529160200191611921565b820191906000526020600020905b81548152906001019060200180831161190457829003601f168201915b505050505081565b600047905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611999576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6119f26123ac565b73ffffffffffffffffffffffffffffffffffffffff16611a10611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d906142d3565b60405180910390fd5b611a706000612d3e565b565b600080601080549050611a83611660565b611a8d9190614715565b905060108181548110611aa357611aa2614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b60118181548110611ae457600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b456123ac565b73ffffffffffffffffffffffffffffffffffffffff16611b63611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb0906142d3565b60405180910390fd5b633b9aca0081611bc991906144f3565b60098190555050565b739c21c877b44ebac7f0e8ee99db4ebfd4a9ac500081565b606060038054611bf990614669565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2590614669565b8015611c725780601f10611c4757610100808354040283529160200191611c72565b820191906000526020600020905b815481529060010190602001808311611c5557829003601f168201915b5050505050905090565b611c846123ac565b73ffffffffffffffffffffffffffffffffffffffff16611ca2611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cef906142d3565b60405180910390fd5b601360009054906101000a900460ff1615611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90614173565b60405180910390fd5b601360009054906101000a900460ff16611d78576001601360006101000a81548160ff0219169083151502179055505b565b60095481565b600f6020528060005260406000206000915054906101000a900460ff1681565b611da8612413565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e1a612413565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec7612413565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f0c91906140db565b60405180910390a35050565b611f23848484610fba565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f8557611f4e84848484612e04565b611f84576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b604051806080016040528060588152602001614c2e6058913981565b6060611fb2826123b4565b611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe8906142f3565b60405180910390fd5b600d6000838152602001908152602001600020805461200f90614669565b80601f016020809104026020016040519081016040528092919081815260200182805461203b90614669565b80156120885780601f1061205d57610100808354040283529160200191612088565b820191906000526020600020905b81548152906001019060200180831161206b57829003601f168201915b50505050509050919050565b600080600090505b601080549050811015612138578273ffffffffffffffffffffffffffffffffffffffff16601082815481106120d4576120d3614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561212557600191505061213e565b8080612130906146cc565b91505061209c565b50600090505b919050565b61214b6123ac565b73ffffffffffffffffffffffffffffffffffffffff16612169611b13565b73ffffffffffffffffffffffffffffffffffffffff16146121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906142d3565b60405180910390fd5b612710816121cb611491565b6121d5919061446c565b1115612216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220d90614313565b60405180910390fd5b80600b8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122bc6123ac565b73ffffffffffffffffffffffffffffffffffffffff166122da611b13565b73ffffffffffffffffffffffffffffffffffffffff1614612330576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612327906142d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612397906141b3565b60405180910390fd5b6123a981612d3e565b50565b600033905090565b6000816123bf61241b565b111580156123ce575060005482105b801561240c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600061242b82612c70565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612492576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061249e84612f64565b915091506124b481876124af612413565b612f86565b612500576124c9866124c4612413565b612220565b6124ff576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612567576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125748686866001612fca565b801561257f57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061264d85612629888887612fd0565b7c020000000000000000000000000000000000000000000000000000000017612ff8565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156126d55760006001850190506000600460008381526020019081526020016000205414156126d35760005481146126d2578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461273d8686866001613023565b505050505050565b612750816000613029565b50565b600061275e82611931565b905060008114156127a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279b90614233565b60405180910390fd5b600080600090505b601080549050811015612842578373ffffffffffffffffffffffffffffffffffffffff16601082815481106127e4576127e3614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561282f578091505b808061283a906146cc565b9150506127ac565b506010818154811061285757612856614802565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055505050565b606061271083612899600a61327d565b6128a3919061446c565b11156128e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128db906141d3565b60405180910390fd5b600b54836128f2600a61327d565b6128fc919061446c565b111561293d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293490614273565b60405180910390fd5b60058361294984611931565b612953919061446c565b1115612994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b90614293565b60405180910390fd5b82600b60008282546129a6919061454d565b9250508190555060008367ffffffffffffffff8111156129c9576129c8614831565b5b6040519080825280602002602001820160405280156129f75781602001602082028036833780820191505090505b50905060005b84811015612b0457612a0f600a61328b565b6000612a1b600a61327d565b9050612a288560016132a1565b84600e600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c819080600181540180825580915050600190039060005260206000200160009091909190915055612ac781604051806080016040528060588152602001614c2e6058913960006132bf565b612ad08561336f565b80838381518110612ae457612ae3614802565b5b602002602001018181525050508080612afc906146cc565b9150506129fd565b508091505092915050565b60606000821415612b57576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c6b565b600082905060005b60008214612b89578080612b72906146cc565b915050600a82612b8291906144c2565b9150612b5f565b60008167ffffffffffffffff811115612ba557612ba4614831565b5b6040519080825280601f01601f191660200182016040528015612bd75781602001600182028036833780820191505090505b5090505b60008514612c6457600182612bf0919061454d565b9150600a85612bff9190614715565b6030612c0b919061446c565b60f81b818381518110612c2157612c20614802565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c5d91906144c2565b9450612bdb565b8093505050505b919050565b60008082905080612c7f61241b565b11612d0757600054811015612d065760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d04575b6000811415612cfa576004600083600190039350838152602001908152602001600020549050612ccf565b8092505050612d39565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e2a612413565b8786866040518563ffffffff1660e01b8152600401612e4c949392919061406d565b602060405180830381600087803b158015612e6657600080fd5b505af1925050508015612e9757506040513d601f19601f82011682018060405250810190612e949190613b39565b60015b612f11573d8060008114612ec7576040519150601f19603f3d011682016040523d82523d6000602084013e612ecc565b606091505b50600081511415612f09576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612fe786868461347e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061303483612c70565b9050600081905060008061304786612f64565b9150915084156130b057613063818461305e612413565b612f86565b6130af5761307883613073612413565b612220565b6130ae576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6130be836000886001612fca565b80156130c957600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131718361312e85600088612fd0565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612ff8565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156131f95760006001870190506000600460008381526020019081526020016000205414156131f75760005481146131f6578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613263836000886001613023565b600160008154809291906001019190505550505050505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6132bb828260405180602001604052806000815250613487565b5050565b6132c8836123b4565b613307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132fe906142b3565b60405180910390fd5b81600d6000858152602001908152602001600020908051906020019061332e929190613708565b5080600f600085815260200190815260200160002060006101000a81548160ff02191690836008811115613365576133646147a4565b5b0217905550505050565b60006001905060005b60108054905081101561340f578273ffffffffffffffffffffffffffffffffffffffff16601082815481106133b0576133af614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156133fc57600091505b8080613407906146cc565b915050613378565b50801561347a576010829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b60009392505050565b6134918383613524565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461351f57600080549050600083820390505b6134d16000868380600101945086612e04565b613507576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134be57816000541461351c57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613591576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156135cc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135d96000848385612fca565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613650836136416000866000612fd0565b61364a856136f8565b17612ff8565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613674578060008190555050506136f36000848385613023565b505050565b60006001821460e11b9050919050565b82805461371490614669565b90600052602060002090601f016020900481019282613736576000855561377d565b82601f1061374f57805160ff191683800117855561377d565b8280016001018555821561377d579182015b8281111561377c578251825591602001919060010190613761565b5b50905061378a91906137ce565b5090565b50805461379a90614669565b6000825580601f106137ac57506137cb565b601f0160209004906000526020600020908101906137ca91906137ce565b5b50565b5b808211156137e75760008160009055506001016137cf565b5090565b60006137fe6137f98461438e565b614369565b90508281526020810184848401111561381a57613819614865565b5b613825848285614627565b509392505050565b600061384061383b846143bf565b614369565b90508281526020810184848401111561385c5761385b614865565b5b613867848285614627565b509392505050565b60008135905061387e81614bc1565b92915050565b60008135905061389381614bd8565b92915050565b6000813590506138a881614bef565b92915050565b6000815190506138bd81614bef565b92915050565b600082601f8301126138d8576138d7614860565b5b81356138e88482602086016137eb565b91505092915050565b60008135905061390081614c06565b92915050565b600082601f83011261391b5761391a614860565b5b813561392b84826020860161382d565b91505092915050565b60008135905061394381614c16565b92915050565b60006020828403121561395f5761395e61486f565b5b600061396d8482850161386f565b91505092915050565b6000806040838503121561398d5761398c61486f565b5b600061399b8582860161386f565b92505060206139ac8582860161386f565b9150509250929050565b6000806000606084860312156139cf576139ce61486f565b5b60006139dd8682870161386f565b93505060206139ee8682870161386f565b92505060406139ff86828701613934565b9150509250925092565b60008060008060808587031215613a2357613a2261486f565b5b6000613a318782880161386f565b9450506020613a428782880161386f565b9350506040613a5387828801613934565b925050606085013567ffffffffffffffff811115613a7457613a7361486a565b5b613a80878288016138c3565b91505092959194509250565b60008060408385031215613aa357613aa261486f565b5b6000613ab18582860161386f565b9250506020613ac285828601613884565b9150509250929050565b60008060408385031215613ae357613ae261486f565b5b6000613af18582860161386f565b9250506020613b0285828601613934565b9150509250929050565b600060208284031215613b2257613b2161486f565b5b6000613b3084828501613899565b91505092915050565b600060208284031215613b4f57613b4e61486f565b5b6000613b5d848285016138ae565b91505092915050565b600060208284031215613b7c57613b7b61486f565b5b600082013567ffffffffffffffff811115613b9a57613b9961486a565b5b613ba684828501613906565b91505092915050565b600060208284031215613bc557613bc461486f565b5b6000613bd384828501613934565b91505092915050565b60008060408385031215613bf357613bf261486f565b5b6000613c0185828601613934565b9250506020613c128582860161386f565b9150509250929050565b600080600060608486031215613c3557613c3461486f565b5b6000613c4386828701613934565b935050602084013567ffffffffffffffff811115613c6457613c6361486a565b5b613c7086828701613906565b9250506040613c81868287016138f1565b9150509250925092565b6000613c978383614001565b60208301905092915050565b613cac81614581565b82525050565b6000613cbd82614400565b613cc7818561442e565b9350613cd2836143f0565b8060005b83811015613d03578151613cea8882613c8b565b9750613cf583614421565b925050600181019050613cd6565b5085935050505092915050565b613d1981614593565b82525050565b6000613d2a8261440b565b613d34818561443f565b9350613d44818560208601614636565b613d4d81614874565b840191505092915050565b613d6181614615565b82525050565b6000613d7282614416565b613d7c8185614450565b9350613d8c818560208601614636565b613d9581614874565b840191505092915050565b6000613dab82614416565b613db58185614461565b9350613dc5818560208601614636565b80840191505092915050565b6000613dde601283614450565b9150613de982614885565b602082019050919050565b6000613e01601a83614450565b9150613e0c826148ae565b602082019050919050565b6000613e24601783614450565b9150613e2f826148d7565b602082019050919050565b6000613e47601383614450565b9150613e5282614900565b602082019050919050565b6000613e6a602683614450565b9150613e7582614929565b604082019050919050565b6000613e8d601383614450565b9150613e9882614978565b602082019050919050565b6000613eb0602083614450565b9150613ebb826149a1565b602082019050919050565b6000613ed3601883614450565b9150613ede826149ca565b602082019050919050565b6000613ef6603083614450565b9150613f01826149f3565b604082019050919050565b6000613f19601683614450565b9150613f2482614a42565b602082019050919050565b6000613f3c601d83614450565b9150613f4782614a6b565b602082019050919050565b6000613f5f601383614450565b9150613f6a82614a94565b602082019050919050565b6000613f82602e83614450565b9150613f8d82614abd565b604082019050919050565b6000613fa5602083614450565b9150613fb082614b0c565b602082019050919050565b6000613fc8602f83614450565b9150613fd382614b35565b604082019050919050565b6000613feb600f83614450565b9150613ff682614b84565b602082019050919050565b61400a816145fe565b82525050565b614019816145fe565b82525050565b61402881614608565b82525050565b600061403a8285613da0565b91506140468284613da0565b91508190509392505050565b60006020820190506140676000830184613ca3565b92915050565b60006080820190506140826000830187613ca3565b61408f6020830186613ca3565b61409c6040830185614010565b81810360608301526140ae8184613d1f565b905095945050505050565b600060208201905081810360008301526140d38184613cb2565b905092915050565b60006020820190506140f06000830184613d10565b92915050565b600060208201905061410b6000830184613d58565b92915050565b6000602082019050818103600083015261412b8184613d67565b905092915050565b6000602082019050818103600083015261414c81613dd1565b9050919050565b6000602082019050818103600083015261416c81613df4565b9050919050565b6000602082019050818103600083015261418c81613e17565b9050919050565b600060208201905081810360008301526141ac81613e3a565b9050919050565b600060208201905081810360008301526141cc81613e5d565b9050919050565b600060208201905081810360008301526141ec81613e80565b9050919050565b6000602082019050818103600083015261420c81613ea3565b9050919050565b6000602082019050818103600083015261422c81613ec6565b9050919050565b6000602082019050818103600083015261424c81613ee9565b9050919050565b6000602082019050818103600083015261426c81613f0c565b9050919050565b6000602082019050818103600083015261428c81613f2f565b9050919050565b600060208201905081810360008301526142ac81613f52565b9050919050565b600060208201905081810360008301526142cc81613f75565b9050919050565b600060208201905081810360008301526142ec81613f98565b9050919050565b6000602082019050818103600083015261430c81613fbb565b9050919050565b6000602082019050818103600083015261432c81613fde565b9050919050565b60006020820190506143486000830184614010565b92915050565b6000602082019050614363600083018461401f565b92915050565b6000614373614384565b905061437f828261469b565b919050565b6000604051905090565b600067ffffffffffffffff8211156143a9576143a8614831565b5b6143b282614874565b9050602081019050919050565b600067ffffffffffffffff8211156143da576143d9614831565b5b6143e382614874565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614477826145fe565b9150614482836145fe565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b7576144b6614746565b5b828201905092915050565b60006144cd826145fe565b91506144d8836145fe565b9250826144e8576144e7614775565b5b828204905092915050565b60006144fe826145fe565b9150614509836145fe565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561454257614541614746565b5b828202905092915050565b6000614558826145fe565b9150614563836145fe565b92508282101561457657614575614746565b5b828203905092915050565b600061458c826145de565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506145d982614bad565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614620826145cb565b9050919050565b82818337600083830152505050565b60005b83811015614654578082015181840152602081019050614639565b83811115614663576000848401525b50505050565b6000600282049050600182168061468157607f821691505b60208210811415614695576146946147d3565b5b50919050565b6146a482614874565b810181811067ffffffffffffffff821117156146c3576146c2614831565b5b80604052505050565b60006146d7826145fe565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561470a57614709614746565b5b600182019050919050565b6000614720826145fe565b915061472b836145fe565b92508261473b5761473a614775565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204e465420746f2073656e64206f6e65000000000000600082015250565b7f4d696e74696e6720616c72656164792073746172746564000000000000000000600082015250565b7f4e6f7468696e6720746f20776974686472617700000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f7265204e465420746f206d696e7400000000000000000000000000600082015250565b7f4d696e7420706572696f642068617665206e6f74207374617274656420796574600082015250565b7f4d696e74696e67206861736e2774207374617274207965740000000000000000600082015250565b7f43616e27742072656d6f766520686f6c6465722073696e63652068652073746960008201527f6c6c20676f7420736f6d65204e46547300000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045544820746f206d696e7400000000000000000000600082015250565b7f4e6f206d6f7265204e465420746f206d696e742063757272656e746c79000000600082015250565b7f546f6f206d756368204e4654206d696e74656400000000000000000000000000600082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f546f6f206d75636820737570706c790000000000000000000000000000000000600082015250565b60098110614bbe57614bbd6147a4565b5b50565b614bca81614581565b8114614bd557600080fd5b50565b614be181614593565b8114614bec57600080fd5b50565b614bf88161459f565b8114614c0357600080fd5b50565b60098110614c1357600080fd5b50565b614c1f816145fe565b8114614c2a57600080fd5b5056fe68747470733a2f2f6261667962656968366232643461717663737736737633637532706933646f6c647761346c71343277333469736d77766672696374736f64356e752e697066732e696e667572612d697066732e696f2fa2646970667358221220b0d79e9776e920f2514d499d5f739d8bef0b04a1d4d254d17d4dd4018714ac7a64736f6c63430008070033

Deployed Bytecode

0x60806040526004361061028c5760003560e01c806367f718a91161015a57806395d89b41116100c1578063c68329d81161007a578063c68329d814610a5d578063c87b56dd14610a88578063d4d7b19a14610ac5578063dc54730114610b02578063e985e9c514610b2b578063f2fde38b14610b68576102e9565b806395d89b41146109615780639a65ea261461098c578063a035b1fe146109a3578063a09ac557146109ce578063a22cb46514610a0b578063b88d4fde14610a34576102e9565b8063715018a611610113578063715018a614610863578063798d46eb1461087a5780637ebd1b30146108a55780638da5cb5b146108e257806391b7f5ed1461090d578063924c860914610936576102e9565b806367f718a91461072b578063685e0dc7146107565780636aea5f1b146107935780636c8b703f146107be5780636f9fb98a146107fb57806370a0823114610826576102e9565b806332cb6b0c116101fe57806349476553116101b757806349476553146105ee5780634f3e1efc1461062b5780635324f9aa146106565780635ec01e4d146106935780636352211e146106be578063669f5a51146106fb576102e9565b806332cb6b0c146104ff5780633bb66a7b1461052a5780633c0a1d09146105675780633ccfd60b146105a45780633e3e0b12146105ae57806342842e0e146105c5576102e9565b80630f2cdd6c116102505780630f2cdd6c146103ef57806318160ddd1461041a57806323b872dd146104455780632890e0d71461046e5780632a11ced0146104975780632a8092df146104d4576102e9565b806301ffc9a7146102f857806306ae6df21461033557806306fdde031461035e578063081812fc14610389578063095ea7b3146103c6576102e9565b366102e95734601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546102e0919061446c565b92505081905550005b3480156102f557600080fd5b50005b34801561030457600080fd5b5061031f600480360381019061031a9190613b0c565b610b91565b60405161032c91906140db565b60405180910390f35b34801561034157600080fd5b5061035c60048036038101906103579190613c1c565b610c23565b005b34801561036a57600080fd5b50610373610d4f565b6040516103809190614111565b60405180910390f35b34801561039557600080fd5b506103b060048036038101906103ab9190613baf565b610de1565b6040516103bd9190614052565b60405180910390f35b3480156103d257600080fd5b506103ed60048036038101906103e89190613acc565b610e5d565b005b3480156103fb57600080fd5b50610404610f9e565b6040516104119190614333565b60405180910390f35b34801561042657600080fd5b5061042f610fa3565b60405161043c9190614333565b60405180910390f35b34801561045157600080fd5b5061046c600480360381019061046791906139b6565b610fba565b005b34801561047a57600080fd5b5061049560048036038101906104909190613baf565b611015565b005b3480156104a357600080fd5b506104be60048036038101906104b99190613baf565b61116d565b6040516104cb9190614052565b60405180910390f35b3480156104e057600080fd5b506104e96111ac565b6040516104f691906140db565b60405180910390f35b34801561050b57600080fd5b506105146111bf565b6040516105219190614333565b60405180910390f35b34801561053657600080fd5b50610551600480360381019061054c9190613949565b6111c5565b60405161055e9190614333565b60405180910390f35b34801561057357600080fd5b5061058e60048036038101906105899190613bdc565b6111e6565b60405161059b91906140b9565b60405180910390f35b6105ac611276565b005b3480156105ba57600080fd5b506105c361134f565b005b3480156105d157600080fd5b506105ec60048036038101906105e791906139b6565b61144d565b005b3480156105fa57600080fd5b5061061560048036038101906106109190613baf565b61146d565b6040516106229190614333565b60405180910390f35b34801561063757600080fd5b50610640611491565b60405161064d9190614333565b60405180910390f35b34801561066257600080fd5b5061067d60048036038101906106789190613949565b61149e565b60405161068a91906140b9565b60405180910390f35b34801561069f57600080fd5b506106a8611660565b6040516106b59190614333565b60405180910390f35b3480156106ca57600080fd5b506106e560048036038101906106e09190613baf565b6116b4565b6040516106f29190614052565b60405180910390f35b61071560048036038101906107109190613bdc565b6116c6565b60405161072291906140b9565b60405180910390f35b34801561073757600080fd5b50610740611779565b60405161074d91906140b9565b60405180910390f35b34801561076257600080fd5b5061077d60048036038101906107789190613b66565b61184d565b60405161078a919061434e565b60405180910390f35b34801561079f57600080fd5b506107a8611883565b6040516107b59190614333565b60405180910390f35b3480156107ca57600080fd5b506107e560048036038101906107e09190613baf565b611889565b6040516107f29190614111565b60405180910390f35b34801561080757600080fd5b50610810611929565b60405161081d9190614333565b60405180910390f35b34801561083257600080fd5b5061084d60048036038101906108489190613949565b611931565b60405161085a9190614333565b60405180910390f35b34801561086f57600080fd5b506108786119ea565b005b34801561088657600080fd5b5061088f611a72565b60405161089c9190614052565b60405180910390f35b3480156108b157600080fd5b506108cc60048036038101906108c79190613baf565b611ad4565b6040516108d99190614052565b60405180910390f35b3480156108ee57600080fd5b506108f7611b13565b6040516109049190614052565b60405180910390f35b34801561091957600080fd5b50610934600480360381019061092f9190613baf565b611b3d565b005b34801561094257600080fd5b5061094b611bd2565b6040516109589190614052565b60405180910390f35b34801561096d57600080fd5b50610976611bea565b6040516109839190614111565b60405180910390f35b34801561099857600080fd5b506109a1611c7c565b005b3480156109af57600080fd5b506109b8611d7a565b6040516109c59190614333565b60405180910390f35b3480156109da57600080fd5b506109f560048036038101906109f09190613baf565b611d80565b604051610a0291906140f6565b60405180910390f35b348015610a1757600080fd5b50610a326004803603810190610a2d9190613a8c565b611da0565b005b348015610a4057600080fd5b50610a5b6004803603810190610a569190613a09565b611f18565b005b348015610a6957600080fd5b50610a72611f8b565b604051610a7f9190614111565b60405180910390f35b348015610a9457600080fd5b50610aaf6004803603810190610aaa9190613baf565b611fa7565b604051610abc9190614111565b60405180910390f35b348015610ad157600080fd5b50610aec6004803603810190610ae79190613949565b612094565b604051610af991906140db565b60405180910390f35b348015610b0e57600080fd5b50610b296004803603810190610b249190613baf565b612143565b005b348015610b3757600080fd5b50610b526004803603810190610b4d9190613976565b612220565b604051610b5f91906140db565b60405180910390f35b348015610b7457600080fd5b50610b8f6004803603810190610b8a9190613949565b6122b4565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bec57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610c1c5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b610c2b6123ac565b73ffffffffffffffffffffffffffffffffffffffff16610c49611b13565b73ffffffffffffffffffffffffffffffffffffffff1614610c9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c96906142d3565b60405180910390fd5b610ca8836123b4565b610ce7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cde906142b3565b60405180910390fd5b81600d60008581526020019081526020016000209080519060200190610d0e929190613708565b5080600f600085815260200190815260200160002060006101000a81548160ff02191690836008811115610d4557610d446147a4565b5b0217905550505050565b606060028054610d5e90614669565b80601f0160208091040260200160405190810160405280929190818152602001828054610d8a90614669565b8015610dd75780601f10610dac57610100808354040283529160200191610dd7565b820191906000526020600020905b815481529060010190602001808311610dba57829003601f168201915b5050505050905090565b6000610dec826123b4565b610e22576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e68826116b4565b90508073ffffffffffffffffffffffffffffffffffffffff16610e89612413565b73ffffffffffffffffffffffffffffffffffffffff1614610eec57610eb581610eb0612413565b612220565b610eeb576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600581565b6000610fad61241b565b6001546000540303905090565b6001610fc584611931565b11611005576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ffc90614153565b60405180910390fd5b611010838383612420565b505050565b61101d6123ac565b73ffffffffffffffffffffffffffffffffffffffff1661103b611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611091576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611088906142d3565b60405180910390fd5b6000600e600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506110d282612745565b600d600083815260200190815260200160002060006110f1919061378e565b600e600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055600c828154811061113b5761113a614802565b5b9060005260206000200160009055600061115482611931565b9050600081116111685761116782612753565b5b505050565b6010818154811061117d57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b601360009054906101000a900460ff1681565b61271081565b60008173ffffffffffffffffffffffffffffffffffffffff16319050919050565b60606111f06123ac565b73ffffffffffffffffffffffffffffffffffffffff1661120e611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611264576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161125b906142d3565b60405180910390fd5b61126e8383612889565b905092915050565b6000479050600081116112be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112b590614193565b60405180910390fd5b6000739c21c877b44ebac7f0e8ee99db4ebfd4a9ac500073ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f1935050505090508061134b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161134290614133565b60405180910390fd5b5050565b6113576123ac565b73ffffffffffffffffffffffffffffffffffffffff16611375611b13565b73ffffffffffffffffffffffffffffffffffffffff16146113cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113c2906142d3565b60405180910390fd5b601360009054906101000a900460ff1661141a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161141190614213565b60405180910390fd5b601360009054906101000a900460ff161561144b576000601360006101000a81548160ff0219169083151502179055505b565b61146883838360405180602001604052806000815250611f18565b505050565b600c818154811061147d57600080fd5b906000526020600020016000915090505481565b6000600c80549050905090565b60606114a86123ac565b73ffffffffffffffffffffffffffffffffffffffff166114c6611b13565b73ffffffffffffffffffffffffffffffffffffffff161461151c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611513906142d3565b60405180910390fd5b600061152783611931565b905060008167ffffffffffffffff81111561154557611544614831565b5b6040519080825280602002602001820160405280156115735781602001602082028036833780820191505090505b5090506000805b600c80549050811015611654576000600c828154811061159d5761159c614802565b5b906000526020600020015490508673ffffffffffffffffffffffffffffffffffffffff16600e600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415611640578084848151811061162557611624614802565b5b602002602001018181525050828061163c906146cc565b9350505b50808061164c906146cc565b91505061157a565b50819350505050919050565b60008061166c44612b0f565b9050600061167942612b0f565b90506000828260405160200161169092919061402e565b6040516020818303038152906040529050808051906020012060001c935050505090565b60006116bf82612c70565b9050919050565b6060601360009054906101000a900460ff16611717576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170e906141f3565b60405180910390fd5b8260095461172591906144f3565b341015611767576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175e90614253565b60405180910390fd5b6117718383612889565b905092915050565b60606117836123ac565b73ffffffffffffffffffffffffffffffffffffffff166117a1611b13565b73ffffffffffffffffffffffffffffffffffffffff16146117f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117ee906142d3565b60405180910390fd5b600c80548060200260200160405190810160405280929190818152602001828054801561184357602002820191906000526020600020905b81548152602001906001019080831161182f575b5050505050905090565b6012818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b600b5481565b600d60205280600052604060002060009150905080546118a890614669565b80601f01602080910402602001604051908101604052809291908181526020018280546118d490614669565b80156119215780601f106118f657610100808354040283529160200191611921565b820191906000526020600020905b81548152906001019060200180831161190457829003601f168201915b505050505081565b600047905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611999576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6119f26123ac565b73ffffffffffffffffffffffffffffffffffffffff16611a10611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611a66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a5d906142d3565b60405180910390fd5b611a706000612d3e565b565b600080601080549050611a83611660565b611a8d9190614715565b905060108181548110611aa357611aa2614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691505090565b60118181548110611ae457600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b456123ac565b73ffffffffffffffffffffffffffffffffffffffff16611b63611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611bb9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bb0906142d3565b60405180910390fd5b633b9aca0081611bc991906144f3565b60098190555050565b739c21c877b44ebac7f0e8ee99db4ebfd4a9ac500081565b606060038054611bf990614669565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2590614669565b8015611c725780601f10611c4757610100808354040283529160200191611c72565b820191906000526020600020905b815481529060010190602001808311611c5557829003601f168201915b5050505050905090565b611c846123ac565b73ffffffffffffffffffffffffffffffffffffffff16611ca2611b13565b73ffffffffffffffffffffffffffffffffffffffff1614611cf8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cef906142d3565b60405180910390fd5b601360009054906101000a900460ff1615611d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3f90614173565b60405180910390fd5b601360009054906101000a900460ff16611d78576001601360006101000a81548160ff0219169083151502179055505b565b60095481565b600f6020528060005260406000206000915054906101000a900460ff1681565b611da8612413565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e0d576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611e1a612413565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ec7612413565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f0c91906140db565b60405180910390a35050565b611f23848484610fba565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611f8557611f4e84848484612e04565b611f84576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b604051806080016040528060588152602001614c2e6058913981565b6060611fb2826123b4565b611ff1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fe8906142f3565b60405180910390fd5b600d6000838152602001908152602001600020805461200f90614669565b80601f016020809104026020016040519081016040528092919081815260200182805461203b90614669565b80156120885780601f1061205d57610100808354040283529160200191612088565b820191906000526020600020905b81548152906001019060200180831161206b57829003601f168201915b50505050509050919050565b600080600090505b601080549050811015612138578273ffffffffffffffffffffffffffffffffffffffff16601082815481106120d4576120d3614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561212557600191505061213e565b8080612130906146cc565b91505061209c565b50600090505b919050565b61214b6123ac565b73ffffffffffffffffffffffffffffffffffffffff16612169611b13565b73ffffffffffffffffffffffffffffffffffffffff16146121bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121b6906142d3565b60405180910390fd5b612710816121cb611491565b6121d5919061446c565b1115612216576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161220d90614313565b60405180910390fd5b80600b8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6122bc6123ac565b73ffffffffffffffffffffffffffffffffffffffff166122da611b13565b73ffffffffffffffffffffffffffffffffffffffff1614612330576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612327906142d3565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156123a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612397906141b3565b60405180910390fd5b6123a981612d3e565b50565b600033905090565b6000816123bf61241b565b111580156123ce575060005482105b801561240c575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b600061242b82612c70565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612492576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061249e84612f64565b915091506124b481876124af612413565b612f86565b612500576124c9866124c4612413565b612220565b6124ff576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612567576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6125748686866001612fca565b801561257f57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061264d85612629888887612fd0565b7c020000000000000000000000000000000000000000000000000000000017612ff8565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156126d55760006001850190506000600460008381526020019081526020016000205414156126d35760005481146126d2578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461273d8686866001613023565b505050505050565b612750816000613029565b50565b600061275e82611931565b905060008114156127a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161279b90614233565b60405180910390fd5b600080600090505b601080549050811015612842578373ffffffffffffffffffffffffffffffffffffffff16601082815481106127e4576127e3614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561282f578091505b808061283a906146cc565b9150506127ac565b506010818154811061285757612856614802565b5b9060005260206000200160006101000a81549073ffffffffffffffffffffffffffffffffffffffff0219169055505050565b606061271083612899600a61327d565b6128a3919061446c565b11156128e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128db906141d3565b60405180910390fd5b600b54836128f2600a61327d565b6128fc919061446c565b111561293d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293490614273565b60405180910390fd5b60058361294984611931565b612953919061446c565b1115612994576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161298b90614293565b60405180910390fd5b82600b60008282546129a6919061454d565b9250508190555060008367ffffffffffffffff8111156129c9576129c8614831565b5b6040519080825280602002602001820160405280156129f75781602001602082028036833780820191505090505b50905060005b84811015612b0457612a0f600a61328b565b6000612a1b600a61327d565b9050612a288560016132a1565b84600e600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600c819080600181540180825580915050600190039060005260206000200160009091909190915055612ac781604051806080016040528060588152602001614c2e6058913960006132bf565b612ad08561336f565b80838381518110612ae457612ae3614802565b5b602002602001018181525050508080612afc906146cc565b9150506129fd565b508091505092915050565b60606000821415612b57576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c6b565b600082905060005b60008214612b89578080612b72906146cc565b915050600a82612b8291906144c2565b9150612b5f565b60008167ffffffffffffffff811115612ba557612ba4614831565b5b6040519080825280601f01601f191660200182016040528015612bd75781602001600182028036833780820191505090505b5090505b60008514612c6457600182612bf0919061454d565b9150600a85612bff9190614715565b6030612c0b919061446c565b60f81b818381518110612c2157612c20614802565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c5d91906144c2565b9450612bdb565b8093505050505b919050565b60008082905080612c7f61241b565b11612d0757600054811015612d065760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612d04575b6000811415612cfa576004600083600190039350838152602001908152602001600020549050612ccf565b8092505050612d39565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612e2a612413565b8786866040518563ffffffff1660e01b8152600401612e4c949392919061406d565b602060405180830381600087803b158015612e6657600080fd5b505af1925050508015612e9757506040513d601f19601f82011682018060405250810190612e949190613b39565b60015b612f11573d8060008114612ec7576040519150601f19603f3d011682016040523d82523d6000602084013e612ecc565b606091505b50600081511415612f09576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612fe786868461347e565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600061303483612c70565b9050600081905060008061304786612f64565b9150915084156130b057613063818461305e612413565b612f86565b6130af5761307883613073612413565b612220565b6130ae576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b5b6130be836000886001612fca565b80156130c957600082555b600160806001901b03600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506131718361312e85600088612fd0565b7c02000000000000000000000000000000000000000000000000000000007c01000000000000000000000000000000000000000000000000000000001717612ff8565b600460008881526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000851614156131f95760006001870190506000600460008381526020019081526020016000205414156131f75760005481146131f6578460046000838152602001908152602001600020819055505b5b505b85600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613263836000886001613023565b600160008154809291906001019190505550505050505050565b600081600001549050919050565b6001816000016000828254019250508190555050565b6132bb828260405180602001604052806000815250613487565b5050565b6132c8836123b4565b613307576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132fe906142b3565b60405180910390fd5b81600d6000858152602001908152602001600020908051906020019061332e929190613708565b5080600f600085815260200190815260200160002060006101000a81548160ff02191690836008811115613365576133646147a4565b5b0217905550505050565b60006001905060005b60108054905081101561340f578273ffffffffffffffffffffffffffffffffffffffff16601082815481106133b0576133af614802565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156133fc57600091505b8080613407906146cc565b915050613378565b50801561347a576010829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b5050565b60009392505050565b6134918383613524565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461351f57600080549050600083820390505b6134d16000868380600101945086612e04565b613507576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106134be57816000541461351c57600080fd5b50505b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613591576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156135cc576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135d96000848385612fca565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550613650836136416000866000612fd0565b61364a856136f8565b17612ff8565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613674578060008190555050506136f36000848385613023565b505050565b60006001821460e11b9050919050565b82805461371490614669565b90600052602060002090601f016020900481019282613736576000855561377d565b82601f1061374f57805160ff191683800117855561377d565b8280016001018555821561377d579182015b8281111561377c578251825591602001919060010190613761565b5b50905061378a91906137ce565b5090565b50805461379a90614669565b6000825580601f106137ac57506137cb565b601f0160209004906000526020600020908101906137ca91906137ce565b5b50565b5b808211156137e75760008160009055506001016137cf565b5090565b60006137fe6137f98461438e565b614369565b90508281526020810184848401111561381a57613819614865565b5b613825848285614627565b509392505050565b600061384061383b846143bf565b614369565b90508281526020810184848401111561385c5761385b614865565b5b613867848285614627565b509392505050565b60008135905061387e81614bc1565b92915050565b60008135905061389381614bd8565b92915050565b6000813590506138a881614bef565b92915050565b6000815190506138bd81614bef565b92915050565b600082601f8301126138d8576138d7614860565b5b81356138e88482602086016137eb565b91505092915050565b60008135905061390081614c06565b92915050565b600082601f83011261391b5761391a614860565b5b813561392b84826020860161382d565b91505092915050565b60008135905061394381614c16565b92915050565b60006020828403121561395f5761395e61486f565b5b600061396d8482850161386f565b91505092915050565b6000806040838503121561398d5761398c61486f565b5b600061399b8582860161386f565b92505060206139ac8582860161386f565b9150509250929050565b6000806000606084860312156139cf576139ce61486f565b5b60006139dd8682870161386f565b93505060206139ee8682870161386f565b92505060406139ff86828701613934565b9150509250925092565b60008060008060808587031215613a2357613a2261486f565b5b6000613a318782880161386f565b9450506020613a428782880161386f565b9350506040613a5387828801613934565b925050606085013567ffffffffffffffff811115613a7457613a7361486a565b5b613a80878288016138c3565b91505092959194509250565b60008060408385031215613aa357613aa261486f565b5b6000613ab18582860161386f565b9250506020613ac285828601613884565b9150509250929050565b60008060408385031215613ae357613ae261486f565b5b6000613af18582860161386f565b9250506020613b0285828601613934565b9150509250929050565b600060208284031215613b2257613b2161486f565b5b6000613b3084828501613899565b91505092915050565b600060208284031215613b4f57613b4e61486f565b5b6000613b5d848285016138ae565b91505092915050565b600060208284031215613b7c57613b7b61486f565b5b600082013567ffffffffffffffff811115613b9a57613b9961486a565b5b613ba684828501613906565b91505092915050565b600060208284031215613bc557613bc461486f565b5b6000613bd384828501613934565b91505092915050565b60008060408385031215613bf357613bf261486f565b5b6000613c0185828601613934565b9250506020613c128582860161386f565b9150509250929050565b600080600060608486031215613c3557613c3461486f565b5b6000613c4386828701613934565b935050602084013567ffffffffffffffff811115613c6457613c6361486a565b5b613c7086828701613906565b9250506040613c81868287016138f1565b9150509250925092565b6000613c978383614001565b60208301905092915050565b613cac81614581565b82525050565b6000613cbd82614400565b613cc7818561442e565b9350613cd2836143f0565b8060005b83811015613d03578151613cea8882613c8b565b9750613cf583614421565b925050600181019050613cd6565b5085935050505092915050565b613d1981614593565b82525050565b6000613d2a8261440b565b613d34818561443f565b9350613d44818560208601614636565b613d4d81614874565b840191505092915050565b613d6181614615565b82525050565b6000613d7282614416565b613d7c8185614450565b9350613d8c818560208601614636565b613d9581614874565b840191505092915050565b6000613dab82614416565b613db58185614461565b9350613dc5818560208601614636565b80840191505092915050565b6000613dde601283614450565b9150613de982614885565b602082019050919050565b6000613e01601a83614450565b9150613e0c826148ae565b602082019050919050565b6000613e24601783614450565b9150613e2f826148d7565b602082019050919050565b6000613e47601383614450565b9150613e5282614900565b602082019050919050565b6000613e6a602683614450565b9150613e7582614929565b604082019050919050565b6000613e8d601383614450565b9150613e9882614978565b602082019050919050565b6000613eb0602083614450565b9150613ebb826149a1565b602082019050919050565b6000613ed3601883614450565b9150613ede826149ca565b602082019050919050565b6000613ef6603083614450565b9150613f01826149f3565b604082019050919050565b6000613f19601683614450565b9150613f2482614a42565b602082019050919050565b6000613f3c601d83614450565b9150613f4782614a6b565b602082019050919050565b6000613f5f601383614450565b9150613f6a82614a94565b602082019050919050565b6000613f82602e83614450565b9150613f8d82614abd565b604082019050919050565b6000613fa5602083614450565b9150613fb082614b0c565b602082019050919050565b6000613fc8602f83614450565b9150613fd382614b35565b604082019050919050565b6000613feb600f83614450565b9150613ff682614b84565b602082019050919050565b61400a816145fe565b82525050565b614019816145fe565b82525050565b61402881614608565b82525050565b600061403a8285613da0565b91506140468284613da0565b91508190509392505050565b60006020820190506140676000830184613ca3565b92915050565b60006080820190506140826000830187613ca3565b61408f6020830186613ca3565b61409c6040830185614010565b81810360608301526140ae8184613d1f565b905095945050505050565b600060208201905081810360008301526140d38184613cb2565b905092915050565b60006020820190506140f06000830184613d10565b92915050565b600060208201905061410b6000830184613d58565b92915050565b6000602082019050818103600083015261412b8184613d67565b905092915050565b6000602082019050818103600083015261414c81613dd1565b9050919050565b6000602082019050818103600083015261416c81613df4565b9050919050565b6000602082019050818103600083015261418c81613e17565b9050919050565b600060208201905081810360008301526141ac81613e3a565b9050919050565b600060208201905081810360008301526141cc81613e5d565b9050919050565b600060208201905081810360008301526141ec81613e80565b9050919050565b6000602082019050818103600083015261420c81613ea3565b9050919050565b6000602082019050818103600083015261422c81613ec6565b9050919050565b6000602082019050818103600083015261424c81613ee9565b9050919050565b6000602082019050818103600083015261426c81613f0c565b9050919050565b6000602082019050818103600083015261428c81613f2f565b9050919050565b600060208201905081810360008301526142ac81613f52565b9050919050565b600060208201905081810360008301526142cc81613f75565b9050919050565b600060208201905081810360008301526142ec81613f98565b9050919050565b6000602082019050818103600083015261430c81613fbb565b9050919050565b6000602082019050818103600083015261432c81613fde565b9050919050565b60006020820190506143486000830184614010565b92915050565b6000602082019050614363600083018461401f565b92915050565b6000614373614384565b905061437f828261469b565b919050565b6000604051905090565b600067ffffffffffffffff8211156143a9576143a8614831565b5b6143b282614874565b9050602081019050919050565b600067ffffffffffffffff8211156143da576143d9614831565b5b6143e382614874565b9050602081019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000614477826145fe565b9150614482836145fe565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156144b7576144b6614746565b5b828201905092915050565b60006144cd826145fe565b91506144d8836145fe565b9250826144e8576144e7614775565b5b828204905092915050565b60006144fe826145fe565b9150614509836145fe565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561454257614541614746565b5b828202905092915050565b6000614558826145fe565b9150614563836145fe565b92508282101561457657614575614746565b5b828203905092915050565b600061458c826145de565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b60008190506145d982614bad565b919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b6000614620826145cb565b9050919050565b82818337600083830152505050565b60005b83811015614654578082015181840152602081019050614639565b83811115614663576000848401525b50505050565b6000600282049050600182168061468157607f821691505b60208210811415614695576146946147d3565b5b50919050565b6146a482614874565b810181811067ffffffffffffffff821117156146c3576146c2614831565b5b80604052505050565b60006146d7826145fe565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561470a57614709614746565b5b600182019050919050565b6000614720826145fe565b915061472b836145fe565b92508261473b5761473a614775565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4661696c656420746f2077697468647261770000000000000000000000000000600082015250565b7f4e6f7420656e6f756768204e465420746f2073656e64206f6e65000000000000600082015250565b7f4d696e74696e6720616c72656164792073746172746564000000000000000000600082015250565b7f4e6f7468696e6720746f20776974686472617700000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4e6f206d6f7265204e465420746f206d696e7400000000000000000000000000600082015250565b7f4d696e7420706572696f642068617665206e6f74207374617274656420796574600082015250565b7f4d696e74696e67206861736e2774207374617274207965740000000000000000600082015250565b7f43616e27742072656d6f766520686f6c6465722073696e63652068652073746960008201527f6c6c20676f7420736f6d65204e46547300000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682045544820746f206d696e7400000000000000000000600082015250565b7f4e6f206d6f7265204e465420746f206d696e742063757272656e746c79000000600082015250565b7f546f6f206d756368204e4654206d696e74656400000000000000000000000000600082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f546f6f206d75636820737570706c790000000000000000000000000000000000600082015250565b60098110614bbe57614bbd6147a4565b5b50565b614bca81614581565b8114614bd557600080fd5b50565b614be181614593565b8114614bec57600080fd5b50565b614bf88161459f565b8114614c0357600080fd5b50565b60098110614c1357600080fd5b50565b614c1f816145fe565b8114614c2a57600080fd5b5056fe68747470733a2f2f6261667962656968366232643461717663737736737633637532706933646f6c647761346c71343277333469736d77766672696374736f64356e752e697066732e696e667572612d697066732e696f2fa2646970667358221220b0d79e9776e920f2514d499d5f739d8bef0b04a1d4d254d17d4dd4018714ac7a64736f6c63430008070033

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.