ETH Price: $3,155.42 (+1.40%)

Token

Infected Degens (DEGENS)
 

Overview

Max Total Supply

1,000 DEGENS

Holders

207

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
5 DEGENS
0xa93903f3e321a3ef58ee707daa0cdecbcd9d3135
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:
InfectedDegens

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

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

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

contract InfectedDegens is ERC721A, Ownable {
    bool public isMintActive = false;

    uint256 public price         = 0 ether;
    uint256 public maxSupply     = 1000;
    uint256 public maxMintsPerTx = 5;
    uint256 public maxMintsTotal = 5;

    string internal _baseTokenURI;

    bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;
    uint256 private _royaltyAmount = 1000; // 10%

    address public aMulti = 0x4e1456eed1729d977Cec20221DE684812a4347e9;

    struct Whitelist {
        bool isActive;
        uint256 price;
        uint256 maxMints;
        bytes32 merkleRoot;
    }

    Whitelist[] internal _whitelists;

    mapping(uint256 => mapping(address => uint256)) internal _whitelistsMints;

    constructor(string memory baseTokenURI) ERC721A("Infected Degens", "DEGENS") {
        _baseTokenURI = baseTokenURI;
    }


    //----------------------------------------
    // Mint / Ownership (public)
    //----------------------------------------

    function tokensOf(address _owner) public view returns (uint256[] memory) {
        uint256[] memory tokens = new uint256[](balanceOf(_owner));
        uint256 ctr = 0;
        for (uint256 i = 0; i < totalSupply(); i++) {
            if (ownerOf(i) == _owner) {
                tokens[ctr] = i;
                ctr++;
            }
        }
        return tokens;
    }

    function numberMintedOf(address _owner) public view returns (uint256) {
        return _numberMinted(_owner);
    }

    function mint(uint256 qty) external payable {
        require(isMintActive, "Mint isn't active");
        require(_numberMinted(msg.sender) + qty <= maxMintsTotal, "Exceeds mint limit");
        require(qty <= maxMintsPerTx && qty > 0, "Qty of mints not allowed");
        require(qty + totalSupply() <= maxSupply, "Exceeds total supply");
        require(msg.value == price * qty, "Invalid value");

        _safeMint(msg.sender, qty);
    }

    function mintWhitelist(uint256 whitelistIndex, uint256 qty, bytes32[] calldata merkleProof) external payable {
        Whitelist memory wl = _whitelists[whitelistIndex];

        require(wl.isActive, "Whitelist isn't active");
        require(_numberMinted(msg.sender) + qty <= maxMintsTotal, "Exceeds mint limit");
        require(qty <= maxMintsPerTx && qty > 0, "Qty of mints not allowed");
        require(qty + totalSupply() <= maxSupply, "Exceeds total supply");
        require(msg.value == wl.price * qty, "Invalid value");
        require(_whitelistsMints[whitelistIndex][msg.sender] + qty <= wl.maxMints, "Exceeds whitelist mint limit");

        require(MerkleProof.verify(
                merkleProof,
                wl.merkleRoot,
                keccak256(abi.encodePacked(msg.sender))
            ), "Criteria not on the whitelist");

        _safeMint(msg.sender, qty);
        _whitelistsMints[whitelistIndex][msg.sender] += qty;
    }


    //----------------------------------------
    // Whitelist (public)
    //----------------------------------------

    function whitelists() public view returns (Whitelist[] memory) {
        return _whitelists;
    }

    function whitelistMintsOf(uint256 whitelistIndex, address minterAddress) public view returns (uint256) {
        return _whitelistsMints[whitelistIndex][minterAddress];
    }

    function whitelistValidateMerkleProof(uint256 whitelistIndex, address minterAddress, bytes32[] calldata merkleProof) public view returns (bool) {
        Whitelist memory wl = _whitelists[whitelistIndex];

        return MerkleProof.verify(
            merkleProof,
            wl.merkleRoot,
            keccak256(abi.encodePacked(minterAddress))
        );
    }


    //----------------------------------------
    // Royalty (public)
    //----------------------------------------

    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view returns (address receiver, uint256 royaltyAmount) {
        return (aMulti, ((_salePrice * _royaltyAmount) / 10000));
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC721A) returns (bool) {
        if (interfaceId == _INTERFACE_ID_ERC2981) {
            return true;
        }
        return super.supportsInterface(interfaceId);
    }


    //----------------------------------------
    // Misc (owner)
    //----------------------------------------

    function getBaseTokenURI() public view onlyOwner returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseTokenURI(string calldata uri) external onlyOwner {
        _baseTokenURI = uri;
    }

    function setPrice(uint256 newPrice) external onlyOwner {
        price = newPrice;
    }

    function setMaxSupply(uint256 newSupply) external onlyOwner {
        maxSupply = newSupply;
    }

    function toggleMintActive() external onlyOwner {
        isMintActive = !isMintActive;
    }

    function setMaxMintsPerTx(uint256 newMax) external onlyOwner {
        maxMintsPerTx = newMax;
    }

    function setMaxMintsTotal(uint256 newMax) external onlyOwner {
        maxMintsTotal = newMax;
    }

    // Mint
    function giveaway(address[] calldata adds, uint256 qty) external onlyOwner {
        uint256 minted = totalSupply();

        require((adds.length * qty) + minted <= maxSupply, "Value exceeds total supply");

        for (uint256 i = 0; i < adds.length; i++) {
            _safeMint(adds[i], qty);
        }
    }

    // Whitelist
    function whitelistCreate(bool isActive, uint256 whitelistPrice, uint256 whitelistMaxMints, bytes32 merkleRoot) external onlyOwner {
        Whitelist storage whitelist = _whitelists.push();

        whitelist.isActive = isActive;
        whitelist.price = whitelistPrice;
        whitelist.maxMints = whitelistMaxMints;
        whitelist.merkleRoot = merkleRoot;
    }

    function whitelistToggleActive(uint256 whitelistIndex) external onlyOwner {
        _whitelists[whitelistIndex].isActive = !_whitelists[whitelistIndex].isActive;
    }

    function whitelistSetPrice(uint256 whitelistIndex, uint256 newPrice) external onlyOwner {
        _whitelists[whitelistIndex].price = newPrice;
    }

    function whitelistSetMaxMints(uint256 whitelistIndex, uint256 maxMints) external onlyOwner {
        _whitelists[whitelistIndex].maxMints = maxMints;
    }

    function whitelistSetMerkleRoot(uint256 whitelistIndex, bytes32 merkleRoot) external onlyOwner {
        _whitelists[whitelistIndex].merkleRoot = merkleRoot;
    }

    // Withdraw
    function withdrawTeam() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);

        _widthdraw(aMulti, address(this).balance);
    }

    function emergencyWithdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        require(balance > 0);

        payable(aMulti).transfer(balance);
    }


    //----------------------------------------
    // Internal
    //----------------------------------------

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

    function _widthdraw(address _address, uint256 _amount) private {
        (bool success, ) = _address.call{value: _amount}("");
        require(success, "Transfer failed.");
    }

}

