ETH Price: $3,694.33 (+2.73%)

Token

ERC-20: MarshmallowMob (MM)
 

Overview

Max Total Supply

2,647 MM

Holders

501

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
luckboxing.eth
Balance
1 MM
0xaCc5C85a41EB7Eed8732560EfEFa85396536C4b5
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:
MarshmallowMob

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 21 : MarshmallowMob.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9 < 0.9.0;

import "erc721a/contracts/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "./LegionsOfLoud.sol";

contract MarshmallowMob is ERC721AQueryable, Ownable, ReentrancyGuard {
    using Strings for string;

    uint256 public constant WHITELIST_LIMIT = 2;
    uint256 public constant MAX_SUPPLY = 6444;
    uint256 public giveawayTokens = 10; 
    uint256 public PRICE = 0;
    uint256 public CLAIM_QUANTITY = 173;
    uint256 public FREE_QUANTITY = 2000;
    uint256 public FREE_MINT_LIMIT = 5;
    uint256 public currentSalePeriod = 0; // sale period 0 is sale is not active, sale period 1 is presale, sale period 2 is main sale
 
    string private _baseTokenURI = "https://api.marshmallowmob.com/revealedmetadata/";
    bytes32 root;
    using ECDSA for bytes32;
    mapping(address => uint256) public addressMintedBalance;
    mapping(address => uint256) public freeMintedBalance;
    mapping(uint256 => bool) public usedLoLTokenIds; // check if token ID from LoL contract has already claimed.

    LegionsOfLoud private LOL;
    uint256 private constant sumShare = 100;
    uint256[7] private paymentShares;
    address[7] private paymentAddresses;

    constructor(address _lolContractAddress, address[7] memory _addresses, uint256[7] memory _shares) ERC721A("MarshmallowMob", "MM") {
        LOL = LegionsOfLoud(_lolContractAddress);
        paymentAddresses = _addresses;
        paymentShares = _shares;
    }

    function mainMint(uint256 quantity) external payable nonReentrant{
        require(currentSalePeriod > 1, "1");
        if (PRICE == 0) {
            require(FREE_QUANTITY - quantity >= 0, "10");
            require(freeMintedBalance[msg.sender] + quantity <= FREE_MINT_LIMIT, "7");
            require(msg.sender == tx.origin, "5");
            FREE_QUANTITY -= quantity;
            freeMintedBalance[msg.sender] += quantity;
            if (FREE_QUANTITY <= 0) {
                PRICE = 30000000000000000; // 0.03 ETH
            }
        } else {
            require(totalSupply() + quantity + CLAIM_QUANTITY + giveawayTokens <= MAX_SUPPLY, "2");
            require(msg.value >= PRICE * quantity, "3");
            require(quantity <= 100, "4");
            require(msg.sender == tx.origin, "5");
        }
        _safeMint(msg.sender, quantity);
    }

    function whitelistMint(uint256 quantity, bytes32[] memory proof) external payable nonReentrant{
        require(currentSalePeriod == 1, "1");
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        require(MerkleProof.verify(proof, root, leaf), "6");
        require(addressMintedBalance[msg.sender] + quantity <= WHITELIST_LIMIT, "7");
        require(msg.sender == tx.origin, "5");
        addressMintedBalance[msg.sender] += quantity;
        _safeMint(msg.sender, quantity);
    }
 
    function claimTokenUsed(uint256 tokenId) external view returns(bool) {
        return usedLoLTokenIds[tokenId];
    }

    function claimMint(uint256[] memory _tokenIds) external nonReentrant{
        require(currentSalePeriod > 0, "1");
        uint256 tokenIdsLength = _tokenIds.length;
        require(tokenIdsLength <= CLAIM_QUANTITY, "2");
        for (uint256 i = 0; i < tokenIdsLength; i++) {
            require(usedLoLTokenIds[_tokenIds[i]] == false, "8");
            require(LOL.ownerOf(_tokenIds[i]) == msg.sender, "9");
        }
        require(msg.sender == tx.origin, "5");
        for (uint256 i = 0; i < tokenIdsLength; i++) {
            usedLoLTokenIds[_tokenIds[i]] = true;
        }
        CLAIM_QUANTITY -= tokenIdsLength;
        _safeMint(msg.sender, tokenIdsLength * 2);
    }

    function giveawayMint() external onlyOwner{
        _safeMint(msg.sender, giveawayTokens);
        giveawayTokens = 0;
    }

    function freeMintLimit(uint256 _freeMintLimit) external onlyOwner {
        FREE_MINT_LIMIT = _freeMintLimit;
    }

    function setPrice(uint256 _newPrice) external onlyOwner {
        PRICE = _newPrice;
    }

    function getPrice() external view returns(uint256) {
        return(PRICE);
    }

    function changeSalePeriod(uint256 _period) external onlyOwner {
        currentSalePeriod = _period;
    }
    
    function setRoot(bytes32 _root) external onlyOwner {
        root = _root;
    }
    
    function _baseURI() internal view virtual override returns (string memory) {
        return _baseTokenURI;
    }

    function setBaseURI(string calldata baseURI) external onlyOwner {
        _baseTokenURI = baseURI;
    }
    
    function whitelistMintBalanceCheck(address user) external view returns(uint256) {
        return(addressMintedBalance[user]);
    }

    function freeMintBalanceCheck(address user) external view returns(uint256) {
        return(freeMintedBalance[user]);
    }

    function freeQuantity() external view returns(uint256) {
        return FREE_QUANTITY;
    }

    function claimQuantity() external view returns(uint256) {
        return CLAIM_QUANTITY;
    }
    
    function withdraw() external onlyOwner nonReentrant {
        uint256 balance = address(this).balance;
        uint256 pay1 = (balance * paymentShares[0])/sumShare;
        uint256 pay2 = (balance * paymentShares[1])/sumShare;
        uint256 pay3 = (balance * paymentShares[2])/sumShare;
        uint256 pay4 = (balance * paymentShares[3])/sumShare;
        uint256 pay5 = (balance * paymentShares[4])/sumShare;
        uint256 pay6 = (balance * paymentShares[5])/sumShare;
        uint256 pay7 = (balance * paymentShares[6])/sumShare;
        uint256 partnerTransfer = balance - (pay1 + pay2 + pay3 + pay4 + pay5 + pay6 + pay7);
        
        Address.sendValue(payable(paymentAddresses[0]), pay1);
        Address.sendValue(payable(paymentAddresses[1]), pay2);
        Address.sendValue(payable(paymentAddresses[2]), pay3);
        Address.sendValue(payable(paymentAddresses[3]), pay4);
        Address.sendValue(payable(paymentAddresses[4]), pay5);
        Address.sendValue(payable(paymentAddresses[5]), pay6);
        Address.sendValue(payable(paymentAddresses[6]), pay7);
        Address.sendValue(payable(owner()), partnerTransfer);
        require(address(this).balance == 0);
    }

    // Require Statement Rejection Code Index:
    // 1  - Sale is not active
    // 2  - Purchase would exceed max supply
    // 3  - Not enough ETH for this transaction
    // 4  - Decrease token quantity per transaction
    // 5  - Transaction from smart contract not allowed
    // 6  - PK not in whitelist
    // 7  - Quantity exceeds whitelist allowance
    // 8  - Token Id has already been used
    // 9  - User does not own LoL token ID
    // 10 - Free tokens have been exhausted
}

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

pragma solidity ^0.8.4;

import './IERC721AQueryable.sol';
import '../ERC721A.sol';

/**
 * @title ERC721A Queryable
 * @dev ERC721A subclass with convenience query functions.
 */
