ETH Price: $3,249.54 (-2.19%)

Contract

0xa5446D4c8E4C2C1A36F667DB72553a1c105191B4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...211702322024-11-12 7:52:5917 hrs ago1731397979IN
0xa5446D4c...c105191B4
0 ETH0.0012126526.06460406
Set Approval For...211653272024-11-11 15:26:2333 hrs ago1731338783IN
0xa5446D4c...c105191B4
0 ETH0.001496632.10975895
Transfer From211516162024-11-09 17:33:353 days ago1731173615IN
0xa5446D4c...c105191B4
0 ETH0.0006546810.62870264
Set Approval For...211243762024-11-05 22:17:237 days ago1730845043IN
0xa5446D4c...c105191B4
0 ETH0.000276215.93698509
Set Approval For...209966142024-10-19 2:25:1124 days ago1729304711IN
0xa5446D4c...c105191B4
0 ETH0.000430639.25597047
Set Approval For...209751502024-10-16 2:30:4727 days ago1729045847IN
0xa5446D4c...c105191B4
0 ETH0.0003432412.8569259
Set Approval For...209751492024-10-16 2:30:3527 days ago1729045835IN
0xa5446D4c...c105191B4
0 ETH0.0002904411.76586642
Set Approval For...209751472024-10-16 2:30:1127 days ago1729045811IN
0xa5446D4c...c105191B4
0 ETH0.0003148212.74745515
Set Approval For...209751422024-10-16 2:29:1127 days ago1729045751IN
0xa5446D4c...c105191B4
0 ETH0.0003229113.07511419
Set Approval For...209751422024-10-16 2:29:1127 days ago1729045751IN
0xa5446D4c...c105191B4
0 ETH0.0003218113.07511419
Set Approval For...209187242024-10-08 5:19:3535 days ago1728364775IN
0xa5446D4c...c105191B4
0 ETH0.0004775710.26487773
Set Approval For...209168402024-10-07 23:01:5936 days ago1728342119IN
0xa5446D4c...c105191B4
0 ETH0.0005667712.18222117
Set Approval For...209029522024-10-06 0:33:3538 days ago1728174815IN
0xa5446D4c...c105191B4
0 ETH0.000129632.78636902
Set Approval For...208489852024-09-28 11:58:2345 days ago1727524703IN
0xa5446D4c...c105191B4
0 ETH0.000306396.57374479
Safe Transfer Fr...207933562024-09-20 17:40:4753 days ago1726854047IN
0xa5446D4c...c105191B4
0 ETH0.0006959316.33371165
Safe Transfer Fr...207593712024-09-15 23:41:1158 days ago1726443671IN
0xa5446D4c...c105191B4
0 ETH0.000048711.02752683
Set Approval For...207321882024-09-12 4:36:4761 days ago1726115807IN
0xa5446D4c...c105191B4
0 ETH0.000125582.69924025
Set Approval For...207314912024-09-12 2:16:4761 days ago1726107407IN
0xa5446D4c...c105191B4
0 ETH0.000161443.4647332
Set Approval For...207106802024-09-09 4:30:5964 days ago1725856259IN
0xa5446D4c...c105191B4
0 ETH0.000065551.40906866
Set Approval For...207088502024-09-08 22:23:4765 days ago1725834227IN
0xa5446D4c...c105191B4
0 ETH0.00009822.11086448
Set Approval For...206545272024-09-01 8:27:5972 days ago1725179279IN
0xa5446D4c...c105191B4
0 ETH0.000049791.0702456
Set Approval For...206545192024-09-01 8:26:2372 days ago1725179183IN
0xa5446D4c...c105191B4
0 ETH0.000052921.13548349
Set Approval For...206516022024-08-31 22:41:4773 days ago1725144107IN
0xa5446D4c...c105191B4
0 ETH0.000048171.03361984
Set Approval For...205926552024-08-23 17:00:3581 days ago1724432435IN
0xa5446D4c...c105191B4
0 ETH0.000099582.14043052
Safe Transfer Fr...205391782024-08-16 5:44:2388 days ago1723787063IN
0xa5446D4c...c105191B4
0 ETH0.000043680.92155384
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
211243782024-11-05 22:17:477 days ago1730845067
0xa5446D4c...c105191B4
0 ETH
211085172024-11-03 17:10:239 days ago1730653823
0xa5446D4c...c105191B4
0 ETH
210784052024-10-30 12:17:5913 days ago1730290679
0xa5446D4c...c105191B4
0 ETH
210472412024-10-26 3:54:3517 days ago1729914875
0xa5446D4c...c105191B4
0 ETH
210472412024-10-26 3:54:3517 days ago1729914875
0xa5446D4c...c105191B4
0 ETH
210466862024-10-26 2:02:5917 days ago1729908179
0xa5446D4c...c105191B4
0 ETH
210161852024-10-21 19:55:4722 days ago1729540547
0xa5446D4c...c105191B4
0 ETH
209975772024-10-19 5:38:4724 days ago1729316327
0xa5446D4c...c105191B4
0 ETH
209975772024-10-19 5:38:4724 days ago1729316327
0xa5446D4c...c105191B4
0 ETH
209975772024-10-19 5:38:4724 days ago1729316327
0xa5446D4c...c105191B4
0 ETH
209755042024-10-16 3:41:5927 days ago1729050119
0xa5446D4c...c105191B4
0 ETH
209754822024-10-16 3:37:3527 days ago1729049855
0xa5446D4c...c105191B4
0 ETH
209754822024-10-16 3:37:3527 days ago1729049855
0xa5446D4c...c105191B4
0 ETH
209754822024-10-16 3:37:3527 days ago1729049855
0xa5446D4c...c105191B4
0 ETH
209679992024-10-15 2:31:3528 days ago1728959495
0xa5446D4c...c105191B4
0 ETH
209679542024-10-15 2:22:3528 days ago1728958955
0xa5446D4c...c105191B4
0 ETH
209679542024-10-15 2:22:3528 days ago1728958955
0xa5446D4c...c105191B4
0 ETH
209314502024-10-09 23:53:3534 days ago1728518015
0xa5446D4c...c105191B4
0 ETH
209314502024-10-09 23:53:3534 days ago1728518015
0xa5446D4c...c105191B4
0 ETH
209187842024-10-08 5:31:4735 days ago1728365507
0xa5446D4c...c105191B4
0 ETH
209186642024-10-08 5:07:3535 days ago1728364055
0xa5446D4c...c105191B4
0 ETH
209186642024-10-08 5:07:3535 days ago1728364055
0xa5446D4c...c105191B4
0 ETH
209186642024-10-08 5:07:3535 days ago1728364055
0xa5446D4c...c105191B4
0 ETH
209184502024-10-08 4:24:4735 days ago1728361487
0xa5446D4c...c105191B4
0 ETH
209167902024-10-07 22:51:5936 days ago1728341519
0xa5446D4c...c105191B4
0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JRNYMetaverseBox

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 15 runs

Other Settings:
default evmVersion, MIT license
File 1 of 9 : JRNYMetaverseBox.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.15;

import "./libs/ERC721A/extensions/ERC721AQueryable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";

/// @notice JRNYMetaverseBox NFT Contract
contract JRNYMetaverseBox is ERC721AQueryable, Ownable {
    ///@notice Max Supply
    uint256 public constant TOTAL_SUPPLY = 10000;

    ///@notice Token Base Uri
    string public baseTokenURI;

    ///@notice Is baseUri locked
    bool public baseUriLocked;

    ///@notice Is Mint Active
    bool public isMintActive;

    struct WLContract {
        address contractAddress;
        uint256 price;
        uint256 start;
        uint256 end;
        bool isWhitelisted;
    }

    ///@dev Whitelisted contract's data
    mapping(uint256 => WLContract) public whitelist;

    ///@dev Mapping to contract address to whitelist index
    mapping(address => uint256) internal contractToIndex;

    ///@dev Current whitelist index (starts from 1) 
    uint256 public indexNum;

    ///@notice Is NFT's `contractAddress` Whitelisted For Mint
    ///@param contractAddress to check
    ///@return True if contract whitelisted
    function isContractWhitelisted(address contractAddress)
        external
        view
        returns (bool)
    {
        return whitelist[contractToIndex[contractAddress]].isWhitelisted;
    }

    ///@notice Mint price in eth(wei) for nft contract address
    ///@dev Can be zero
    function mintPriceForContract(address contractAddress)
        external
        view
        returns (uint256)
    {
        return whitelist[contractToIndex[contractAddress]].price;
    }

    ///@notice Is token already used for mint
    mapping(address => mapping(uint256 => bool)) public isTokenUsed;

    ///@notice Return array of used for mint tokens in the range [`startId`,`endId`] for `contractAddress`
    ///@param contractAddress NFT Contact Address
    ///@param startId Range Start Id
    ///@param startId Range End Id
    ///@return Array of used tokens
    function usedTokensIn(
        address contractAddress,
        uint256 startId,
        uint256 endId
    ) external view returns (uint256[] memory) {
        require(startId < endId, "JRNYMetaverseBox: Sort error");
        uint256 len;
        for (uint256 i = startId; i <= endId; i++) {
            if (isTokenUsed[contractAddress][i]) {
                len++;
            }
        }
        uint256[] memory tmpArr = new uint256[](len);
        uint256 ind = 0;
        for (uint256 i = startId; i <= endId; i++) {
            if (isTokenUsed[contractAddress][i]) {
                tmpArr[ind] = i;
                ind++;
            }
        }
        return tmpArr;
    }

    ///@dev Retusn whitelist array
    function getWhitelist() external view returns (WLContract[] memory) {
        uint256 len = indexNum;
        if (len <= 1) {
            WLContract[] memory emptyArr = new WLContract[](1);
            return emptyArr;
        }
        WLContract[] memory tmpArr = new WLContract[](len - 1);
        for (uint256 i = 1; i < len; i++) {
            tmpArr[i - 1] = whitelist[i];
        }
        return tmpArr;
    }

    constructor(address newOwner) ERC721A("JRNY Metaverse Box", "JMB") {
        baseTokenURI = "https://metaversebox.jrny.club/nft/api/metadata/";
        transferOwnership(newOwner);
        indexNum = 1;
    }

    ///@dev Changes token name and symbol
    function editTokenNameAndTicker(
        string memory _tokenName,
        string memory _ticker
    ) external onlyOwner {
        editTokenNameAndSymbol(_tokenName, _ticker);
    }

    ///@dev Returns base uri
    function _baseURI() internal view override returns (string memory) {
        return baseTokenURI;
    }

    ///@notice Mints tokens for whitelisted `nftContact` and not-used `tokenIds`
    /**
     * @dev
     * Requirements:
     * - Executor need to be a owner of `nftContract`'s `tokenIds`
     * - `nftContract` must be whitelisted
     * - `tokenIds` of `nftContract` must be unused for mint before
     * - ETH value must be greater or equals to mint price for `nftContract`
     */
    ///@param nftContract NFT Contract address
    ///@param tokenIds Owned token ids
    function mint(IERC721 nftContract, uint256[] memory tokenIds)
        public
        payable
    {
        require(isMintActive, "JRNYMetaverseBox: Minting Inactive");

        uint256 tokenId = _nextTokenId();

        uint256 len = tokenIds.length;

        require(
            tokenId + len - 1 < TOTAL_SUPPLY,
            "JRNYMetaverseBox: Max supply reached"
        );

        WLContract memory wl = whitelist[contractToIndex[address(nftContract)]];
        require(
            wl.isWhitelisted,
            "JRNYMetaverseBox: Contract is not whitelisted"
        );
        require(
            block.timestamp >= wl.start,
            "JRNYMetaverseBox: Not started yet"
        );
        require(block.timestamp <= wl.end, "JRNYMetaverseBox: Ended");

        uint256 price = len * wl.price;
        require(msg.value >= price, "JRNYMetaverseBox: Not enough ETH");

        for (uint256 i = 0; i < len; i++) {
            uint256 idForCheck = tokenIds[i];
            require(
                nftContract.ownerOf(idForCheck) == msg.sender,
                "JRNYMetaverseBox: Ownership mismatch"
            );
            require(
                !isTokenUsed[address(nftContract)][idForCheck],
                "JRNYMetaverseBox: Token already used"
            );
            isTokenUsed[address(nftContract)][tokenIds[i]] = true;
        }

        _mint(msg.sender, len);

        if (msg.value > price) {
            payable(msg.sender).transfer(msg.value - price);
        }
    }

    ///@notice Edits whitelist `statuses` for `contractAddreses` sets `prices` for as mint price
    ///@param contractAddreses Contract Address
    ///@param statuses New statuses for contracts (true - enabled, false - disabled)
    ///@param prices Mint ETH Prices (in wei) for contracts (0 - free mint)
    ///@dev Can be executed only by contract owner
    function whitelistContracts(
        address[] memory contractAddreses,
        bool[] memory statuses,
        uint256[] memory prices,
        uint256[] memory startDates,
        uint256[] memory endDates
    ) external onlyOwner {
        uint256 len = contractAddreses.length;
        uint256 sum = 0;
        uint256 actIndex = indexNum;
        for (uint256 i = 0; i < len; i++) {
            WLContract memory wl = WLContract(
                contractAddreses[i],
                prices[i],
                startDates[i],
                endDates[i],
                statuses[i]
            );
            uint256 ind = actIndex;
            if (contractToIndex[contractAddreses[i]] == 0) {
                ind = ind + sum;
                contractToIndex[contractAddreses[i]] = ind;
                sum++;
            } else {
                ind = contractToIndex[contractAddreses[i]];
            }
            whitelist[ind] = wl;
        }
        indexNum += sum;
    }

    ///@notice Sets Mint status
    ///@param newStatus New status (true - enable, false - disable)
    ///@dev Can be executed only by contract owner
    function setMintStatus(bool newStatus) external onlyOwner {
        isMintActive = newStatus;
    }

    ///@notice Sets permanent lock for editing URI
    ///@dev Can be executed only by contract owner
    function lockBaseTokenUri() external onlyOwner {
        baseUriLocked = true;
    }

    ///@notice Sets new base uri
    ///@param _baseTokenURI New base token uri
    ///@dev Can be executed only by contract owner if base uri doesnt lock
    function setBaseTokenURI(string memory _baseTokenURI) external onlyOwner {
        require(!baseUriLocked, "JRNYMetaverseBox: Base Uri locked");
        baseTokenURI = _baseTokenURI;
    }

    ///@notice Withdraws ETH from contract
    ///@dev Can be executed only by contract owner
    function withdraw() external onlyOwner {
        payable(msg.sender).transfer(address(this).balance);
    }
}

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

