ETH Price: $3,360.18 (-0.21%)
Gas: 9.16 Gwei

Token

MicroBuddy Water Bear (MBWB)
 

Overview

Max Total Supply

5,555 MBWB

Holders

857

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
zeusy.eth
Balance
2 MBWB
0x668d0c0e4a354a9927e791b45bdf24ae20319b22
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:
MicroBuddyWaterBear

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 5555 runs

Other Settings:
default evmVersion
File 1 of 13 : MicroBuddyWaterBear.sol
//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;

// |  \/  (_)              |  _ \          | |   | (_)
// | \  / |_  ___ _ __ ___ | |_) |_   _  __| | __| |_  ___  ___ ™
// | |\/| | |/ __| '__/ _ \|  _ <| | | |/ _` |/ _` | |/ _ \/ __|
// | |  | | | (__| | | (_) | |_) | |_| | (_| | (_| | |  __/\__ \
// |_|  |_|_|\___|_|  \___/|____/ \__,_|\__,_|\__,_|_|\___||___/ 2022
// https://wb.microbuddies.io/

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract MicroBuddyWaterBear is Ownable, Pausable, ERC721A {
    uint256 public WHITE_LIST_START_TIME = 1663527600;
    uint256 public WHITE_LIST_DURATION = 72 * 3600;
    uint256 public GEN0_DURATION = 336 * 3600;
    uint16 public TREASURY_RESERVE = 63;
    uint16 public AIRDROP_RESERVE = 0;
    uint16 public GEN0_RESERVE = 0;
    bool public TREASURY_MINT_DONE = false;
    uint256 public RESTING_PRICE = 0.00069 ether;
    uint16 public MAX_SUPPLY = 5555;
    uint16 public PUBLIC_MINTED;
    uint16 public GEN0_MINTED;
    uint8 public MAX_MINT = 5;
    string public PROVENANCE_RECORD = "";

    bool public REVEALED;
    string public UNREVEALED_URI =
        "https://api.microbuddies.io/unrevealed.json";
    string public AIRDROP_URI =
        "https://api.microbuddies.io/airdrop_unrevealed.json";
    string public BASE_URI;

    mapping(address => int8) public minted;
    mapping(address => uint16) public genZeroList;
    mapping(address => bool) blacklist;

    constructor() ERC721A("MicroBuddy Water Bear", "MBWB") {}

    function pause() public onlyOwner {
        _pause();
    }

    function unpause() public onlyOwner {
        _unpause();
    }

    function addBlacklist(address addr) public onlyOwner {
        require(isContract(addr), "Not a smart contract!");
        blacklist[addr] = true;
    }

    function rmBlacklist(address addr) public onlyOwner {
        blacklist[addr] = false;
    }

    function isBlacklist(address addr) public view returns (bool) {
        return blacklist[addr];
    }

    function isContract(address _addr) private view returns (bool) {
        uint32 size;
        assembly {
            size := extcodesize(_addr)
        }
        return (size > 0);
    }

    function setStartTime(uint256 _startTime) public onlyOwner {
        WHITE_LIST_START_TIME = _startTime;
    }

    function mintPublicWL(uint8 quantity) public payable whenNotPaused {
        require(
            block.timestamp >= WHITE_LIST_START_TIME,
            "Public sale not started!"
        );

        require(
            PUBLIC_MINTED +
                GEN0_RESERVE +
                TREASURY_RESERVE +
                AIRDROP_RESERVE +
                quantity <=
                MAX_SUPPLY,
            "Not enough supply!"
        );

        require(
            block.timestamp <= WHITE_LIST_START_TIME + WHITE_LIST_DURATION,
            "Public sale is over!"
        );

        require(msg.value >= (RESTING_PRICE * quantity), "Not enough ETH");

        uint8 remaining = getMintsRemaining(msg.sender);
        require(quantity <= remaining, "Cannot mint this many!");

        PUBLIC_MINTED += quantity;

        if (quantity == remaining) {
            minted[msg.sender] = -1;
        } else {
            minted[msg.sender] += int8(quantity);
        }

        _safeMint(msg.sender, quantity);
    }

    function mintGenZeroWL(uint16 quantity) public payable whenNotPaused {
        require(
            block.timestamp >= WHITE_LIST_START_TIME + WHITE_LIST_DURATION,
            "Public sale not over!"
        );

        require(
            block.timestamp <=
                WHITE_LIST_START_TIME + WHITE_LIST_DURATION + GEN0_DURATION,
            "Gen 0 claim is over!"
        );

        require(GEN0_MINTED + quantity <= GEN0_RESERVE, "Max Gen 0 minted!");
        require(genZeroList[msg.sender] >= quantity, "Over allocation!");

        genZeroList[msg.sender] -= quantity;
        GEN0_MINTED += quantity;
        _safeMint(msg.sender, quantity);
    }

    function airdrop(address[] calldata receivers) public onlyOwner {
        require(
            block.timestamp < WHITE_LIST_START_TIME,
            "Public sale started!"
        );

        for (uint256 i = 0; i < receivers.length; i++) {
            _safeMint(receivers[i], 1);
            AIRDROP_RESERVE++;
        }
    }

    function treasuryMint(address receiver) public onlyOwner {
        require(AIRDROP_RESERVE > 0, "Airdrop not done!");
        require(!TREASURY_MINT_DONE, "Treasury mint is already done!");

        TREASURY_MINT_DONE = true;
        _safeMint(receiver, TREASURY_RESERVE);
    }

    function mintExcessToTreasury(address receiver) public onlyOwner {
        require(
            block.timestamp >
                WHITE_LIST_START_TIME + WHITE_LIST_DURATION + GEN0_DURATION,
            "Sale not over!"
        );

        _safeMint(
            receiver,
            MAX_SUPPLY -
                (PUBLIC_MINTED +
                    GEN0_MINTED +
                    TREASURY_RESERVE +
                    AIRDROP_RESERVE)
        );
    }

    function withdrawFinalFunds() public onlyOwner {
        require(
            block.timestamp >
                WHITE_LIST_START_TIME + WHITE_LIST_DURATION + GEN0_DURATION,
            "Sale not over!"
        );

        uint256 finalFunds = address(this).balance;

        (bool succ, ) = payable(owner()).call{value: finalFunds}("");
        require(succ, "transfer failed");
    }

    function setGenZeroList(
        address[] calldata addresses,
        uint16[] calldata numAllowedToMint
    ) external onlyOwner {
        for (uint256 i = 0; i < addresses.length; i++) {
            genZeroList[addresses[i]] = numAllowedToMint[i];
            GEN0_RESERVE += numAllowedToMint[i];
        }
    }

    function setRevealData(
        bool _revealed,
        string memory _unrevealedURI,
        string memory _airdropURI
    ) public onlyOwner {
        REVEALED = _revealed;
        UNREVEALED_URI = _unrevealedURI;
        AIRDROP_URI = _airdropURI;
    }

    function setBaseURI(string memory baseURI) public onlyOwner {
        BASE_URI = baseURI;
    }

    function setWhiteListStartTime(uint256 _whiteListStartTime)
        public
        onlyOwner
    {
        require(
            block.timestamp < WHITE_LIST_START_TIME,
            "Public sale already started!"
        );
        WHITE_LIST_START_TIME = _whiteListStartTime;
    }

    function setGen0Duration(uint256 _gen0Duration) public onlyOwner {
        GEN0_DURATION = _gen0Duration;
    }

    function setWhiteListDuration(uint256 _whiteListDuration) public onlyOwner {
        WHITE_LIST_DURATION = _whiteListDuration;
    }

    function getMintsRemaining(address addr) public view returns (uint8) {
        if (
            PUBLIC_MINTED + GEN0_RESERVE + TREASURY_RESERVE + AIRDROP_RESERVE >=
            MAX_SUPPLY
        ) {
            return 0;
        }

        if (minted[addr] == -1) {
            return 0;
        }

        return MAX_MINT - uint8(minted[addr]);
    }

    function setProvenanceRecord(string calldata record) public onlyOwner {
        require(
            bytes(PROVENANCE_RECORD).length == 0,
            "Provenance already set!"
        );

        PROVENANCE_RECORD = record;
    }

    function tokenURI(uint256 _tokenId)
        public
        view
        override
        returns (string memory)
    {
        if (REVEALED) {
            return
                string(
                    abi.encodePacked(
                        BASE_URI,
                        Strings.toString(_tokenId),
                        ".json"
                    )
                );
        } else {
            if (_tokenId < AIRDROP_RESERVE) {
                return AIRDROP_URI;
            }

            return UNREVEALED_URI;
        }
    }

    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override whenNotPaused {
        require(!isBlacklist(msg.sender), "Contract blacklisted");
        super.transferFrom(from, to, tokenId);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override whenNotPaused {
        require(!isBlacklist(msg.sender), "Contract blacklisted");
        super.safeTransferFrom(from, to, tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 4 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @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 Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

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

    // The number of tokens burned.
    uint256 internal _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 _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    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();
        }
    }

    /**
     * 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 See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

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

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

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

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

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * 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) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // 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.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

    /**
     * @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, tokenId.toString())) : '';
    }

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

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

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

        _approve(to, tokenId, owner);
    }

    /**
     * @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 == _msgSender()) revert ApproveToCaller();

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract()) 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 && !_ownerships[tokenId].burned;
    }

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // 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 {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        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 {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

        // 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 {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        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 Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(
        address to,
        uint256 tokenId,
        address owner
    ) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @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 IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
            return retval == IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

File 5 of 13 : 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 6 of 13 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

File 7 of 13 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Compiler will pack this into a single 256bit word.
    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;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

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

File 8 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 11 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * 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);
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"AIRDROP_RESERVE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"AIRDROP_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"BASE_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN0_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN0_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"GEN0_RESERVE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_RECORD","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PUBLIC_MINTED","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESTING_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"REVEALED","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_MINT_DONE","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TREASURY_RESERVE","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UNREVEALED_URI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITE_LIST_DURATION","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITE_LIST_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"addBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"receivers","type":"address[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"genZeroList","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"getMintsRemaining","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"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":"isBlacklist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"mintExcessToTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint16","name":"quantity","type":"uint16"}],"name":"mintGenZeroWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint8","name":"quantity","type":"uint8"}],"name":"mintPublicWL","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minted","outputs":[{"internalType":"int8","name":"","type":"int8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"rmBlacklist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gen0Duration","type":"uint256"}],"name":"setGen0Duration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint16[]","name":"numAllowedToMint","type":"uint16[]"}],"name":"setGenZeroList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"record","type":"string"}],"name":"setProvenanceRecord","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_revealed","type":"bool"},{"internalType":"string","name":"_unrevealedURI","type":"string"},{"internalType":"string","name":"_airdropURI","type":"string"}],"name":"setRevealData","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_startTime","type":"uint256"}],"name":"setStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whiteListDuration","type":"uint256"}],"name":"setWhiteListDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_whiteListStartTime","type":"uint256"}],"name":"setWhiteListStartTime","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"treasuryMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawFinalFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6363276ab06009556203f480600a5562127500600b55600c805466ffffffffffffff1916603f1790556602738d24e52000600d55600e805466050000000015b366ff00000000ffff1990911617905560a060405260006080908152600f906200006990826200026a565b506040518060600160405280602b815260200162003fc8602b91396011906200009390826200026a565b5060405180606001604052806033815260200162003f9560339139601290620000bd90826200026a565b50348015620000cb57600080fd5b506040518060400160405280601581526020017f4d6963726f4275646479205761746572204265617200000000000000000000008152506040518060400160405280600481526020016326a12ba160e11b81525062000139620001336200017160201b60201c565b62000175565b6000805460ff60a01b1916905560036200015483826200026a565b5060046200016382826200026a565b505060006001555062000336565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620001f057607f821691505b6020821081036200021157634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200026557600081815260208120601f850160051c81016020861015620002405750805b601f850160051c820191505b8181101562000261578281556001016200024c565b5050505b505050565b81516001600160401b03811115620002865762000286620001c5565b6200029e81620002978454620001db565b8462000217565b602080601f831160018114620002d65760008415620002bd5750858301515b600019600386901b1c1916600185901b17855562000261565b600085815260208120601f198616915b828110156200030757888601518255948401946001909101908401620002e6565b5085821015620003265787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b613c4f80620003466000396000f3fe6080604052600436106103765760003560e01c8063729ad39e116101d1578063a76a958711610102578063cdacdf65116100a0578063e985e9c51161006f578063e985e9c514610a1f578063efb4031d14610a68578063f0292a0314610a7d578063f2fde38b14610aa157600080fd5b8063cdacdf65146109b2578063d0c7e173146109d5578063dbddb26a146109ea578063e2f03947146109ff57600080fd5b8063b88d4fde116100dc578063b88d4fde14610937578063c87b56dd14610957578063cb21eab014610977578063ccc1b80a1461099757600080fd5b8063a76a9587146108e7578063aa1e184114610901578063b5d08bef1461092157600080fd5b80638a1454351161016f57806398d5a5cb1161014957806398d5a5cb146108675780639cfe42da14610887578063a1e3e258146108a7578063a22cb465146108c757600080fd5b80638a1454351461081f5780638da5cb5b1461083457806395d89b411461085257600080fd5b80637bdb103f116101ab5780637bdb103f146107b357806382504d32146107c95780638456cb59146107e957806389b79014146107fe57600080fd5b8063729ad39e1461074157806374ee55511461076157806376573fb71461078257600080fd5b80633e0a322d116102ab5780635c975abb116102495780636352211e116102235780636352211e146106ba57806366ef58ed146106da57806370a082311461070c578063715018a61461072c57600080fd5b80635c975abb146106685780635dab9e4e1461068757806361c3f2f21461069a57600080fd5b806345adb8421161028557806345adb842146105fd5780634f7c63ec1461061d578063507862d11461063357806355f804b31461064857600080fd5b80633e0a322d146105a85780633f4ba83a146105c857806342842e0e146105dd57600080fd5b80631c2c758a1161031857806323b872dd116102f257806323b872dd146104fe57806332caf35e1461051e57806332cb6b0c14610554578063333e99db1461056f57600080fd5b80631c2c758a146104825780631e7269c5146104a6578063216464a3146104e857600080fd5b8063095ea7b311610354578063095ea7b31461040a57806310c8eaea1461042c578063145fa8901461043f57806318160ddd1461045f57600080fd5b806301ffc9a71461037b57806306fdde03146103b0578063081812fc146103d2575b600080fd5b34801561038757600080fd5b5061039b6103963660046131ec565b610ac1565b60405190151581526020015b60405180910390f35b3480156103bc57600080fd5b506103c5610ba6565b6040516103a79190613260565b3480156103de57600080fd5b506103f26103ed366004613273565b610c38565b6040516001600160a01b0390911681526020016103a7565b34801561041657600080fd5b5061042a6104253660046132a3565b610c95565b005b61042a61043a3660046132cd565b610d6a565b34801561044b57600080fd5b5061042a61045a366004613273565b61109a565b34801561046b57600080fd5b50600254600154035b6040519081526020016103a7565b34801561048e57600080fd5b50600c5461039b906601000000000000900460ff1681565b3480156104b257600080fd5b506104d56104c13660046132f0565b601460205260009081526040812054900b81565b60405160009190910b81526020016103a7565b3480156104f457600080fd5b5061047460095481565b34801561050a57600080fd5b5061042a61051936600461330b565b6110f9565b34801561052a57600080fd5b50600c5461054190640100000000900461ffff1681565b60405161ffff90911681526020016103a7565b34801561056057600080fd5b50600e546105419061ffff1681565b34801561057b57600080fd5b5061039b61058a3660046132f0565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156105b457600080fd5b5061042a6105c3366004613273565b6111be565b3480156105d457600080fd5b5061042a61121d565b3480156105e957600080fd5b5061042a6105f836600461330b565b611281565b34801561060957600080fd5b5061042a610618366004613393565b611346565b34801561062957600080fd5b50610474600d5481565b34801561063f57600080fd5b506103c56114c0565b34801561065457600080fd5b5061042a6106633660046134c4565b61154e565b34801561067457600080fd5b50600054600160a01b900460ff1661039b565b61042a6106953660046134f9565b6115b4565b3480156106a657600080fd5b5061042a6106b5366004613273565b61183d565b3480156106c657600080fd5b506103f26106d5366004613273565b61189c565b3480156106e657600080fd5b506106fa6106f53660046132f0565b6118ae565b60405160ff90911681526020016103a7565b34801561071857600080fd5b506104746107273660046132f0565b611968565b34801561073857600080fd5b5061042a6119d0565b34801561074d57600080fd5b5061042a61075c36600461351d565b611a34565b34801561076d57600080fd5b50600c546105419062010000900461ffff1681565b34801561078e57600080fd5b5061054161079d3660046132f0565b60156020526000908152604090205461ffff1681565b3480156107bf57600080fd5b50610474600a5481565b3480156107d557600080fd5b5061042a6107e436600461356f565b611b63565b3480156107f557600080fd5b5061042a611bea565b34801561080a57600080fd5b50600e546105419062010000900461ffff1681565b34801561082b57600080fd5b506103c5611c4c565b34801561084057600080fd5b506000546001600160a01b03166103f2565b34801561085e57600080fd5b506103c5611c59565b34801561087357600080fd5b5061042a6108823660046132f0565b611c68565b34801561089357600080fd5b5061042a6108a23660046132f0565b611ce3565b3480156108b357600080fd5b5061042a6108c23660046132f0565b611db5565b3480156108d357600080fd5b5061042a6108e23660046135e3565b611f07565b3480156108f357600080fd5b5060105461039b9060ff1681565b34801561090d57600080fd5b5061042a61091c3660046132f0565b611fb5565b34801561092d57600080fd5b50610474600b5481565b34801561094357600080fd5b5061042a610952366004613616565b6120dc565b34801561096357600080fd5b506103c5610972366004613273565b612139565b34801561098357600080fd5b5061042a610992366004613692565b612231565b3480156109a357600080fd5b50600c546105419061ffff1681565b3480156109be57600080fd5b50600e5461054190640100000000900461ffff1681565b3480156109e157600080fd5b506103c56122f4565b3480156109f657600080fd5b506103c5612301565b348015610a0b57600080fd5b5061042a610a1a366004613273565b61230e565b348015610a2b57600080fd5b5061039b610a3a366004613704565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610a7457600080fd5b5061042a6123b9565b348015610a8957600080fd5b50600e546106fa906601000000000000900460ff1681565b348015610aad57600080fd5b5061042a610abc3660046132f0565b612533565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b5457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ba057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060038054610bb59061372e565b80601f0160208091040260200160405190810160405280929190818152602001828054610be19061372e565b8015610c2e5780601f10610c0357610100808354040283529160200191610c2e565b820191906000526020600020905b815481529060010190602001808311610c1157829003601f168201915b5050505050905090565b6000610c4382612612565b610c79576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ca08261189c565b9050806001600160a01b0316836001600160a01b031603610ced576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614610d5a576001600160a01b038116600090815260086020908152604080832033845290915290205460ff16610d5a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d65838383612657565b505050565b600054600160a01b900460ff1615610dc95760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064015b60405180910390fd5b600954421015610e1b5760405162461bcd60e51b815260206004820152601860248201527f5075626c69632073616c65206e6f7420737461727465642100000000000000006044820152606401610dc0565b600e54600c5461ffff8083169260ff8516926201000080820484169382811693610e529364010000000090048216929004166137b0565b610e5c91906137b0565b610e6691906137b0565b610e7091906137b0565b61ffff161115610ec25760405162461bcd60e51b815260206004820152601260248201527f4e6f7420656e6f75676820737570706c792100000000000000000000000000006044820152606401610dc0565b600a54600954610ed291906137d2565b421115610f215760405162461bcd60e51b815260206004820152601460248201527f5075626c69632073616c65206973206f766572210000000000000000000000006044820152606401610dc0565b8060ff16600d54610f3291906137e5565b341015610f815760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610dc0565b6000610f8c336118ae565b90508060ff168260ff161115610fe45760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f74206d696e742074686973206d616e7921000000000000000000006044820152606401610dc0565b8160ff16600e60028282829054906101000a900461ffff1661100691906137b0565b92506101000a81548161ffff021916908361ffff1602179055508060ff168260ff160361104c57336000908152601460205260409020805460ff191660ff179055611089565b336000908152601460205260408120805484929061106d908490830b6137fc565b92506101000a81548160ff021916908360000b60ff1602179055505b611096338360ff166126cb565b5050565b6000546001600160a01b031633146110f45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600a55565b600054600160a01b900460ff16156111535760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b3360009081526016602052604090205460ff16156111b35760405162461bcd60e51b815260206004820152601460248201527f436f6e747261637420626c61636b6c69737465640000000000000000000000006044820152606401610dc0565b610d658383836126e5565b6000546001600160a01b031633146112185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600955565b6000546001600160a01b031633146112775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b61127f6126f0565b565b600054600160a01b900460ff16156112db5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b3360009081526016602052604090205460ff161561133b5760405162461bcd60e51b815260206004820152601460248201527f436f6e747261637420626c61636b6c69737465640000000000000000000000006044820152606401610dc0565b610d658383836127b1565b6000546001600160a01b031633146113a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b60005b838110156114b9578282828181106113bd576113bd61383b565b90506020020160208101906113d291906134f9565b601560008787858181106113e8576113e861383b565b90506020020160208101906113fd91906132f0565b6001600160a01b03168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff929092169190911790558282828181106114595761145961383b565b905060200201602081019061146e91906134f9565b600c805460049061148c908490640100000000900461ffff166137b0565b92506101000a81548161ffff021916908361ffff16021790555080806114b19061386a565b9150506113a3565b5050505050565b601180546114cd9061372e565b80601f01602080910402602001604051908101604052809291908181526020018280546114f99061372e565b80156115465780601f1061151b57610100808354040283529160200191611546565b820191906000526020600020905b81548152906001019060200180831161152957829003601f168201915b505050505081565b6000546001600160a01b031633146115a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b601361109682826138d2565b600054600160a01b900460ff161561160e5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b600a5460095461161e91906137d2565b42101561166d5760405162461bcd60e51b815260206004820152601560248201527f5075626c69632073616c65206e6f74206f7665722100000000000000000000006044820152606401610dc0565b600b54600a5460095461168091906137d2565b61168a91906137d2565b4211156116d95760405162461bcd60e51b815260206004820152601460248201527f47656e203020636c61696d206973206f766572210000000000000000000000006044820152606401610dc0565b600c54600e5461ffff640100000000928390048116926116fe928592919004166137b0565b61ffff1611156117505760405162461bcd60e51b815260206004820152601160248201527f4d61782047656e2030206d696e746564210000000000000000000000000000006044820152606401610dc0565b3360009081526015602052604090205461ffff808316911610156117b65760405162461bcd60e51b815260206004820152601060248201527f4f76657220616c6c6f636174696f6e21000000000000000000000000000000006044820152606401610dc0565b33600090815260156020526040812080548392906117d990849061ffff16613992565b92506101000a81548161ffff021916908361ffff16021790555080600e60048282829054906101000a900461ffff1661181291906137b0565b92506101000a81548161ffff021916908361ffff16021790555061183a338261ffff166126cb565b50565b6000546001600160a01b031633146118975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600b55565b60006118a7826127cc565b5192915050565b600e54600c5460009161ffff8082169262010000808204831693828416936118e4936401000000009004811692909104166137b0565b6118ee91906137b0565b6118f891906137b0565b61ffff161061190957506000919050565b6001600160a01b038216600090815260146020526040812054900b1961193157506000919050565b6001600160a01b038216600090815260146020526040812054600e54610ba0929190910b906601000000000000900460ff166139ad565b60006001600160a01b0382166119aa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314611a2a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b61127f6000612933565b6000546001600160a01b03163314611a8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6009544210611adf5760405162461bcd60e51b815260206004820152601460248201527f5075626c69632073616c652073746172746564210000000000000000000000006044820152606401610dc0565b60005b81811015610d6557611b1b838383818110611aff57611aff61383b565b9050602002016020810190611b1491906132f0565b60016126cb565b600c805462010000900461ffff16906002611b35836139c6565b91906101000a81548161ffff021916908361ffff160217905550508080611b5b9061386a565b915050611ae2565b6000546001600160a01b03163314611bbd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6010805460ff19168415151790556011611bd783826138d2565b506012611be482826138d2565b50505050565b6000546001600160a01b03163314611c445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b61127f61299b565b601280546114cd9061372e565b606060048054610bb59061372e565b6000546001600160a01b03163314611cc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6000546001600160a01b03163314611d3d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b803b63ffffffff16611d915760405162461bcd60e51b815260206004820152601560248201527f4e6f74206120736d61727420636f6e74726163742100000000000000000000006044820152606401610dc0565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6000546001600160a01b03163314611e0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600c5462010000900461ffff16611e685760405162461bcd60e51b815260206004820152601160248201527f41697264726f70206e6f7420646f6e65210000000000000000000000000000006044820152606401610dc0565b600c546601000000000000900460ff1615611ec55760405162461bcd60e51b815260206004820152601e60248201527f5472656173757279206d696e7420697320616c726561647920646f6e652100006044820152606401610dc0565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffff811666010000000000001790915561183a90829061ffff166126cb565b336001600160a01b03831603611f49576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461200f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600b54600a5460095461202291906137d2565b61202c91906137d2565b421161207a5760405162461bcd60e51b815260206004820152600e60248201527f53616c65206e6f74206f766572210000000000000000000000000000000000006044820152606401610dc0565b600c54600e5461183a91839161ffff620100008084048216938216926120ae926401000000008204811692909104166137b0565b6120b891906137b0565b6120c291906137b0565b600e546120d3919061ffff16613992565b61ffff166126cb565b6120e7848484612a4b565b6001600160a01b0383163b15611be45761210384848484612ce9565b611be4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105460609060ff161561217957601361215283612e38565b6040516020016121639291906139e7565b6040516020818303038152906040529050919050565b600c5462010000900461ffff1682101561221f576012805461219a9061372e565b80601f01602080910402602001604051908101604052809291908181526020018280546121c69061372e565b80156122135780601f106121e857610100808354040283529160200191612213565b820191906000526020600020905b8154815290600101906020018083116121f657829003601f168201915b50505050509050919050565b6011805461219a9061372e565b919050565b6000546001600160a01b0316331461228b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600f80546122989061372e565b1590506122e75760405162461bcd60e51b815260206004820152601760248201527f50726f76656e616e636520616c726561647920736574210000000000000000006044820152606401610dc0565b600f610d65828483613a96565b600f80546114cd9061372e565b601380546114cd9061372e565b6000546001600160a01b031633146123685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b60095442106112185760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c6520616c7265616479207374617274656421000000006044820152606401610dc0565b6000546001600160a01b031633146124135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600b54600a5460095461242691906137d2565b61243091906137d2565b421161247e5760405162461bcd60e51b815260206004820152600e60248201527f53616c65206e6f74206f766572210000000000000000000000000000000000006044820152606401610dc0565b4760006124936000546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146124dd576040519150601f19603f3d011682016040523d82523d6000602084013e6124e2565b606091505b50509050806110965760405162461bcd60e51b815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610dc0565b6000546001600160a01b0316331461258d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6001600160a01b0381166126095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610dc0565b61183a81612933565b600060015482108015610ba05750506000908152600560205260409020547c0100000000000000000000000000000000000000000000000000000000900460ff161590565b60008281526007602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611096828260405180602001604052806000815250612f6d565b610d65838383612a4b565b600054600160a01b900460ff166127495760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610dc0565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610d65838383604051806020016040528060008152506120dc565b60408051606081018252600080825260208201819052918101919091528160015481101561290157600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff16928201929092527c010000000000000000000000000000000000000000000000000000000090910460ff161515918101829052906128ff5780516001600160a01b03161561287c579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff16151592810192909252156128fa579392505050565b61287c565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600054600160a01b900460ff16156129f55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127943390565b6000612a56826127cc565b9050836001600160a01b031681600001516001600160a01b031614612aa7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b0386161480612ae357506001600160a01b038516600090815260086020908152604080832033845290915290205460ff165b80612afe575033612af384610c38565b6001600160a01b0316145b905080612b37576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416612b77576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b8360008487612657565b6001600160a01b03858116600090815260066020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000080821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080547fffffffff0000000000000000000000000000000000000000000000000000000016909417600160a01b42909216919091021783558701808452922080549193909116612ca0576001548214612ca0578054602086015167ffffffffffffffff16600160a01b027fffffffff000000000000000000000000000000000000000000000000000000009091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114b9565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290612d37903390899088908890600401613b56565b6020604051808303816000875af1925050508015612d72575060408051601f3d908101601f19168201909252612d6f91810190613b92565b60015b612de9573d808015612da0576040519150601f19603f3d011682016040523d82523d6000602084013e612da5565b606091505b508051600003612de1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b606081600003612e7b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ea55780612e8f8161386a565b9150612e9e9050600a83613bde565b9150612e7f565b60008167ffffffffffffffff811115612ec057612ec06133ff565b6040519080825280601f01601f191660200182016040528015612eea576020820181803683370190505b5090505b8415612e3057612eff600183613bf2565b9150612f0c600a86613c05565b612f179060306137d2565b60f81b818381518110612f2c57612f2c61383b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612f66600a86613bde565b9450612eee565b6001546001600160a01b038416612fb0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003612fea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416600081815260066020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168b018116918217680100000000000000007fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941690921783900481168b01811690920217909155858452600590925290912080547fffffffff00000000000000000000000000000000000000000000000000000000168317600160a01b42909316929092029190911790558190818501903b1561316a575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461311a6000878480600101955087612ce9565b613150576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106130cf57826001541461316557600080fd5b6131af565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061316b575b50600155611be4600085838684565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461183a57600080fd5b6000602082840312156131fe57600080fd5b8135613209816131be565b9392505050565b60005b8381101561322b578181015183820152602001613213565b50506000910152565b6000815180845261324c816020860160208601613210565b601f01601f19169290920160200192915050565b6020815260006132096020830184613234565b60006020828403121561328557600080fd5b5035919050565b80356001600160a01b038116811461222c57600080fd5b600080604083850312156132b657600080fd5b6132bf8361328c565b946020939093013593505050565b6000602082840312156132df57600080fd5b813560ff8116811461320957600080fd5b60006020828403121561330257600080fd5b6132098261328c565b60008060006060848603121561332057600080fd5b6133298461328c565b92506133376020850161328c565b9150604084013590509250925092565b60008083601f84011261335957600080fd5b50813567ffffffffffffffff81111561337157600080fd5b6020830191508360208260051b850101111561338c57600080fd5b9250929050565b600080600080604085870312156133a957600080fd5b843567ffffffffffffffff808211156133c157600080fd5b6133cd88838901613347565b909650945060208701359150808211156133e657600080fd5b506133f387828801613347565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115613449576134496133ff565b604051601f8501601f19908116603f01168101908282118183101715613471576134716133ff565b8160405280935085815286868601111561348a57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126134b557600080fd5b6132098383356020850161342e565b6000602082840312156134d657600080fd5b813567ffffffffffffffff8111156134ed57600080fd5b612e30848285016134a4565b60006020828403121561350b57600080fd5b813561ffff8116811461320957600080fd5b6000806020838503121561353057600080fd5b823567ffffffffffffffff81111561354757600080fd5b61355385828601613347565b90969095509350505050565b8035801515811461222c57600080fd5b60008060006060848603121561358457600080fd5b61358d8461355f565b9250602084013567ffffffffffffffff808211156135aa57600080fd5b6135b6878388016134a4565b935060408601359150808211156135cc57600080fd5b506135d9868287016134a4565b9150509250925092565b600080604083850312156135f657600080fd5b6135ff8361328c565b915061360d6020840161355f565b90509250929050565b6000806000806080858703121561362c57600080fd5b6136358561328c565b93506136436020860161328c565b925060408501359150606085013567ffffffffffffffff81111561366657600080fd5b8501601f8101871361367757600080fd5b6136868782356020840161342e565b91505092959194509250565b600080602083850312156136a557600080fd5b823567ffffffffffffffff808211156136bd57600080fd5b818501915085601f8301126136d157600080fd5b8135818111156136e057600080fd5b8660208285010111156136f257600080fd5b60209290920196919550909350505050565b6000806040838503121561371757600080fd5b6137208361328c565b915061360d6020840161328c565b600181811c9082168061374257607f821691505b60208210810361377b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff8181168382160190808211156137cb576137cb613781565b5092915050565b80820180821115610ba057610ba0613781565b8082028115828204841417610ba057610ba0613781565b600081810b9083900b01607f81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082121715610ba057610ba0613781565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000600019820361387d5761387d613781565b5060010190565b601f821115610d6557600081815260208120601f850160051c810160208610156138ab5750805b601f850160051c820191505b818110156138ca578281556001016138b7565b505050505050565b815167ffffffffffffffff8111156138ec576138ec6133ff565b613900816138fa845461372e565b84613884565b602080601f831160018114613935576000841561391d5750858301515b600019600386901b1c1916600185901b1785556138ca565b600085815260208120601f198616915b8281101561396457888601518255948401946001909101908401613945565b50858210156139825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61ffff8281168282160390808211156137cb576137cb613781565b60ff8281168282160390811115610ba057610ba0613781565b600061ffff8083168181036139dd576139dd613781565b6001019392505050565b60008084546139f58161372e565b60018281168015613a0d5760018114613a2257613a51565b60ff1984168752821515830287019450613a51565b8860005260208060002060005b85811015613a485781548a820152908401908201613a2f565b50505082870194505b505050508351613a65818360208801613210565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b67ffffffffffffffff831115613aae57613aae6133ff565b613ac283613abc835461372e565b83613884565b6000601f841160018114613af65760008515613ade5750838201355b600019600387901b1c1916600186901b1783556114b9565b600083815260209020601f19861690835b82811015613b275786850135825560209485019460019092019101613b07565b5086821015613b445760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613b886080830184613234565b9695505050505050565b600060208284031215613ba457600080fd5b8151613209816131be565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613bed57613bed613baf565b500490565b81810381811115610ba057610ba0613781565b600082613c1457613c14613baf565b50069056fea26469706673582212206edaff88120bf6ec0e663c085860de950df61ca30629f7a2c31a7b1a1cfafe3264736f6c6343000811003368747470733a2f2f6170692e6d6963726f627564646965732e696f2f61697264726f705f756e72657665616c65642e6a736f6e68747470733a2f2f6170692e6d6963726f627564646965732e696f2f756e72657665616c65642e6a736f6e

Deployed Bytecode

0x6080604052600436106103765760003560e01c8063729ad39e116101d1578063a76a958711610102578063cdacdf65116100a0578063e985e9c51161006f578063e985e9c514610a1f578063efb4031d14610a68578063f0292a0314610a7d578063f2fde38b14610aa157600080fd5b8063cdacdf65146109b2578063d0c7e173146109d5578063dbddb26a146109ea578063e2f03947146109ff57600080fd5b8063b88d4fde116100dc578063b88d4fde14610937578063c87b56dd14610957578063cb21eab014610977578063ccc1b80a1461099757600080fd5b8063a76a9587146108e7578063aa1e184114610901578063b5d08bef1461092157600080fd5b80638a1454351161016f57806398d5a5cb1161014957806398d5a5cb146108675780639cfe42da14610887578063a1e3e258146108a7578063a22cb465146108c757600080fd5b80638a1454351461081f5780638da5cb5b1461083457806395d89b411461085257600080fd5b80637bdb103f116101ab5780637bdb103f146107b357806382504d32146107c95780638456cb59146107e957806389b79014146107fe57600080fd5b8063729ad39e1461074157806374ee55511461076157806376573fb71461078257600080fd5b80633e0a322d116102ab5780635c975abb116102495780636352211e116102235780636352211e146106ba57806366ef58ed146106da57806370a082311461070c578063715018a61461072c57600080fd5b80635c975abb146106685780635dab9e4e1461068757806361c3f2f21461069a57600080fd5b806345adb8421161028557806345adb842146105fd5780634f7c63ec1461061d578063507862d11461063357806355f804b31461064857600080fd5b80633e0a322d146105a85780633f4ba83a146105c857806342842e0e146105dd57600080fd5b80631c2c758a1161031857806323b872dd116102f257806323b872dd146104fe57806332caf35e1461051e57806332cb6b0c14610554578063333e99db1461056f57600080fd5b80631c2c758a146104825780631e7269c5146104a6578063216464a3146104e857600080fd5b8063095ea7b311610354578063095ea7b31461040a57806310c8eaea1461042c578063145fa8901461043f57806318160ddd1461045f57600080fd5b806301ffc9a71461037b57806306fdde03146103b0578063081812fc146103d2575b600080fd5b34801561038757600080fd5b5061039b6103963660046131ec565b610ac1565b60405190151581526020015b60405180910390f35b3480156103bc57600080fd5b506103c5610ba6565b6040516103a79190613260565b3480156103de57600080fd5b506103f26103ed366004613273565b610c38565b6040516001600160a01b0390911681526020016103a7565b34801561041657600080fd5b5061042a6104253660046132a3565b610c95565b005b61042a61043a3660046132cd565b610d6a565b34801561044b57600080fd5b5061042a61045a366004613273565b61109a565b34801561046b57600080fd5b50600254600154035b6040519081526020016103a7565b34801561048e57600080fd5b50600c5461039b906601000000000000900460ff1681565b3480156104b257600080fd5b506104d56104c13660046132f0565b601460205260009081526040812054900b81565b60405160009190910b81526020016103a7565b3480156104f457600080fd5b5061047460095481565b34801561050a57600080fd5b5061042a61051936600461330b565b6110f9565b34801561052a57600080fd5b50600c5461054190640100000000900461ffff1681565b60405161ffff90911681526020016103a7565b34801561056057600080fd5b50600e546105419061ffff1681565b34801561057b57600080fd5b5061039b61058a3660046132f0565b6001600160a01b031660009081526016602052604090205460ff1690565b3480156105b457600080fd5b5061042a6105c3366004613273565b6111be565b3480156105d457600080fd5b5061042a61121d565b3480156105e957600080fd5b5061042a6105f836600461330b565b611281565b34801561060957600080fd5b5061042a610618366004613393565b611346565b34801561062957600080fd5b50610474600d5481565b34801561063f57600080fd5b506103c56114c0565b34801561065457600080fd5b5061042a6106633660046134c4565b61154e565b34801561067457600080fd5b50600054600160a01b900460ff1661039b565b61042a6106953660046134f9565b6115b4565b3480156106a657600080fd5b5061042a6106b5366004613273565b61183d565b3480156106c657600080fd5b506103f26106d5366004613273565b61189c565b3480156106e657600080fd5b506106fa6106f53660046132f0565b6118ae565b60405160ff90911681526020016103a7565b34801561071857600080fd5b506104746107273660046132f0565b611968565b34801561073857600080fd5b5061042a6119d0565b34801561074d57600080fd5b5061042a61075c36600461351d565b611a34565b34801561076d57600080fd5b50600c546105419062010000900461ffff1681565b34801561078e57600080fd5b5061054161079d3660046132f0565b60156020526000908152604090205461ffff1681565b3480156107bf57600080fd5b50610474600a5481565b3480156107d557600080fd5b5061042a6107e436600461356f565b611b63565b3480156107f557600080fd5b5061042a611bea565b34801561080a57600080fd5b50600e546105419062010000900461ffff1681565b34801561082b57600080fd5b506103c5611c4c565b34801561084057600080fd5b506000546001600160a01b03166103f2565b34801561085e57600080fd5b506103c5611c59565b34801561087357600080fd5b5061042a6108823660046132f0565b611c68565b34801561089357600080fd5b5061042a6108a23660046132f0565b611ce3565b3480156108b357600080fd5b5061042a6108c23660046132f0565b611db5565b3480156108d357600080fd5b5061042a6108e23660046135e3565b611f07565b3480156108f357600080fd5b5060105461039b9060ff1681565b34801561090d57600080fd5b5061042a61091c3660046132f0565b611fb5565b34801561092d57600080fd5b50610474600b5481565b34801561094357600080fd5b5061042a610952366004613616565b6120dc565b34801561096357600080fd5b506103c5610972366004613273565b612139565b34801561098357600080fd5b5061042a610992366004613692565b612231565b3480156109a357600080fd5b50600c546105419061ffff1681565b3480156109be57600080fd5b50600e5461054190640100000000900461ffff1681565b3480156109e157600080fd5b506103c56122f4565b3480156109f657600080fd5b506103c5612301565b348015610a0b57600080fd5b5061042a610a1a366004613273565b61230e565b348015610a2b57600080fd5b5061039b610a3a366004613704565b6001600160a01b03918216600090815260086020908152604080832093909416825291909152205460ff1690565b348015610a7457600080fd5b5061042a6123b9565b348015610a8957600080fd5b50600e546106fa906601000000000000900460ff1681565b348015610aad57600080fd5b5061042a610abc3660046132f0565b612533565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480610b5457507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610ba057507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b606060038054610bb59061372e565b80601f0160208091040260200160405190810160405280929190818152602001828054610be19061372e565b8015610c2e5780601f10610c0357610100808354040283529160200191610c2e565b820191906000526020600020905b815481529060010190602001808311610c1157829003601f168201915b5050505050905090565b6000610c4382612612565b610c79576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600760205260409020546001600160a01b031690565b6000610ca08261189c565b9050806001600160a01b0316836001600160a01b031603610ced576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b03821614610d5a576001600160a01b038116600090815260086020908152604080832033845290915290205460ff16610d5a576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d65838383612657565b505050565b600054600160a01b900460ff1615610dc95760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a207061757365640000000000000000000000000000000060448201526064015b60405180910390fd5b600954421015610e1b5760405162461bcd60e51b815260206004820152601860248201527f5075626c69632073616c65206e6f7420737461727465642100000000000000006044820152606401610dc0565b600e54600c5461ffff8083169260ff8516926201000080820484169382811693610e529364010000000090048216929004166137b0565b610e5c91906137b0565b610e6691906137b0565b610e7091906137b0565b61ffff161115610ec25760405162461bcd60e51b815260206004820152601260248201527f4e6f7420656e6f75676820737570706c792100000000000000000000000000006044820152606401610dc0565b600a54600954610ed291906137d2565b421115610f215760405162461bcd60e51b815260206004820152601460248201527f5075626c69632073616c65206973206f766572210000000000000000000000006044820152606401610dc0565b8060ff16600d54610f3291906137e5565b341015610f815760405162461bcd60e51b815260206004820152600e60248201527f4e6f7420656e6f756768204554480000000000000000000000000000000000006044820152606401610dc0565b6000610f8c336118ae565b90508060ff168260ff161115610fe45760405162461bcd60e51b815260206004820152601660248201527f43616e6e6f74206d696e742074686973206d616e7921000000000000000000006044820152606401610dc0565b8160ff16600e60028282829054906101000a900461ffff1661100691906137b0565b92506101000a81548161ffff021916908361ffff1602179055508060ff168260ff160361104c57336000908152601460205260409020805460ff191660ff179055611089565b336000908152601460205260408120805484929061106d908490830b6137fc565b92506101000a81548160ff021916908360000b60ff1602179055505b611096338360ff166126cb565b5050565b6000546001600160a01b031633146110f45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600a55565b600054600160a01b900460ff16156111535760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b3360009081526016602052604090205460ff16156111b35760405162461bcd60e51b815260206004820152601460248201527f436f6e747261637420626c61636b6c69737465640000000000000000000000006044820152606401610dc0565b610d658383836126e5565b6000546001600160a01b031633146112185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600955565b6000546001600160a01b031633146112775760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b61127f6126f0565b565b600054600160a01b900460ff16156112db5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b3360009081526016602052604090205460ff161561133b5760405162461bcd60e51b815260206004820152601460248201527f436f6e747261637420626c61636b6c69737465640000000000000000000000006044820152606401610dc0565b610d658383836127b1565b6000546001600160a01b031633146113a05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b60005b838110156114b9578282828181106113bd576113bd61383b565b90506020020160208101906113d291906134f9565b601560008787858181106113e8576113e861383b565b90506020020160208101906113fd91906132f0565b6001600160a01b03168152602081019190915260400160002080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff929092169190911790558282828181106114595761145961383b565b905060200201602081019061146e91906134f9565b600c805460049061148c908490640100000000900461ffff166137b0565b92506101000a81548161ffff021916908361ffff16021790555080806114b19061386a565b9150506113a3565b5050505050565b601180546114cd9061372e565b80601f01602080910402602001604051908101604052809291908181526020018280546114f99061372e565b80156115465780601f1061151b57610100808354040283529160200191611546565b820191906000526020600020905b81548152906001019060200180831161152957829003601f168201915b505050505081565b6000546001600160a01b031633146115a85760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b601361109682826138d2565b600054600160a01b900460ff161561160e5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b600a5460095461161e91906137d2565b42101561166d5760405162461bcd60e51b815260206004820152601560248201527f5075626c69632073616c65206e6f74206f7665722100000000000000000000006044820152606401610dc0565b600b54600a5460095461168091906137d2565b61168a91906137d2565b4211156116d95760405162461bcd60e51b815260206004820152601460248201527f47656e203020636c61696d206973206f766572210000000000000000000000006044820152606401610dc0565b600c54600e5461ffff640100000000928390048116926116fe928592919004166137b0565b61ffff1611156117505760405162461bcd60e51b815260206004820152601160248201527f4d61782047656e2030206d696e746564210000000000000000000000000000006044820152606401610dc0565b3360009081526015602052604090205461ffff808316911610156117b65760405162461bcd60e51b815260206004820152601060248201527f4f76657220616c6c6f636174696f6e21000000000000000000000000000000006044820152606401610dc0565b33600090815260156020526040812080548392906117d990849061ffff16613992565b92506101000a81548161ffff021916908361ffff16021790555080600e60048282829054906101000a900461ffff1661181291906137b0565b92506101000a81548161ffff021916908361ffff16021790555061183a338261ffff166126cb565b50565b6000546001600160a01b031633146118975760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600b55565b60006118a7826127cc565b5192915050565b600e54600c5460009161ffff8082169262010000808204831693828416936118e4936401000000009004811692909104166137b0565b6118ee91906137b0565b6118f891906137b0565b61ffff161061190957506000919050565b6001600160a01b038216600090815260146020526040812054900b1961193157506000919050565b6001600160a01b038216600090815260146020526040812054600e54610ba0929190910b906601000000000000900460ff166139ad565b60006001600160a01b0382166119aa576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526006602052604090205467ffffffffffffffff1690565b6000546001600160a01b03163314611a2a5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b61127f6000612933565b6000546001600160a01b03163314611a8e5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6009544210611adf5760405162461bcd60e51b815260206004820152601460248201527f5075626c69632073616c652073746172746564210000000000000000000000006044820152606401610dc0565b60005b81811015610d6557611b1b838383818110611aff57611aff61383b565b9050602002016020810190611b1491906132f0565b60016126cb565b600c805462010000900461ffff16906002611b35836139c6565b91906101000a81548161ffff021916908361ffff160217905550508080611b5b9061386a565b915050611ae2565b6000546001600160a01b03163314611bbd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6010805460ff19168415151790556011611bd783826138d2565b506012611be482826138d2565b50505050565b6000546001600160a01b03163314611c445760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b61127f61299b565b601280546114cd9061372e565b606060048054610bb59061372e565b6000546001600160a01b03163314611cc25760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6001600160a01b03166000908152601660205260409020805460ff19169055565b6000546001600160a01b03163314611d3d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b803b63ffffffff16611d915760405162461bcd60e51b815260206004820152601560248201527f4e6f74206120736d61727420636f6e74726163742100000000000000000000006044820152606401610dc0565b6001600160a01b03166000908152601660205260409020805460ff19166001179055565b6000546001600160a01b03163314611e0f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600c5462010000900461ffff16611e685760405162461bcd60e51b815260206004820152601160248201527f41697264726f70206e6f7420646f6e65210000000000000000000000000000006044820152606401610dc0565b600c546601000000000000900460ff1615611ec55760405162461bcd60e51b815260206004820152601e60248201527f5472656173757279206d696e7420697320616c726561647920646f6e652100006044820152606401610dc0565b600c80547fffffffffffffffffffffffffffffffffffffffffffffffffff00ffffffffffff811666010000000000001790915561183a90829061ffff166126cb565b336001600160a01b03831603611f49576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526008602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000546001600160a01b0316331461200f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600b54600a5460095461202291906137d2565b61202c91906137d2565b421161207a5760405162461bcd60e51b815260206004820152600e60248201527f53616c65206e6f74206f766572210000000000000000000000000000000000006044820152606401610dc0565b600c54600e5461183a91839161ffff620100008084048216938216926120ae926401000000008204811692909104166137b0565b6120b891906137b0565b6120c291906137b0565b600e546120d3919061ffff16613992565b61ffff166126cb565b6120e7848484612a4b565b6001600160a01b0383163b15611be45761210384848484612ce9565b611be4576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60105460609060ff161561217957601361215283612e38565b6040516020016121639291906139e7565b6040516020818303038152906040529050919050565b600c5462010000900461ffff1682101561221f576012805461219a9061372e565b80601f01602080910402602001604051908101604052809291908181526020018280546121c69061372e565b80156122135780601f106121e857610100808354040283529160200191612213565b820191906000526020600020905b8154815290600101906020018083116121f657829003601f168201915b50505050509050919050565b6011805461219a9061372e565b919050565b6000546001600160a01b0316331461228b5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600f80546122989061372e565b1590506122e75760405162461bcd60e51b815260206004820152601760248201527f50726f76656e616e636520616c726561647920736574210000000000000000006044820152606401610dc0565b600f610d65828483613a96565b600f80546114cd9061372e565b601380546114cd9061372e565b6000546001600160a01b031633146123685760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b60095442106112185760405162461bcd60e51b815260206004820152601c60248201527f5075626c69632073616c6520616c7265616479207374617274656421000000006044820152606401610dc0565b6000546001600160a01b031633146124135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b600b54600a5460095461242691906137d2565b61243091906137d2565b421161247e5760405162461bcd60e51b815260206004820152600e60248201527f53616c65206e6f74206f766572210000000000000000000000000000000000006044820152606401610dc0565b4760006124936000546001600160a01b031690565b6001600160a01b03168260405160006040518083038185875af1925050503d80600081146124dd576040519150601f19603f3d011682016040523d82523d6000602084013e6124e2565b606091505b50509050806110965760405162461bcd60e51b815260206004820152600f60248201527f7472616e73666572206661696c656400000000000000000000000000000000006044820152606401610dc0565b6000546001600160a01b0316331461258d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dc0565b6001600160a01b0381166126095760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610dc0565b61183a81612933565b600060015482108015610ba05750506000908152600560205260409020547c0100000000000000000000000000000000000000000000000000000000900460ff161590565b60008281526007602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b611096828260405180602001604052806000815250612f6d565b610d65838383612a4b565b600054600160a01b900460ff166127495760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610dc0565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b610d65838383604051806020016040528060008152506120dc565b60408051606081018252600080825260208201819052918101919091528160015481101561290157600081815260056020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff16928201929092527c010000000000000000000000000000000000000000000000000000000090910460ff161515918101829052906128ff5780516001600160a01b03161561287c579392505050565b5060001901600081815260056020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff16938301939093527c0100000000000000000000000000000000000000000000000000000000900460ff16151592810192909252156128fa579392505050565b61287c565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600054600160a01b900460ff16156129f55760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610dc0565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586127943390565b6000612a56826127cc565b9050836001600160a01b031681600001516001600160a01b031614612aa7576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b0386161480612ae357506001600160a01b038516600090815260086020908152604080832033845290915290205460ff165b80612afe575033612af384610c38565b6001600160a01b0316145b905080612b37576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416612b77576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612b8360008487612657565b6001600160a01b03858116600090815260066020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000080821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600590945282852080547fffffffff0000000000000000000000000000000000000000000000000000000016909417600160a01b42909216919091021783558701808452922080549193909116612ca0576001548214612ca0578054602086015167ffffffffffffffff16600160a01b027fffffffff000000000000000000000000000000000000000000000000000000009091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46114b9565b6040517f150b7a020000000000000000000000000000000000000000000000000000000081526000906001600160a01b0385169063150b7a0290612d37903390899088908890600401613b56565b6020604051808303816000875af1925050508015612d72575060408051601f3d908101601f19168201909252612d6f91810190613b92565b60015b612de9573d808015612da0576040519150601f19603f3d011682016040523d82523d6000602084013e612da5565b606091505b508051600003612de1576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490505b949350505050565b606081600003612e7b57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115612ea55780612e8f8161386a565b9150612e9e9050600a83613bde565b9150612e7f565b60008167ffffffffffffffff811115612ec057612ec06133ff565b6040519080825280601f01601f191660200182016040528015612eea576020820181803683370190505b5090505b8415612e3057612eff600183613bf2565b9150612f0c600a86613c05565b612f179060306137d2565b60f81b818381518110612f2c57612f2c61383b565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350612f66600a86613bde565b9450612eee565b6001546001600160a01b038416612fb0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82600003612fea576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416600081815260066020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168b018116918217680100000000000000007fffffffffffffffffffffffffffffffffffffffffffffffff000000000000000090941690921783900481168b01811690920217909155858452600590925290912080547fffffffff00000000000000000000000000000000000000000000000000000000168317600160a01b42909316929092029190911790558190818501903b1561316a575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461311a6000878480600101955087612ce9565b613150576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8082106130cf57826001541461316557600080fd5b6131af565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821061316b575b50600155611be4600085838684565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461183a57600080fd5b6000602082840312156131fe57600080fd5b8135613209816131be565b9392505050565b60005b8381101561322b578181015183820152602001613213565b50506000910152565b6000815180845261324c816020860160208601613210565b601f01601f19169290920160200192915050565b6020815260006132096020830184613234565b60006020828403121561328557600080fd5b5035919050565b80356001600160a01b038116811461222c57600080fd5b600080604083850312156132b657600080fd5b6132bf8361328c565b946020939093013593505050565b6000602082840312156132df57600080fd5b813560ff8116811461320957600080fd5b60006020828403121561330257600080fd5b6132098261328c565b60008060006060848603121561332057600080fd5b6133298461328c565b92506133376020850161328c565b9150604084013590509250925092565b60008083601f84011261335957600080fd5b50813567ffffffffffffffff81111561337157600080fd5b6020830191508360208260051b850101111561338c57600080fd5b9250929050565b600080600080604085870312156133a957600080fd5b843567ffffffffffffffff808211156133c157600080fd5b6133cd88838901613347565b909650945060208701359150808211156133e657600080fd5b506133f387828801613347565b95989497509550505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600067ffffffffffffffff80841115613449576134496133ff565b604051601f8501601f19908116603f01168101908282118183101715613471576134716133ff565b8160405280935085815286868601111561348a57600080fd5b858560208301376000602087830101525050509392505050565b600082601f8301126134b557600080fd5b6132098383356020850161342e565b6000602082840312156134d657600080fd5b813567ffffffffffffffff8111156134ed57600080fd5b612e30848285016134a4565b60006020828403121561350b57600080fd5b813561ffff8116811461320957600080fd5b6000806020838503121561353057600080fd5b823567ffffffffffffffff81111561354757600080fd5b61355385828601613347565b90969095509350505050565b8035801515811461222c57600080fd5b60008060006060848603121561358457600080fd5b61358d8461355f565b9250602084013567ffffffffffffffff808211156135aa57600080fd5b6135b6878388016134a4565b935060408601359150808211156135cc57600080fd5b506135d9868287016134a4565b9150509250925092565b600080604083850312156135f657600080fd5b6135ff8361328c565b915061360d6020840161355f565b90509250929050565b6000806000806080858703121561362c57600080fd5b6136358561328c565b93506136436020860161328c565b925060408501359150606085013567ffffffffffffffff81111561366657600080fd5b8501601f8101871361367757600080fd5b6136868782356020840161342e565b91505092959194509250565b600080602083850312156136a557600080fd5b823567ffffffffffffffff808211156136bd57600080fd5b818501915085601f8301126136d157600080fd5b8135818111156136e057600080fd5b8660208285010111156136f257600080fd5b60209290920196919550909350505050565b6000806040838503121561371757600080fd5b6137208361328c565b915061360d6020840161328c565b600181811c9082168061374257607f821691505b60208210810361377b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b61ffff8181168382160190808211156137cb576137cb613781565b5092915050565b80820180821115610ba057610ba0613781565b8082028115828204841417610ba057610ba0613781565b600081810b9083900b01607f81137fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8082121715610ba057610ba0613781565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000600019820361387d5761387d613781565b5060010190565b601f821115610d6557600081815260208120601f850160051c810160208610156138ab5750805b601f850160051c820191505b818110156138ca578281556001016138b7565b505050505050565b815167ffffffffffffffff8111156138ec576138ec6133ff565b613900816138fa845461372e565b84613884565b602080601f831160018114613935576000841561391d5750858301515b600019600386901b1c1916600185901b1785556138ca565b600085815260208120601f198616915b8281101561396457888601518255948401946001909101908401613945565b50858210156139825787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61ffff8281168282160390808211156137cb576137cb613781565b60ff8281168282160390811115610ba057610ba0613781565b600061ffff8083168181036139dd576139dd613781565b6001019392505050565b60008084546139f58161372e565b60018281168015613a0d5760018114613a2257613a51565b60ff1984168752821515830287019450613a51565b8860005260208060002060005b85811015613a485781548a820152908401908201613a2f565b50505082870194505b505050508351613a65818360208801613210565b7f2e6a736f6e0000000000000000000000000000000000000000000000000000009101908152600501949350505050565b67ffffffffffffffff831115613aae57613aae6133ff565b613ac283613abc835461372e565b83613884565b6000601f841160018114613af65760008515613ade5750838201355b600019600387901b1c1916600186901b1783556114b9565b600083815260209020601f19861690835b82811015613b275786850135825560209485019460019092019101613b07565b5086821015613b445760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152613b886080830184613234565b9695505050505050565b600060208284031215613ba457600080fd5b8151613209816131be565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082613bed57613bed613baf565b500490565b81810381811115610ba057610ba0613781565b600082613c1457613c14613baf565b50069056fea26469706673582212206edaff88120bf6ec0e663c085860de950df61ca30629f7a2c31a7b1a1cfafe3264736f6c63430008110033

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.