abstract contract ERC721AQueryable is ERC721A, IERC721AQueryable {
    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *   - `extraData` = `0`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *   - `extraData` = `<Extra data when token was burned>`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     *   - `extraData` = `<Extra data at start of ownership>`
     */
    function explicitOwnershipOf(uint256 tokenId) public view override returns (TokenOwnership memory) {
        TokenOwnership memory ownership;
        if (tokenId < _startTokenId() || tokenId >= _nextTokenId()) {
            return ownership;
        }
        ownership = _ownershipAt(tokenId);
        if (ownership.burned) {
            return ownership;
        }
        return _ownershipOf(tokenId);
    }

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view override returns (TokenOwnership[] memory) {
        unchecked {
            uint256 tokenIdsLength = tokenIds.length;
            TokenOwnership[] memory ownerships = new TokenOwnership[](tokenIdsLength);
            for (uint256 i; i != tokenIdsLength; ++i) {
                ownerships[i] = explicitOwnershipOf(tokenIds[i]);
            }
            return ownerships;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view override returns (uint256[] memory) {
        unchecked {
            if (start >= stop) revert InvalidQueryRange();
            uint256 tokenIdsIdx;
            uint256 stopLimit = _nextTokenId();
            // Set `start = max(start, _startTokenId())`.
            if (start < _startTokenId()) {
                start = _startTokenId();
            }
            // Set `stop = min(stop, stopLimit)`.
            if (stop > stopLimit) {
                stop = stopLimit;
            }
            uint256 tokenIdsMaxLength = balanceOf(owner);
            // Set `tokenIdsMaxLength = min(balanceOf(owner), stop - start)`,
            // to cater for cases where `balanceOf(owner)` is too big.
            if (start < stop) {
                uint256 rangeLength = stop - start;
                if (rangeLength < tokenIdsMaxLength) {
                    tokenIdsMaxLength = rangeLength;
                }
            } else {
                tokenIdsMaxLength = 0;
            }
            uint256[] memory tokenIds = new uint256[](tokenIdsMaxLength);
            if (tokenIdsMaxLength == 0) {
                return tokenIds;
            }
            // We need to call `explicitOwnershipOf(start)`,
            // because the slot at `start` may not be initialized.
            TokenOwnership memory ownership = explicitOwnershipOf(start);
            address currOwnershipAddr;
            // If the starting slot exists (i.e. not burned), initialize `currOwnershipAddr`.
            // `ownership.address` will not be zero, as `start` is clamped to the valid token ID range.
            if (!ownership.burned) {
                currOwnershipAddr = ownership.addr;
            }
            for (uint256 i = start; i != stop && tokenIdsIdx != tokenIdsMaxLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            // Downsize the array to fit.
            assembly {
                mstore(tokenIds, tokenIdsIdx)
            }
            return tokenIds;
        }
    }

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view override returns (uint256[] memory) {
        unchecked {
            uint256 tokenIdsIdx;
            address currOwnershipAddr;
            uint256 tokenIdsLength = balanceOf(owner);
            uint256[] memory tokenIds = new uint256[](tokenIdsLength);
            TokenOwnership memory ownership;
            for (uint256 i = _startTokenId(); tokenIdsIdx != tokenIdsLength; ++i) {
                ownership = _ownershipAt(i);
                if (ownership.burned) {
                    continue;
                }
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    tokenIds[tokenIdsIdx++] = i;
                }
            }
            return tokenIds;
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 6 of 21 : LegionsOfLoud.sol
//Contract based on https://docs.openzeppelin.com/contracts/4.x/erc721
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8 < 0.9.0;

//OpenZeppelin contract/token imports
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

//Contract instantiation
contract LegionsOfLoud is ERC721Enumerable, Ownable, ReentrancyGuard {
    using ECDSA for bytes32;
    mapping(string => bool) private _usedNonces;
    address private _signerAddress = 0xF5FF2CC2Ee8b4eA2C03F0cf0c93fd3a867Da9E8A; // Contract wallet
    uint public constant lolBadges = 7200; // Total number of token ID's
    uint256 private _priceOfToken = 69000000000000000; // Total cost per token minted is 0.069 ETH
    string private _tokenURIBaseURL = "https://api.legionsofloud.com/meta/"; //Base URL of token metadata
    bool public tokenSale = true; // True means sale is active, false means sale is not active.

    constructor() ERC721("Legions of Loud", "LOL") {}

    function hashTransaction(address sender, uint256 qty, string memory nonce) private pure returns(bytes32) {
        bytes32 hash = keccak256(abi.encodePacked(
            "\x19Ethereum Signed Message:\n32",
            keccak256(abi.encodePacked(sender, qty, nonce)))
        );
        return hash;
    }
        
    function matchAddresSigner(bytes32 hash, bytes memory signature) private view returns(bool) {
        return _signerAddress == hash.recover(signature);
    }

    function setSignerAddress(address addr) external onlyOwner {
        _signerAddress = addr;
    }

    function reUp(bytes memory signature, string memory nonce, uint256 token_quantity) external payable nonReentrant {
        require(matchAddresSigner(hashTransaction(msg.sender, token_quantity, nonce), signature), "DIRECT MINT IS NOT ALLOWED please visit www.legionsofloud.com");
        require(!_usedNonces[nonce], "HASH USED");
        _usedNonces[nonce] = true;
        require(token_quantity + totalSupply() <= lolBadges, "The max amount of tokens has been reached, per contract.");
        require(tokenSale, "Tokens are not for sale.");
        require(token_quantity <= 20, "The token amount entered is above the allowable limit of 20 per transaction.  Please enter a lesser amount.");
        require(msg.value >= tokenPrice(token_quantity), "You have insufficient funds.");
        for (uint i = 0; i < token_quantity; i++) {
            _safeMint(msg.sender, totalSupply() + 1);
        }    
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
        internal
        override
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function walletOfOwner(address _owner) external view returns(uint256[] memory) {
        uint tokenCount = balanceOf(_owner);
        uint256[] memory tokensId = new uint256[](tokenCount);
        for(uint i = 0; i < tokenCount; i++){
            tokensId[i] = tokenOfOwnerByIndex(_owner, i);
        }
        return tokensId;
    }

    function tokenOnSale(bool _isTokenSale) public onlyOwner {
        tokenSale = _isTokenSale;
    }

    function _baseURI() internal view virtual override returns (string memory) {
        return _tokenURIBaseURL;
    }
    
    function setBaseURI(string memory baseURI) public onlyOwner {
        _tokenURIBaseURL = baseURI;
    }

    function tokenPrice(uint token_quantity) public view returns (uint256) {
        return _priceOfToken * token_quantity;
    }
    
    // Just in case ETH does some crazy stuff
    function setPrice(uint256 _newPrice) public onlyOwner() {
        _priceOfToken = _newPrice;
    }
    
    function getPrice() public view returns (uint256){
        return _priceOfToken;
    }



    // Contract Payout Structure
    address constant dev1Address = 0x9F90601582eD28922a81156a60aad0cf0fd69203; // Dev 1 address
    address constant dev2Address = 0xC7067F6Ed87F0fd8D5Cc47AD0F0C0b512a3CC275; // Dev 2 address
    address constant owner2Address = 0x70716Bd3E3E46e93E220E92045af42F2907Bbb9B; // Owner 2 address
    address constant artAddress = 0x80528F38843d19eCf558df2655354c99F05731a3; // Artist address
    uint constant dev1Fee = 13;
    uint constant dev2Fee = 12;
    uint constant artFee = 10;
    uint constant owner2Fee = 32;
    uint private constant sumShare = 100;

    function withdraw() public payable onlyOwner {
        uint256 balance = address(this).balance;

        uint dev1Transfer = (balance * dev1Fee)/sumShare;
        uint dev2Transfer = (balance * dev2Fee)/sumShare;
        uint artTransfer = (balance * artFee)/sumShare;
        uint owner2Transfer = (balance * owner2Fee)/sumShare;
        uint partnerTransfer = balance - (dev1Transfer + dev2Transfer + artTransfer + owner2Transfer);

        payable(dev1Address).transfer(dev1Transfer);
        payable(dev2Address).transfer(dev2Transfer);
        payable(artAddress).transfer(artTransfer);
        payable(owner2Address).transfer(owner2Transfer);
        payable(msg.sender).transfer(partnerTransfer);
        require(address(this).balance == 0);
    }
}

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

pragma solidity ^0.8.4;

import '../IERC721A.sol';

/**
 * @dev Interface of an ERC721AQueryable compliant contract.
 */
interface IERC721AQueryable is IERC721A {
    /**
     * Invalid query range (`start` >= `stop`).
     */
    error InvalidQueryRange();

    /**
     * @dev Returns the `TokenOwnership` struct at `tokenId` without reverting.
     *
     * If the `tokenId` is out of bounds:
     *   - `addr` = `address(0)`
     *   - `startTimestamp` = `0`
     *   - `burned` = `false`
     *
     * If the `tokenId` is burned:
     *   - `addr` = `<Address of owner before token was burned>`
     *   - `startTimestamp` = `<Timestamp when token was burned>`
     *   - `burned = `true`
     *
     * Otherwise:
     *   - `addr` = `<Address of owner>`
     *   - `startTimestamp` = `<Timestamp of start of ownership>`
     *   - `burned = `false`
     */
    function explicitOwnershipOf(uint256 tokenId) external view returns (TokenOwnership memory);

    /**
     * @dev Returns an array of `TokenOwnership` structs at `tokenIds` in order.
     * See {ERC721AQueryable-explicitOwnershipOf}
     */
    function explicitOwnershipsOf(uint256[] memory tokenIds) external view returns (TokenOwnership[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`,
     * in the range [`start`, `stop`)
     * (i.e. `start <= tokenId < stop`).
     *
     * This function allows for tokens to be queried if the collection
     * grows too big for a single call of {ERC721AQueryable-tokensOfOwner}.
     *
     * Requirements:
     *
     * - `start` < `stop`
     */
    function tokensOfOwnerIn(
        address owner,
        uint256 start,
        uint256 stop
    ) external view returns (uint256[] memory);

    /**
     * @dev Returns an array of token IDs owned by `owner`.
     *
     * This function scans the ownership mapping and is O(totalSupply) in complexity.
     * It is meant to be called off-chain.
     *
     * See {ERC721AQueryable-tokensOfOwnerIn} for splitting the scan into
     * multiple smaller scans if the collection is large enough to cause
     * an out-of-gas error (10K pfp collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

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

pragma solidity ^0.8.4;

import './IERC721A.sol';

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = address(uint160(prevOwnershipPacked));

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 21 : 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 10 of 21 : 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 11 of 21 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) {
        return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff);
        uint8 v = uint8((uint256(vs) >> 255) + 27);
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return
            interfaceId == type(IERC721).interfaceId ||
            interfaceId == type(IERC721Metadata).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        require(owner != address(0), "ERC721: balance query for the zero address");
        return _balances[owner];
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

        string memory baseURI = _baseURI();
        return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : "";
    }

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

        require(
            _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
            "ERC721: approve caller is not owner nor approved for all"
        );

        _approve(to, tokenId);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        require(_exists(tokenId), "ERC721: approved query for nonexistent token");

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender);
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);

        _afterTokenTransfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);

        _afterTokenTransfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

    /**
     * @dev Approve `to` to operate on `tokenId`
     *
     * Emits a {Approval} event.
     */
    function _approve(address to, uint256 tokenId) internal virtual {
        _tokenApprovals[tokenId] = to;
        emit Approval(ERC721.ownerOf(tokenId), to, tokenId);
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a 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 _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * 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, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 15 of 21 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 18 of 21 : 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 19 of 21 : 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 20 of 21 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_lolContractAddress","type":"address"},{"internalType":"address[7]","name":"_addresses","type":"address[7]"},{"internalType":"uint256[7]","name":"_shares","type":"uint256[7]"}],"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":"InvalidQueryRange","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":"CLAIM_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_MINT_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FREE_QUANTITY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WHITELIST_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"addressMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_period","type":"uint256"}],"name":"changeSalePeriod","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_tokenIds","type":"uint256[]"}],"name":"claimMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"claimTokenUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentSalePeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"explicitOwnershipOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"explicitOwnershipsOf","outputs":[{"components":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"uint64","name":"startTimestamp","type":"uint64"},{"internalType":"bool","name":"burned","type":"bool"},{"internalType":"uint24","name":"extraData","type":"uint24"}],"internalType":"struct IERC721A.TokenOwnership[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"freeMintBalanceCheck","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_freeMintLimit","type":"uint256"}],"name":"freeMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"freeMintedBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freeQuantity","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"giveawayMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"giveawayTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"}],"name":"mainMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"tokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"stop","type":"uint256"}],"name":"tokensOfOwnerIn","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":"uint256","name":"","type":"uint256"}],"name":"usedLoLTokenIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"quantity","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"whitelistMintBalanceCheck","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a80556000600b5560ad600c556107d0600d556005600e556000600f5560405180606001604052806030815260200162005a0d603091396010908051906020019062000053929190620002aa565b503480156200006157600080fd5b5060405162005a3d38038062005a3d8339818101604052810190620000879190620006f7565b6040518060400160405280600e81526020017f4d617273686d616c6c6f774d6f620000000000000000000000000000000000008152506040518060400160405280600281526020017f4d4d00000000000000000000000000000000000000000000000000000000000081525081600290805190602001906200010b929190620002aa565b50806003908051906020019062000124929190620002aa565b5062000135620001d760201b60201c565b60008190555050506200015d62000151620001dc60201b60201c565b620001e460201b60201c565b600160098190555082601560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081601d906007620001b99291906200033b565b50806016906007620001cd929190620003bd565b50505050620007ba565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002b89062000784565b90600052602060002090601f016020900481019282620002dc576000855562000328565b82601f10620002f757805160ff191683800117855562000328565b8280016001018555821562000328579182015b82811115620003275782518255916020019190600101906200030a565b5b50905062000337919062000402565b5090565b8260078101928215620003aa579160200282015b82811115620003a95782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200034f565b5b509050620003b9919062000402565b5090565b8260078101928215620003ef579160200282015b82811115620003ee578251825591602001919060010190620003d1565b5b509050620003fe919062000402565b5090565b5b808211156200041d57600081600090555060010162000403565b5090565b6000604051905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006200045d8262000430565b9050919050565b6200046f8162000450565b81146200047b57600080fd5b50565b6000815190506200048f8162000464565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620004e5826200049a565b810181811067ffffffffffffffff82111715620005075762000506620004ab565b5b80604052505050565b60006200051c62000421565b90506200052a8282620004da565b919050565b600067ffffffffffffffff8211156200054d576200054c620004ab565b5b602082029050919050565b600080fd5b6000620005746200056e846200052f565b62000510565b9050806020840283018581111562000591576200059062000558565b5b835b81811015620005be5780620005a988826200047e565b84526020840193505060208101905062000593565b5050509392505050565b600082601f830112620005e057620005df62000495565b5b6007620005ef8482856200055d565b91505092915050565b600067ffffffffffffffff821115620006165762000615620004ab565b5b602082029050919050565b6000819050919050565b620006368162000621565b81146200064257600080fd5b50565b60008151905062000656816200062b565b92915050565b6000620006736200066d84620005f8565b62000510565b9050806020840283018581111562000690576200068f62000558565b5b835b81811015620006bd5780620006a8888262000645565b84526020840193505060208101905062000692565b5050509392505050565b600082601f830112620006df57620006de62000495565b5b6007620006ee8482856200065c565b91505092915050565b60008060006101e084860312156200071457620007136200042b565b5b600062000724868287016200047e565b93505060206200073786828701620005c8565b9250506101006200074b86828701620006c7565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200079d57607f821691505b60208210811415620007b457620007b362000755565b5b50919050565b61524380620007ca6000396000f3fe6080604052600436106102935760003560e01c80638d859f3e1161015a578063bbf15246116100c1578063d7d6287c1161007a578063d7d6287c14610a6b578063dab5f34014610a94578063e985e9c514610abd578063e9a8b84314610afa578063f2fde38b14610b11578063f578d9df14610b3a57610293565b8063bbf1524614610932578063c23dc68f1461096f578063c713363d146109ac578063c87b56dd146109e9578063ce407f4014610a26578063d2cab05614610a4f57610293565b806399a2557a1161011357806399a2557a146108225780639ab4eca91461085f578063a08c61d31461088a578063a22cb465146108b5578063a7048ae1146108de578063b88d4fde1461090957610293565b80638d859f3e146107225780638da5cb5b1461074d57806391b7f5ed1461077857806395d89b41146107a15780639841743d146107cc57806398d5fdca146107f757610293565b806342842e0e116101fe57806370a08231116101b757806370a08231146105fe578063715018a61461063b578063772a464d146106525780637dd328801461067d5780638462151c146106a85780638735f753146106e557610293565b806342842e0e146104de57806355f804b3146105075780635bbb217714610530578063626c8f8e1461056d5780636352211e146105985780636ca94b4e146105d557610293565b806318cae2691161025057806318cae269146103ce5780631b997f121461040b57806323b872dd14610436578063276cd3a31461045f57806332cb6b0c1461049c5780633ccfd60b146104c757610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806312d7ae101461036657806318160ddd146103a3575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613b39565b610b56565b6040516102cc9190613b81565b60405180910390f35b3480156102e157600080fd5b506102ea610be8565b6040516102f79190613c35565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613c8d565b610c7a565b6040516103349190613cfb565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613d42565b610cf6565b005b34801561037257600080fd5b5061038d60048036038101906103889190613c8d565b610e37565b60405161039a9190613b81565b60405180910390f35b3480156103af57600080fd5b506103b8610e57565b6040516103c59190613d91565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613dac565b610e6e565b6040516104029190613d91565b60405180910390f35b34801561041757600080fd5b50610420610e86565b60405161042d9190613d91565b60405180910390f35b34801561044257600080fd5b5061045d60048036038101906104589190613dd9565b610e8c565b005b34801561046b57600080fd5b5061048660048036038101906104819190613dac565b6111b1565b6040516104939190613d91565b60405180910390f35b3480156104a857600080fd5b506104b16111c9565b6040516104be9190613d91565b60405180910390f35b3480156104d357600080fd5b506104dc6111cf565b005b3480156104ea57600080fd5b5061050560048036038101906105009190613dd9565b61163f565b005b34801561051357600080fd5b5061052e60048036038101906105299190613e91565b61165f565b005b34801561053c57600080fd5b506105576004803603810190610552919061401c565b6116f1565b60405161056491906141c8565b60405180910390f35b34801561057957600080fd5b506105826117b2565b60405161058f9190613d91565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190613c8d565b6117bc565b6040516105cc9190613cfb565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f79190613c8d565b6117ce565b005b34801561060a57600080fd5b5061062560048036038101906106209190613dac565b611854565b6040516106329190613d91565b60405180910390f35b34801561064757600080fd5b5061065061190d565b005b34801561065e57600080fd5b50610667611995565b6040516106749190613d91565b60405180910390f35b34801561068957600080fd5b5061069261199b565b60405161069f9190613d91565b60405180910390f35b3480156106b457600080fd5b506106cf60048036038101906106ca9190613dac565b6119a5565b6040516106dc91906142a8565b60405180910390f35b3480156106f157600080fd5b5061070c60048036038101906107079190613dac565b611aef565b6040516107199190613d91565b60405180910390f35b34801561072e57600080fd5b50610737611b38565b6040516107449190613d91565b60405180910390f35b34801561075957600080fd5b50610762611b3e565b60405161076f9190613cfb565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a9190613c8d565b611b68565b005b3480156107ad57600080fd5b506107b6611bee565b6040516107c39190613c35565b60405180910390f35b3480156107d857600080fd5b506107e1611c80565b6040516107ee9190613d91565b60405180910390f35b34801561080357600080fd5b5061080c611c86565b6040516108199190613d91565b60405180910390f35b34801561082e57600080fd5b50610849600480360381019061084491906142ca565b611c90565b60405161085691906142a8565b60405180910390f35b34801561086b57600080fd5b50610874611ea4565b6040516108819190613d91565b60405180910390f35b34801561089657600080fd5b5061089f611eaa565b6040516108ac9190613d91565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190614349565b611eaf565b005b3480156108ea57600080fd5b506108f3612027565b6040516109009190613d91565b60405180910390f35b34801561091557600080fd5b50610930600480360381019061092b919061443e565b61202d565b005b34801561093e57600080fd5b5061095960048036038101906109549190613c8d565b6120a0565b6040516109669190613b81565b60405180910390f35b34801561097b57600080fd5b5061099660048036038101906109919190613c8d565b6120ca565b6040516109a39190614516565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613dac565b612134565b6040516109e09190613d91565b60405180910390f35b3480156109f557600080fd5b50610a106004803603810190610a0b9190613c8d565b61217d565b604051610a1d9190613c35565b60405180910390f35b348015610a3257600080fd5b50610a4d6004803603810190610a489190613c8d565b61221c565b005b610a696004803603810190610a64919061462a565b6122a2565b005b348015610a7757600080fd5b50610a926004803603810190610a8d919061401c565b612515565b005b348015610aa057600080fd5b50610abb6004803603810190610ab69190614686565b6128d3565b005b348015610ac957600080fd5b50610ae46004803603810190610adf91906146b3565b612959565b604051610af19190613b81565b60405180910390f35b348015610b0657600080fd5b50610b0f6129ed565b005b348015610b1d57600080fd5b50610b386004803603810190610b339190613dac565b612a7f565b005b610b546004803603810190610b4f9190613c8d565b612b77565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bb157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610be15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610bf790614722565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2390614722565b8015610c705780601f10610c4557610100808354040283529160200191610c70565b820191906000526020600020905b815481529060010190602001808311610c5357829003601f168201915b5050505050905090565b6000610c8582612f79565b610cbb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d01826117bc565b90508073ffffffffffffffffffffffffffffffffffffffff16610d22612fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610d8557610d4e81610d49612fd8565b612959565b610d84576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60146020528060005260406000206000915054906101000a900460ff1681565b6000610e61612fe0565b6001546000540303905090565b60126020528060005260406000206000915090505481565b600c5481565b6000610e9782612fe5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610efe576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f0a846130b3565b91509150610f208187610f1b612fd8565b6130d5565b610f6c57610f3586610f30612fd8565b612959565b610f6b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fd3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fe08686866001613119565b8015610feb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110b98561109588888761311f565b7c020000000000000000000000000000000000000000000000000000000017613147565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561114157600060018501905060006004600083815260200190815260200160002054141561113f57600054811461113e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111a98686866001613172565b505050505050565b60136020528060005260406000206000915090505481565b61192c81565b6111d7613178565b73ffffffffffffffffffffffffffffffffffffffff166111f5611b3e565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611242906147a0565b60405180910390fd5b60026009541415611291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112889061480c565b60405180910390fd5b600260098190555060004790506000606460166000600781106112b7576112b661482c565b5b0154836112c4919061488a565b6112ce9190614913565b90506000606460166001600781106112e9576112e861482c565b5b0154846112f6919061488a565b6113009190614913565b905060006064601660026007811061131b5761131a61482c565b5b015485611328919061488a565b6113329190614913565b905060006064601660036007811061134d5761134c61482c565b5b01548661135a919061488a565b6113649190614913565b905060006064601660046007811061137f5761137e61482c565b5b01548761138c919061488a565b6113969190614913565b90506000606460166005600781106113b1576113b061482c565b5b0154886113be919061488a565b6113c89190614913565b90506000606460166006600781106113e3576113e261482c565b5b0154896113f0919061488a565b6113fa9190614913565b9050600081838587898b8d61140f9190614944565b6114199190614944565b6114239190614944565b61142d9190614944565b6114379190614944565b6114419190614944565b8961144c919061499a565b905061148e601d6000600781106114665761146561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1689613180565b6114ce601d6001600781106114a6576114a561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688613180565b61150e601d6002600781106114e6576114e561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687613180565b61154e601d6003600781106115265761152561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686613180565b61158e601d6004600781106115665761156561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685613180565b6115ce601d6005600781106115a6576115a561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613180565b61160e601d6006600781106115e6576115e561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613180565b61161f611619611b3e565b82613180565b6000471461162c57600080fd5b5050505050505050506001600981905550565b61165a8383836040518060200160405280600081525061202d565b505050565b611667613178565b73ffffffffffffffffffffffffffffffffffffffff16611685611b3e565b73ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d2906147a0565b60405180910390fd5b8181601091906116ec9291906139db565b505050565b606060008251905060008167ffffffffffffffff81111561171557611714613ede565b5b60405190808252806020026020018201604052801561174e57816020015b61173b613a61565b8152602001906001900390816117335790505b50905060005b8281146117a75761177e8582815181106117715761177061482c565b5b60200260200101516120ca565b8282815181106117915761179061482c565b5b6020026020010181905250806001019050611754565b508092505050919050565b6000600d54905090565b60006117c782612fe5565b9050919050565b6117d6613178565b73ffffffffffffffffffffffffffffffffffffffff166117f4611b3e565b73ffffffffffffffffffffffffffffffffffffffff161461184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611841906147a0565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118bc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611915613178565b73ffffffffffffffffffffffffffffffffffffffff16611933611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614611989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611980906147a0565b60405180910390fd5b6119936000613274565b565b600d5481565b6000600c54905090565b606060008060006119b585611854565b905060008167ffffffffffffffff8111156119d3576119d2613ede565b5b604051908082528060200260200182016040528015611a015781602001602082028036833780820191505090505b509050611a0c613a61565b6000611a16612fe0565b90505b838614611ae157611a298161333a565b9150816040015115611a3a57611ad6565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611a7a57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611ad55780838780600101985081518110611ac857611ac761482c565b5b6020026020010181815250505b5b806001019050611a19565b508195505050505050919050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600b5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b70613178565b73ffffffffffffffffffffffffffffffffffffffff16611b8e611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614611be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdb906147a0565b60405180910390fd5b80600b8190555050565b606060038054611bfd90614722565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2990614722565b8015611c765780601f10611c4b57610100808354040283529160200191611c76565b820191906000526020600020905b815481529060010190602001808311611c5957829003601f168201915b5050505050905090565b600f5481565b6000600b54905090565b6060818310611ccb576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611cd6613365565b9050611ce0612fe0565b851015611cf257611cef612fe0565b94505b80841115611cfe578093505b6000611d0987611854565b905084861015611d2c576000868603905081811015611d26578091505b50611d31565b600090505b60008167ffffffffffffffff811115611d4d57611d4c613ede565b5b604051908082528060200260200182016040528015611d7b5781602001602082028036833780820191505090505b5090506000821415611d935780945050505050611e9d565b6000611d9e886120ca565b905060008160400151611db357816000015190505b60008990505b888114158015611dc95750848714155b15611e8f57611dd78161333a565b9250826040015115611de857611e84565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611e2857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e835780848880600101995081518110611e7657611e7561482c565b5b6020026020010181815250505b5b806001019050611db9565b508583528296505050505050505b9392505050565b600a5481565b600281565b611eb7612fd8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f1c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611f29612fd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fd6612fd8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161201b9190613b81565b60405180910390a35050565b600e5481565b612038848484610e8c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461209a576120638484848461336e565b612099576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60006014600083815260200190815260200160002060009054906101000a900460ff169050919050565b6120d2613a61565b6120da613a61565b6120e2612fe0565b8310806120f657506120f2613365565b8310155b15612104578091505061212f565b61210d8361333a565b9050806040015115612122578091505061212f565b61212b836134ce565b9150505b919050565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061218882612f79565b6121be576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006121c86134ee565b90506000815114156121e95760405180602001604052806000815250612214565b806121f384613580565b604051602001612204929190614a0a565b6040516020818303038152906040525b915050919050565b612224613178565b73ffffffffffffffffffffffffffffffffffffffff16612242611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f906147a0565b60405180910390fd5b80600f8190555050565b600260095414156122e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122df9061480c565b60405180910390fd5b60026009819055506001600f5414612335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232c90614a7a565b60405180910390fd5b6000336040516020016123489190614ae2565b60405160208183030381529060405280519060200120905061236d82601154836135da565b6123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390614b49565b60405180910390fd5b600283601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123f99190614944565b111561243a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243190614bb5565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249f90614c21565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f79190614944565b9250508190555061250833846135f1565b5060016009819055505050565b6002600954141561255b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125529061480c565b60405180910390fd5b60026009819055506000600f54116125a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259f90614a7a565b60405180910390fd5b600081519050600c548111156125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea90614c8d565b60405180910390fd5b60005b818110156127c45760001515601460008584815181106126195761261861482c565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615151461267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690614cf9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8584815181106126e7576126e661482c565b5b60200260200101516040518263ffffffff1660e01b815260040161270b9190613d91565b60206040518083038186803b15801561272357600080fd5b505afa158015612737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275b9190614d2e565b73ffffffffffffffffffffffffffffffffffffffff16146127b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a890614da7565b60405180910390fd5b80806127bc90614dc7565b9150506125f6565b503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282a90614c21565b60405180910390fd5b60005b81811015612897576001601460008584815181106128575761285661482c565b5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061288f90614dc7565b915050612836565b5080600c60008282546128aa919061499a565b925050819055506128c7336002836128c2919061488a565b6135f1565b50600160098190555050565b6128db613178565b73ffffffffffffffffffffffffffffffffffffffff166128f9611b3e565b73ffffffffffffffffffffffffffffffffffffffff161461294f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612946906147a0565b60405180910390fd5b8060118190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129f5613178565b73ffffffffffffffffffffffffffffffffffffffff16612a13611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614612a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a60906147a0565b60405180910390fd5b612a7533600a546135f1565b6000600a81905550565b612a87613178565b73ffffffffffffffffffffffffffffffffffffffff16612aa5611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614612afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af2906147a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6290614e82565b60405180910390fd5b612b7481613274565b50565b60026009541415612bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb49061480c565b60405180910390fd5b60026009819055506001600f5411612c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0190614a7a565b60405180910390fd5b6000600b541415612df057600081600d54612c25919061499a565b1015612c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5d90614eee565b60405180910390fd5b600e5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cb49190614944565b1115612cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cec90614bb5565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5a90614c21565b60405180910390fd5b80600d6000828254612d75919061499a565b9250508190555080601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dcb9190614944565b925050819055506000600d5411612deb57666a94d74f430000600b819055505b612f64565b61192c600a54600c5483612e02610e57565b612e0c9190614944565b612e169190614944565b612e209190614944565b1115612e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5890614c8d565b60405180910390fd5b80600b54612e6f919061488a565b341015612eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea890614f5a565b60405180910390fd5b6064811115612ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eec90614fc6565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a90614c21565b60405180910390fd5b5b612f6e33826135f1565b600160098190555050565b600081612f84612fe0565b11158015612f93575060005482105b8015612fd1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612ff4612fe0565b1161307c5760005481101561307b5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613079575b600081141561306f576004600083600190039350838152602001908152602001600020549050613044565b80925050506130ae565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861313686868461360f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b804710156131c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ba90615032565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516131e990615083565b60006040518083038185875af1925050503d8060008114613226576040519150601f19603f3d011682016040523d82523d6000602084013e61322b565b606091505b505090508061326f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132669061510a565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613342613a61565b61335e6004600084815260200190815260200160002054613618565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613394612fd8565b8786866040518563ffffffff1660e01b81526004016133b6949392919061517f565b602060405180830381600087803b1580156133d057600080fd5b505af192505050801561340157506040513d601f19601f820116820180604052508101906133fe91906151e0565b60015b61347b573d8060008114613431576040519150601f19603f3d011682016040523d82523d6000602084013e613436565b606091505b50600081511415613473576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6134d6613a61565b6134e76134e283612fe5565b613618565b9050919050565b6060601080546134fd90614722565b80601f016020809104026020016040519081016040528092919081815260200182805461352990614722565b80156135765780601f1061354b57610100808354040283529160200191613576565b820191906000526020600020905b81548152906001019060200180831161355957829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156135c657600183039250600a81066030018353600a810490506135a6565b508181036020830392508083525050919050565b6000826135e785846136ce565b1490509392505050565b61360b828260405180602001604052806000815250613743565b5050565b60009392505050565b613620613a61565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008082905060005b84518110156137385760008582815181106136f5576136f461482c565b5b602002602001015190508083116137175761371083826137e0565b9250613724565b61372181846137e0565b92505b50808061373090614dc7565b9150506136d7565b508091505092915050565b61374d83836137f7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137db57600080549050600083820390505b61378d600086838060010194508661336e565b6137c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061377a5781600054146137d857600080fd5b50505b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613864576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141561389f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138ac6000848385613119565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061392383613914600086600061311f565b61391d856139cb565b17613147565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613947578060008190555050506139c66000848385613172565b505050565b60006001821460e11b9050919050565b8280546139e790614722565b90600052602060002090601f016020900481019282613a095760008555613a50565b82601f10613a2257803560ff1916838001178555613a50565b82800160010185558215613a50579182015b82811115613a4f578235825591602001919060010190613a34565b5b509050613a5d9190613ab0565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613ac9576000816000905550600101613ab1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b1681613ae1565b8114613b2157600080fd5b50565b600081359050613b3381613b0d565b92915050565b600060208284031215613b4f57613b4e613ad7565b5b6000613b5d84828501613b24565b91505092915050565b60008115159050919050565b613b7b81613b66565b82525050565b6000602082019050613b966000830184613b72565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bd6578082015181840152602081019050613bbb565b83811115613be5576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c0782613b9c565b613c118185613ba7565b9350613c21818560208601613bb8565b613c2a81613beb565b840191505092915050565b60006020820190508181036000830152613c4f8184613bfc565b905092915050565b6000819050919050565b613c6a81613c57565b8114613c7557600080fd5b50565b600081359050613c8781613c61565b92915050565b600060208284031215613ca357613ca2613ad7565b5b6000613cb184828501613c78565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ce582613cba565b9050919050565b613cf581613cda565b82525050565b6000602082019050613d106000830184613cec565b92915050565b613d1f81613cda565b8114613d2a57600080fd5b50565b600081359050613d3c81613d16565b92915050565b60008060408385031215613d5957613d58613ad7565b5b6000613d6785828601613d2d565b9250506020613d7885828601613c78565b9150509250929050565b613d8b81613c57565b82525050565b6000602082019050613da66000830184613d82565b92915050565b600060208284031215613dc257613dc1613ad7565b5b6000613dd084828501613d2d565b91505092915050565b600080600060608486031215613df257613df1613ad7565b5b6000613e0086828701613d2d565b9350506020613e1186828701613d2d565b9250506040613e2286828701613c78565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613e5157613e50613e2c565b5b8235905067ffffffffffffffff811115613e6e57613e6d613e31565b5b602083019150836001820283011115613e8a57613e89613e36565b5b9250929050565b60008060208385031215613ea857613ea7613ad7565b5b600083013567ffffffffffffffff811115613ec657613ec5613adc565b5b613ed285828601613e3b565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f1682613beb565b810181811067ffffffffffffffff82111715613f3557613f34613ede565b5b80604052505050565b6000613f48613acd565b9050613f548282613f0d565b919050565b600067ffffffffffffffff821115613f7457613f73613ede565b5b602082029050602081019050919050565b6000613f98613f9384613f59565b613f3e565b90508083825260208201905060208402830185811115613fbb57613fba613e36565b5b835b81811015613fe45780613fd08882613c78565b845260208401935050602081019050613fbd565b5050509392505050565b600082601f83011261400357614002613e2c565b5b8135614013848260208601613f85565b91505092915050565b60006020828403121561403257614031613ad7565b5b600082013567ffffffffffffffff8111156140505761404f613adc565b5b61405c84828501613fee565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61409a81613cda565b82525050565b600067ffffffffffffffff82169050919050565b6140bd816140a0565b82525050565b6140cc81613b66565b82525050565b600062ffffff82169050919050565b6140ea816140d2565b82525050565b6080820160008201516141066000850182614091565b50602082015161411960208501826140b4565b50604082015161412c60408501826140c3565b50606082015161413f60608501826140e1565b50505050565b600061415183836140f0565b60808301905092915050565b6000602082019050919050565b600061417582614065565b61417f8185614070565b935061418a83614081565b8060005b838110156141bb5781516141a28882614145565b97506141ad8361415d565b92505060018101905061418e565b5085935050505092915050565b600060208201905081810360008301526141e2818461416a565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61421f81613c57565b82525050565b60006142318383614216565b60208301905092915050565b6000602082019050919050565b6000614255826141ea565b61425f81856141f5565b935061426a83614206565b8060005b8381101561429b5781516142828882614225565b975061428d8361423d565b92505060018101905061426e565b5085935050505092915050565b600060208201905081810360008301526142c2818461424a565b905092915050565b6000806000606084860312156142e3576142e2613ad7565b5b60006142f186828701613d2d565b935050602061430286828701613c78565b925050604061431386828701613c78565b9150509250925092565b61432681613b66565b811461433157600080fd5b50565b6000813590506143438161431d565b92915050565b600080604083850312156143605761435f613ad7565b5b600061436e85828601613d2d565b925050602061437f85828601614334565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156143a9576143a8613ede565b5b6143b282613beb565b9050602081019050919050565b82818337600083830152505050565b60006143e16143dc8461438e565b613f3e565b9050828152602081018484840111156143fd576143fc614389565b5b6144088482856143bf565b509392505050565b600082601f83011261442557614424613e2c565b5b81356144358482602086016143ce565b91505092915050565b6000806000806080858703121561445857614457613ad7565b5b600061446687828801613d2d565b945050602061447787828801613d2d565b935050604061448887828801613c78565b925050606085013567ffffffffffffffff8111156144a9576144a8613adc565b5b6144b587828801614410565b91505092959194509250565b6080820160008201516144d76000850182614091565b5060208201516144ea60208501826140b4565b5060408201516144fd60408501826140c3565b50606082015161451060608501826140e1565b50505050565b600060808201905061452b60008301846144c1565b92915050565b600067ffffffffffffffff82111561454c5761454b613ede565b5b602082029050602081019050919050565b6000819050919050565b6145708161455d565b811461457b57600080fd5b50565b60008135905061458d81614567565b92915050565b60006145a66145a184614531565b613f3e565b905080838252602082019050602084028301858111156145c9576145c8613e36565b5b835b818110156145f257806145de888261457e565b8452602084019350506020810190506145cb565b5050509392505050565b600082601f83011261461157614610613e2c565b5b8135614621848260208601614593565b91505092915050565b6000806040838503121561464157614640613ad7565b5b600061464f85828601613c78565b925050602083013567ffffffffffffffff8111156146705761466f613adc565b5b61467c858286016145fc565b9150509250929050565b60006020828403121561469c5761469b613ad7565b5b60006146aa8482850161457e565b91505092915050565b600080604083850312156146ca576146c9613ad7565b5b60006146d885828601613d2d565b92505060206146e985828601613d2d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061473a57607f821691505b6020821081141561474e5761474d6146f3565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061478a602083613ba7565b915061479582614754565b602082019050919050565b600060208201905081810360008301526147b98161477d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006147f6601f83613ba7565b9150614801826147c0565b602082019050919050565b60006020820190508181036000830152614825816147e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061489582613c57565b91506148a083613c57565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148d9576148d861485b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061491e82613c57565b915061492983613c57565b925082614939576149386148e4565b5b828204905092915050565b600061494f82613c57565b915061495a83613c57565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561498f5761498e61485b565b5b828201905092915050565b60006149a582613c57565b91506149b083613c57565b9250828210156149c3576149c261485b565b5b828203905092915050565b600081905092915050565b60006149e482613b9c565b6149ee81856149ce565b93506149fe818560208601613bb8565b80840191505092915050565b6000614a1682856149d9565b9150614a2282846149d9565b91508190509392505050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a64600183613ba7565b9150614a6f82614a2e565b602082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b60008160601b9050919050565b6000614ab282614a9a565b9050919050565b6000614ac482614aa7565b9050919050565b614adc614ad782613cda565b614ab9565b82525050565b6000614aee8284614acb565b60148201915081905092915050565b7f3600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b33600183613ba7565b9150614b3e82614afd565b602082019050919050565b60006020820190508181036000830152614b6281614b26565b9050919050565b7f3700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b9f600183613ba7565b9150614baa82614b69565b602082019050919050565b60006020820190508181036000830152614bce81614b92565b9050919050565b7f3500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c0b600183613ba7565b9150614c1682614bd5565b602082019050919050565b60006020820190508181036000830152614c3a81614bfe565b9050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c77600183613ba7565b9150614c8282614c41565b602082019050919050565b60006020820190508181036000830152614ca681614c6a565b9050919050565b7f3800000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ce3600183613ba7565b9150614cee82614cad565b602082019050919050565b60006020820190508181036000830152614d1281614cd6565b9050919050565b600081519050614d2881613d16565b92915050565b600060208284031215614d4457614d43613ad7565b5b6000614d5284828501614d19565b91505092915050565b7f3900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d91600183613ba7565b9150614d9c82614d5b565b602082019050919050565b60006020820190508181036000830152614dc081614d84565b9050919050565b6000614dd282613c57565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e0557614e0461485b565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e6c602683613ba7565b9150614e7782614e10565b604082019050919050565b60006020820190508181036000830152614e9b81614e5f565b9050919050565b7f3130000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ed8600283613ba7565b9150614ee382614ea2565b602082019050919050565b60006020820190508181036000830152614f0781614ecb565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f44600183613ba7565b9150614f4f82614f0e565b602082019050919050565b60006020820190508181036000830152614f7381614f37565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fb0600183613ba7565b9150614fbb82614f7a565b602082019050919050565b60006020820190508181036000830152614fdf81614fa3565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061501c601d83613ba7565b915061502782614fe6565b602082019050919050565b6000602082019050818103600083015261504b8161500f565b9050919050565b600081905092915050565b50565b600061506d600083615052565b91506150788261505d565b600082019050919050565b600061508e82615060565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006150f4603a83613ba7565b91506150ff82615098565b604082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151518261512a565b61515b8185615135565b935061516b818560208601613bb8565b61517481613beb565b840191505092915050565b60006080820190506151946000830187613cec565b6151a16020830186613cec565b6151ae6040830185613d82565b81810360608301526151c08184615146565b905095945050505050565b6000815190506151da81613b0d565b92915050565b6000602082840312156151f6576151f5613ad7565b5b6000615204848285016151cb565b9150509291505056fea26469706673582212204db3c63dd3ee72807109e3e4d0ccf25837eca1dc61e853b9bc2a7be10df1348464736f6c6343000809003368747470733a2f2f6170692e6d617273686d616c6c6f776d6f622e636f6d2f72657665616c65646d657461646174612f0000000000000000000000008fa666447041dc13e6f7dcbaafa821f9508d8ef5000000000000000000000000c7067f6ed87f0fd8d5cc47ad0f0c0b512a3cc2750000000000000000000000009f90601582ed28922a81156a60aad0cf0fd6920300000000000000000000000061a4955c2c216a5f083928c31136fae19c8f7bf00000000000000000000000005f4361a86d29723cf94260df7e15ed8304aaa6b600000000000000000000000070716bd3e3e46e93e220e92045af42f2907bbb9b000000000000000000000000484c229da035187bb505d1d028fed6fcb5e3d6940000000000000000000000002518667e5bc2a507fc5db0a270d9c9be7ade17c9000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a

Deployed Bytecode

0x6080604052600436106102935760003560e01c80638d859f3e1161015a578063bbf15246116100c1578063d7d6287c1161007a578063d7d6287c14610a6b578063dab5f34014610a94578063e985e9c514610abd578063e9a8b84314610afa578063f2fde38b14610b11578063f578d9df14610b3a57610293565b8063bbf1524614610932578063c23dc68f1461096f578063c713363d146109ac578063c87b56dd146109e9578063ce407f4014610a26578063d2cab05614610a4f57610293565b806399a2557a1161011357806399a2557a146108225780639ab4eca91461085f578063a08c61d31461088a578063a22cb465146108b5578063a7048ae1146108de578063b88d4fde1461090957610293565b80638d859f3e146107225780638da5cb5b1461074d57806391b7f5ed1461077857806395d89b41146107a15780639841743d146107cc57806398d5fdca146107f757610293565b806342842e0e116101fe57806370a08231116101b757806370a08231146105fe578063715018a61461063b578063772a464d146106525780637dd328801461067d5780638462151c146106a85780638735f753146106e557610293565b806342842e0e146104de57806355f804b3146105075780635bbb217714610530578063626c8f8e1461056d5780636352211e146105985780636ca94b4e146105d557610293565b806318cae2691161025057806318cae269146103ce5780631b997f121461040b57806323b872dd14610436578063276cd3a31461045f57806332cb6b0c1461049c5780633ccfd60b146104c757610293565b806301ffc9a71461029857806306fdde03146102d5578063081812fc14610300578063095ea7b31461033d57806312d7ae101461036657806318160ddd146103a3575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613b39565b610b56565b6040516102cc9190613b81565b60405180910390f35b3480156102e157600080fd5b506102ea610be8565b6040516102f79190613c35565b60405180910390f35b34801561030c57600080fd5b5061032760048036038101906103229190613c8d565b610c7a565b6040516103349190613cfb565b60405180910390f35b34801561034957600080fd5b50610364600480360381019061035f9190613d42565b610cf6565b005b34801561037257600080fd5b5061038d60048036038101906103889190613c8d565b610e37565b60405161039a9190613b81565b60405180910390f35b3480156103af57600080fd5b506103b8610e57565b6040516103c59190613d91565b60405180910390f35b3480156103da57600080fd5b506103f560048036038101906103f09190613dac565b610e6e565b6040516104029190613d91565b60405180910390f35b34801561041757600080fd5b50610420610e86565b60405161042d9190613d91565b60405180910390f35b34801561044257600080fd5b5061045d60048036038101906104589190613dd9565b610e8c565b005b34801561046b57600080fd5b5061048660048036038101906104819190613dac565b6111b1565b6040516104939190613d91565b60405180910390f35b3480156104a857600080fd5b506104b16111c9565b6040516104be9190613d91565b60405180910390f35b3480156104d357600080fd5b506104dc6111cf565b005b3480156104ea57600080fd5b5061050560048036038101906105009190613dd9565b61163f565b005b34801561051357600080fd5b5061052e60048036038101906105299190613e91565b61165f565b005b34801561053c57600080fd5b506105576004803603810190610552919061401c565b6116f1565b60405161056491906141c8565b60405180910390f35b34801561057957600080fd5b506105826117b2565b60405161058f9190613d91565b60405180910390f35b3480156105a457600080fd5b506105bf60048036038101906105ba9190613c8d565b6117bc565b6040516105cc9190613cfb565b60405180910390f35b3480156105e157600080fd5b506105fc60048036038101906105f79190613c8d565b6117ce565b005b34801561060a57600080fd5b5061062560048036038101906106209190613dac565b611854565b6040516106329190613d91565b60405180910390f35b34801561064757600080fd5b5061065061190d565b005b34801561065e57600080fd5b50610667611995565b6040516106749190613d91565b60405180910390f35b34801561068957600080fd5b5061069261199b565b60405161069f9190613d91565b60405180910390f35b3480156106b457600080fd5b506106cf60048036038101906106ca9190613dac565b6119a5565b6040516106dc91906142a8565b60405180910390f35b3480156106f157600080fd5b5061070c60048036038101906107079190613dac565b611aef565b6040516107199190613d91565b60405180910390f35b34801561072e57600080fd5b50610737611b38565b6040516107449190613d91565b60405180910390f35b34801561075957600080fd5b50610762611b3e565b60405161076f9190613cfb565b60405180910390f35b34801561078457600080fd5b5061079f600480360381019061079a9190613c8d565b611b68565b005b3480156107ad57600080fd5b506107b6611bee565b6040516107c39190613c35565b60405180910390f35b3480156107d857600080fd5b506107e1611c80565b6040516107ee9190613d91565b60405180910390f35b34801561080357600080fd5b5061080c611c86565b6040516108199190613d91565b60405180910390f35b34801561082e57600080fd5b50610849600480360381019061084491906142ca565b611c90565b60405161085691906142a8565b60405180910390f35b34801561086b57600080fd5b50610874611ea4565b6040516108819190613d91565b60405180910390f35b34801561089657600080fd5b5061089f611eaa565b6040516108ac9190613d91565b60405180910390f35b3480156108c157600080fd5b506108dc60048036038101906108d79190614349565b611eaf565b005b3480156108ea57600080fd5b506108f3612027565b6040516109009190613d91565b60405180910390f35b34801561091557600080fd5b50610930600480360381019061092b919061443e565b61202d565b005b34801561093e57600080fd5b5061095960048036038101906109549190613c8d565b6120a0565b6040516109669190613b81565b60405180910390f35b34801561097b57600080fd5b5061099660048036038101906109919190613c8d565b6120ca565b6040516109a39190614516565b60405180910390f35b3480156109b857600080fd5b506109d360048036038101906109ce9190613dac565b612134565b6040516109e09190613d91565b60405180910390f35b3480156109f557600080fd5b50610a106004803603810190610a0b9190613c8d565b61217d565b604051610a1d9190613c35565b60405180910390f35b348015610a3257600080fd5b50610a4d6004803603810190610a489190613c8d565b61221c565b005b610a696004803603810190610a64919061462a565b6122a2565b005b348015610a7757600080fd5b50610a926004803603810190610a8d919061401c565b612515565b005b348015610aa057600080fd5b50610abb6004803603810190610ab69190614686565b6128d3565b005b348015610ac957600080fd5b50610ae46004803603810190610adf91906146b3565b612959565b604051610af19190613b81565b60405180910390f35b348015610b0657600080fd5b50610b0f6129ed565b005b348015610b1d57600080fd5b50610b386004803603810190610b339190613dac565b612a7f565b005b610b546004803603810190610b4f9190613c8d565b612b77565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bb157506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610be15750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b606060028054610bf790614722565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2390614722565b8015610c705780601f10610c4557610100808354040283529160200191610c70565b820191906000526020600020905b815481529060010190602001808311610c5357829003601f168201915b5050505050905090565b6000610c8582612f79565b610cbb576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d01826117bc565b90508073ffffffffffffffffffffffffffffffffffffffff16610d22612fd8565b73ffffffffffffffffffffffffffffffffffffffff1614610d8557610d4e81610d49612fd8565b612959565b610d84576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60146020528060005260406000206000915054906101000a900460ff1681565b6000610e61612fe0565b6001546000540303905090565b60126020528060005260406000206000915090505481565b600c5481565b6000610e9782612fe5565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610efe576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080610f0a846130b3565b91509150610f208187610f1b612fd8565b6130d5565b610f6c57610f3586610f30612fd8565b612959565b610f6b576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415610fd3576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fe08686866001613119565b8015610feb57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008154600101919050819055506110b98561109588888761311f565b7c020000000000000000000000000000000000000000000000000000000017613147565b600460008681526020019081526020016000208190555060007c02000000000000000000000000000000000000000000000000000000008416141561114157600060018501905060006004600083815260200190815260200160002054141561113f57600054811461113e578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46111a98686866001613172565b505050505050565b60136020528060005260406000206000915090505481565b61192c81565b6111d7613178565b73ffffffffffffffffffffffffffffffffffffffff166111f5611b3e565b73ffffffffffffffffffffffffffffffffffffffff161461124b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611242906147a0565b60405180910390fd5b60026009541415611291576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112889061480c565b60405180910390fd5b600260098190555060004790506000606460166000600781106112b7576112b661482c565b5b0154836112c4919061488a565b6112ce9190614913565b90506000606460166001600781106112e9576112e861482c565b5b0154846112f6919061488a565b6113009190614913565b905060006064601660026007811061131b5761131a61482c565b5b015485611328919061488a565b6113329190614913565b905060006064601660036007811061134d5761134c61482c565b5b01548661135a919061488a565b6113649190614913565b905060006064601660046007811061137f5761137e61482c565b5b01548761138c919061488a565b6113969190614913565b90506000606460166005600781106113b1576113b061482c565b5b0154886113be919061488a565b6113c89190614913565b90506000606460166006600781106113e3576113e261482c565b5b0154896113f0919061488a565b6113fa9190614913565b9050600081838587898b8d61140f9190614944565b6114199190614944565b6114239190614944565b61142d9190614944565b6114379190614944565b6114419190614944565b8961144c919061499a565b905061148e601d6000600781106114665761146561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1689613180565b6114ce601d6001600781106114a6576114a561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1688613180565b61150e601d6002600781106114e6576114e561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1687613180565b61154e601d6003600781106115265761152561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1686613180565b61158e601d6004600781106115665761156561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1685613180565b6115ce601d6005600781106115a6576115a561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684613180565b61160e601d6006600781106115e6576115e561482c565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683613180565b61161f611619611b3e565b82613180565b6000471461162c57600080fd5b5050505050505050506001600981905550565b61165a8383836040518060200160405280600081525061202d565b505050565b611667613178565b73ffffffffffffffffffffffffffffffffffffffff16611685611b3e565b73ffffffffffffffffffffffffffffffffffffffff16146116db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d2906147a0565b60405180910390fd5b8181601091906116ec9291906139db565b505050565b606060008251905060008167ffffffffffffffff81111561171557611714613ede565b5b60405190808252806020026020018201604052801561174e57816020015b61173b613a61565b8152602001906001900390816117335790505b50905060005b8281146117a75761177e8582815181106117715761177061482c565b5b60200260200101516120ca565b8282815181106117915761179061482c565b5b6020026020010181905250806001019050611754565b508092505050919050565b6000600d54905090565b60006117c782612fe5565b9050919050565b6117d6613178565b73ffffffffffffffffffffffffffffffffffffffff166117f4611b3e565b73ffffffffffffffffffffffffffffffffffffffff161461184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611841906147a0565b60405180910390fd5b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118bc576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b611915613178565b73ffffffffffffffffffffffffffffffffffffffff16611933611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614611989576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611980906147a0565b60405180910390fd5b6119936000613274565b565b600d5481565b6000600c54905090565b606060008060006119b585611854565b905060008167ffffffffffffffff8111156119d3576119d2613ede565b5b604051908082528060200260200182016040528015611a015781602001602082028036833780820191505090505b509050611a0c613a61565b6000611a16612fe0565b90505b838614611ae157611a298161333a565b9150816040015115611a3a57611ad6565b600073ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614611a7a57816000015194505b8773ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611ad55780838780600101985081518110611ac857611ac761482c565b5b6020026020010181815250505b5b806001019050611a19565b508195505050505050919050565b6000601260008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600b5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611b70613178565b73ffffffffffffffffffffffffffffffffffffffff16611b8e611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614611be4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bdb906147a0565b60405180910390fd5b80600b8190555050565b606060038054611bfd90614722565b80601f0160208091040260200160405190810160405280929190818152602001828054611c2990614722565b8015611c765780601f10611c4b57610100808354040283529160200191611c76565b820191906000526020600020905b815481529060010190602001808311611c5957829003601f168201915b5050505050905090565b600f5481565b6000600b54905090565b6060818310611ccb576040517f32c1995a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080611cd6613365565b9050611ce0612fe0565b851015611cf257611cef612fe0565b94505b80841115611cfe578093505b6000611d0987611854565b905084861015611d2c576000868603905081811015611d26578091505b50611d31565b600090505b60008167ffffffffffffffff811115611d4d57611d4c613ede565b5b604051908082528060200260200182016040528015611d7b5781602001602082028036833780820191505090505b5090506000821415611d935780945050505050611e9d565b6000611d9e886120ca565b905060008160400151611db357816000015190505b60008990505b888114158015611dc95750848714155b15611e8f57611dd78161333a565b9250826040015115611de857611e84565b600073ffffffffffffffffffffffffffffffffffffffff16836000015173ffffffffffffffffffffffffffffffffffffffff1614611e2857826000015191505b8a73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e835780848880600101995081518110611e7657611e7561482c565b5b6020026020010181815250505b5b806001019050611db9565b508583528296505050505050505b9392505050565b600a5481565b600281565b611eb7612fd8565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611f1c576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611f29612fd8565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611fd6612fd8565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161201b9190613b81565b60405180910390a35050565b600e5481565b612038848484610e8c565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461209a576120638484848461336e565b612099576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60006014600083815260200190815260200160002060009054906101000a900460ff169050919050565b6120d2613a61565b6120da613a61565b6120e2612fe0565b8310806120f657506120f2613365565b8310155b15612104578091505061212f565b61210d8361333a565b9050806040015115612122578091505061212f565b61212b836134ce565b9150505b919050565b6000601360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b606061218882612f79565b6121be576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006121c86134ee565b90506000815114156121e95760405180602001604052806000815250612214565b806121f384613580565b604051602001612204929190614a0a565b6040516020818303038152906040525b915050919050565b612224613178565b73ffffffffffffffffffffffffffffffffffffffff16612242611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614612298576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161228f906147a0565b60405180910390fd5b80600f8190555050565b600260095414156122e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122df9061480c565b60405180910390fd5b60026009819055506001600f5414612335576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232c90614a7a565b60405180910390fd5b6000336040516020016123489190614ae2565b60405160208183030381529060405280519060200120905061236d82601154836135da565b6123ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123a390614b49565b60405180910390fd5b600283601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546123f99190614944565b111561243a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161243190614bb5565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146124a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161249f90614c21565b60405180910390fd5b82601260003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124f79190614944565b9250508190555061250833846135f1565b5060016009819055505050565b6002600954141561255b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125529061480c565b60405180910390fd5b60026009819055506000600f54116125a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161259f90614a7a565b60405180910390fd5b600081519050600c548111156125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea90614c8d565b60405180910390fd5b60005b818110156127c45760001515601460008584815181106126195761261861482c565b5b6020026020010151815260200190815260200160002060009054906101000a900460ff1615151461267f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267690614cf9565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff16601560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16636352211e8584815181106126e7576126e661482c565b5b60200260200101516040518263ffffffff1660e01b815260040161270b9190613d91565b60206040518083038186803b15801561272357600080fd5b505afa158015612737573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061275b9190614d2e565b73ffffffffffffffffffffffffffffffffffffffff16146127b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127a890614da7565b60405180910390fd5b80806127bc90614dc7565b9150506125f6565b503273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612833576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161282a90614c21565b60405180910390fd5b60005b81811015612897576001601460008584815181106128575761285661482c565b5b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550808061288f90614dc7565b915050612836565b5080600c60008282546128aa919061499a565b925050819055506128c7336002836128c2919061488a565b6135f1565b50600160098190555050565b6128db613178565b73ffffffffffffffffffffffffffffffffffffffff166128f9611b3e565b73ffffffffffffffffffffffffffffffffffffffff161461294f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612946906147a0565b60405180910390fd5b8060118190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b6129f5613178565b73ffffffffffffffffffffffffffffffffffffffff16612a13611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614612a69576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a60906147a0565b60405180910390fd5b612a7533600a546135f1565b6000600a81905550565b612a87613178565b73ffffffffffffffffffffffffffffffffffffffff16612aa5611b3e565b73ffffffffffffffffffffffffffffffffffffffff1614612afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612af2906147a0565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b6290614e82565b60405180910390fd5b612b7481613274565b50565b60026009541415612bbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bb49061480c565b60405180910390fd5b60026009819055506001600f5411612c0a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0190614a7a565b60405180910390fd5b6000600b541415612df057600081600d54612c25919061499a565b1015612c66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c5d90614eee565b60405180910390fd5b600e5481601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054612cb49190614944565b1115612cf5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cec90614bb5565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612d63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d5a90614c21565b60405180910390fd5b80600d6000828254612d75919061499a565b9250508190555080601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dcb9190614944565b925050819055506000600d5411612deb57666a94d74f430000600b819055505b612f64565b61192c600a54600c5483612e02610e57565b612e0c9190614944565b612e169190614944565b612e209190614944565b1115612e61576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e5890614c8d565b60405180910390fd5b80600b54612e6f919061488a565b341015612eb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ea890614f5a565b60405180910390fd5b6064811115612ef5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eec90614fc6565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a90614c21565b60405180910390fd5b5b612f6e33826135f1565b600160098190555050565b600081612f84612fe0565b11158015612f93575060005482105b8015612fd1575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b600090565b60008082905080612ff4612fe0565b1161307c5760005481101561307b5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415613079575b600081141561306f576004600083600190039350838152602001908152602001600020549050613044565b80925050506130ae565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000806000600690508360005280602052604060002092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e861313686868461360f565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b50505050565b600033905090565b804710156131c3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ba90615032565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516131e990615083565b60006040518083038185875af1925050503d8060008114613226576040519150601f19603f3d011682016040523d82523d6000602084013e61322b565b606091505b505090508061326f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132669061510a565b60405180910390fd5b505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b613342613a61565b61335e6004600084815260200190815260200160002054613618565b9050919050565b60008054905090565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613394612fd8565b8786866040518563ffffffff1660e01b81526004016133b6949392919061517f565b602060405180830381600087803b1580156133d057600080fd5b505af192505050801561340157506040513d601f19601f820116820180604052508101906133fe91906151e0565b60015b61347b573d8060008114613431576040519150601f19603f3d011682016040523d82523d6000602084013e613436565b606091505b50600081511415613473576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6134d6613a61565b6134e76134e283612fe5565b613618565b9050919050565b6060601080546134fd90614722565b80601f016020809104026020016040519081016040528092919081815260200182805461352990614722565b80156135765780601f1061354b57610100808354040283529160200191613576565b820191906000526020600020905b81548152906001019060200180831161355957829003601f168201915b5050505050905090565b60606080604051019050806040528082600183039250600a81066030018353600a810490505b80156135c657600183039250600a81066030018353600a810490506135a6565b508181036020830392508083525050919050565b6000826135e785846136ce565b1490509392505050565b61360b828260405180602001604052806000815250613743565b5050565b60009392505050565b613620613a61565b81816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505060a082901c816020019067ffffffffffffffff16908167ffffffffffffffff168152505060007c01000000000000000000000000000000000000000000000000000000008316141581604001901515908115158152505060e882901c816060019062ffffff16908162ffffff1681525050919050565b60008082905060005b84518110156137385760008582815181106136f5576136f461482c565b5b602002602001015190508083116137175761371083826137e0565b9250613724565b61372181846137e0565b92505b50808061373090614dc7565b9150506136d7565b508091505092915050565b61374d83836137f7565b60008373ffffffffffffffffffffffffffffffffffffffff163b146137db57600080549050600083820390505b61378d600086838060010194508661336e565b6137c3576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b81811061377a5781600054146137d857600080fd5b50505b505050565b600082600052816020526040600020905092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415613864576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082141561389f576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6138ac6000848385613119565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254019250508190555061392383613914600086600061311f565b61391d856139cb565b17613147565b60046000838152602001908152602001600020819055506000819050600083830190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613947578060008190555050506139c66000848385613172565b505050565b60006001821460e11b9050919050565b8280546139e790614722565b90600052602060002090601f016020900481019282613a095760008555613a50565b82601f10613a2257803560ff1916838001178555613a50565b82800160010185558215613a50579182015b82811115613a4f578235825591602001919060010190613a34565b5b509050613a5d9190613ab0565b5090565b6040518060800160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff168152602001600015158152602001600062ffffff1681525090565b5b80821115613ac9576000816000905550600101613ab1565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613b1681613ae1565b8114613b2157600080fd5b50565b600081359050613b3381613b0d565b92915050565b600060208284031215613b4f57613b4e613ad7565b5b6000613b5d84828501613b24565b91505092915050565b60008115159050919050565b613b7b81613b66565b82525050565b6000602082019050613b966000830184613b72565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613bd6578082015181840152602081019050613bbb565b83811115613be5576000848401525b50505050565b6000601f19601f8301169050919050565b6000613c0782613b9c565b613c118185613ba7565b9350613c21818560208601613bb8565b613c2a81613beb565b840191505092915050565b60006020820190508181036000830152613c4f8184613bfc565b905092915050565b6000819050919050565b613c6a81613c57565b8114613c7557600080fd5b50565b600081359050613c8781613c61565b92915050565b600060208284031215613ca357613ca2613ad7565b5b6000613cb184828501613c78565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ce582613cba565b9050919050565b613cf581613cda565b82525050565b6000602082019050613d106000830184613cec565b92915050565b613d1f81613cda565b8114613d2a57600080fd5b50565b600081359050613d3c81613d16565b92915050565b60008060408385031215613d5957613d58613ad7565b5b6000613d6785828601613d2d565b9250506020613d7885828601613c78565b9150509250929050565b613d8b81613c57565b82525050565b6000602082019050613da66000830184613d82565b92915050565b600060208284031215613dc257613dc1613ad7565b5b6000613dd084828501613d2d565b91505092915050565b600080600060608486031215613df257613df1613ad7565b5b6000613e0086828701613d2d565b9350506020613e1186828701613d2d565b9250506040613e2286828701613c78565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f840112613e5157613e50613e2c565b5b8235905067ffffffffffffffff811115613e6e57613e6d613e31565b5b602083019150836001820283011115613e8a57613e89613e36565b5b9250929050565b60008060208385031215613ea857613ea7613ad7565b5b600083013567ffffffffffffffff811115613ec657613ec5613adc565b5b613ed285828601613e3b565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b613f1682613beb565b810181811067ffffffffffffffff82111715613f3557613f34613ede565b5b80604052505050565b6000613f48613acd565b9050613f548282613f0d565b919050565b600067ffffffffffffffff821115613f7457613f73613ede565b5b602082029050602081019050919050565b6000613f98613f9384613f59565b613f3e565b90508083825260208201905060208402830185811115613fbb57613fba613e36565b5b835b81811015613fe45780613fd08882613c78565b845260208401935050602081019050613fbd565b5050509392505050565b600082601f83011261400357614002613e2c565b5b8135614013848260208601613f85565b91505092915050565b60006020828403121561403257614031613ad7565b5b600082013567ffffffffffffffff8111156140505761404f613adc565b5b61405c84828501613fee565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61409a81613cda565b82525050565b600067ffffffffffffffff82169050919050565b6140bd816140a0565b82525050565b6140cc81613b66565b82525050565b600062ffffff82169050919050565b6140ea816140d2565b82525050565b6080820160008201516141066000850182614091565b50602082015161411960208501826140b4565b50604082015161412c60408501826140c3565b50606082015161413f60608501826140e1565b50505050565b600061415183836140f0565b60808301905092915050565b6000602082019050919050565b600061417582614065565b61417f8185614070565b935061418a83614081565b8060005b838110156141bb5781516141a28882614145565b97506141ad8361415d565b92505060018101905061418e565b5085935050505092915050565b600060208201905081810360008301526141e2818461416a565b905092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61421f81613c57565b82525050565b60006142318383614216565b60208301905092915050565b6000602082019050919050565b6000614255826141ea565b61425f81856141f5565b935061426a83614206565b8060005b8381101561429b5781516142828882614225565b975061428d8361423d565b92505060018101905061426e565b5085935050505092915050565b600060208201905081810360008301526142c2818461424a565b905092915050565b6000806000606084860312156142e3576142e2613ad7565b5b60006142f186828701613d2d565b935050602061430286828701613c78565b925050604061431386828701613c78565b9150509250925092565b61432681613b66565b811461433157600080fd5b50565b6000813590506143438161431d565b92915050565b600080604083850312156143605761435f613ad7565b5b600061436e85828601613d2d565b925050602061437f85828601614334565b9150509250929050565b600080fd5b600067ffffffffffffffff8211156143a9576143a8613ede565b5b6143b282613beb565b9050602081019050919050565b82818337600083830152505050565b60006143e16143dc8461438e565b613f3e565b9050828152602081018484840111156143fd576143fc614389565b5b6144088482856143bf565b509392505050565b600082601f83011261442557614424613e2c565b5b81356144358482602086016143ce565b91505092915050565b6000806000806080858703121561445857614457613ad7565b5b600061446687828801613d2d565b945050602061447787828801613d2d565b935050604061448887828801613c78565b925050606085013567ffffffffffffffff8111156144a9576144a8613adc565b5b6144b587828801614410565b91505092959194509250565b6080820160008201516144d76000850182614091565b5060208201516144ea60208501826140b4565b5060408201516144fd60408501826140c3565b50606082015161451060608501826140e1565b50505050565b600060808201905061452b60008301846144c1565b92915050565b600067ffffffffffffffff82111561454c5761454b613ede565b5b602082029050602081019050919050565b6000819050919050565b6145708161455d565b811461457b57600080fd5b50565b60008135905061458d81614567565b92915050565b60006145a66145a184614531565b613f3e565b905080838252602082019050602084028301858111156145c9576145c8613e36565b5b835b818110156145f257806145de888261457e565b8452602084019350506020810190506145cb565b5050509392505050565b600082601f83011261461157614610613e2c565b5b8135614621848260208601614593565b91505092915050565b6000806040838503121561464157614640613ad7565b5b600061464f85828601613c78565b925050602083013567ffffffffffffffff8111156146705761466f613adc565b5b61467c858286016145fc565b9150509250929050565b60006020828403121561469c5761469b613ad7565b5b60006146aa8482850161457e565b91505092915050565b600080604083850312156146ca576146c9613ad7565b5b60006146d885828601613d2d565b92505060206146e985828601613d2d565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061473a57607f821691505b6020821081141561474e5761474d6146f3565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600061478a602083613ba7565b915061479582614754565b602082019050919050565b600060208201905081810360008301526147b98161477d565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b60006147f6601f83613ba7565b9150614801826147c0565b602082019050919050565b60006020820190508181036000830152614825816147e9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061489582613c57565b91506148a083613c57565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff04831182151516156148d9576148d861485b565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061491e82613c57565b915061492983613c57565b925082614939576149386148e4565b5b828204905092915050565b600061494f82613c57565b915061495a83613c57565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561498f5761498e61485b565b5b828201905092915050565b60006149a582613c57565b91506149b083613c57565b9250828210156149c3576149c261485b565b5b828203905092915050565b600081905092915050565b60006149e482613b9c565b6149ee81856149ce565b93506149fe818560208601613bb8565b80840191505092915050565b6000614a1682856149d9565b9150614a2282846149d9565b91508190509392505050565b7f3100000000000000000000000000000000000000000000000000000000000000600082015250565b6000614a64600183613ba7565b9150614a6f82614a2e565b602082019050919050565b60006020820190508181036000830152614a9381614a57565b9050919050565b60008160601b9050919050565b6000614ab282614a9a565b9050919050565b6000614ac482614aa7565b9050919050565b614adc614ad782613cda565b614ab9565b82525050565b6000614aee8284614acb565b60148201915081905092915050565b7f3600000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b33600183613ba7565b9150614b3e82614afd565b602082019050919050565b60006020820190508181036000830152614b6281614b26565b9050919050565b7f3700000000000000000000000000000000000000000000000000000000000000600082015250565b6000614b9f600183613ba7565b9150614baa82614b69565b602082019050919050565b60006020820190508181036000830152614bce81614b92565b9050919050565b7f3500000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c0b600183613ba7565b9150614c1682614bd5565b602082019050919050565b60006020820190508181036000830152614c3a81614bfe565b9050919050565b7f3200000000000000000000000000000000000000000000000000000000000000600082015250565b6000614c77600183613ba7565b9150614c8282614c41565b602082019050919050565b60006020820190508181036000830152614ca681614c6a565b9050919050565b7f3800000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ce3600183613ba7565b9150614cee82614cad565b602082019050919050565b60006020820190508181036000830152614d1281614cd6565b9050919050565b600081519050614d2881613d16565b92915050565b600060208284031215614d4457614d43613ad7565b5b6000614d5284828501614d19565b91505092915050565b7f3900000000000000000000000000000000000000000000000000000000000000600082015250565b6000614d91600183613ba7565b9150614d9c82614d5b565b602082019050919050565b60006020820190508181036000830152614dc081614d84565b9050919050565b6000614dd282613c57565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e0557614e0461485b565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614e6c602683613ba7565b9150614e7782614e10565b604082019050919050565b60006020820190508181036000830152614e9b81614e5f565b9050919050565b7f3130000000000000000000000000000000000000000000000000000000000000600082015250565b6000614ed8600283613ba7565b9150614ee382614ea2565b602082019050919050565b60006020820190508181036000830152614f0781614ecb565b9050919050565b7f3300000000000000000000000000000000000000000000000000000000000000600082015250565b6000614f44600183613ba7565b9150614f4f82614f0e565b602082019050919050565b60006020820190508181036000830152614f7381614f37565b9050919050565b7f3400000000000000000000000000000000000000000000000000000000000000600082015250565b6000614fb0600183613ba7565b9150614fbb82614f7a565b602082019050919050565b60006020820190508181036000830152614fdf81614fa3565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b600061501c601d83613ba7565b915061502782614fe6565b602082019050919050565b6000602082019050818103600083015261504b8161500f565b9050919050565b600081905092915050565b50565b600061506d600083615052565b91506150788261505d565b600082019050919050565b600061508e82615060565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006150f4603a83613ba7565b91506150ff82615098565b604082019050919050565b60006020820190508181036000830152615123816150e7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006151518261512a565b61515b8185615135565b935061516b818560208601613bb8565b61517481613beb565b840191505092915050565b60006080820190506151946000830187613cec565b6151a16020830186613cec565b6151ae6040830185613d82565b81810360608301526151c08184615146565b905095945050505050565b6000815190506151da81613b0d565b92915050565b6000602082840312156151f6576151f5613ad7565b5b6000615204848285016151cb565b9150509291505056fea26469706673582212204db3c63dd3ee72807109e3e4d0ccf25837eca1dc61e853b9bc2a7be10df1348464736f6c63430008090033

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

0000000000000000000000008fa666447041dc13e6f7dcbaafa821f9508d8ef5000000000000000000000000c7067f6ed87f0fd8d5cc47ad0f0c0b512a3cc2750000000000000000000000009f90601582ed28922a81156a60aad0cf0fd6920300000000000000000000000061a4955c2c216a5f083928c31136fae19c8f7bf00000000000000000000000005f4361a86d29723cf94260df7e15ed8304aaa6b600000000000000000000000070716bd3e3e46e93e220e92045af42f2907bbb9b000000000000000000000000484c229da035187bb505d1d028fed6fcb5e3d6940000000000000000000000002518667e5bc2a507fc5db0a270d9c9be7ade17c9000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000d00000000000000000000000000000000000000000000000000000000000000160000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000a

-----Decoded View---------------
Arg [0] : _lolContractAddress (address): 0x8fA666447041dc13E6f7dcbaaFA821f9508D8ef5
Arg [1] : _addresses (address[7]): 0xC7067F6Ed87F0fd8D5Cc47AD0F0C0b512a3CC275,0x9F90601582eD28922a81156a60aad0cf0fd69203,0x61a4955c2c216a5f083928c31136fAE19c8F7Bf0,0x5f4361a86d29723cF94260DF7E15ed8304Aaa6b6,0x70716Bd3E3E46e93E220E92045af42F2907Bbb9B,0x484c229da035187bB505D1d028Fed6FCb5e3d694,0x2518667e5Bc2a507fc5db0a270D9c9be7ADE17C9
Arg [2] : _shares (uint256[7]): 10,10,10,13,22,2,10

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000008fa666447041dc13e6f7dcbaafa821f9508d8ef5
Arg [1] : 000000000000000000000000c7067f6ed87f0fd8d5cc47ad0f0c0b512a3cc275
Arg [2] : 0000000000000000000000009f90601582ed28922a81156a60aad0cf0fd69203
Arg [3] : 00000000000000000000000061a4955c2c216a5f083928c31136fae19c8f7bf0
Arg [4] : 0000000000000000000000005f4361a86d29723cf94260df7e15ed8304aaa6b6
Arg [5] : 00000000000000000000000070716bd3e3e46e93e220e92045af42f2907bbb9b
Arg [6] : 000000000000000000000000484c229da035187bb505d1d028fed6fcb5e3d694
Arg [7] : 0000000000000000000000002518667e5bc2a507fc5db0a270d9c9be7ade17c9
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [11] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [14] : 000000000000000000000000000000000000000000000000000000000000000a


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.