pragma solidity ^0.8.4;

import "./IERC721AQueryable.sol";
import "../ERC721A.sol";

/**
 * @title ERC721AQueryable.
 *
 * @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 virtual 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[] calldata tokenIds)
        external
        view
        virtual
        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 virtual 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 collections should be fine).
     */
    function tokensOfOwner(address owner) external view virtual 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 9 : IERC721AQueryable.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "../IERC721A.sol";

/**
 * @dev Interface of ERC721AQueryable.
 */
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`
     * - `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) 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 collections should be fine).
     */
    function tokensOfOwner(address owner) external view returns (uint256[] memory);
}

File 4 of 9 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores 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 via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @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() external view returns (uint256);

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 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`,
     * 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,
        bytes calldata data
    ) external;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` 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](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 5 of 9 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.2
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import "./IERC721A.sol";

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

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Reference type for token approval.
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // 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 `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID 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 => TokenApprovalRef) private _tokenApprovals;

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

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

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

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

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

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view 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 virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

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

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    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: [ERC165](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.
    }

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

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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 Sets new token name to `newName` and token symbol to `newSymbol`
     */
    function editTokenNameAndSymbol(string memory newName, string memory newSymbol) internal {
        _name = newName;
        _symbol = newSymbol;
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

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

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

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

    /**
     * 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 initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

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

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

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public virtual override {
        address owner = ownerOf(tokenId);

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

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

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

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

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

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

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

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(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 `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        safeTransferFrom(from, to, tokenId, "");
    }

    /**
     * @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 memory _data
    ) public virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

    /**
     * @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 Private function to invoke {IERC721Receiver-onERC721Received} on a target contract.
     *
     * `from` - Previous owner of the given token ID.
     * `to` - Target address that will receive the token.
     * `tokenId` - Token ID to be transferred.
     * `_data` - Optional data to send along with the call.
     *
     * Returns 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))
                }
            }
        }
    }

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (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 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

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

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

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

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

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

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

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

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

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

    /**
     * @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) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(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++;
        }
    }

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

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

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

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

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

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

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

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

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

File 6 of 9 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 7 of 9 : 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 8 of 9 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 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 9 of 9 : 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
{
  "metadata": {
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": true,
    "runs": 15
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","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":"TOTAL_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseUriLocked","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_tokenName","type":"string"},{"internalType":"string","name":"_ticker","type":"string"}],"name":"editTokenNameAndTicker","outputs":[],"stateMutability":"nonpayable","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getWhitelist","outputs":[{"components":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"bool","name":"isWhitelisted","type":"bool"}],"internalType":"struct JRNYMetaverseBox.WLContract[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"indexNum","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":"address","name":"contractAddress","type":"address"}],"name":"isContractWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isMintActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"isTokenUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lockBaseTokenUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC721","name":"nftContract","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"contractAddress","type":"address"}],"name":"mintPriceForContract","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newStatus","type":"bool"}],"name":"setMintStatus","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":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"startId","type":"uint256"},{"internalType":"uint256","name":"endId","type":"uint256"}],"name":"usedTokensIn","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelist","outputs":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"},{"internalType":"bool","name":"isWhitelisted","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"contractAddreses","type":"address[]"},{"internalType":"bool[]","name":"statuses","type":"bool[]"},{"internalType":"uint256[]","name":"prices","type":"uint256[]"},{"internalType":"uint256[]","name":"startDates","type":"uint256[]"},{"internalType":"uint256[]","name":"endDates","type":"uint256[]"}],"name":"whitelistContracts","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b5060405162002f7338038062002f73833981016040819052620000349162000221565b60405180604001604052806012815260200171094a49cb2409acae8c2eccae4e6ca4084def60731b815250604051806040016040528060038152602001622526a160e91b81525081600290816200008c9190620002f8565b5060036200009b8282620002f8565b50506000805550620000ad33620000ee565b60405180606001604052806030815260200162002f4360309139600990620000d69082620002f8565b50620000e28162000140565b506001600d55620003c4565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6200014a620001c3565b6001600160a01b038116620001b55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084015b60405180910390fd5b620001c081620000ee565b50565b6008546001600160a01b031633146200021f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401620001ac565b565b6000602082840312156200023457600080fd5b81516001600160a01b03811681146200024c57600080fd5b9392505050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200027e57607f821691505b6020821081036200029f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620002f357600081815260208120601f850160051c81016020861015620002ce5750805b601f850160051c820191505b81811015620002ef57828155600101620002da565b5050505b505050565b81516001600160401b0381111562000314576200031462000253565b6200032c8162000325845462000269565b84620002a5565b602080601f8311600181146200036457600084156200034b5750858301515b600019600386901b1c1916600185901b178555620002ef565b600085815260208120601f198616915b82811015620003955788860151825594840194600190910190840162000374565b5085821015620003b45787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b612b6f80620003d46000396000f3fe6080604052600436106101c05760003560e01c806301ffc9a7146101c557806306fdde03146101fa578063081812fc1461021c578063095ea7b31461025457806318160ddd146102765780631f85e3ca1461029957806323b872dd146102b957806330176e13146102d95780633ccfd60b146102f957806341dd55141461030e57806342842e0e1461032e5780635b92ac0d1461034e5780635bbb21771461036d5780636352211e1461039a57806370a08231146103ba578063715018a6146103da57806371b9d316146103ef5780637ebd1b301461040957806380e80edf146104945780638462151c146104b45780638da5cb5b146104e1578063902d55a5146104f657806391c207971461050c57806395d89b411461052c57806399a2557a14610541578063a22cb46514610561578063b88d4fde14610581578063c057058a146105a1578063c0c62460146105ea578063c22b2b0414610630578063c23dc68f14610645578063c798d17e14610672578063c87b56dd146106ad578063d01f63f5146106cd578063d547cfb7146106ef578063de836ebd14610704578063e985e9c514610717578063f2fde38b14610760578063fd0c4cd514610780575b600080fd5b3480156101d157600080fd5b506101e56101e03660046120a0565b610796565b60405190151581526020015b60405180910390f35b34801561020657600080fd5b5061020f6107e8565b6040516101f19190612115565b34801561022857600080fd5b5061023c610237366004612128565b61087a565b6040516001600160a01b0390911681526020016101f1565b34801561026057600080fd5b5061027461026f366004612156565b6108be565b005b34801561028257600080fd5b50600154600054035b6040519081526020016101f1565b3480156102a557600080fd5b506102746102b4366004612197565b61095e565b3480156102c557600080fd5b506102746102d43660046121b2565b610980565b3480156102e557600080fd5b506102746102f43660046122b0565b610b07565b34801561030557600080fd5b50610274610b81565b34801561031a57600080fd5b506102746103293660046122e4565b610bb8565b34801561033a57600080fd5b506102746103493660046121b2565b610bca565b34801561035a57600080fd5b50600a546101e590610100900460ff1681565b34801561037957600080fd5b5061038d610388366004612347565b610bea565b6040516101f191906123f7565b3480156103a657600080fd5b5061023c6103b5366004612128565b610c9c565b3480156103c657600080fd5b5061028b6103d5366004612439565b610ca7565b3480156103e657600080fd5b50610274610cf5565b3480156103fb57600080fd5b50600a546101e59060ff1681565b34801561041557600080fd5b50610460610424366004612128565b600b60205260009081526040902080546001820154600283015460038401546004909401546001600160a01b0390931693919290919060ff1685565b604080516001600160a01b03909616865260208601949094529284019190915260608301521515608082015260a0016101f1565b3480156104a057600080fd5b506102746104af3660046125aa565b610d09565b3480156104c057600080fd5b506104d46104cf366004612439565b610f5d565b6040516101f1919061267b565b3480156104ed57600080fd5b5061023c611043565b34801561050257600080fd5b5061028b61271081565b34801561051857600080fd5b506104d46105273660046126b3565b611052565b34801561053857600080fd5b5061020f6111c3565b34801561054d57600080fd5b506104d461055c3660046126b3565b6111d2565b34801561056d57600080fd5b5061027461057c3660046126e8565b611349565b34801561058d57600080fd5b5061027461059c36600461271d565b6113b5565b3480156105ad57600080fd5b506101e56105bc366004612439565b6001600160a01b03166000908152600c60209081526040808320548352600b90915290206004015460ff1690565b3480156105f657600080fd5b5061028b610605366004612439565b6001600160a01b03166000908152600c60209081526040808320548352600b90915290206001015490565b34801561063c57600080fd5b506102746113ff565b34801561065157600080fd5b50610665610660366004612128565b611416565b6040516101f1919061279c565b34801561067e57600080fd5b506101e561068d366004612156565b600e60209081526000928352604080842090915290825290205460ff1681565b3480156106b957600080fd5b5061020f6106c8366004612128565b611459565b3480156106d957600080fd5b506106e26114dc565b6040516101f191906127aa565b3480156106fb57600080fd5b5061020f611627565b610274610712366004612823565b6116b5565b34801561072357600080fd5b506101e5610732366004612868565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076c57600080fd5b5061027461077b366004612439565b611baf565b34801561078c57600080fd5b5061028b600d5481565b60006301ffc9a760e01b6001600160e01b0319831614806107c757506380ac58cd60e01b6001600160e01b03198316145b806107e25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107f7906128a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610823906128a1565b80156108705780601f1061084557610100808354040283529160200191610870565b820191906000526020600020905b81548152906001019060200180831161085357829003601f168201915b5050505050905090565b600061088582611c25565b6108a2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108c982610c9c565b9050336001600160a01b03821614610902576108e58133610732565b610902576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610966611c4c565b600a80549115156101000261ff0019909216919091179055565b600061098b82611cab565b9050836001600160a01b0316816001600160a01b0316146109be5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a0b576109ee8633610732565b610a0b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a3257604051633a954ecd60e21b815260040160405180910390fd5b8015610a3d57600082555b6001600160a01b03868116600090815260056020526040808220805460001901905591871681522080546001019055610a7a85600160e11b611d12565b600085815260046020526040812091909155600160e11b84169003610acf57600184016000818152600460205260408120549003610acd576000548114610acd5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612b1a83398151915260405160405180910390a45b505050505050565b610b0f611c4c565b600a5460ff1615610b715760405162461bcd60e51b815260206004820152602160248201527f4a524e594d6574617665727365426f783a204261736520557269206c6f636b656044820152601960fa1b60648201526084015b60405180910390fd5b6009610b7d8282612921565b5050565b610b89611c4c565b60405133904780156108fc02916000818181858888f19350505050158015610bb5573d6000803e3d6000fd5b50565b610bc0611c4c565b610b7d8282611d27565b610be5838383604051806020016040528060008152506113b5565b505050565b6060816000816001600160401b03811115610c0757610c076121f3565b604051908082528060200260200182016040528015610c4057816020015b610c2d612029565b815260200190600190039081610c255790505b50905060005b828114610c9357610c6e868683818110610c6257610c626129e0565b90506020020135611416565b828281518110610c8057610c806129e0565b6020908102919091010152600101610c46565b50949350505050565b60006107e282611cab565b60006001600160a01b038216610cd0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610cfd611c4c565b610d076000611d40565b565b610d11611c4c565b8451600d54600090815b83811015610f3b5760006040518060a001604052808b8481518110610d4257610d426129e0565b60200260200101516001600160a01b03168152602001898481518110610d6a57610d6a6129e0565b60200260200101518152602001888481518110610d8957610d896129e0565b60200260200101518152602001878481518110610da857610da86129e0565b602002602001015181526020018a8481518110610dc757610dc76129e0565b6020026020010151151581525090506000839050600c60008c8581518110610df157610df16129e0565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054600003610e8357610e2b8582612a0c565b905080600c60008d8681518110610e4457610e446129e0565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508480610e7b90612a24565b955050610ec5565b600c60008c8581518110610e9957610e996129e0565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205490505b6000908152600b6020908152604091829020835181546001600160a01b0319166001600160a01b03909116178155908301516001820155908201516002820155606082015160038201556080909101516004909101805460ff191691151591909117905580610f3381612a24565b915050610d1b565b5081600d6000828254610f4e9190612a0c565b90915550505050505050505050565b60606000806000610f6d85610ca7565b90506000816001600160401b03811115610f8957610f896121f3565b604051908082528060200260200182016040528015610fb2578160200160208202803683370190505b509050610fbd612029565b60005b83861461103757610fd081611d92565b9150816040015161102f5781516001600160a01b031615610ff057815194505b876001600160a01b0316856001600160a01b03160361102f5780838780600101985081518110611022576110226129e0565b6020026020010181815250505b600101610fc0565b50909695505050505050565b6008546001600160a01b031690565b60608183106110a25760405162461bcd60e51b815260206004820152601c60248201527b2529272ca6b2ba30bb32b939b2a137bc1d1029b7b93a1032b93937b960211b6044820152606401610b68565b6000835b8381116110f9576001600160a01b0386166000908152600e6020908152604080832084845290915290205460ff16156110e757816110e381612a24565b9250505b806110f181612a24565b9150506110a6565b506000816001600160401b03811115611114576111146121f3565b60405190808252806020026020018201604052801561113d578160200160208202803683370190505b5090506000855b8581116111b5576001600160a01b0388166000908152600e6020908152604080832084845290915290205460ff16156111a3578083838151811061118a5761118a6129e0565b60209081029190910101528161119f81612a24565b9250505b806111ad81612a24565b915050611144565b5090925050505b9392505050565b6060600380546107f7906128a1565b60608183106111f457604051631960ccad60e11b815260040160405180910390fd5b60008061120060005490565b90508084111561120e578093505b600061121987610ca7565b9050848610156112385785850381811015611232578091505b5061123c565b5060005b6000816001600160401b03811115611256576112566121f3565b60405190808252806020026020018201604052801561127f578160200160208202803683370190505b509050816000036112955793506111bc92505050565b60006112a088611416565b9050600081604001516112b1575080515b885b8881141580156112c35750848714155b15611338576112d181611d92565b925082604001516113305782516001600160a01b0316156112f157825191505b8a6001600160a01b0316826001600160a01b0316036113305780848880600101995081518110611323576113236129e0565b6020026020010181815250505b6001016112b3565b505050928352509095945050505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113c0848484610980565b6001600160a01b0383163b156113f9576113dc84848484611db2565b6113f9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611407611c4c565b600a805460ff19166001179055565b61141e612029565b611426612029565b60005483106114355792915050565b61143e83611d92565b90508060400151156114505792915050565b6111bc83611e9e565b606061146482611c25565b61148157604051630a14c4b560e41b815260040160405180910390fd5b600061148b611eb7565b905080516000036114ab57604051806020016040528060008152506111bc565b806114b584611ec6565b6040516020016114c6929190612a3d565b6040516020818303038152906040529392505050565b600d546060906001811161152357604080516001808252818301909252600091816020015b611509612050565b815260200190600190039081611501579050509392505050565b6000611530600183612a6c565b6001600160401b03811115611547576115476121f3565b60405190808252806020026020018201604052801561158057816020015b61156d612050565b8152602001906001900390816115655790505b50905060015b82811015611620576000818152600b6020908152604091829020825160a08101845281546001600160a01b0316815260018083015493820193909352600282015493810193909352600381015460608401526004015460ff161515608083015283906115f29084612a6c565b81518110611602576116026129e0565b6020026020010181905250808061161890612a24565b915050611586565b5092915050565b60098054611634906128a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611660906128a1565b80156116ad5780601f10611682576101008083540402835291602001916116ad565b820191906000526020600020905b81548152906001019060200180831161169057829003601f168201915b505050505081565b600a54610100900460ff166117175760405162461bcd60e51b815260206004820152602260248201527f4a524e594d6574617665727365426f783a204d696e74696e6720496e61637469604482015261766560f01b6064820152608401610b68565b6000548151612710600161172b8385612a0c565b6117359190612a6c565b1061178e5760405162461bcd60e51b8152602060048201526024808201527f4a524e594d6574617665727365426f783a204d617820737570706c792072656160448201526318da195960e21b6064820152608401610b68565b6001600160a01b038085166000908152600c60209081526040808320548352600b825291829020825160a08101845281549094168452600181015491840191909152600281015491830191909152600381015460608301526004015460ff161515608082018190526118585760405162461bcd60e51b815260206004820152602d60248201527f4a524e594d6574617665727365426f783a20436f6e7472616374206973206e6f60448201526c1d081dda1a5d195b1a5cdd1959609a1b6064820152608401610b68565b80604001514210156118b65760405162461bcd60e51b815260206004820152602160248201527f4a524e594d6574617665727365426f783a204e6f7420737461727465642079656044820152601d60fa1b6064820152608401610b68565b80606001514211156119045760405162461bcd60e51b81526020600482015260176024820152761294939653595d185d995c9cd9509bde0e88115b991959604a1b6044820152606401610b68565b60008160200151836119169190612a83565b9050803410156119685760405162461bcd60e51b815260206004820181905260248201527f4a524e594d6574617665727365426f783a204e6f7420656e6f756768204554486044820152606401610b68565b60005b83811015611b5d576000868281518110611987576119876129e0565b60200260200101519050336001600160a01b0316886001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016119c991815260200190565b602060405180830381865afa1580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0a9190612aa2565b6001600160a01b031614611a6c5760405162461bcd60e51b8152602060048201526024808201527f4a524e594d6574617665727365426f783a204f776e657273686970206d69736d6044820152630c2e8c6d60e31b6064820152608401610b68565b6001600160a01b0388166000908152600e6020908152604080832084845290915290205460ff1615611aec5760405162461bcd60e51b8152602060048201526024808201527f4a524e594d6574617665727365426f783a20546f6b656e20616c7265616479206044820152631d5cd95960e21b6064820152608401610b68565b6001600160a01b0388166000908152600e602052604081208851600192908a9086908110611b1c57611b1c6129e0565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611b5590612a24565b91505061196b565b50611b683384611efe565b80341115610aff57336108fc611b7e8334612a6c565b6040518115909202916000818181858888f19350505050158015611ba6573d6000803e3d6000fd5b50505050505050565b611bb7611c4c565b6001600160a01b038116611c1c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b68565b610bb581611d40565b60008054821080156107e2575050600090815260046020526040902054600160e01b161590565b33611c55611043565b6001600160a01b031614610d075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b68565b600081600054811015611cf95760008181526004602052604081205490600160e01b82169003611cf7575b806000036111bc575060001901600081815260046020526040902054611cd6565b505b604051636f96cda160e11b815260040160405180910390fd5b4260a01b176001600160a01b03919091161790565b6002611d338382612921565b506003610be58282612921565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611d9a612029565b6000828152600460205260409020546107e290611fe6565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611de7903390899088908890600401612abf565b6020604051808303816000875af1925050508015611e22575060408051601f3d908101601f19168201909252611e1f91810190612afc565b60015b611e80573d808015611e50576040519150601f19603f3d011682016040523d82523d6000602084013e611e55565b606091505b508051600003611e78576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b611ea6612029565b6107e2611eb283611cab565b611fe6565b6060600980546107f7906128a1565b604080516080019081905280825b600183039250600a81066030018353600a900480611ed45750819003601f19909101908152919050565b6000805490829003611f235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600090815260056020526040902080546001600160401b018402019055611f5a836001841460e11b611d12565b6000828152600460205260408120919091556001600160a01b038416908383019083908390600080516020612b1a8339815191528180a4600183015b818114611fbc5780836000600080516020612b1a833981519152600080a4600101611f96565b5081600003611fdd57604051622e076360e81b815260040160405180910390fd5b60005550505050565b611fee612029565b6001600160a01b03821681526001600160401b0360a083901c166020820152600160e01b82161515604082015260e89190911c606082015290565b60408051608081018252600080825260208201819052918101829052606081019190915290565b6040518060a0016040528060006001600160a01b031681526020016000815260200160008152602001600081526020016000151581525090565b6001600160e01b031981168114610bb557600080fd5b6000602082840312156120b257600080fd5b81356111bc8161208a565b60005b838110156120d85781810151838201526020016120c0565b838111156113f95750506000910152565b600081518084526121018160208601602086016120bd565b601f01601f19169290920160200192915050565b6020815260006111bc60208301846120e9565b60006020828403121561213a57600080fd5b5035919050565b6001600160a01b0381168114610bb557600080fd5b6000806040838503121561216957600080fd5b823561217481612141565b946020939093013593505050565b8035801515811461219257600080fd5b919050565b6000602082840312156121a957600080fd5b6111bc82612182565b6000806000606084860312156121c757600080fd5b83356121d281612141565b925060208401356121e281612141565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612231576122316121f3565b604052919050565b60006001600160401b03831115612252576122526121f3565b612265601f8401601f1916602001612209565b905082815283838301111561227957600080fd5b828260208301376000602084830101529392505050565b600082601f8301126122a157600080fd5b6111bc83833560208501612239565b6000602082840312156122c257600080fd5b81356001600160401b038111156122d857600080fd5b611e9684828501612290565b600080604083850312156122f757600080fd5b82356001600160401b038082111561230e57600080fd5b61231a86838701612290565b9350602085013591508082111561233057600080fd5b5061233d85828601612290565b9150509250929050565b6000806020838503121561235a57600080fd5b82356001600160401b038082111561237157600080fd5b818501915085601f83011261238557600080fd5b81358181111561239457600080fd5b8660208260051b85010111156123a957600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611037576124268385516123bb565b9284019260809290920191600101612413565b60006020828403121561244b57600080fd5b81356111bc81612141565b60006001600160401b0382111561246f5761246f6121f3565b5060051b60200190565b600082601f83011261248a57600080fd5b8135602061249f61249a83612456565b612209565b82815260059290921b840181019181810190868411156124be57600080fd5b8286015b848110156124e25780356124d581612141565b83529183019183016124c2565b509695505050505050565b600082601f8301126124fe57600080fd5b8135602061250e61249a83612456565b82815260059290921b8401810191818101908684111561252d57600080fd5b8286015b848110156124e25761254281612182565b8352918301918301612531565b600082601f83011261256057600080fd5b8135602061257061249a83612456565b82815260059290921b8401810191818101908684111561258f57600080fd5b8286015b848110156124e25780358352918301918301612593565b600080600080600060a086880312156125c257600080fd5b85356001600160401b03808211156125d957600080fd5b6125e589838a01612479565b965060208801359150808211156125fb57600080fd5b61260789838a016124ed565b9550604088013591508082111561261d57600080fd5b61262989838a0161254f565b9450606088013591508082111561263f57600080fd5b61264b89838a0161254f565b9350608088013591508082111561266157600080fd5b5061266e8882890161254f565b9150509295509295909350565b6020808252825182820181905260009190848201906040850190845b8181101561103757835183529284019291840191600101612697565b6000806000606084860312156126c857600080fd5b83356126d381612141565b95602085013595506040909401359392505050565b600080604083850312156126fb57600080fd5b823561270681612141565b915061271460208401612182565b90509250929050565b6000806000806080858703121561273357600080fd5b843561273e81612141565b9350602085013561274e81612141565b92506040850135915060608501356001600160401b0381111561277057600080fd5b8501601f8101871361278157600080fd5b61279087823560208401612239565b91505092959194509250565b608081016107e282846123bb565b602080825282518282018190526000919060409081850190868401855b8281101561281657815180516001600160a01b03168552868101518786015285810151868601526060808201519086015260809081015115159085015260a090930192908501906001016127c7565b5091979650505050505050565b6000806040838503121561283657600080fd5b823561284181612141565b915060208301356001600160401b0381111561285c57600080fd5b61233d8582860161254f565b6000806040838503121561287b57600080fd5b823561288681612141565b9150602083013561289681612141565b809150509250929050565b600181811c908216806128b557607f821691505b6020821081036128d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610be557600081815260208120601f850160051c810160208610156129025750805b601f850160051c820191505b81811015610aff5782815560010161290e565b81516001600160401b0381111561293a5761293a6121f3565b61294e8161294884546128a1565b846128db565b602080601f831160018114612983576000841561296b5750858301515b600019600386901b1c1916600185901b178555610aff565b600085815260208120601f198616915b828110156129b257888601518255948401946001909101908401612993565b50858210156129d05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612a1f57612a1f6129f6565b500190565b600060018201612a3657612a366129f6565b5060010190565b60008351612a4f8184602088016120bd565b835190830190612a638183602088016120bd565b01949350505050565b600082821015612a7e57612a7e6129f6565b500390565b6000816000190483118215151615612a9d57612a9d6129f6565b500290565b600060208284031215612ab457600080fd5b81516111bc81612141565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612af2908301846120e9565b9695505050505050565b600060208284031215612b0e57600080fd5b81516111bc8161208a56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122055bfe7840aa45ac1999f660b865cdd319f4c9e5be103976ac625342d9b31926f64736f6c634300080f003368747470733a2f2f6d6574617665727365626f782e6a726e792e636c75622f6e66742f6170692f6d657461646174612f0000000000000000000000007cd34a9e39afa2baf4a1f6ff6f8881e2bd00f21e

Deployed Bytecode

0x6080604052600436106101c05760003560e01c806301ffc9a7146101c557806306fdde03146101fa578063081812fc1461021c578063095ea7b31461025457806318160ddd146102765780631f85e3ca1461029957806323b872dd146102b957806330176e13146102d95780633ccfd60b146102f957806341dd55141461030e57806342842e0e1461032e5780635b92ac0d1461034e5780635bbb21771461036d5780636352211e1461039a57806370a08231146103ba578063715018a6146103da57806371b9d316146103ef5780637ebd1b301461040957806380e80edf146104945780638462151c146104b45780638da5cb5b146104e1578063902d55a5146104f657806391c207971461050c57806395d89b411461052c57806399a2557a14610541578063a22cb46514610561578063b88d4fde14610581578063c057058a146105a1578063c0c62460146105ea578063c22b2b0414610630578063c23dc68f14610645578063c798d17e14610672578063c87b56dd146106ad578063d01f63f5146106cd578063d547cfb7146106ef578063de836ebd14610704578063e985e9c514610717578063f2fde38b14610760578063fd0c4cd514610780575b600080fd5b3480156101d157600080fd5b506101e56101e03660046120a0565b610796565b60405190151581526020015b60405180910390f35b34801561020657600080fd5b5061020f6107e8565b6040516101f19190612115565b34801561022857600080fd5b5061023c610237366004612128565b61087a565b6040516001600160a01b0390911681526020016101f1565b34801561026057600080fd5b5061027461026f366004612156565b6108be565b005b34801561028257600080fd5b50600154600054035b6040519081526020016101f1565b3480156102a557600080fd5b506102746102b4366004612197565b61095e565b3480156102c557600080fd5b506102746102d43660046121b2565b610980565b3480156102e557600080fd5b506102746102f43660046122b0565b610b07565b34801561030557600080fd5b50610274610b81565b34801561031a57600080fd5b506102746103293660046122e4565b610bb8565b34801561033a57600080fd5b506102746103493660046121b2565b610bca565b34801561035a57600080fd5b50600a546101e590610100900460ff1681565b34801561037957600080fd5b5061038d610388366004612347565b610bea565b6040516101f191906123f7565b3480156103a657600080fd5b5061023c6103b5366004612128565b610c9c565b3480156103c657600080fd5b5061028b6103d5366004612439565b610ca7565b3480156103e657600080fd5b50610274610cf5565b3480156103fb57600080fd5b50600a546101e59060ff1681565b34801561041557600080fd5b50610460610424366004612128565b600b60205260009081526040902080546001820154600283015460038401546004909401546001600160a01b0390931693919290919060ff1685565b604080516001600160a01b03909616865260208601949094529284019190915260608301521515608082015260a0016101f1565b3480156104a057600080fd5b506102746104af3660046125aa565b610d09565b3480156104c057600080fd5b506104d46104cf366004612439565b610f5d565b6040516101f1919061267b565b3480156104ed57600080fd5b5061023c611043565b34801561050257600080fd5b5061028b61271081565b34801561051857600080fd5b506104d46105273660046126b3565b611052565b34801561053857600080fd5b5061020f6111c3565b34801561054d57600080fd5b506104d461055c3660046126b3565b6111d2565b34801561056d57600080fd5b5061027461057c3660046126e8565b611349565b34801561058d57600080fd5b5061027461059c36600461271d565b6113b5565b3480156105ad57600080fd5b506101e56105bc366004612439565b6001600160a01b03166000908152600c60209081526040808320548352600b90915290206004015460ff1690565b3480156105f657600080fd5b5061028b610605366004612439565b6001600160a01b03166000908152600c60209081526040808320548352600b90915290206001015490565b34801561063c57600080fd5b506102746113ff565b34801561065157600080fd5b50610665610660366004612128565b611416565b6040516101f1919061279c565b34801561067e57600080fd5b506101e561068d366004612156565b600e60209081526000928352604080842090915290825290205460ff1681565b3480156106b957600080fd5b5061020f6106c8366004612128565b611459565b3480156106d957600080fd5b506106e26114dc565b6040516101f191906127aa565b3480156106fb57600080fd5b5061020f611627565b610274610712366004612823565b6116b5565b34801561072357600080fd5b506101e5610732366004612868565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b34801561076c57600080fd5b5061027461077b366004612439565b611baf565b34801561078c57600080fd5b5061028b600d5481565b60006301ffc9a760e01b6001600160e01b0319831614806107c757506380ac58cd60e01b6001600160e01b03198316145b806107e25750635b5e139f60e01b6001600160e01b03198316145b92915050565b6060600280546107f7906128a1565b80601f0160208091040260200160405190810160405280929190818152602001828054610823906128a1565b80156108705780601f1061084557610100808354040283529160200191610870565b820191906000526020600020905b81548152906001019060200180831161085357829003601f168201915b5050505050905090565b600061088582611c25565b6108a2576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108c982610c9c565b9050336001600160a01b03821614610902576108e58133610732565b610902576040516367d9dca160e11b815260040160405180910390fd5b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b610966611c4c565b600a80549115156101000261ff0019909216919091179055565b600061098b82611cab565b9050836001600160a01b0316816001600160a01b0316146109be5760405162a1148160e81b815260040160405180910390fd5b60008281526006602052604090208054338082146001600160a01b03881690911417610a0b576109ee8633610732565b610a0b57604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038516610a3257604051633a954ecd60e21b815260040160405180910390fd5b8015610a3d57600082555b6001600160a01b03868116600090815260056020526040808220805460001901905591871681522080546001019055610a7a85600160e11b611d12565b600085815260046020526040812091909155600160e11b84169003610acf57600184016000818152600460205260408120549003610acd576000548114610acd5760008181526004602052604090208490555b505b83856001600160a01b0316876001600160a01b0316600080516020612b1a83398151915260405160405180910390a45b505050505050565b610b0f611c4c565b600a5460ff1615610b715760405162461bcd60e51b815260206004820152602160248201527f4a524e594d6574617665727365426f783a204261736520557269206c6f636b656044820152601960fa1b60648201526084015b60405180910390fd5b6009610b7d8282612921565b5050565b610b89611c4c565b60405133904780156108fc02916000818181858888f19350505050158015610bb5573d6000803e3d6000fd5b50565b610bc0611c4c565b610b7d8282611d27565b610be5838383604051806020016040528060008152506113b5565b505050565b6060816000816001600160401b03811115610c0757610c076121f3565b604051908082528060200260200182016040528015610c4057816020015b610c2d612029565b815260200190600190039081610c255790505b50905060005b828114610c9357610c6e868683818110610c6257610c626129e0565b90506020020135611416565b828281518110610c8057610c806129e0565b6020908102919091010152600101610c46565b50949350505050565b60006107e282611cab565b60006001600160a01b038216610cd0576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b03166000908152600560205260409020546001600160401b031690565b610cfd611c4c565b610d076000611d40565b565b610d11611c4c565b8451600d54600090815b83811015610f3b5760006040518060a001604052808b8481518110610d4257610d426129e0565b60200260200101516001600160a01b03168152602001898481518110610d6a57610d6a6129e0565b60200260200101518152602001888481518110610d8957610d896129e0565b60200260200101518152602001878481518110610da857610da86129e0565b602002602001015181526020018a8481518110610dc757610dc76129e0565b6020026020010151151581525090506000839050600c60008c8581518110610df157610df16129e0565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002054600003610e8357610e2b8582612a0c565b905080600c60008d8681518110610e4457610e446129e0565b60200260200101516001600160a01b03166001600160a01b03168152602001908152602001600020819055508480610e7b90612a24565b955050610ec5565b600c60008c8581518110610e9957610e996129e0565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000205490505b6000908152600b6020908152604091829020835181546001600160a01b0319166001600160a01b03909116178155908301516001820155908201516002820155606082015160038201556080909101516004909101805460ff191691151591909117905580610f3381612a24565b915050610d1b565b5081600d6000828254610f4e9190612a0c565b90915550505050505050505050565b60606000806000610f6d85610ca7565b90506000816001600160401b03811115610f8957610f896121f3565b604051908082528060200260200182016040528015610fb2578160200160208202803683370190505b509050610fbd612029565b60005b83861461103757610fd081611d92565b9150816040015161102f5781516001600160a01b031615610ff057815194505b876001600160a01b0316856001600160a01b03160361102f5780838780600101985081518110611022576110226129e0565b6020026020010181815250505b600101610fc0565b50909695505050505050565b6008546001600160a01b031690565b60608183106110a25760405162461bcd60e51b815260206004820152601c60248201527b2529272ca6b2ba30bb32b939b2a137bc1d1029b7b93a1032b93937b960211b6044820152606401610b68565b6000835b8381116110f9576001600160a01b0386166000908152600e6020908152604080832084845290915290205460ff16156110e757816110e381612a24565b9250505b806110f181612a24565b9150506110a6565b506000816001600160401b03811115611114576111146121f3565b60405190808252806020026020018201604052801561113d578160200160208202803683370190505b5090506000855b8581116111b5576001600160a01b0388166000908152600e6020908152604080832084845290915290205460ff16156111a3578083838151811061118a5761118a6129e0565b60209081029190910101528161119f81612a24565b9250505b806111ad81612a24565b915050611144565b5090925050505b9392505050565b6060600380546107f7906128a1565b60608183106111f457604051631960ccad60e11b815260040160405180910390fd5b60008061120060005490565b90508084111561120e578093505b600061121987610ca7565b9050848610156112385785850381811015611232578091505b5061123c565b5060005b6000816001600160401b03811115611256576112566121f3565b60405190808252806020026020018201604052801561127f578160200160208202803683370190505b509050816000036112955793506111bc92505050565b60006112a088611416565b9050600081604001516112b1575080515b885b8881141580156112c35750848714155b15611338576112d181611d92565b925082604001516113305782516001600160a01b0316156112f157825191505b8a6001600160a01b0316826001600160a01b0316036113305780848880600101995081518110611323576113236129e0565b6020026020010181815250505b6001016112b3565b505050928352509095945050505050565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6113c0848484610980565b6001600160a01b0383163b156113f9576113dc84848484611db2565b6113f9576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b611407611c4c565b600a805460ff19166001179055565b61141e612029565b611426612029565b60005483106114355792915050565b61143e83611d92565b90508060400151156114505792915050565b6111bc83611e9e565b606061146482611c25565b61148157604051630a14c4b560e41b815260040160405180910390fd5b600061148b611eb7565b905080516000036114ab57604051806020016040528060008152506111bc565b806114b584611ec6565b6040516020016114c6929190612a3d565b6040516020818303038152906040529392505050565b600d546060906001811161152357604080516001808252818301909252600091816020015b611509612050565b815260200190600190039081611501579050509392505050565b6000611530600183612a6c565b6001600160401b03811115611547576115476121f3565b60405190808252806020026020018201604052801561158057816020015b61156d612050565b8152602001906001900390816115655790505b50905060015b82811015611620576000818152600b6020908152604091829020825160a08101845281546001600160a01b0316815260018083015493820193909352600282015493810193909352600381015460608401526004015460ff161515608083015283906115f29084612a6c565b81518110611602576116026129e0565b6020026020010181905250808061161890612a24565b915050611586565b5092915050565b60098054611634906128a1565b80601f0160208091040260200160405190810160405280929190818152602001828054611660906128a1565b80156116ad5780601f10611682576101008083540402835291602001916116ad565b820191906000526020600020905b81548152906001019060200180831161169057829003601f168201915b505050505081565b600a54610100900460ff166117175760405162461bcd60e51b815260206004820152602260248201527f4a524e594d6574617665727365426f783a204d696e74696e6720496e61637469604482015261766560f01b6064820152608401610b68565b6000548151612710600161172b8385612a0c565b6117359190612a6c565b1061178e5760405162461bcd60e51b8152602060048201526024808201527f4a524e594d6574617665727365426f783a204d617820737570706c792072656160448201526318da195960e21b6064820152608401610b68565b6001600160a01b038085166000908152600c60209081526040808320548352600b825291829020825160a08101845281549094168452600181015491840191909152600281015491830191909152600381015460608301526004015460ff161515608082018190526118585760405162461bcd60e51b815260206004820152602d60248201527f4a524e594d6574617665727365426f783a20436f6e7472616374206973206e6f60448201526c1d081dda1a5d195b1a5cdd1959609a1b6064820152608401610b68565b80604001514210156118b65760405162461bcd60e51b815260206004820152602160248201527f4a524e594d6574617665727365426f783a204e6f7420737461727465642079656044820152601d60fa1b6064820152608401610b68565b80606001514211156119045760405162461bcd60e51b81526020600482015260176024820152761294939653595d185d995c9cd9509bde0e88115b991959604a1b6044820152606401610b68565b60008160200151836119169190612a83565b9050803410156119685760405162461bcd60e51b815260206004820181905260248201527f4a524e594d6574617665727365426f783a204e6f7420656e6f756768204554486044820152606401610b68565b60005b83811015611b5d576000868281518110611987576119876129e0565b60200260200101519050336001600160a01b0316886001600160a01b0316636352211e836040518263ffffffff1660e01b81526004016119c991815260200190565b602060405180830381865afa1580156119e6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a0a9190612aa2565b6001600160a01b031614611a6c5760405162461bcd60e51b8152602060048201526024808201527f4a524e594d6574617665727365426f783a204f776e657273686970206d69736d6044820152630c2e8c6d60e31b6064820152608401610b68565b6001600160a01b0388166000908152600e6020908152604080832084845290915290205460ff1615611aec5760405162461bcd60e51b8152602060048201526024808201527f4a524e594d6574617665727365426f783a20546f6b656e20616c7265616479206044820152631d5cd95960e21b6064820152608401610b68565b6001600160a01b0388166000908152600e602052604081208851600192908a9086908110611b1c57611b1c6129e0565b6020026020010151815260200190815260200160002060006101000a81548160ff021916908315150217905550508080611b5590612a24565b91505061196b565b50611b683384611efe565b80341115610aff57336108fc611b7e8334612a6c565b6040518115909202916000818181858888f19350505050158015611ba6573d6000803e3d6000fd5b50505050505050565b611bb7611c4c565b6001600160a01b038116611c1c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610b68565b610bb581611d40565b60008054821080156107e2575050600090815260046020526040902054600160e01b161590565b33611c55611043565b6001600160a01b031614610d075760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610b68565b600081600054811015611cf95760008181526004602052604081205490600160e01b82169003611cf7575b806000036111bc575060001901600081815260046020526040902054611cd6565b505b604051636f96cda160e11b815260040160405180910390fd5b4260a01b176001600160a01b03919091161790565b6002611d338382612921565b506003610be58282612921565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611d9a612029565b6000828152600460205260409020546107e290611fe6565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290611de7903390899088908890600401612abf565b6020604051808303816000875af1925050508015611e22575060408051601f3d908101601f19168201909252611e1f91810190612afc565b60015b611e80573d808015611e50576040519150601f19603f3d011682016040523d82523d6000602084013e611e55565b606091505b508051600003611e78576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b611ea6612029565b6107e2611eb283611cab565b611fe6565b6060600980546107f7906128a1565b604080516080019081905280825b600183039250600a81066030018353600a900480611ed45750819003601f19909101908152919050565b6000805490829003611f235760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038316600090815260056020526040902080546001600160401b018402019055611f5a836001841460e11b611d12565b6000828152600460205260408120919091556001600160a01b038416908383019083908390600080516020612b1a8339815191528180a4600183015b818114611fbc5780836000600080516020612b1a833981519152600080a4600101611f96565b5081600003611fdd57604051622e076360e81b815260040160405180910390fd5b60005550505050565b611fee612029565b6001600160a01b03821681526001600160401b0360a083901c166020820152600160e01b82161515604082015260e89190911c606082015290565b60408051608081018252600080825260208201819052918101829052606081019190915290565b6040518060a0016040528060006001600160a01b031681526020016000815260200160008152602001600081526020016000151581525090565b6001600160e01b031981168114610bb557600080fd5b6000602082840312156120b257600080fd5b81356111bc8161208a565b60005b838110156120d85781810151838201526020016120c0565b838111156113f95750506000910152565b600081518084526121018160208601602086016120bd565b601f01601f19169290920160200192915050565b6020815260006111bc60208301846120e9565b60006020828403121561213a57600080fd5b5035919050565b6001600160a01b0381168114610bb557600080fd5b6000806040838503121561216957600080fd5b823561217481612141565b946020939093013593505050565b8035801515811461219257600080fd5b919050565b6000602082840312156121a957600080fd5b6111bc82612182565b6000806000606084860312156121c757600080fd5b83356121d281612141565b925060208401356121e281612141565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612231576122316121f3565b604052919050565b60006001600160401b03831115612252576122526121f3565b612265601f8401601f1916602001612209565b905082815283838301111561227957600080fd5b828260208301376000602084830101529392505050565b600082601f8301126122a157600080fd5b6111bc83833560208501612239565b6000602082840312156122c257600080fd5b81356001600160401b038111156122d857600080fd5b611e9684828501612290565b600080604083850312156122f757600080fd5b82356001600160401b038082111561230e57600080fd5b61231a86838701612290565b9350602085013591508082111561233057600080fd5b5061233d85828601612290565b9150509250929050565b6000806020838503121561235a57600080fd5b82356001600160401b038082111561237157600080fd5b818501915085601f83011261238557600080fd5b81358181111561239457600080fd5b8660208260051b85010111156123a957600080fd5b60209290920196919550909350505050565b80516001600160a01b031682526020808201516001600160401b03169083015260408082015115159083015260609081015162ffffff16910152565b6020808252825182820181905260009190848201906040850190845b81811015611037576124268385516123bb565b9284019260809290920191600101612413565b60006020828403121561244b57600080fd5b81356111bc81612141565b60006001600160401b0382111561246f5761246f6121f3565b5060051b60200190565b600082601f83011261248a57600080fd5b8135602061249f61249a83612456565b612209565b82815260059290921b840181019181810190868411156124be57600080fd5b8286015b848110156124e25780356124d581612141565b83529183019183016124c2565b509695505050505050565b600082601f8301126124fe57600080fd5b8135602061250e61249a83612456565b82815260059290921b8401810191818101908684111561252d57600080fd5b8286015b848110156124e25761254281612182565b8352918301918301612531565b600082601f83011261256057600080fd5b8135602061257061249a83612456565b82815260059290921b8401810191818101908684111561258f57600080fd5b8286015b848110156124e25780358352918301918301612593565b600080600080600060a086880312156125c257600080fd5b85356001600160401b03808211156125d957600080fd5b6125e589838a01612479565b965060208801359150808211156125fb57600080fd5b61260789838a016124ed565b9550604088013591508082111561261d57600080fd5b61262989838a0161254f565b9450606088013591508082111561263f57600080fd5b61264b89838a0161254f565b9350608088013591508082111561266157600080fd5b5061266e8882890161254f565b9150509295509295909350565b6020808252825182820181905260009190848201906040850190845b8181101561103757835183529284019291840191600101612697565b6000806000606084860312156126c857600080fd5b83356126d381612141565b95602085013595506040909401359392505050565b600080604083850312156126fb57600080fd5b823561270681612141565b915061271460208401612182565b90509250929050565b6000806000806080858703121561273357600080fd5b843561273e81612141565b9350602085013561274e81612141565b92506040850135915060608501356001600160401b0381111561277057600080fd5b8501601f8101871361278157600080fd5b61279087823560208401612239565b91505092959194509250565b608081016107e282846123bb565b602080825282518282018190526000919060409081850190868401855b8281101561281657815180516001600160a01b03168552868101518786015285810151868601526060808201519086015260809081015115159085015260a090930192908501906001016127c7565b5091979650505050505050565b6000806040838503121561283657600080fd5b823561284181612141565b915060208301356001600160401b0381111561285c57600080fd5b61233d8582860161254f565b6000806040838503121561287b57600080fd5b823561288681612141565b9150602083013561289681612141565b809150509250929050565b600181811c908216806128b557607f821691505b6020821081036128d557634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115610be557600081815260208120601f850160051c810160208610156129025750805b601f850160051c820191505b81811015610aff5782815560010161290e565b81516001600160401b0381111561293a5761293a6121f3565b61294e8161294884546128a1565b846128db565b602080601f831160018114612983576000841561296b5750858301515b600019600386901b1c1916600185901b178555610aff565b600085815260208120601f198616915b828110156129b257888601518255948401946001909101908401612993565b50858210156129d05787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60008219821115612a1f57612a1f6129f6565b500190565b600060018201612a3657612a366129f6565b5060010190565b60008351612a4f8184602088016120bd565b835190830190612a638183602088016120bd565b01949350505050565b600082821015612a7e57612a7e6129f6565b500390565b6000816000190483118215151615612a9d57612a9d6129f6565b500290565b600060208284031215612ab457600080fd5b81516111bc81612141565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612af2908301846120e9565b9695505050505050565b600060208284031215612b0e57600080fd5b81516111bc8161208a56feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122055bfe7840aa45ac1999f660b865cdd319f4c9e5be103976ac625342d9b31926f64736f6c634300080f0033

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

0000000000000000000000007cd34a9e39afa2baf4a1f6ff6f8881e2bd00f21e

-----Decoded View---------------
Arg [0] : newOwner (address): 0x7CD34a9E39aFa2BAf4A1F6fF6F8881e2bD00F21e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007cd34a9e39afa2baf4a1f6ff6f8881e2bd00f21e


Deployed Bytecode Sourcemap

270:7838:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9112:630:1;;;;;;;;;;-1:-1:-1;9112:630:1;;;;;:::i;:::-;;:::i;:::-;;;565:14:9;;558:22;540:41;;528:2;513:18;9112:630:1;;;;;;;;9996:98;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;16558:214::-;;;;;;;;;;-1:-1:-1;16558:214:1;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;1692:32:9;;;1674:51;;1662:2;1647:18;16558:214:1;1528:203:9;16018:390:1;;;;;;;;;;-1:-1:-1;16018:390:1;;;;;:::i;:::-;;:::i;:::-;;5851:317;;;;;;;;;;-1:-1:-1;6121:12:1;;5912:7;6105:13;:28;5851:317;;;2338:25:9;;;2326:2;2311:18;5851:317:1;2192:177:9;7259:99:0;;;;;;;;;;-1:-1:-1;7259:99:0;;;;;:::i;:::-;;:::i;20101:2756:1:-;;;;;;;;;;-1:-1:-1;20101:2756:1;;;;;:::i;:::-;;:::i;7711:188:0:-;;;;;;;;;;-1:-1:-1;7711:188:0;;;;;:::i;:::-;;:::i;7999:107::-;;;;;;;;;;;;;:::i;3460:182::-;;;;;;;;;;-1:-1:-1;3460:182:0;;;;;:::i;:::-;;:::i;22948:179:1:-;;;;;;;;;;-1:-1:-1;22948:179:1;;;;;:::i;:::-;;:::i;566:24:0:-;;;;;;;;;;-1:-1:-1;566:24:0;;;;;;;;;;;1641:513:3;;;;;;;;;;-1:-1:-1;1641:513:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;11597:150:1:-;;;;;;;;;;-1:-1:-1;11597:150:1;;;;;:::i;:::-;;:::i;7002:230::-;;;;;;;;;;-1:-1:-1;7002:230:1;;;;;:::i;:::-;;:::i;1831:101:5:-;;;;;;;;;;;;;:::i;504:25:0:-;;;;;;;;;;-1:-1:-1;504:25:0;;;;;;;;796:47;;;;;;;;;;-1:-1:-1;796:47:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;796:47:0;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;7337:32:9;;;7319:51;;7401:2;7386:18;;7379:34;;;;7429:18;;;7422:34;;;;7487:2;7472:18;;7465:34;7543:14;7536:22;7530:3;7515:19;;7508:51;7306:3;7291:19;796:47:0;7066:499:9;6119:983:0;;;;;;;;;;-1:-1:-1;6119:983:0;;;;;:::i;:::-;;:::i;5417:879:3:-;;;;;;;;;;-1:-1:-1;5417:879:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1201:85:5:-;;;;;;;;;;;;;:::i;357:44:0:-;;;;;;;;;;;;396:5;357:44;;2059:681;;;;;;;;;;-1:-1:-1;2059:681:0;;;;;:::i;:::-;;:::i;10165:102:1:-;;;;;;;;;;;;;:::i;2528:2454:3:-;;;;;;;;;;-1:-1:-1;2528:2454:3;;;;;:::i;:::-;;:::i;17099:231:1:-;;;;;;;;;;-1:-1:-1;17099:231:1;;;;;:::i;:::-;;:::i;23708:388::-;;;;;;;;;;-1:-1:-1;23708:388:1;;;;;:::i;:::-;;:::i;1197:194:0:-;;;;;;;;;;-1:-1:-1;1197:194:0;;;;;:::i;:::-;-1:-1:-1;;;;;1337:32:0;1300:4;1337:32;;;:15;:32;;;;;;;;;1327:43;;:9;:43;;;;;:57;;;;;;1197:194;1484:188;;;;;;;;;;-1:-1:-1;1484:188:0;;;;;:::i;:::-;-1:-1:-1;;;;;1626:32:0;1586:7;1626:32;;;:15;:32;;;;;;;;;1616:43;;:9;:43;;;;;:49;;;;1484:188;7466:84;;;;;;;;;;;;;:::i;1070:418:3:-;;;;;;;;;;-1:-1:-1;1070:418:3;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;1724:63:0:-;;;;;;;;;;-1:-1:-1;1724:63:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;10368:313:1;;;;;;;;;;-1:-1:-1;10368:313:1;;;;;:::i;:::-;;:::i;2781:417:0:-;;;;;;;;;;;;;:::i;:::-;;;;;;;:::i;438:26::-;;;;;;;;;;;;;:::i;4257:1499::-;;;;;;:::i;:::-;;:::i;17480:162:1:-;;;;;;;;;;-1:-1:-1;17480:162:1;;;;;:::i;:::-;-1:-1:-1;;;;;17600:25:1;;;17577:4;17600:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;17480:162;2081:198:5;;;;;;;;;;-1:-1:-1;2081:198:5;;;;;:::i;:::-;;:::i;1021:23:0:-;;;;;;;;;;;;;;;;9112:630:1;9197:4;-1:-1:-1;;;;;;;;;9515:25:1;;;;:101;;-1:-1:-1;;;;;;;;;;9591:25:1;;;9515:101;:177;;;-1:-1:-1;;;;;;;;;;9667:25:1;;;9515:177;9496:196;9112:630;-1:-1:-1;;9112:630:1:o;9996:98::-;10050:13;10082:5;10075:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9996:98;:::o;16558:214::-;16634:7;16658:16;16666:7;16658;:16::i;:::-;16653:64;;16683:34;;-1:-1:-1;;;16683:34:1;;;;;;;;;;;16653:64;-1:-1:-1;16735:24:1;;;;:15;:24;;;;;:30;-1:-1:-1;;;;;16735:30:1;;16558:214::o;16018:390::-;16098:13;16114:16;16122:7;16114;:16::i;:::-;16098:32;-1:-1:-1;39454:10:1;-1:-1:-1;;;;;16145:28:1;;;16141:172;;16192:44;16209:5;39454:10;17480:162;:::i;16192:44::-;16187:126;;16263:35;;-1:-1:-1;;;16263:35:1;;;;;;;;;;;16187:126;16323:24;;;;:15;:24;;;;;;:35;;-1:-1:-1;;;;;;16323:35:1;-1:-1:-1;;;;;16323:35:1;;;;;;;;;16373:28;;16323:24;;16373:28;;;;;;;16088:320;16018:390;;:::o;7259:99:0:-;1094:13:5;:11;:13::i;:::-;7327:12:0::1;:24:::0;;;::::1;;;;-1:-1:-1::0;;7327:24:0;;::::1;::::0;;;::::1;::::0;;7259:99::o;20101:2756:1:-;20230:27;20260;20279:7;20260:18;:27::i;:::-;20230:57;;20343:4;-1:-1:-1;;;;;20302:45:1;20318:19;-1:-1:-1;;;;;20302:45:1;;20298:86;;20356:28;;-1:-1:-1;;;20356:28:1;;;;;;;;;;;20298:86;20396:27;19234:24;;;:15;:24;;;;;19458:26;;39454:10;18871:30;;;-1:-1:-1;;;;;18568:28:1;;18849:20;;;18846:56;20579:179;;20671:43;20688:4;39454:10;17480:162;:::i;20671:43::-;20666:92;;20723:35;;-1:-1:-1;;;20723:35:1;;;;;;;;;;;20666:92;-1:-1:-1;;;;;20773:16:1;;20769:52;;20798:23;;-1:-1:-1;;;20798:23:1;;;;;;;;;;;20769:52;20964:15;20961:157;;;21102:1;21081:19;21074:30;20961:157;-1:-1:-1;;;;;21490:24:1;;;;;;;:18;:24;;;;;;21488:26;;-1:-1:-1;;21488:26:1;;;21558:22;;;;;;21556:24;;-1:-1:-1;21556:24:1;;;21873:143;21558:22;-1:-1:-1;;;21873:18:1;:143::i;:::-;21844:26;;;;:17;:26;;;;;:172;;;;-1:-1:-1;;;22133:47:1;;:52;;22129:617;;22237:1;22227:11;;22205:19;22358:30;;;:17;:30;;;;;;:35;;22354:378;;22494:13;;22479:11;:28;22475:239;;22639:30;;;;:17;:30;;;;;:52;;;22475:239;22187:559;22129:617;22790:7;22786:2;-1:-1:-1;;;;;22771:27:1;22780:4;-1:-1:-1;;;;;22771:27:1;-1:-1:-1;;;;;;;;;;;22771:27:1;;;;;;;;;22808:42;20220:2637;;;20101:2756;;;:::o;7711:188:0:-;1094:13:5;:11;:13::i;:::-;7803::0::1;::::0;::::1;;7802:14;7794:60;;;::::0;-1:-1:-1;;;7794:60:0;;16062:2:9;7794:60:0::1;::::0;::::1;16044:21:9::0;16101:2;16081:18;;;16074:30;16140:34;16120:18;;;16113:62;-1:-1:-1;;;16191:18:9;;;16184:31;16232:19;;7794:60:0::1;;;;;;;;;7864:12;:28;7879:13:::0;7864:12;:28:::1;:::i;:::-;;7711:188:::0;:::o;7999:107::-;1094:13:5;:11;:13::i;:::-;8048:51:0::1;::::0;8056:10:::1;::::0;8077:21:::1;8048:51:::0;::::1;;;::::0;::::1;::::0;;;8077:21;8056:10;8048:51;::::1;;;;;;;;;;;;;::::0;::::1;;;;;;7999:107::o:0;3460:182::-;1094:13:5;:11;:13::i;:::-;3592:43:0::1;3615:10;3627:7;3592:22;:43::i;22948:179:1:-:0;23081:39;23098:4;23104:2;23108:7;23081:39;;;;;;;;;;;;:16;:39::i;:::-;22948:179;;;:::o;1641:513:3:-;1780:23;1868:8;1843:22;1868:8;-1:-1:-1;;;;;1934:36:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;1897:73;;1989:9;1984:123;2005:14;2000:1;:19;1984:123;;2060:32;2080:8;;2089:1;2080:11;;;;;;;:::i;:::-;;;;;;;2060:19;:32::i;:::-;2044:10;2055:1;2044:13;;;;;;;;:::i;:::-;;;;;;;;;;:48;2021:3;;1984:123;;;-1:-1:-1;2127:10:3;1641:513;-1:-1:-1;;;;1641:513:3:o;11597:150:1:-;11669:7;11711:27;11730:7;11711:18;:27::i;7002:230::-;7074:7;-1:-1:-1;;;;;7097:19:1;;7093:60;;7125:28;;-1:-1:-1;;;7125:28:1;;;;;;;;;;;7093:60;-1:-1:-1;;;;;;7170:25:1;;;;;:18;:25;;;;;;-1:-1:-1;;;;;7170:55:1;;7002:230::o;1831:101:5:-;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;6119:983:0:-;1094:13:5;:11;:13::i;:::-;6376:23:0;;6453:8:::1;::::0;6362:11:::1;::::0;;6471:600:::1;6495:3;6491:1;:7;6471:600;;;6519:20;6542:177;;;;;;;;6570:16;6587:1;6570:19;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;6542:177:0::1;;;;;6607:6;6614:1;6607:9;;;;;;;;:::i;:::-;;;;;;;6542:177;;;;6634:10;6645:1;6634:13;;;;;;;;:::i;:::-;;;;;;;6542:177;;;;6665:8;6674:1;6665:11;;;;;;;;:::i;:::-;;;;;;;6542:177;;;;6694:8;6703:1;6694:11;;;;;;;;:::i;:::-;;;;;;;6542:177;;;;::::0;6519:200:::1;;6733:11;6747:8;6733:22;;6773:15;:36;6789:16;6806:1;6789:19;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;6773:36:0::1;-1:-1:-1::0;;;;;6773:36:0::1;;;;;;;;;;;;;6813:1;6773:41:::0;6769:259:::1;;6840:9;6846:3:::0;6840;:9:::1;:::i;:::-;6834:15;;6906:3;6867:15;:36;6883:16;6900:1;6883:19;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;6867:36:0::1;-1:-1:-1::0;;;;;6867:36:0::1;;;;;;;;;;;;:42;;;;6927:5;;;;;:::i;:::-;;;;6769:259;;;6977:15;:36;6993:16;7010:1;6993:19;;;;;;;;:::i;:::-;;;;;;;-1:-1:-1::0;;;;;6977:36:0::1;-1:-1:-1::0;;;;;6977:36:0::1;;;;;;;;;;;;;6971:42;;6769:259;7041:14;::::0;;;:9:::1;:14;::::0;;;;;;;;:19;;;;-1:-1:-1;;;;;;7041:19:0::1;-1:-1:-1::0;;;;;7041:19:0;;::::1;;::::0;;;;::::1;::::0;-1:-1:-1;7041:19:0;::::1;::::0;;;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;::::0;;::::1;::::0;::::1;::::0;;::::1;::::0;;-1:-1:-1;;7041:19:0::1;::::0;::::1;;::::0;;;::::1;::::0;;6500:3;::::1;::::0;::::1;:::i;:::-;;;;6471:600;;;;7092:3;7080:8;;:15;;;;;;;:::i;:::-;::::0;;;-1:-1:-1;;;;;;;;;;6119:983:0:o;5417:879:3:-;5495:16;5547:19;5580:25;5619:22;5644:16;5654:5;5644:9;:16::i;:::-;5619:41;;5674:25;5716:14;-1:-1:-1;;;;;5702:29:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;5702:29:3;;5674:57;;5745:31;;:::i;:::-;5795:9;5790:461;5839:14;5824:11;:29;5790:461;;5890:15;5903:1;5890:12;:15::i;:::-;5878:27;;5927:9;:16;;;5967:8;5923:71;6015:14;;-1:-1:-1;;;;;6015:28:3;;6011:109;;6087:14;;;-1:-1:-1;6011:109:3;6162:5;-1:-1:-1;;;;;6141:26:3;:17;-1:-1:-1;;;;;6141:26:3;;6137:100;;6217:1;6191:8;6200:13;;;;;;6191:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;6137:100;5855:3;;5790:461;;;-1:-1:-1;6271:8:3;;5417:879;-1:-1:-1;;;;;;5417:879:3:o;1201:85:5:-;1273:6;;-1:-1:-1;;;;;1273:6:5;;1201:85::o;2059:681:0:-;2191:16;2237:5;2227:7;:15;2219:56;;;;-1:-1:-1;;;2219:56:0;;19205:2:9;2219:56:0;;;19187:21:9;19244:2;19224:18;;;19217:30;-1:-1:-1;;;19263:18:9;;;19256:58;19331:18;;2219:56:0;19003:352:9;2219:56:0;2285:11;2323:7;2306:142;2337:5;2332:1;:10;2306:142;;-1:-1:-1;;;;;2367:28:0;;;;;;:11;:28;;;;;;;;:31;;;;;;;;;;;2363:75;;;2418:5;;;;:::i;:::-;;;;2363:75;2344:3;;;;:::i;:::-;;;;2306:142;;;;2457:23;2497:3;-1:-1:-1;;;;;2483:18:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;2483:18:0;-1:-1:-1;2457:44:0;-1:-1:-1;2511:11:0;2553:7;2536:175;2567:5;2562:1;:10;2536:175;;-1:-1:-1;;;;;2597:28:0;;;;;;:11;:28;;;;;;;;:31;;;;;;;;;;;2593:108;;;2662:1;2648:6;2655:3;2648:11;;;;;;;;:::i;:::-;;;;;;;;;;:15;2681:5;;;;:::i;:::-;;;;2593:108;2574:3;;;;:::i;:::-;;;;2536:175;;;-1:-1:-1;2727:6:0;;-1:-1:-1;;;2059:681:0;;;;;;:::o;10165:102:1:-;10221:13;10253:7;10246:14;;;;;:::i;2528:2454:3:-;2667:16;2732:4;2723:5;:13;2719:45;;2745:19;;-1:-1:-1;;;2745:19:3;;;;;;;;;;;2719:45;2778:19;2811:17;2831:14;5602:7:1;5628:13;;5547:101;2831:14:3;2811:34;-1:-1:-1;3076:9:3;3069:4;:16;3065:71;;;3112:9;3105:16;;3065:71;3149:25;3177:16;3187:5;3177:9;:16::i;:::-;3149:44;;3368:4;3360:5;:12;3356:271;;;3414:12;;;3448:31;;;3444:109;;;3523:11;3503:31;;3444:109;3374:193;3356:271;;;-1:-1:-1;3611:1:3;3356:271;3640:25;3682:17;-1:-1:-1;;;;;3668:32:3;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;3668:32:3;;3640:60;;3718:17;3739:1;3718:22;3714:76;;3767:8;-1:-1:-1;3760:15:3;;-1:-1:-1;;;3760:15:3;3714:76;3931:31;3965:26;3985:5;3965:19;:26::i;:::-;3931:60;;4005:25;4247:9;:16;;;4242:90;;-1:-1:-1;4303:14:3;;4242:90;4362:5;4345:467;4374:4;4369:1;:9;;:45;;;;;4397:17;4382:11;:32;;4369:45;4345:467;;;4451:15;4464:1;4451:12;:15::i;:::-;4439:27;;4488:9;:16;;;4528:8;4484:71;4576:14;;-1:-1:-1;;;;;4576:28:3;;4572:109;;4648:14;;;-1:-1:-1;4572:109:3;4723:5;-1:-1:-1;;;;;4702:26:3;:17;-1:-1:-1;;;;;4702:26:3;;4698:100;;4778:1;4752:8;4761:13;;;;;;4752:23;;;;;;;;:::i;:::-;;;;;;:27;;;;;4698:100;4416:3;;4345:467;;;-1:-1:-1;;;4894:29:3;;;-1:-1:-1;4894:29:3;;2528:2454;-1:-1:-1;;;;;2528:2454:3:o;17099:231:1:-;39454:10;17193:39;;;;:18;:39;;;;;;;;-1:-1:-1;;;;;17193:49:1;;;;;;;;;;;;:60;;-1:-1:-1;;17193:60:1;;;;;;;;;;17268:55;;540:41:9;;;17193:49:1;;39454:10;17268:55;;513:18:9;17268:55:1;;;;;;;17099:231;;:::o;23708:388::-;23869:31;23882:4;23888:2;23892:7;23869:12;:31::i;:::-;-1:-1:-1;;;;;23914:14:1;;;:19;23910:180;;23952:56;23983:4;23989:2;23993:7;24002:5;23952:30;:56::i;:::-;23947:143;;24035:40;;-1:-1:-1;;;24035:40:1;;;;;;;;;;;23947:143;23708:388;;;;:::o;7466:84:0:-;1094:13:5;:11;:13::i;:::-;7523::0::1;:20:::0;;-1:-1:-1;;7523:20:0::1;7539:4;7523:20;::::0;;7466:84::o;1070:418:3:-;1154:21;;:::i;:::-;1187:31;;:::i;:::-;5602:7:1;5628:13;1261:7:3;:25;1228:101;;1309:9;1070:418;-1:-1:-1;;1070:418:3:o;1228:101::-;1350:21;1363:7;1350:12;:21::i;:::-;1338:33;;1385:9;:16;;;1381:63;;;1424:9;1070:418;-1:-1:-1;;1070:418:3:o;1381:63::-;1460:21;1473:7;1460:12;:21::i;10368:313:1:-;10441:13;10471:16;10479:7;10471;:16::i;:::-;10466:59;;10496:29;;-1:-1:-1;;;10496:29:1;;;;;;;;;;;10466:59;10536:21;10560:10;:8;:10::i;:::-;10536:34;;10593:7;10587:21;10612:1;10587:26;:87;;;;;;;;;;;;;;;;;10640:7;10649:18;10659:7;10649:9;:18::i;:::-;10623:45;;;;;;;;;:::i;:::-;;;;;;;;;;;;;10580:94;10368:313;-1:-1:-1;;;10368:313:1:o;2781:417:0:-;2873:8;;2828:19;;2902:1;2895:8;;2891:118;;2950:19;;;2967:1;2950:19;;;;;;;;;2919:28;;2950:19;;;;;;:::i;:::-;;;;;;;;;;;;;;;-1:-1:-1;2919:50:0;2781:417;-1:-1:-1;;;2781:417:0:o;2891:118::-;3018:26;3064:7;3070:1;3064:3;:7;:::i;:::-;-1:-1:-1;;;;;3047:25:0;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;3018:54:0;-1:-1:-1;3099:1:0;3082:87;3106:3;3102:1;:7;3082:87;;;3146:12;;;;:9;:12;;;;;;;;;3130:28;;;;;;;;;-1:-1:-1;;;;;3130:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:6;;3137:5;;3156:1;3137:5;:::i;:::-;3130:13;;;;;;;;:::i;:::-;;;;;;:28;;;;3111:3;;;;;:::i;:::-;;;;3082:87;;;-1:-1:-1;3185:6:0;2781:417;-1:-1:-1;;2781:417:0:o;438:26::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;4257:1499::-;4372:12;;;;;;;4364:59;;;;-1:-1:-1;;;4364:59:0;;20167:2:9;4364:59:0;;;20149:21:9;20206:2;20186:18;;;20179:30;20245:34;20225:18;;;20218:62;-1:-1:-1;;;20296:18:9;;;20289:32;20338:19;;4364:59:0;19965:398:9;4364:59:0;4434:15;5628:13:1;4491:15:0;;396:5;4554:1;4538:13;4491:15;5628:13:1;4538::0;:::i;:::-;:17;;;;:::i;:::-;:32;4517:115;;;;-1:-1:-1;;;4517:115:0;;20570:2:9;4517:115:0;;;20552:21:9;20609:2;20589:18;;;20582:30;20648:34;20628:18;;;20621:62;-1:-1:-1;;;20699:18:9;;;20692:34;20743:19;;4517:115:0;20368:400:9;4517:115:0;-1:-1:-1;;;;;4676:37:0;;;4643:20;4676:37;;;:15;:37;;;;;;;;;4666:48;;:9;:48;;;;;;4643:71;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4724:108;;;;-1:-1:-1;;;4724:108:0;;20975:2:9;4724:108:0;;;20957:21:9;21014:2;20994:18;;;20987:30;21053:34;21033:18;;;21026:62;-1:-1:-1;;;21104:18:9;;;21097:43;21157:19;;4724:108:0;20773:409:9;4724:108:0;4882:2;:8;;;4863:15;:27;;4842:107;;;;-1:-1:-1;;;4842:107:0;;21389:2:9;4842:107:0;;;21371:21:9;21428:2;21408:18;;;21401:30;21467:34;21447:18;;;21440:62;-1:-1:-1;;;21518:18:9;;;21511:31;21559:19;;4842:107:0;21187:397:9;4842:107:0;4986:2;:6;;;4967:15;:25;;4959:61;;;;-1:-1:-1;;;4959:61:0;;21791:2:9;4959:61:0;;;21773:21:9;21830:2;21810:18;;;21803:30;-1:-1:-1;;;21849:18:9;;;21842:53;21912:18;;4959:61:0;21589:347:9;4959:61:0;5031:13;5053:2;:8;;;5047:3;:14;;;;:::i;:::-;5031:30;;5092:5;5079:9;:18;;5071:63;;;;-1:-1:-1;;;5071:63:0;;22316:2:9;5071:63:0;;;22298:21:9;;;22335:18;;;22328:30;22394:34;22374:18;;;22367:62;22446:18;;5071:63:0;22114:356:9;5071:63:0;5150:9;5145:467;5169:3;5165:1;:7;5145:467;;;5193:18;5214:8;5223:1;5214:11;;;;;;;;:::i;:::-;;;;;;;5193:32;;5299:10;-1:-1:-1;;;;;5264:45:0;:11;-1:-1:-1;;;;;5264:19:0;;5284:10;5264:31;;;;;;;;;;;;;2338:25:9;;2326:2;2311:18;;2192:177;5264:31:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;;;;;5264:45:0;;5239:140;;;;-1:-1:-1;;;5239:140:0;;22933:2:9;5239:140:0;;;22915:21:9;22972:2;22952:18;;;22945:30;23011:34;22991:18;;;22984:62;-1:-1:-1;;;23062:18:9;;;23055:34;23106:19;;5239:140:0;22731:400:9;5239:140:0;-1:-1:-1;;;;;5419:33:0;;;;;;:11;:33;;;;;;;;:45;;;;;;;;;;;5418:46;5393:141;;;;-1:-1:-1;;;5393:141:0;;23338:2:9;5393:141:0;;;23320:21:9;23377:2;23357:18;;;23350:30;23416:34;23396:18;;;23389:62;-1:-1:-1;;;23467:18:9;;;23460:34;23511:19;;5393:141:0;23136:400:9;5393:141:0;-1:-1:-1;;;;;5548:33:0;;;;;;:11;:33;;;;;5582:11;;5597:4;;5548:33;5582:8;;5591:1;;5582:11;;;;;;:::i;:::-;;;;;;;5548:46;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;5179:433;5174:3;;;;;:::i;:::-;;;;5145:467;;;;5622:22;5628:10;5640:3;5622:5;:22::i;:::-;5671:5;5659:9;:17;5655:95;;;5700:10;5692:47;5721:17;5733:5;5721:9;:17;:::i;:::-;5692:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4354:1402;;;;4257:1499;;:::o;2081:198:5:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:5;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:5;;23743:2:9;2161:73:5::1;::::0;::::1;23725:21:9::0;23782:2;23762:18;;;23755:30;23821:34;23801:18;;;23794:62;-1:-1:-1;;;23872:18:9;;;23865:36;23918:19;;2161:73:5::1;23541:402:9::0;2161:73:5::1;2244:28;2263:8;2244:18;:28::i;17891:277:1:-:0;17956:4;18043:13;;18033:7;:23;17991:151;;;;-1:-1:-1;;18093:26:1;;;;:17;:26;;;;;;-1:-1:-1;;;18093:44:1;:49;;17891:277::o;1359:130:5:-;39454:10:1;1422:7:5;:5;:7::i;:::-;-1:-1:-1;;;;;1422:23:5;;1414:68;;;;-1:-1:-1;;;1414:68:5;;24150:2:9;1414:68:5;;;24132:21:9;;;24169:18;;;24162:30;24228:34;24208:18;;;24201:62;24280:18;;1414:68:5;23948:356:9;12721:1249:1;12788:7;12822;12920:13;;12913:4;:20;12909:997;;;12957:14;12974:23;;;:17;:23;;;;;;;-1:-1:-1;;;13061:24:1;;:29;;13057:831;;13716:111;13723:6;13733:1;13723:11;13716:111;;-1:-1:-1;;;13793:6:1;13775:25;;;;:17;:25;;;;;;13716:111;;13057:831;12935:971;12909:997;13932:31;;-1:-1:-1;;;13932:31:1;;;;;;;;;;;14503:443;14909:11;14884:23;14880:41;14877:52;-1:-1:-1;;;;;14737:28:1;;;;14867:63;;14503:443::o;11117:150::-;11216:5;:15;11224:7;11216:5;:15;:::i;:::-;-1:-1:-1;11241:7:1;:19;11251:9;11241:7;:19;:::i;2433:187:5:-;2525:6;;;-1:-1:-1;;;;;2541:17:5;;;-1:-1:-1;;;;;;2541:17:5;;;;;;;2573:40;;2525:6;;;2541:17;2525:6;;2573:40;;2506:16;;2573:40;2496:124;2433:187;:::o;12185:159:1:-;12253:21;;:::i;:::-;12312:24;;;;:17;:24;;;;;;12293:44;;:18;:44::i;26122:697::-;26300:88;;-1:-1:-1;;;26300:88:1;;26280:4;;-1:-1:-1;;;;;26300:45:1;;;;;:88;;39454:10;;26367:4;;26373:7;;26382:5;;26300:88;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26300:88:1;;;;;;;;-1:-1:-1;;26300:88:1;;;;;;;;;;;;:::i;:::-;;;26296:517;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;26578:6;:13;26595:1;26578:18;26574:229;;26623:40;;-1:-1:-1;;;26623:40:1;;;;;;;;;;;26574:229;26763:6;26757:13;26748:6;26744:2;26740:15;26733:38;26296:517;-1:-1:-1;;;;;;26456:64:1;-1:-1:-1;;;26456:64:1;;-1:-1:-1;26296:517:1;26122:697;;;;;;:::o;11930:164::-;12000:21;;:::i;:::-;12040:47;12059:27;12078:7;12059:18;:27::i;:::-;12040:18;:47::i;3677:103:0:-;3729:13;3761:12;3754:19;;;;;:::i;39568:1549:1:-;40046:4;40040:11;;40053:4;40036:22;40130:17;;;;40036:22;40480:5;40462:419;40527:1;40522:3;40518:11;40511:18;;40695:2;40689:4;40685:13;40681:2;40677:22;40672:3;40664:36;40787:2;40777:13;;40842:25;40462:419;40842:25;-1:-1:-1;40909:13:1;;;-1:-1:-1;;41022:14:1;;;41082:19;;;41022:14;39568:1549;-1:-1:-1;39568:1549:1:o;27265:2659::-;27337:20;27360:13;;;27387;;;27383:44;;27409:18;;-1:-1:-1;;;27409:18:1;;;;;;;;;;;27383:44;-1:-1:-1;;;;;27902:22:1;;;;;;:18;:22;;1452:2;27902:22;;:71;;-1:-1:-1;;;;;27928:45:1;;27902:71;;;28243:136;27902:22;-1:-1:-1;15329:15:1;;15303:24;15299:46;28243:18;:136::i;:::-;28209:31;;;;:17;:31;;;;;:170;;;;-1:-1:-1;;;;;28958:25:1;;;28438:23;;;;28227:12;;28958:25;;-1:-1:-1;;;;;;;;;;;28209:31:1;;29046:328;29451:1;29437:12;29433:20;29392:339;29491:3;29482:7;29479:16;29392:339;;29705:7;29695:8;29692:1;-1:-1:-1;;;;;;;;;;;29662:1:1;29659;29654:59;29543:1;29530:15;29392:339;;;29396:75;29762:8;29774:1;29762:13;29758:45;;29784:19;;-1:-1:-1;;;29784:19:1;;;;;;;;;;;29758:45;29818:13;:19;-1:-1:-1;22948:179:1;;;:::o;14064:361::-;14130:31;;:::i;:::-;-1:-1:-1;;;;;14173:41:1;;;;-1:-1:-1;;;;;1961:3:1;14258:33;;;14224:68;:24;;;:68;-1:-1:-1;;;14321:24:1;;:29;;14302:16;;;:48;2470:3;14389:28;;;;14360:19;;;:58;14173:9;14064:361::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;14:131:9:-;-1:-1:-1;;;;;;88:32:9;;78:43;;68:71;;135:1;132;125:12;150:245;208:6;261:2;249:9;240:7;236:23;232:32;229:52;;;277:1;274;267:12;229:52;316:9;303:23;335:30;359:5;335:30;:::i;592:258::-;664:1;674:113;688:6;685:1;682:13;674:113;;;764:11;;;758:18;745:11;;;738:39;710:2;703:10;674:113;;;805:6;802:1;799:13;796:48;;;-1:-1:-1;;840:1:9;822:16;;815:27;592:258::o;855:::-;897:3;935:5;929:12;962:6;957:3;950:19;978:63;1034:6;1027:4;1022:3;1018:14;1011:4;1004:5;1000:16;978:63;:::i;:::-;1095:2;1074:15;-1:-1:-1;;1070:29:9;1061:39;;;;1102:4;1057:50;;855:258;-1:-1:-1;;855:258:9:o;1118:220::-;1267:2;1256:9;1249:21;1230:4;1287:45;1328:2;1317:9;1313:18;1305:6;1287:45;:::i;1343:180::-;1402:6;1455:2;1443:9;1434:7;1430:23;1426:32;1423:52;;;1471:1;1468;1461:12;1423:52;-1:-1:-1;1494:23:9;;1343:180;-1:-1:-1;1343:180:9:o;1736:131::-;-1:-1:-1;;;;;1811:31:9;;1801:42;;1791:70;;1857:1;1854;1847:12;1872:315;1940:6;1948;2001:2;1989:9;1980:7;1976:23;1972:32;1969:52;;;2017:1;2014;2007:12;1969:52;2056:9;2043:23;2075:31;2100:5;2075:31;:::i;:::-;2125:5;2177:2;2162:18;;;;2149:32;;-1:-1:-1;;;1872:315:9:o;2374:160::-;2439:20;;2495:13;;2488:21;2478:32;;2468:60;;2524:1;2521;2514:12;2468:60;2374:160;;;:::o;2539:180::-;2595:6;2648:2;2636:9;2627:7;2623:23;2619:32;2616:52;;;2664:1;2661;2654:12;2616:52;2687:26;2703:9;2687:26;:::i;2724:456::-;2801:6;2809;2817;2870:2;2858:9;2849:7;2845:23;2841:32;2838:52;;;2886:1;2883;2876:12;2838:52;2925:9;2912:23;2944:31;2969:5;2944:31;:::i;:::-;2994:5;-1:-1:-1;3051:2:9;3036:18;;3023:32;3064:33;3023:32;3064:33;:::i;:::-;2724:456;;3116:7;;-1:-1:-1;;;3170:2:9;3155:18;;;;3142:32;;2724:456::o;3185:127::-;3246:10;3241:3;3237:20;3234:1;3227:31;3277:4;3274:1;3267:15;3301:4;3298:1;3291:15;3317:275;3388:2;3382:9;3453:2;3434:13;;-1:-1:-1;;3430:27:9;3418:40;;-1:-1:-1;;;;;3473:34:9;;3509:22;;;3470:62;3467:88;;;3535:18;;:::i;:::-;3571:2;3564:22;3317:275;;-1:-1:-1;3317:275:9:o;3597:407::-;3662:5;-1:-1:-1;;;;;3685:30:9;;3682:56;;;3718:18;;:::i;:::-;3756:57;3801:2;3780:15;;-1:-1:-1;;3776:29:9;3807:4;3772:40;3756:57;:::i;:::-;3747:66;;3836:6;3829:5;3822:21;3876:3;3867:6;3862:3;3858:16;3855:25;3852:45;;;3893:1;3890;3883:12;3852:45;3942:6;3937:3;3930:4;3923:5;3919:16;3906:43;3996:1;3989:4;3980:6;3973:5;3969:18;3965:29;3958:40;3597:407;;;;;:::o;4009:222::-;4052:5;4105:3;4098:4;4090:6;4086:17;4082:27;4072:55;;4123:1;4120;4113:12;4072:55;4145:80;4221:3;4212:6;4199:20;4192:4;4184:6;4180:17;4145:80;:::i;4236:322::-;4305:6;4358:2;4346:9;4337:7;4333:23;4329:32;4326:52;;;4374:1;4371;4364:12;4326:52;4401:23;;-1:-1:-1;;;;;4436:30:9;;4433:50;;;4479:1;4476;4469:12;4433:50;4502;4544:7;4535:6;4524:9;4520:22;4502:50;:::i;4563:543::-;4651:6;4659;4712:2;4700:9;4691:7;4687:23;4683:32;4680:52;;;4728:1;4725;4718:12;4680:52;4755:23;;-1:-1:-1;;;;;4827:14:9;;;4824:34;;;4854:1;4851;4844:12;4824:34;4877:50;4919:7;4910:6;4899:9;4895:22;4877:50;:::i;:::-;4867:60;;4980:2;4969:9;4965:18;4952:32;4936:48;;5009:2;4999:8;4996:16;4993:36;;;5025:1;5022;5015:12;4993:36;;5048:52;5092:7;5081:8;5070:9;5066:24;5048:52;:::i;:::-;5038:62;;;4563:543;;;;;:::o;5111:615::-;5197:6;5205;5258:2;5246:9;5237:7;5233:23;5229:32;5226:52;;;5274:1;5271;5264:12;5226:52;5301:23;;-1:-1:-1;;;;;5373:14:9;;;5370:34;;;5400:1;5397;5390:12;5370:34;5438:6;5427:9;5423:22;5413:32;;5483:7;5476:4;5472:2;5468:13;5464:27;5454:55;;5505:1;5502;5495:12;5454:55;5545:2;5532:16;5571:2;5563:6;5560:14;5557:34;;;5587:1;5584;5577:12;5557:34;5640:7;5635:2;5625:6;5622:1;5618:14;5614:2;5610:23;5606:32;5603:45;5600:65;;;5661:1;5658;5651:12;5600:65;5692:2;5684:11;;;;;5714:6;;-1:-1:-1;5111:615:9;;-1:-1:-1;;;;5111:615:9:o;5731:349::-;5815:12;;-1:-1:-1;;;;;5811:38:9;5799:51;;5903:4;5892:16;;;5886:23;-1:-1:-1;;;;;5882:48:9;5866:14;;;5859:72;5919:2;5983:16;;;5977:23;5970:31;5963:39;5947:14;;;5940:63;6056:4;6045:16;;;6039:23;6064:8;6035:38;6019:14;;6012:62;5731:349::o;6085:724::-;6320:2;6372:21;;;6442:13;;6345:18;;;6464:22;;;6291:4;;6320:2;6543:15;;;;6517:2;6502:18;;;6291:4;6586:197;6600:6;6597:1;6594:13;6586:197;;;6649:52;6697:3;6688:6;6682:13;6649:52;:::i;:::-;6758:15;;;;6730:4;6721:14;;;;;6622:1;6615:9;6586:197;;6814:247;6873:6;6926:2;6914:9;6905:7;6901:23;6897:32;6894:52;;;6942:1;6939;6932:12;6894:52;6981:9;6968:23;7000:31;7025:5;7000:31;:::i;7570:183::-;7630:4;-1:-1:-1;;;;;7652:30:9;;7649:56;;;7685:18;;:::i;:::-;-1:-1:-1;7730:1:9;7726:14;7742:4;7722:25;;7570:183::o;7758:737::-;7812:5;7865:3;7858:4;7850:6;7846:17;7842:27;7832:55;;7883:1;7880;7873:12;7832:55;7919:6;7906:20;7945:4;7969:60;7985:43;8025:2;7985:43;:::i;:::-;7969:60;:::i;:::-;8063:15;;;8149:1;8145:10;;;;8133:23;;8129:32;;;8094:12;;;;8173:15;;;8170:35;;;8201:1;8198;8191:12;8170:35;8237:2;8229:6;8225:15;8249:217;8265:6;8260:3;8257:15;8249:217;;;8345:3;8332:17;8362:31;8387:5;8362:31;:::i;:::-;8406:18;;8444:12;;;;8282;;8249:217;;;-1:-1:-1;8484:5:9;7758:737;-1:-1:-1;;;;;;7758:737:9:o;8500:662::-;8551:5;8604:3;8597:4;8589:6;8585:17;8581:27;8571:55;;8622:1;8619;8612:12;8571:55;8658:6;8645:20;8684:4;8708:60;8724:43;8764:2;8724:43;:::i;8708:60::-;8802:15;;;8888:1;8884:10;;;;8872:23;;8868:32;;;8833:12;;;;8912:15;;;8909:35;;;8940:1;8937;8930:12;8909:35;8976:2;8968:6;8964:15;8988:145;9004:6;8999:3;8996:15;8988:145;;;9070:20;9086:3;9070:20;:::i;:::-;9058:33;;9111:12;;;;9021;;8988:145;;9167:662;9221:5;9274:3;9267:4;9259:6;9255:17;9251:27;9241:55;;9292:1;9289;9282:12;9241:55;9328:6;9315:20;9354:4;9378:60;9394:43;9434:2;9394:43;:::i;9378:60::-;9472:15;;;9558:1;9554:10;;;;9542:23;;9538:32;;;9503:12;;;;9582:15;;;9579:35;;;9610:1;9607;9600:12;9579:35;9646:2;9638:6;9634:15;9658:142;9674:6;9669:3;9666:15;9658:142;;;9740:17;;9728:30;;9778:12;;;;9691;;9658:142;;9834:1269;10051:6;10059;10067;10075;10083;10136:3;10124:9;10115:7;10111:23;10107:33;10104:53;;;10153:1;10150;10143:12;10104:53;10180:23;;-1:-1:-1;;;;;10252:14:9;;;10249:34;;;10279:1;10276;10269:12;10249:34;10302:61;10355:7;10346:6;10335:9;10331:22;10302:61;:::i;:::-;10292:71;;10416:2;10405:9;10401:18;10388:32;10372:48;;10445:2;10435:8;10432:16;10429:36;;;10461:1;10458;10451:12;10429:36;10484:60;10536:7;10525:8;10514:9;10510:24;10484:60;:::i;:::-;10474:70;;10597:2;10586:9;10582:18;10569:32;10553:48;;10626:2;10616:8;10613:16;10610:36;;;10642:1;10639;10632:12;10610:36;10665:63;10720:7;10709:8;10698:9;10694:24;10665:63;:::i;:::-;10655:73;;10781:2;10770:9;10766:18;10753:32;10737:48;;10810:2;10800:8;10797:16;10794:36;;;10826:1;10823;10816:12;10794:36;10849:63;10904:7;10893:8;10882:9;10878:24;10849:63;:::i;:::-;10839:73;;10965:3;10954:9;10950:19;10937:33;10921:49;;10995:2;10985:8;10982:16;10979:36;;;11011:1;11008;11001:12;10979:36;;11034:63;11089:7;11078:8;11067:9;11063:24;11034:63;:::i;:::-;11024:73;;;9834:1269;;;;;;;;:::o;11108:632::-;11279:2;11331:21;;;11401:13;;11304:18;;;11423:22;;;11250:4;;11279:2;11502:15;;;;11476:2;11461:18;;;11250:4;11545:169;11559:6;11556:1;11553:13;11545:169;;;11620:13;;11608:26;;11689:15;;;;11654:12;;;;11581:1;11574:9;11545:169;;11745:383;11822:6;11830;11838;11891:2;11879:9;11870:7;11866:23;11862:32;11859:52;;;11907:1;11904;11897:12;11859:52;11946:9;11933:23;11965:31;11990:5;11965:31;:::i;:::-;12015:5;12067:2;12052:18;;12039:32;;-1:-1:-1;12118:2:9;12103:18;;;12090:32;;11745:383;-1:-1:-1;;;11745:383:9:o;12133:315::-;12198:6;12206;12259:2;12247:9;12238:7;12234:23;12230:32;12227:52;;;12275:1;12272;12265:12;12227:52;12314:9;12301:23;12333:31;12358:5;12333:31;:::i;:::-;12383:5;-1:-1:-1;12407:35:9;12438:2;12423:18;;12407:35;:::i;:::-;12397:45;;12133:315;;;;;:::o;12453:795::-;12548:6;12556;12564;12572;12625:3;12613:9;12604:7;12600:23;12596:33;12593:53;;;12642:1;12639;12632:12;12593:53;12681:9;12668:23;12700:31;12725:5;12700:31;:::i;:::-;12750:5;-1:-1:-1;12807:2:9;12792:18;;12779:32;12820:33;12779:32;12820:33;:::i;:::-;12872:7;-1:-1:-1;12926:2:9;12911:18;;12898:32;;-1:-1:-1;12981:2:9;12966:18;;12953:32;-1:-1:-1;;;;;12997:30:9;;12994:50;;;13040:1;13037;13030:12;12994:50;13063:22;;13116:4;13108:13;;13104:27;-1:-1:-1;13094:55:9;;13145:1;13142;13135:12;13094:55;13168:74;13234:7;13229:2;13216:16;13211:2;13207;13203:11;13168:74;:::i;:::-;13158:84;;;12453:795;;;;;;;:::o;13253:268::-;13451:3;13436:19;;13464:51;13440:9;13497:6;13464:51;:::i;13526:1047::-;13749:2;13801:21;;;13871:13;;13774:18;;;13893:22;;;13720:4;;13749:2;13934;;13952:18;;;;13993:15;;;13720:4;14036:511;14050:6;14047:1;14044:13;14036:511;;;14109:13;;14151:9;;-1:-1:-1;;;;;14147:35:9;14135:48;;14223:11;;;14217:18;14203:12;;;14196:40;14276:11;;;14270:18;14256:12;;;14249:40;14312:4;14356:11;;;14350:18;14336:12;;;14329:40;14392:4;14450:11;;;14444:18;14437:26;14430:34;14416:12;;;14409:56;14170:3;14485:14;;;;14522:15;;;;14179:1;14065:9;14036:511;;;-1:-1:-1;14564:3:9;;13526:1047;-1:-1:-1;;;;;;;13526:1047:9:o;14578:499::-;14687:6;14695;14748:2;14736:9;14727:7;14723:23;14719:32;14716:52;;;14764:1;14761;14754:12;14716:52;14803:9;14790:23;14822:31;14847:5;14822:31;:::i;:::-;14872:5;-1:-1:-1;14928:2:9;14913:18;;14900:32;-1:-1:-1;;;;;14944:30:9;;14941:50;;;14987:1;14984;14977:12;14941:50;15010:61;15063:7;15054:6;15043:9;15039:22;15010:61;:::i;15082:388::-;15150:6;15158;15211:2;15199:9;15190:7;15186:23;15182:32;15179:52;;;15227:1;15224;15217:12;15179:52;15266:9;15253:23;15285:31;15310:5;15285:31;:::i;:::-;15335:5;-1:-1:-1;15392:2:9;15377:18;;15364:32;15405:33;15364:32;15405:33;:::i;:::-;15457:7;15447:17;;;15082:388;;;;;:::o;15475:380::-;15554:1;15550:12;;;;15597;;;15618:61;;15672:4;15664:6;15660:17;15650:27;;15618:61;15725:2;15717:6;15714:14;15694:18;15691:38;15688:161;;15771:10;15766:3;15762:20;15759:1;15752:31;15806:4;15803:1;15796:15;15834:4;15831:1;15824:15;15688:161;;15475:380;;;:::o;16388:545::-;16490:2;16485:3;16482:11;16479:448;;;16526:1;16551:5;16547:2;16540:17;16596:4;16592:2;16582:19;16666:2;16654:10;16650:19;16647:1;16643:27;16637:4;16633:38;16702:4;16690:10;16687:20;16684:47;;;-1:-1:-1;16725:4:9;16684:47;16780:2;16775:3;16771:12;16768:1;16764:20;16758:4;16754:31;16744:41;;16835:82;16853:2;16846:5;16843:13;16835:82;;;16898:17;;;16879:1;16868:13;16835:82;;17109:1352;17229:10;;-1:-1:-1;;;;;17251:30:9;;17248:56;;;17284:18;;:::i;:::-;17313:97;17403:6;17363:38;17395:4;17389:11;17363:38;:::i;:::-;17357:4;17313:97;:::i;:::-;17465:4;;17529:2;17518:14;;17546:1;17541:663;;;;18248:1;18265:6;18262:89;;;-1:-1:-1;18317:19:9;;;18311:26;18262:89;-1:-1:-1;;17066:1:9;17062:11;;;17058:24;17054:29;17044:40;17090:1;17086:11;;;17041:57;18364:81;;17511:944;;17541:663;16335:1;16328:14;;;16372:4;16359:18;;-1:-1:-1;;17577:20:9;;;17695:236;17709:7;17706:1;17703:14;17695:236;;;17798:19;;;17792:26;17777:42;;17890:27;;;;17858:1;17846:14;;;;17725:19;;17695:236;;;17699:3;17959:6;17950:7;17947:19;17944:201;;;18020:19;;;18014:26;-1:-1:-1;;18103:1:9;18099:14;;;18115:3;18095:24;18091:37;18087:42;18072:58;18057:74;;17944:201;-1:-1:-1;;;;;18191:1:9;18175:14;;;18171:22;18158:36;;-1:-1:-1;17109:1352:9:o;18466:127::-;18527:10;18522:3;18518:20;18515:1;18508:31;18558:4;18555:1;18548:15;18582:4;18579:1;18572:15;18598:127;18659:10;18654:3;18650:20;18647:1;18640:31;18690:4;18687:1;18680:15;18714:4;18711:1;18704:15;18730:128;18770:3;18801:1;18797:6;18794:1;18791:13;18788:39;;;18807:18;;:::i;:::-;-1:-1:-1;18843:9:9;;18730:128::o;18863:135::-;18902:3;18923:17;;;18920:43;;18943:18;;:::i;:::-;-1:-1:-1;18990:1:9;18979:13;;18863:135::o;19360:470::-;19539:3;19577:6;19571:13;19593:53;19639:6;19634:3;19627:4;19619:6;19615:17;19593:53;:::i;:::-;19709:13;;19668:16;;;;19731:57;19709:13;19668:16;19765:4;19753:17;;19731:57;:::i;:::-;19804:20;;19360:470;-1:-1:-1;;;;19360:470:9:o;19835:125::-;19875:4;19903:1;19900;19897:8;19894:34;;;19908:18;;:::i;:::-;-1:-1:-1;19945:9:9;;19835:125::o;21941:168::-;21981:7;22047:1;22043;22039:6;22035:14;22032:1;22029:21;22024:1;22017:9;22010:17;22006:45;22003:71;;;22054:18;;:::i;:::-;-1:-1:-1;22094:9:9;;21941:168::o;22475:251::-;22545:6;22598:2;22586:9;22577:7;22573:23;22569:32;22566:52;;;22614:1;22611;22604:12;22566:52;22646:9;22640:16;22665:31;22690:5;22665:31;:::i;24309:489::-;-1:-1:-1;;;;;24578:15:9;;;24560:34;;24630:15;;24625:2;24610:18;;24603:43;24677:2;24662:18;;24655:34;;;24725:3;24720:2;24705:18;;24698:31;;;24503:4;;24746:46;;24772:19;;24764:6;24746:46;:::i;:::-;24738:54;24309:489;-1:-1:-1;;;;;;24309:489:9:o;24803:249::-;24872:6;24925:2;24913:9;24904:7;24900:23;24896:32;24893:52;;;24941:1;24938;24931:12;24893:52;24973:9;24967:16;24992:30;25016:5;24992:30;:::i

Swarm Source

ipfs://55bfe7840aa45ac1999f660b865cdd319f4c9e5be103976ac625342d9b31926f

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.