File 2 of 11 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant BITPOS_NEXT_INITIALIZED = 225;

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

    // The bit position of `extraData` in packed ownership.
    uint256 private constant BITPOS_EXTRA_DATA = 232;

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

    // Mapping from token ID to approved address.
    mapping(uint256 => address) private _tokenApprovals;

    // Mapping from owner to operator approvals
    mapping(address => mapping(address => bool)) private _operatorApprovals;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-name}.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev See {IERC721Metadata-symbol}.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
        _startTokenId() <= tokenId &&
        tokenId < _currentIndex && // If within bounds,
        _packedOwnerships[tokenId] & BITMASK_BURNED == 0; // and not burned.
    }

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

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

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

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

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
    unchecked {
        // Updates:
        // - `balance += quantity`.
        // - `numberMinted += quantity`.
        //
        // We can directly add to the `balance` and `numberMinted`.
        _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

        // Updates:
        // - `address` to the owner.
        // - `startTimestamp` to the timestamp of minting.
        // - `burned` to `false`.
        // - `nextInitialized` to `quantity == 1`.
        _packedOwnerships[startTokenId] = _packOwnershipData(
            to,
            _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
        );

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

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

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

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
    unchecked {
        // Updates:
        // - `balance += quantity`.
        // - `numberMinted += quantity`.
        //
        // We can directly add to the `balance` and `numberMinted`.
        _packedAddressData[to] += quantity * ((1 << BITPOS_NUMBER_MINTED) | 1);

        // Updates:
        // - `address` to the owner.
        // - `startTimestamp` to the timestamp of minting.
        // - `burned` to `false`.
        // - `nextInitialized` to `quantity == 1`.
        _packedOwnerships[startTokenId] = _packOwnershipData(
            to,
            _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
        );

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

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

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

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

        // Updates:
        // - `address` to the next owner.
        // - `startTimestamp` to the timestamp of transfering.
        // - `burned` to `false`.
        // - `nextInitialized` to `true`.
        _packedOwnerships[tokenId] = _packOwnershipData(
            to,
            BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
        );

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

        // Updates:
        // - `address` to the last owner.
        // - `startTimestamp` to the timestamp of burning.
        // - `burned` to `true`.
        // - `nextInitialized` to `true`.
        _packedOwnerships[tokenId] = _packOwnershipData(
            from,
            (BITMASK_BURNED | BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
        );

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

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

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

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkContractOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        try ERC721A__IERC721Receiver(to).onERC721Received(_msgSenderERC721A(), from, tokenId, _data) returns (
            bytes4 retval
        ) {
            return retval == ERC721A__IERC721Receiver(to).onERC721Received.selector;
        } catch (bytes memory reason) {
            if (reason.length == 0) {
                revert TransferToNonERC721ReceiverImplementer();
            } else {
                assembly {
                    revert(add(32, reason), mload(reason))
                }
            }
        }
    }

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

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

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

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

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

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

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

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

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

            let length := sub(end, ptr)
        // Move the pointer 32 bytes leftwards to make room for the length.
            ptr := sub(ptr, 32)
        // Store the length.
            mstore(ptr, length)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 11 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 5 of 11 : 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 11 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + totalReleased();
        uint256 payment = _pendingPayment(account, totalReceived, released(account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] += payment;
        _totalReleased += payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of `token` tokens they are owed, according to their
     * percentage of the total shares and their previous withdrawals. `token` must be the address of an IERC20
     * contract.
     */
    function release(IERC20 token, address account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 7 of 11 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.1.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

struct TokenOwnership {
// The address of the owner.
address addr;
// Keeps track of the start time of ownership with minimal overhead for tokenomics.
uint64 startTimestamp;
// Whether the token has been burned.
bool burned;
// Arbitrary data similar to `startTimestamp` that can be set through `_extraData`.
uint24 extraData;
}

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

// ==============================
//            IERC165
// ==============================

/**
 * @dev Returns true if this contract implements the interface defined by
 * `interfaceId`. See the corresponding
 * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
 * to learn more about how these ids are created.
 *
 * This function call must use less than 30 000 gas.
 */
function supportsInterface(bytes4 interfaceId) external view returns (bool);

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

/**
 * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
 */
event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 8 of 11 : 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 9 of 11 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 10 of 11 : 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 11 of 11 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"baseTokenURI","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"aMulti","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBaseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"adds","type":"address[]"},{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"giveaway","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintsTotal","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"qty","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"uint256","name":"qty","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintWhitelist","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"numberMintedOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"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":"uri","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxMintsPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newMax","type":"uint256"}],"name":"setMaxMintsTotal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"toggleMintActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"tokensOf","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"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":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"whitelistPrice","type":"uint256"},{"internalType":"uint256","name":"whitelistMaxMints","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"whitelistCreate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"address","name":"minterAddress","type":"address"}],"name":"whitelistMintsOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"uint256","name":"maxMints","type":"uint256"}],"name":"whitelistSetMaxMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"whitelistSetMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"whitelistSetPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"}],"name":"whitelistToggleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"whitelistIndex","type":"uint256"},{"internalType":"address","name":"minterAddress","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"whitelistValidateMerkleProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelists","outputs":[{"components":[{"internalType":"bool","name":"isActive","type":"bool"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxMints","type":"uint256"},{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"internalType":"struct InfectedDegens.Whitelist[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTeam","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526000600860146101000a81548160ff02191690831515021790555060006009556103e8600a556005600b556005600c556103e8600e55734e1456eed1729d977cec20221de684812a4347e9600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055503480156200009c57600080fd5b5060405162005129380380620051298339818101604052810190620000c29190620003ad565b6040518060400160405280600f81526020017f496e66656374656420446567656e7300000000000000000000000000000000008152506040518060400160405280600681526020017f444547454e5300000000000000000000000000000000000000000000000000008152508160029080519060200190620001469291906200028b565b5080600390805190602001906200015f9291906200028b565b5062000170620001b860201b60201c565b6000819055505050620001986200018c620001bd60201b60201c565b620001c560201b60201c565b80600d9080519060200190620001b09291906200028b565b505062000562565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002999062000487565b90600052602060002090601f016020900481019282620002bd576000855562000309565b82601f10620002d857805160ff191683800117855562000309565b8280016001018555821562000309579182015b8281111562000308578251825591602001919060010190620002eb565b5b5090506200031891906200031c565b5090565b5b80821115620003375760008160009055506001016200031d565b5090565b6000620003526200034c846200041b565b620003f2565b9050828152602081018484840111156200036b57600080fd5b6200037884828562000451565b509392505050565b600082601f8301126200039257600080fd5b8151620003a48482602086016200033b565b91505092915050565b600060208284031215620003c057600080fd5b600082015167ffffffffffffffff811115620003db57600080fd5b620003e98482850162000380565b91505092915050565b6000620003fe62000411565b90506200040c8282620004bd565b919050565b6000604051905090565b600067ffffffffffffffff82111562000439576200043862000522565b5b620004448262000551565b9050602081019050919050565b60005b838110156200047157808201518184015260208101905062000454565b8381111562000481576000848401525b50505050565b60006002820490506001821680620004a057607f821691505b60208210811415620004b757620004b6620004f3565b5b50919050565b620004c88262000551565b810181811067ffffffffffffffff82111715620004ea57620004e962000522565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b614bb780620005726000396000f3fe60806040526004361061027d5760003560e01c806391b7f5ed1161014f578063d02c2bf2116100c1578063e985e9c51161007a578063e985e9c514610960578063ee2f4a741461099d578063ee493824146109da578063ee65212b146109f6578063f2fde38b14610a21578063f7cf512214610a4a5761027d565b8063d02c2bf21461088a578063d4d8b392146108a1578063d5abeb01146108ca578063d94025e5146108f5578063db2e21bc1461091e578063dc30158b146109355761027d565b8063a22cb46511610113578063a22cb46514610790578063b88d4fde146107b9578063bb51f32d146107e2578063bc0f7bb4146107f9578063bdc32be014610822578063c87b56dd1461084d5761027d565b806391b7f5ed146106b857806395d89b41146106e15780639e13b64f1461070c578063a035b1fe14610749578063a0712d68146107745761027d565b80635a3f2672116101f35780636f8b44b0116101ac5780636f8b44b0146105aa57806370a08231146105d3578063715018a6146106105780637c0ea80514610627578063891dd3fb146106505780638da5cb5b1461068d5761027d565b80635a3f2672146104885780635b92ac0d146104c55780635e2d5fb5146104f05780636352211e1461051b57806365517ed7146105585780636efc76eb146105815761027d565b806318160ddd1161024557806318160ddd1461037957806323b872dd146103a45780632a55205a146103cd57806330176e131461040b57806342842e0e14610434578063511d4b0b1461045d5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b314610327578063174da4a214610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613b30565b610a73565b6040516102b691906142c0565b60405180910390f35b3480156102cb57600080fd5b506102d4610adc565b6040516102e191906142db565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613bc7565b610b6e565b60405161031e91906141ec565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613a39565b610bea565b005b34801561035c57600080fd5b5061037760048036038101906103729190613bc7565b610d2b565b005b34801561038557600080fd5b5061038e610db1565b60405161039b919061447d565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613933565b610dc8565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190613cd4565b6110ed565b604051610402929190614253565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613b82565b611139565b005b34801561044057600080fd5b5061045b60048036038101906104569190613933565b6111cb565b005b34801561046957600080fd5b506104726111eb565b60405161047f919061447d565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa91906138ce565b6111f1565b6040516104bc919061429e565b60405180910390f35b3480156104d157600080fd5b506104da611330565b6040516104e791906142c0565b60405180910390f35b3480156104fc57600080fd5b50610505611343565b604051610512919061427c565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613bc7565b6113db565b60405161054f91906141ec565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190613acd565b6113ed565b005b34801561058d57600080fd5b506105a860048036038101906105a39190613c98565b6114cb565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613bc7565b61159b565b005b3480156105df57600080fd5b506105fa60048036038101906105f591906138ce565b611621565b604051610607919061447d565b60405180910390f35b34801561061c57600080fd5b506106256116da565b005b34801561063357600080fd5b5061064e60048036038101906106499190613cd4565b611762565b005b34801561065c57600080fd5b5061067760048036038101906106729190613c2c565b611832565b60405161068491906142c0565b60405180910390f35b34801561069957600080fd5b506106a2611944565b6040516106af91906141ec565b60405180910390f35b3480156106c457600080fd5b506106df60048036038101906106da9190613bc7565b61196e565b005b3480156106ed57600080fd5b506106f66119f4565b60405161070391906142db565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e91906138ce565b611a86565b604051610740919061447d565b60405180910390f35b34801561075557600080fd5b5061075e611a98565b60405161076b919061447d565b60405180910390f35b61078e60048036038101906107899190613bc7565b611a9e565b005b34801561079c57600080fd5b506107b760048036038101906107b291906139fd565b611c49565b005b3480156107c557600080fd5b506107e060048036038101906107db9190613982565b611dc1565b005b3480156107ee57600080fd5b506107f7611e34565b005b34801561080557600080fd5b50610820600480360381019061081b9190613bc7565b611ef1565b005b34801561082e57600080fd5b50610837611f77565b60405161084491906142db565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613bc7565b612085565b60405161088191906142db565b60405180910390f35b34801561089657600080fd5b5061089f612124565b005b3480156108ad57600080fd5b506108c860048036038101906108c39190613a75565b6121cc565b005b3480156108d657600080fd5b506108df612331565b6040516108ec919061447d565b60405180910390f35b34801561090157600080fd5b5061091c60048036038101906109179190613bc7565b612337565b005b34801561092a57600080fd5b50610933612472565b005b34801561094157600080fd5b5061094a61256c565b604051610957919061447d565b60405180910390f35b34801561096c57600080fd5b50610987600480360381019061098291906138f7565b612572565b60405161099491906142c0565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf9190613bf0565b612606565b6040516109d1919061447d565b60405180910390f35b6109f460048036038101906109ef9190613d10565b612661565b005b348015610a0257600080fd5b50610a0b612a55565b604051610a1891906141ec565b60405180910390f35b348015610a2d57600080fd5b50610a486004803603810190610a4391906138ce565b612a7b565b005b348015610a5657600080fd5b50610a716004803603810190610a6c9190613cd4565b612b73565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610acb5760019050610ad7565b610ad482612c43565b90505b919050565b606060028054610aeb9061474f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b179061474f565b8015610b645780601f10610b3957610100808354040283529160200191610b64565b820191906000526020600020905b815481529060010190602001808311610b4757829003601f168201915b5050505050905090565b6000610b7982612cd5565b610baf576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bf5826113db565b90508073ffffffffffffffffffffffffffffffffffffffff16610c16612d34565b73ffffffffffffffffffffffffffffffffffffffff1614610c7957610c4281610c3d612d34565b612572565b610c78576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d33612d3c565b73ffffffffffffffffffffffffffffffffffffffff16610d51611944565b73ffffffffffffffffffffffffffffffffffffffff1614610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e906143bd565b60405180910390fd5b80600b8190555050565b6000610dbb612d44565b6001546000540303905090565b6000610dd382612d49565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e3a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e4684612e17565b91509150610e5c8187610e57612d34565b612e39565b610ea857610e7186610e6c612d34565b612572565b610ea7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610f0f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f1c8686866001612e7d565b8015610f2757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ff585610fd1888887612e83565b7c020000000000000000000000000000000000000000000000000000000017612eab565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561107d57600060018501905060006004600083815260200190815260200160002054141561107b57600054811461107a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110e58686866001612ed6565b505050505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600e54856111249190614635565b61112e9190614604565b915091509250929050565b611141612d3c565b73ffffffffffffffffffffffffffffffffffffffff1661115f611944565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac906143bd565b60405180910390fd5b8181600d91906111c6929190613667565b505050565b6111e683838360405180602001604052806000815250611dc1565b505050565b600c5481565b606060006111fe83611621565b67ffffffffffffffff81111561123d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561126b5781602001602082028036833780820191505090505b5090506000805b61127a610db1565b811015611325578473ffffffffffffffffffffffffffffffffffffffff166112a1826113db565b73ffffffffffffffffffffffffffffffffffffffff16141561131257808383815181106112f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061130e906147b2565b9250505b808061131d906147b2565b915050611272565b508192505050919050565b600860149054906101000a900460ff1681565b60606010805480602002602001604051908101604052809291908181526020016000905b828210156113d257838290600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152505081526020019060010190611367565b50505050905090565b60006113e682612d49565b9050919050565b6113f5612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611413611944565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611460906143bd565b60405180910390fd5b600060106001816001815401808255809150500390600052602060002090600402019050848160000160006101000a81548160ff0219169083151502179055508381600101819055508281600201819055508181600301819055505050505050565b6114d3612d3c565b73ffffffffffffffffffffffffffffffffffffffff166114f1611944565b73ffffffffffffffffffffffffffffffffffffffff1614611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e906143bd565b60405180910390fd5b8060108381548110611582577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600301819055505050565b6115a3612d3c565b73ffffffffffffffffffffffffffffffffffffffff166115c1611944565b73ffffffffffffffffffffffffffffffffffffffff1614611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e906143bd565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611689576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116e2612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611700611944565b73ffffffffffffffffffffffffffffffffffffffff1614611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d906143bd565b60405180910390fd5b6117606000612edc565b565b61176a612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611788611944565b73ffffffffffffffffffffffffffffffffffffffff16146117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d5906143bd565b60405180910390fd5b8060108381548110611819577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600101819055505050565b6000806010868154811061186f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815250509050611939848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082606001518760405160200161191e9190614198565b60405160208183030381529060405280519060200120612fa2565b915050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611976612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611994611944565b73ffffffffffffffffffffffffffffffffffffffff16146119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e1906143bd565b60405180910390fd5b8060098190555050565b606060038054611a039061474f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2f9061474f565b8015611a7c5780601f10611a5157610100808354040283529160200191611a7c565b820191906000526020600020905b815481529060010190602001808311611a5f57829003601f168201915b5050505050905090565b6000611a9182612fb9565b9050919050565b60095481565b600860149054906101000a900460ff16611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae49061445d565b60405180910390fd5b600c5481611afa33612fb9565b611b0491906145ae565b1115611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c906142fd565b60405180910390fd5b600b548111158015611b575750600081115b611b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8d9061435d565b60405180910390fd5b600a54611ba1610db1565b82611bac91906145ae565b1115611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be49061433d565b60405180910390fd5b80600954611bfb9190614635565b3414611c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c33906143dd565b60405180910390fd5b611c463382613010565b50565b611c51612d34565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb6576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc3612d34565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d70612d34565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db591906142c0565b60405180910390a35050565b611dcc848484610dc8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e2e57611df78484848461302e565b611e2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611e3c612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611e5a611944565b73ffffffffffffffffffffffffffffffffffffffff1614611eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea7906143bd565b60405180910390fd5b600047905060008111611ec257600080fd5b611eee600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff164761318e565b50565b611ef9612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611f17611944565b73ffffffffffffffffffffffffffffffffffffffff1614611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f64906143bd565b60405180910390fd5b80600c8190555050565b6060611f81612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611f9f611944565b73ffffffffffffffffffffffffffffffffffffffff1614611ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fec906143bd565b60405180910390fd5b600d80546120029061474f565b80601f016020809104026020016040519081016040528092919081815260200182805461202e9061474f565b801561207b5780601f106120505761010080835404028352916020019161207b565b820191906000526020600020905b81548152906001019060200180831161205e57829003601f168201915b5050505050905090565b606061209082612cd5565b6120c6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120d061323f565b90506000815114156120f1576040518060200160405280600081525061211c565b806120fb846132d1565b60405160200161210c9291906141b3565b6040516020818303038152906040525b915050919050565b61212c612d3c565b73ffffffffffffffffffffffffffffffffffffffff1661214a611944565b73ffffffffffffffffffffffffffffffffffffffff16146121a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612197906143bd565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6121d4612d3c565b73ffffffffffffffffffffffffffffffffffffffff166121f2611944565b73ffffffffffffffffffffffffffffffffffffffff1614612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f906143bd565b60405180910390fd5b6000612252610db1565b9050600a548183868690506122679190614635565b61227191906145ae565b11156122b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a9906143fd565b60405180910390fd5b60005b8484905081101561232a576123178585838181106122fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061231191906138ce565b84613010565b8080612322906147b2565b9150506122b5565b5050505050565b600a5481565b61233f612d3c565b73ffffffffffffffffffffffffffffffffffffffff1661235d611944565b73ffffffffffffffffffffffffffffffffffffffff16146123b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123aa906143bd565b60405180910390fd5b601081815481106123ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160009054906101000a900460ff161560108281548110612447577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160006101000a81548160ff02191690831515021790555050565b61247a612d3c565b73ffffffffffffffffffffffffffffffffffffffff16612498611944565b73ffffffffffffffffffffffffffffffffffffffff16146124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e5906143bd565b60405180910390fd5b60004790506000811161250057600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612568573d6000803e3d6000fd5b5050565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006011600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006010858154811061269d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152505090508060000151612735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272c9061437d565b60405180910390fd5b600c548461274233612fb9565b61274c91906145ae565b111561278d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612784906142fd565b60405180910390fd5b600b54841115801561279f5750600084115b6127de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d59061435d565b60405180910390fd5b600a546127e9610db1565b856127f491906145ae565b1115612835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282c9061433d565b60405180910390fd5b8381602001516128459190614635565b3414612886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287d906143dd565b60405180910390fd5b8060400151846011600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128e791906145ae565b1115612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f9061443d565b60405180910390fd5b61299e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508260600151336040516020016129839190614198565b60405160208183030381529060405280519060200120612fa2565b6129dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d49061439d565b60405180910390fd5b6129e73385613010565b836011600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a4791906145ae565b925050819055505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612a83612d3c565b73ffffffffffffffffffffffffffffffffffffffff16612aa1611944565b73ffffffffffffffffffffffffffffffffffffffff1614612af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aee906143bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5e9061431d565b60405180910390fd5b612b7081612edc565b50565b612b7b612d3c565b73ffffffffffffffffffffffffffffffffffffffff16612b99611944565b73ffffffffffffffffffffffffffffffffffffffff1614612bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be6906143bd565b60405180910390fd5b8060108381548110612c2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600201819055505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c9e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612cce5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081612ce0612d44565b11158015612cef575060005482105b8015612d2d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612d58612d44565b11612de057600054811015612ddf5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612ddd575b6000811415612dd3576004600083600190039350838152602001908152602001600020549050612da8565b8092505050612e12565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612e9a86868461332b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612faf8584613334565b1490509392505050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b61302a8282604051806020016040528060008152506133cf565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613054612d34565b8786866040518563ffffffff1660e01b81526004016130769493929190614207565b602060405180830381600087803b15801561309057600080fd5b505af19250505080156130c157506040513d601f19601f820116820180604052508101906130be9190613b59565b60015b61313b573d80600081146130f1576040519150601f19603f3d011682016040523d82523d6000602084013e6130f6565b606091505b50600081511415613133576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516131b4906141d7565b60006040518083038185875af1925050503d80600081146131f1576040519150601f19603f3d011682016040523d82523d6000602084013e6131f6565b606091505b505090508061323a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132319061441d565b60405180910390fd5b505050565b6060600d805461324e9061474f565b80601f016020809104026020016040519081016040528092919081815260200182805461327a9061474f565b80156132c75780601f1061329c576101008083540402835291602001916132c7565b820191906000526020600020905b8154815290600101906020018083116132aa57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561331757600183039250600a81066030018353600a810490506132f7565b508181036020830392508083525050919050565b60009392505050565b60008082905060005b84518110156133c4576000858281518110613381577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116133a35761339c838261346c565b92506133b0565b6133ad818461346c565b92505b5080806133bc906147b2565b91505061333d565b508091505092915050565b6133d98383613483565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461346757600080549050600083820390505b613419600086838060010194508661302e565b61344f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061340657816000541461346457600080fd5b50505b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134f0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141561352b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135386000848385612e7d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506135af836135a06000866000612e83565b6135a985613657565b17612eab565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106135d3578060008190555050506136526000848385612ed6565b505050565b60006001821460e11b9050919050565b8280546136739061474f565b90600052602060002090601f01602090048101928261369557600085556136dc565b82601f106136ae57803560ff19168380011785556136dc565b828001600101855582156136dc579182015b828111156136db5782358255916020019190600101906136c0565b5b5090506136e991906136ed565b5090565b5b808211156137065760008160009055506001016136ee565b5090565b600061371d613718846144bd565b614498565b90508281526020810184848401111561373557600080fd5b61374084828561470d565b509392505050565b60008135905061375781614b0e565b92915050565b60008083601f84011261376f57600080fd5b8235905067ffffffffffffffff81111561378857600080fd5b6020830191508360208202830111156137a057600080fd5b9250929050565b60008083601f8401126137b957600080fd5b8235905067ffffffffffffffff8111156137d257600080fd5b6020830191508360208202830111156137ea57600080fd5b9250929050565b60008135905061380081614b25565b92915050565b60008135905061381581614b3c565b92915050565b60008135905061382a81614b53565b92915050565b60008151905061383f81614b53565b92915050565b600082601f83011261385657600080fd5b813561386684826020860161370a565b91505092915050565b60008083601f84011261388157600080fd5b8235905067ffffffffffffffff81111561389a57600080fd5b6020830191508360018202830111156138b257600080fd5b9250929050565b6000813590506138c881614b6a565b92915050565b6000602082840312156138e057600080fd5b60006138ee84828501613748565b91505092915050565b6000806040838503121561390a57600080fd5b600061391885828601613748565b925050602061392985828601613748565b9150509250929050565b60008060006060848603121561394857600080fd5b600061395686828701613748565b935050602061396786828701613748565b9250506040613978868287016138b9565b9150509250925092565b6000806000806080858703121561399857600080fd5b60006139a687828801613748565b94505060206139b787828801613748565b93505060406139c8878288016138b9565b925050606085013567ffffffffffffffff8111156139e557600080fd5b6139f187828801613845565b91505092959194509250565b60008060408385031215613a1057600080fd5b6000613a1e85828601613748565b9250506020613a2f858286016137f1565b9150509250929050565b60008060408385031215613a4c57600080fd5b6000613a5a85828601613748565b9250506020613a6b858286016138b9565b9150509250929050565b600080600060408486031215613a8a57600080fd5b600084013567ffffffffffffffff811115613aa457600080fd5b613ab08682870161375d565b93509350506020613ac3868287016138b9565b9150509250925092565b60008060008060808587031215613ae357600080fd5b6000613af1878288016137f1565b9450506020613b02878288016138b9565b9350506040613b13878288016138b9565b9250506060613b2487828801613806565b91505092959194509250565b600060208284031215613b4257600080fd5b6000613b508482850161381b565b91505092915050565b600060208284031215613b6b57600080fd5b6000613b7984828501613830565b91505092915050565b60008060208385031215613b9557600080fd5b600083013567ffffffffffffffff811115613baf57600080fd5b613bbb8582860161386f565b92509250509250929050565b600060208284031215613bd957600080fd5b6000613be7848285016138b9565b91505092915050565b60008060408385031215613c0357600080fd5b6000613c11858286016138b9565b9250506020613c2285828601613748565b9150509250929050565b60008060008060608587031215613c4257600080fd5b6000613c50878288016138b9565b9450506020613c6187828801613748565b935050604085013567ffffffffffffffff811115613c7e57600080fd5b613c8a878288016137a7565b925092505092959194509250565b60008060408385031215613cab57600080fd5b6000613cb9858286016138b9565b9250506020613cca85828601613806565b9150509250929050565b60008060408385031215613ce757600080fd5b6000613cf5858286016138b9565b9250506020613d06858286016138b9565b9150509250929050565b60008060008060608587031215613d2657600080fd5b6000613d34878288016138b9565b9450506020613d45878288016138b9565b935050604085013567ffffffffffffffff811115613d6257600080fd5b613d6e878288016137a7565b925092505092959194509250565b6000613d888383614125565b60808301905092915050565b6000613da0838361417a565b60208301905092915050565b613db58161468f565b82525050565b613dcc613dc78261468f565b6147fb565b82525050565b6000613ddd8261450e565b613de78185614554565b9350613df2836144ee565b8060005b83811015613e23578151613e0a8882613d7c565b9750613e158361453a565b925050600181019050613df6565b5085935050505092915050565b6000613e3b82614519565b613e458185614565565b9350613e50836144fe565b8060005b83811015613e81578151613e688882613d94565b9750613e7383614547565b925050600181019050613e54565b5085935050505092915050565b613e97816146a1565b82525050565b613ea6816146a1565b82525050565b613eb5816146ad565b82525050565b6000613ec682614524565b613ed08185614576565b9350613ee081856020860161471c565b613ee9816148db565b840191505092915050565b6000613eff8261452f565b613f098185614592565b9350613f1981856020860161471c565b613f22816148db565b840191505092915050565b6000613f388261452f565b613f4281856145a3565b9350613f5281856020860161471c565b80840191505092915050565b6000613f6b601283614592565b9150613f76826148f9565b602082019050919050565b6000613f8e602683614592565b9150613f9982614922565b604082019050919050565b6000613fb1601483614592565b9150613fbc82614971565b602082019050919050565b6000613fd4601883614592565b9150613fdf8261499a565b602082019050919050565b6000613ff7601683614592565b9150614002826149c3565b602082019050919050565b600061401a601d83614592565b9150614025826149ec565b602082019050919050565b600061403d602083614592565b915061404882614a15565b602082019050919050565b6000614060600d83614592565b915061406b82614a3e565b602082019050919050565b6000614083601a83614592565b915061408e82614a67565b602082019050919050565b60006140a6600083614587565b91506140b182614a90565b600082019050919050565b60006140c9601083614592565b91506140d482614a93565b602082019050919050565b60006140ec601c83614592565b91506140f782614abc565b602082019050919050565b600061410f601183614592565b915061411a82614ae5565b602082019050919050565b60808201600082015161413b6000850182613e8e565b50602082015161414e602085018261417a565b506040820151614161604085018261417a565b5060608201516141746060850182613eac565b50505050565b61418381614703565b82525050565b61419281614703565b82525050565b60006141a48284613dbb565b60148201915081905092915050565b60006141bf8285613f2d565b91506141cb8284613f2d565b91508190509392505050565b60006141e282614099565b9150819050919050565b60006020820190506142016000830184613dac565b92915050565b600060808201905061421c6000830187613dac565b6142296020830186613dac565b6142366040830185614189565b81810360608301526142488184613ebb565b905095945050505050565b60006040820190506142686000830185613dac565b6142756020830184614189565b9392505050565b600060208201905081810360008301526142968184613dd2565b905092915050565b600060208201905081810360008301526142b88184613e30565b905092915050565b60006020820190506142d56000830184613e9d565b92915050565b600060208201905081810360008301526142f58184613ef4565b905092915050565b6000602082019050818103600083015261431681613f5e565b9050919050565b6000602082019050818103600083015261433681613f81565b9050919050565b6000602082019050818103600083015261435681613fa4565b9050919050565b6000602082019050818103600083015261437681613fc7565b9050919050565b6000602082019050818103600083015261439681613fea565b9050919050565b600060208201905081810360008301526143b68161400d565b9050919050565b600060208201905081810360008301526143d681614030565b9050919050565b600060208201905081810360008301526143f681614053565b9050919050565b6000602082019050818103600083015261441681614076565b9050919050565b60006020820190508181036000830152614436816140bc565b9050919050565b60006020820190508181036000830152614456816140df565b9050919050565b6000602082019050818103600083015261447681614102565b9050919050565b60006020820190506144926000830184614189565b92915050565b60006144a26144b3565b90506144ae8282614781565b919050565b6000604051905090565b600067ffffffffffffffff8211156144d8576144d76148ac565b5b6144e1826148db565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145b982614703565b91506145c483614703565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145f9576145f861481f565b5b828201905092915050565b600061460f82614703565b915061461a83614703565b92508261462a5761462961484e565b5b828204905092915050565b600061464082614703565b915061464b83614703565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146845761468361481f565b5b828202905092915050565b600061469a826146e3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561473a57808201518184015260208101905061471f565b83811115614749576000848401525b50505050565b6000600282049050600182168061476757607f821691505b6020821081141561477b5761477a61487d565b5b50919050565b61478a826148db565b810181811067ffffffffffffffff821117156147a9576147a86148ac565b5b80604052505050565b60006147bd82614703565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147f0576147ef61481f565b5b600182019050919050565b60006148068261480d565b9050919050565b6000614818826148ec565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206d696e74206c696d69740000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746f74616c20737570706c79000000000000000000000000600082015250565b7f517479206f66206d696e7473206e6f7420616c6c6f7765640000000000000000600082015250565b7f57686974656c6973742069736e27742061637469766500000000000000000000600082015250565b7f4372697465726961206e6f74206f6e207468652077686974656c697374000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b7f56616c7565206578636565647320746f74616c20737570706c79000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f457863656564732077686974656c697374206d696e74206c696d697400000000600082015250565b7f4d696e742069736e277420616374697665000000000000000000000000000000600082015250565b614b178161468f565b8114614b2257600080fd5b50565b614b2e816146a1565b8114614b3957600080fd5b50565b614b45816146ad565b8114614b5057600080fd5b50565b614b5c816146b7565b8114614b6757600080fd5b50565b614b7381614703565b8114614b7e57600080fd5b5056fea2646970667358221220cbde34db7a70fa194d61503f47b06978c6e1784c06323e2b6df075a907063ec864736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061027d5760003560e01c806391b7f5ed1161014f578063d02c2bf2116100c1578063e985e9c51161007a578063e985e9c514610960578063ee2f4a741461099d578063ee493824146109da578063ee65212b146109f6578063f2fde38b14610a21578063f7cf512214610a4a5761027d565b8063d02c2bf21461088a578063d4d8b392146108a1578063d5abeb01146108ca578063d94025e5146108f5578063db2e21bc1461091e578063dc30158b146109355761027d565b8063a22cb46511610113578063a22cb46514610790578063b88d4fde146107b9578063bb51f32d146107e2578063bc0f7bb4146107f9578063bdc32be014610822578063c87b56dd1461084d5761027d565b806391b7f5ed146106b857806395d89b41146106e15780639e13b64f1461070c578063a035b1fe14610749578063a0712d68146107745761027d565b80635a3f2672116101f35780636f8b44b0116101ac5780636f8b44b0146105aa57806370a08231146105d3578063715018a6146106105780637c0ea80514610627578063891dd3fb146106505780638da5cb5b1461068d5761027d565b80635a3f2672146104885780635b92ac0d146104c55780635e2d5fb5146104f05780636352211e1461051b57806365517ed7146105585780636efc76eb146105815761027d565b806318160ddd1161024557806318160ddd1461037957806323b872dd146103a45780632a55205a146103cd57806330176e131461040b57806342842e0e14610434578063511d4b0b1461045d5761027d565b806301ffc9a71461028257806306fdde03146102bf578063081812fc146102ea578063095ea7b314610327578063174da4a214610350575b600080fd5b34801561028e57600080fd5b506102a960048036038101906102a49190613b30565b610a73565b6040516102b691906142c0565b60405180910390f35b3480156102cb57600080fd5b506102d4610adc565b6040516102e191906142db565b60405180910390f35b3480156102f657600080fd5b50610311600480360381019061030c9190613bc7565b610b6e565b60405161031e91906141ec565b60405180910390f35b34801561033357600080fd5b5061034e60048036038101906103499190613a39565b610bea565b005b34801561035c57600080fd5b5061037760048036038101906103729190613bc7565b610d2b565b005b34801561038557600080fd5b5061038e610db1565b60405161039b919061447d565b60405180910390f35b3480156103b057600080fd5b506103cb60048036038101906103c69190613933565b610dc8565b005b3480156103d957600080fd5b506103f460048036038101906103ef9190613cd4565b6110ed565b604051610402929190614253565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d9190613b82565b611139565b005b34801561044057600080fd5b5061045b60048036038101906104569190613933565b6111cb565b005b34801561046957600080fd5b506104726111eb565b60405161047f919061447d565b60405180910390f35b34801561049457600080fd5b506104af60048036038101906104aa91906138ce565b6111f1565b6040516104bc919061429e565b60405180910390f35b3480156104d157600080fd5b506104da611330565b6040516104e791906142c0565b60405180910390f35b3480156104fc57600080fd5b50610505611343565b604051610512919061427c565b60405180910390f35b34801561052757600080fd5b50610542600480360381019061053d9190613bc7565b6113db565b60405161054f91906141ec565b60405180910390f35b34801561056457600080fd5b5061057f600480360381019061057a9190613acd565b6113ed565b005b34801561058d57600080fd5b506105a860048036038101906105a39190613c98565b6114cb565b005b3480156105b657600080fd5b506105d160048036038101906105cc9190613bc7565b61159b565b005b3480156105df57600080fd5b506105fa60048036038101906105f591906138ce565b611621565b604051610607919061447d565b60405180910390f35b34801561061c57600080fd5b506106256116da565b005b34801561063357600080fd5b5061064e60048036038101906106499190613cd4565b611762565b005b34801561065c57600080fd5b5061067760048036038101906106729190613c2c565b611832565b60405161068491906142c0565b60405180910390f35b34801561069957600080fd5b506106a2611944565b6040516106af91906141ec565b60405180910390f35b3480156106c457600080fd5b506106df60048036038101906106da9190613bc7565b61196e565b005b3480156106ed57600080fd5b506106f66119f4565b60405161070391906142db565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e91906138ce565b611a86565b604051610740919061447d565b60405180910390f35b34801561075557600080fd5b5061075e611a98565b60405161076b919061447d565b60405180910390f35b61078e60048036038101906107899190613bc7565b611a9e565b005b34801561079c57600080fd5b506107b760048036038101906107b291906139fd565b611c49565b005b3480156107c557600080fd5b506107e060048036038101906107db9190613982565b611dc1565b005b3480156107ee57600080fd5b506107f7611e34565b005b34801561080557600080fd5b50610820600480360381019061081b9190613bc7565b611ef1565b005b34801561082e57600080fd5b50610837611f77565b60405161084491906142db565b60405180910390f35b34801561085957600080fd5b50610874600480360381019061086f9190613bc7565b612085565b60405161088191906142db565b60405180910390f35b34801561089657600080fd5b5061089f612124565b005b3480156108ad57600080fd5b506108c860048036038101906108c39190613a75565b6121cc565b005b3480156108d657600080fd5b506108df612331565b6040516108ec919061447d565b60405180910390f35b34801561090157600080fd5b5061091c60048036038101906109179190613bc7565b612337565b005b34801561092a57600080fd5b50610933612472565b005b34801561094157600080fd5b5061094a61256c565b604051610957919061447d565b60405180910390f35b34801561096c57600080fd5b50610987600480360381019061098291906138f7565b612572565b60405161099491906142c0565b60405180910390f35b3480156109a957600080fd5b506109c460048036038101906109bf9190613bf0565b612606565b6040516109d1919061447d565b60405180910390f35b6109f460048036038101906109ef9190613d10565b612661565b005b348015610a0257600080fd5b50610a0b612a55565b604051610a1891906141ec565b60405180910390f35b348015610a2d57600080fd5b50610a486004803603810190610a4391906138ce565b612a7b565b005b348015610a5657600080fd5b50610a716004803603810190610a6c9190613cd4565b612b73565b005b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161415610acb5760019050610ad7565b610ad482612c43565b90505b919050565b606060028054610aeb9061474f565b80601f0160208091040260200160405190810160405280929190818152602001828054610b179061474f565b8015610b645780601f10610b3957610100808354040283529160200191610b64565b820191906000526020600020905b815481529060010190602001808311610b4757829003601f168201915b5050505050905090565b6000610b7982612cd5565b610baf576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610bf5826113db565b90508073ffffffffffffffffffffffffffffffffffffffff16610c16612d34565b73ffffffffffffffffffffffffffffffffffffffff1614610c7957610c4281610c3d612d34565b612572565b610c78576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b610d33612d3c565b73ffffffffffffffffffffffffffffffffffffffff16610d51611944565b73ffffffffffffffffffffffffffffffffffffffff1614610da7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9e906143bd565b60405180910390fd5b80600b8190555050565b6000610dbb612d44565b6001546000540303905090565b6000610dd382612d49565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610e3a576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610e4684612e17565b91509150610e5c8187610e57612d34565b612e39565b610ea857610e7186610e6c612d34565b612572565b610ea7576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610f0f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610f1c8686866001612e7d565b8015610f2757600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000815460010191905081905550610ff585610fd1888887612e83565b7c020000000000000000000000000000000000000000000000000000000017612eab565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561107d57600060018501905060006004600083815260200190815260200160002054141561107b57600054811461107a578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46110e58686866001612ed6565b505050505050565b600080600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710600e54856111249190614635565b61112e9190614604565b915091509250929050565b611141612d3c565b73ffffffffffffffffffffffffffffffffffffffff1661115f611944565b73ffffffffffffffffffffffffffffffffffffffff16146111b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111ac906143bd565b60405180910390fd5b8181600d91906111c6929190613667565b505050565b6111e683838360405180602001604052806000815250611dc1565b505050565b600c5481565b606060006111fe83611621565b67ffffffffffffffff81111561123d577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561126b5781602001602082028036833780820191505090505b5090506000805b61127a610db1565b811015611325578473ffffffffffffffffffffffffffffffffffffffff166112a1826113db565b73ffffffffffffffffffffffffffffffffffffffff16141561131257808383815181106112f7577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050818061130e906147b2565b9250505b808061131d906147b2565b915050611272565b508192505050919050565b600860149054906101000a900460ff1681565b60606010805480602002602001604051908101604052809291908181526020016000905b828210156113d257838290600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152505081526020019060010190611367565b50505050905090565b60006113e682612d49565b9050919050565b6113f5612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611413611944565b73ffffffffffffffffffffffffffffffffffffffff1614611469576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611460906143bd565b60405180910390fd5b600060106001816001815401808255809150500390600052602060002090600402019050848160000160006101000a81548160ff0219169083151502179055508381600101819055508281600201819055508181600301819055505050505050565b6114d3612d3c565b73ffffffffffffffffffffffffffffffffffffffff166114f1611944565b73ffffffffffffffffffffffffffffffffffffffff1614611547576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161153e906143bd565b60405180910390fd5b8060108381548110611582577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600301819055505050565b6115a3612d3c565b73ffffffffffffffffffffffffffffffffffffffff166115c1611944565b73ffffffffffffffffffffffffffffffffffffffff1614611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160e906143bd565b60405180910390fd5b80600a8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611689576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6116e2612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611700611944565b73ffffffffffffffffffffffffffffffffffffffff1614611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d906143bd565b60405180910390fd5b6117606000612edc565b565b61176a612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611788611944565b73ffffffffffffffffffffffffffffffffffffffff16146117de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117d5906143bd565b60405180910390fd5b8060108381548110611819577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600101819055505050565b6000806010868154811061186f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff1615151515815260200160018201548152602001600282015481526020016003820154815250509050611939848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505082606001518760405160200161191e9190614198565b60405160208183030381529060405280519060200120612fa2565b915050949350505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611976612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611994611944565b73ffffffffffffffffffffffffffffffffffffffff16146119ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e1906143bd565b60405180910390fd5b8060098190555050565b606060038054611a039061474f565b80601f0160208091040260200160405190810160405280929190818152602001828054611a2f9061474f565b8015611a7c5780601f10611a5157610100808354040283529160200191611a7c565b820191906000526020600020905b815481529060010190602001808311611a5f57829003601f168201915b5050505050905090565b6000611a9182612fb9565b9050919050565b60095481565b600860149054906101000a900460ff16611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae49061445d565b60405180910390fd5b600c5481611afa33612fb9565b611b0491906145ae565b1115611b45576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3c906142fd565b60405180910390fd5b600b548111158015611b575750600081115b611b96576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8d9061435d565b60405180910390fd5b600a54611ba1610db1565b82611bac91906145ae565b1115611bed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be49061433d565b60405180910390fd5b80600954611bfb9190614635565b3414611c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c33906143dd565b60405180910390fd5b611c463382613010565b50565b611c51612d34565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611cb6576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611cc3612d34565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611d70612d34565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611db591906142c0565b60405180910390a35050565b611dcc848484610dc8565b60008373ffffffffffffffffffffffffffffffffffffffff163b14611e2e57611df78484848461302e565b611e2d576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611e3c612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611e5a611944565b73ffffffffffffffffffffffffffffffffffffffff1614611eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ea7906143bd565b60405180910390fd5b600047905060008111611ec257600080fd5b611eee600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff164761318e565b50565b611ef9612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611f17611944565b73ffffffffffffffffffffffffffffffffffffffff1614611f6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f64906143bd565b60405180910390fd5b80600c8190555050565b6060611f81612d3c565b73ffffffffffffffffffffffffffffffffffffffff16611f9f611944565b73ffffffffffffffffffffffffffffffffffffffff1614611ff5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fec906143bd565b60405180910390fd5b600d80546120029061474f565b80601f016020809104026020016040519081016040528092919081815260200182805461202e9061474f565b801561207b5780601f106120505761010080835404028352916020019161207b565b820191906000526020600020905b81548152906001019060200180831161205e57829003601f168201915b5050505050905090565b606061209082612cd5565b6120c6576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006120d061323f565b90506000815114156120f1576040518060200160405280600081525061211c565b806120fb846132d1565b60405160200161210c9291906141b3565b6040516020818303038152906040525b915050919050565b61212c612d3c565b73ffffffffffffffffffffffffffffffffffffffff1661214a611944565b73ffffffffffffffffffffffffffffffffffffffff16146121a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612197906143bd565b60405180910390fd5b600860149054906101000a900460ff1615600860146101000a81548160ff021916908315150217905550565b6121d4612d3c565b73ffffffffffffffffffffffffffffffffffffffff166121f2611944565b73ffffffffffffffffffffffffffffffffffffffff1614612248576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161223f906143bd565b60405180910390fd5b6000612252610db1565b9050600a548183868690506122679190614635565b61227191906145ae565b11156122b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a9906143fd565b60405180910390fd5b60005b8484905081101561232a576123178585838181106122fc577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b905060200201602081019061231191906138ce565b84613010565b8080612322906147b2565b9150506122b5565b5050505050565b600a5481565b61233f612d3c565b73ffffffffffffffffffffffffffffffffffffffff1661235d611944565b73ffffffffffffffffffffffffffffffffffffffff16146123b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123aa906143bd565b60405180910390fd5b601081815481106123ed577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160009054906101000a900460ff161560108281548110612447577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020906004020160000160006101000a81548160ff02191690831515021790555050565b61247a612d3c565b73ffffffffffffffffffffffffffffffffffffffff16612498611944565b73ffffffffffffffffffffffffffffffffffffffff16146124ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124e5906143bd565b60405180910390fd5b60004790506000811161250057600080fd5b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015612568573d6000803e3d6000fd5b5050565b600b5481565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60006011600084815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60006010858154811061269d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002090600402016040518060800160405290816000820160009054906101000a900460ff16151515158152602001600182015481526020016002820154815260200160038201548152505090508060000151612735576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161272c9061437d565b60405180910390fd5b600c548461274233612fb9565b61274c91906145ae565b111561278d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612784906142fd565b60405180910390fd5b600b54841115801561279f5750600084115b6127de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d59061435d565b60405180910390fd5b600a546127e9610db1565b856127f491906145ae565b1115612835576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282c9061433d565b60405180910390fd5b8381602001516128459190614635565b3414612886576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161287d906143dd565b60405180910390fd5b8060400151846011600088815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546128e791906145ae565b1115612928576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161291f9061443d565b60405180910390fd5b61299e838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050508260600151336040516020016129839190614198565b60405160208183030381529060405280519060200120612fa2565b6129dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d49061439d565b60405180910390fd5b6129e73385613010565b836011600087815260200190815260200160002060003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612a4791906145ae565b925050819055505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b612a83612d3c565b73ffffffffffffffffffffffffffffffffffffffff16612aa1611944565b73ffffffffffffffffffffffffffffffffffffffff1614612af7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612aee906143bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b5e9061431d565b60405180910390fd5b612b7081612edc565b50565b612b7b612d3c565b73ffffffffffffffffffffffffffffffffffffffff16612b99611944565b73ffffffffffffffffffffffffffffffffffffffff1614612bef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612be6906143bd565b60405180910390fd5b8060108381548110612c2a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000209060040201600201819055505050565b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612c9e57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612cce5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b600081612ce0612d44565b11158015612cef575060005482105b8015612d2d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600033905090565b600090565b60008082905080612d58612d44565b11612de057600054811015612ddf5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612ddd575b6000811415612dd3576004600083600190039350838152602001908152602001600020549050612da8565b8092505050612e12565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e8612e9a86868461332b565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600082612faf8584613334565b1490509392505050565b600067ffffffffffffffff6040600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054901c169050919050565b61302a8282604051806020016040528060008152506133cf565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613054612d34565b8786866040518563ffffffff1660e01b81526004016130769493929190614207565b602060405180830381600087803b15801561309057600080fd5b505af19250505080156130c157506040513d601f19601f820116820180604052508101906130be9190613b59565b60015b61313b573d80600081146130f1576040519150601f19603f3d011682016040523d82523d6000602084013e6130f6565b606091505b50600081511415613133576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b60008273ffffffffffffffffffffffffffffffffffffffff16826040516131b4906141d7565b60006040518083038185875af1925050503d80600081146131f1576040519150601f19603f3d011682016040523d82523d6000602084013e6131f6565b606091505b505090508061323a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132319061441d565b60405180910390fd5b505050565b6060600d805461324e9061474f565b80601f016020809104026020016040519081016040528092919081815260200182805461327a9061474f565b80156132c75780601f1061329c576101008083540402835291602001916132c7565b820191906000526020600020905b8154815290600101906020018083116132aa57829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b801561331757600183039250600a81066030018353600a810490506132f7565b508181036020830392508083525050919050565b60009392505050565b60008082905060005b84518110156133c4576000858281518110613381577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190508083116133a35761339c838261346c565b92506133b0565b6133ad818461346c565b92505b5080806133bc906147b2565b91505061333d565b508091505092915050565b6133d98383613483565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461346757600080549050600083820390505b613419600086838060010194508661302e565b61344f576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061340657816000541461346457600080fd5b50505b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156134f0576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141561352b576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6135386000848385612e7d565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506135af836135a06000866000612e83565b6135a985613657565b17612eab565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106135d3578060008190555050506136526000848385612ed6565b505050565b60006001821460e11b9050919050565b8280546136739061474f565b90600052602060002090601f01602090048101928261369557600085556136dc565b82601f106136ae57803560ff19168380011785556136dc565b828001600101855582156136dc579182015b828111156136db5782358255916020019190600101906136c0565b5b5090506136e991906136ed565b5090565b5b808211156137065760008160009055506001016136ee565b5090565b600061371d613718846144bd565b614498565b90508281526020810184848401111561373557600080fd5b61374084828561470d565b509392505050565b60008135905061375781614b0e565b92915050565b60008083601f84011261376f57600080fd5b8235905067ffffffffffffffff81111561378857600080fd5b6020830191508360208202830111156137a057600080fd5b9250929050565b60008083601f8401126137b957600080fd5b8235905067ffffffffffffffff8111156137d257600080fd5b6020830191508360208202830111156137ea57600080fd5b9250929050565b60008135905061380081614b25565b92915050565b60008135905061381581614b3c565b92915050565b60008135905061382a81614b53565b92915050565b60008151905061383f81614b53565b92915050565b600082601f83011261385657600080fd5b813561386684826020860161370a565b91505092915050565b60008083601f84011261388157600080fd5b8235905067ffffffffffffffff81111561389a57600080fd5b6020830191508360018202830111156138b257600080fd5b9250929050565b6000813590506138c881614b6a565b92915050565b6000602082840312156138e057600080fd5b60006138ee84828501613748565b91505092915050565b6000806040838503121561390a57600080fd5b600061391885828601613748565b925050602061392985828601613748565b9150509250929050565b60008060006060848603121561394857600080fd5b600061395686828701613748565b935050602061396786828701613748565b9250506040613978868287016138b9565b9150509250925092565b6000806000806080858703121561399857600080fd5b60006139a687828801613748565b94505060206139b787828801613748565b93505060406139c8878288016138b9565b925050606085013567ffffffffffffffff8111156139e557600080fd5b6139f187828801613845565b91505092959194509250565b60008060408385031215613a1057600080fd5b6000613a1e85828601613748565b9250506020613a2f858286016137f1565b9150509250929050565b60008060408385031215613a4c57600080fd5b6000613a5a85828601613748565b9250506020613a6b858286016138b9565b9150509250929050565b600080600060408486031215613a8a57600080fd5b600084013567ffffffffffffffff811115613aa457600080fd5b613ab08682870161375d565b93509350506020613ac3868287016138b9565b9150509250925092565b60008060008060808587031215613ae357600080fd5b6000613af1878288016137f1565b9450506020613b02878288016138b9565b9350506040613b13878288016138b9565b9250506060613b2487828801613806565b91505092959194509250565b600060208284031215613b4257600080fd5b6000613b508482850161381b565b91505092915050565b600060208284031215613b6b57600080fd5b6000613b7984828501613830565b91505092915050565b60008060208385031215613b9557600080fd5b600083013567ffffffffffffffff811115613baf57600080fd5b613bbb8582860161386f565b92509250509250929050565b600060208284031215613bd957600080fd5b6000613be7848285016138b9565b91505092915050565b60008060408385031215613c0357600080fd5b6000613c11858286016138b9565b9250506020613c2285828601613748565b9150509250929050565b60008060008060608587031215613c4257600080fd5b6000613c50878288016138b9565b9450506020613c6187828801613748565b935050604085013567ffffffffffffffff811115613c7e57600080fd5b613c8a878288016137a7565b925092505092959194509250565b60008060408385031215613cab57600080fd5b6000613cb9858286016138b9565b9250506020613cca85828601613806565b9150509250929050565b60008060408385031215613ce757600080fd5b6000613cf5858286016138b9565b9250506020613d06858286016138b9565b9150509250929050565b60008060008060608587031215613d2657600080fd5b6000613d34878288016138b9565b9450506020613d45878288016138b9565b935050604085013567ffffffffffffffff811115613d6257600080fd5b613d6e878288016137a7565b925092505092959194509250565b6000613d888383614125565b60808301905092915050565b6000613da0838361417a565b60208301905092915050565b613db58161468f565b82525050565b613dcc613dc78261468f565b6147fb565b82525050565b6000613ddd8261450e565b613de78185614554565b9350613df2836144ee565b8060005b83811015613e23578151613e0a8882613d7c565b9750613e158361453a565b925050600181019050613df6565b5085935050505092915050565b6000613e3b82614519565b613e458185614565565b9350613e50836144fe565b8060005b83811015613e81578151613e688882613d94565b9750613e7383614547565b925050600181019050613e54565b5085935050505092915050565b613e97816146a1565b82525050565b613ea6816146a1565b82525050565b613eb5816146ad565b82525050565b6000613ec682614524565b613ed08185614576565b9350613ee081856020860161471c565b613ee9816148db565b840191505092915050565b6000613eff8261452f565b613f098185614592565b9350613f1981856020860161471c565b613f22816148db565b840191505092915050565b6000613f388261452f565b613f4281856145a3565b9350613f5281856020860161471c565b80840191505092915050565b6000613f6b601283614592565b9150613f76826148f9565b602082019050919050565b6000613f8e602683614592565b9150613f9982614922565b604082019050919050565b6000613fb1601483614592565b9150613fbc82614971565b602082019050919050565b6000613fd4601883614592565b9150613fdf8261499a565b602082019050919050565b6000613ff7601683614592565b9150614002826149c3565b602082019050919050565b600061401a601d83614592565b9150614025826149ec565b602082019050919050565b600061403d602083614592565b915061404882614a15565b602082019050919050565b6000614060600d83614592565b915061406b82614a3e565b602082019050919050565b6000614083601a83614592565b915061408e82614a67565b602082019050919050565b60006140a6600083614587565b91506140b182614a90565b600082019050919050565b60006140c9601083614592565b91506140d482614a93565b602082019050919050565b60006140ec601c83614592565b91506140f782614abc565b602082019050919050565b600061410f601183614592565b915061411a82614ae5565b602082019050919050565b60808201600082015161413b6000850182613e8e565b50602082015161414e602085018261417a565b506040820151614161604085018261417a565b5060608201516141746060850182613eac565b50505050565b61418381614703565b82525050565b61419281614703565b82525050565b60006141a48284613dbb565b60148201915081905092915050565b60006141bf8285613f2d565b91506141cb8284613f2d565b91508190509392505050565b60006141e282614099565b9150819050919050565b60006020820190506142016000830184613dac565b92915050565b600060808201905061421c6000830187613dac565b6142296020830186613dac565b6142366040830185614189565b81810360608301526142488184613ebb565b905095945050505050565b60006040820190506142686000830185613dac565b6142756020830184614189565b9392505050565b600060208201905081810360008301526142968184613dd2565b905092915050565b600060208201905081810360008301526142b88184613e30565b905092915050565b60006020820190506142d56000830184613e9d565b92915050565b600060208201905081810360008301526142f58184613ef4565b905092915050565b6000602082019050818103600083015261431681613f5e565b9050919050565b6000602082019050818103600083015261433681613f81565b9050919050565b6000602082019050818103600083015261435681613fa4565b9050919050565b6000602082019050818103600083015261437681613fc7565b9050919050565b6000602082019050818103600083015261439681613fea565b9050919050565b600060208201905081810360008301526143b68161400d565b9050919050565b600060208201905081810360008301526143d681614030565b9050919050565b600060208201905081810360008301526143f681614053565b9050919050565b6000602082019050818103600083015261441681614076565b9050919050565b60006020820190508181036000830152614436816140bc565b9050919050565b60006020820190508181036000830152614456816140df565b9050919050565b6000602082019050818103600083015261447681614102565b9050919050565b60006020820190506144926000830184614189565b92915050565b60006144a26144b3565b90506144ae8282614781565b919050565b6000604051905090565b600067ffffffffffffffff8211156144d8576144d76148ac565b5b6144e1826148db565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b60006145b982614703565b91506145c483614703565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156145f9576145f861481f565b5b828201905092915050565b600061460f82614703565b915061461a83614703565b92508261462a5761462961484e565b5b828204905092915050565b600061464082614703565b915061464b83614703565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156146845761468361481f565b5b828202905092915050565b600061469a826146e3565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561473a57808201518184015260208101905061471f565b83811115614749576000848401525b50505050565b6000600282049050600182168061476757607f821691505b6020821081141561477b5761477a61487d565b5b50919050565b61478a826148db565b810181811067ffffffffffffffff821117156147a9576147a86148ac565b5b80604052505050565b60006147bd82614703565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156147f0576147ef61481f565b5b600182019050919050565b60006148068261480d565b9050919050565b6000614818826148ec565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f45786365656473206d696e74206c696d69740000000000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f4578636565647320746f74616c20737570706c79000000000000000000000000600082015250565b7f517479206f66206d696e7473206e6f7420616c6c6f7765640000000000000000600082015250565b7f57686974656c6973742069736e27742061637469766500000000000000000000600082015250565b7f4372697465726961206e6f74206f6e207468652077686974656c697374000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c69642076616c756500000000000000000000000000000000000000600082015250565b7f56616c7565206578636565647320746f74616c20737570706c79000000000000600082015250565b50565b7f5472616e73666572206661696c65642e00000000000000000000000000000000600082015250565b7f457863656564732077686974656c697374206d696e74206c696d697400000000600082015250565b7f4d696e742069736e277420616374697665000000000000000000000000000000600082015250565b614b178161468f565b8114614b2257600080fd5b50565b614b2e816146a1565b8114614b3957600080fd5b50565b614b45816146ad565b8114614b5057600080fd5b50565b614b5c816146b7565b8114614b6757600080fd5b50565b614b7381614703565b8114614b7e57600080fd5b5056fea2646970667358221220cbde34db7a70fa194d61503f47b06978c6e1784c06323e2b6df075a907063ec864736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : baseTokenURI (string):

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000000


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.