ETH Price: $3,659.06 (+2.22%)

Token

QQL Mint Pass (QQL-MP)
 

Overview

Max Total Supply

679 QQL-MP

Holders

317

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Balance
1 QQL-MP
0x0733531C1c4C80E4Ea86ac5Bb42a9F4F5550166f
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

QQL is a collaborative experiment in generative art by Tyler Hobbs and Dandelion Wist Mané. A QQL Mint Pass gives the owner the right to mint an official QQL NFT with the artwork of their choice, as generated on qql.art.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MintPass

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200000 runs

Other Settings:
default evmVersion
File 1 of 19 : MintPass.sol
// SPDX-License-Identifier: BUSL-1.1 (see LICENSE)
pragma solidity ^0.8.8;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

import "./ERC721TokenUriDelegate.sol";
import "./ERC721OperatorFilter.sol";
import "./IManifold.sol";

/// @dev
/// Parameters for a piecewise-constant price function with the following
/// shape:
///
/// (1) Prior to `startTimestamp`, the price is `type(uint256).max`.
///
/// (2) At `startTimestamp`, the price jumps to `startGwei` gwei.
///     Every `dropPeriodSeconds` seconds, the price drops as follows:.
///
///     (a) Each of the first `n1` drops is for `c1 * dropGwei` gwei.
///     (b) Each of the next `n2` drops is for `c2 * dropGwei` gwei.
///     (c) Each of the next `n3` drops is for `c3 * dropGwei` gwei.
///     (d) Each subsequent drop is for `c4 * dropGwei` gwei.
///
/// (3) The price never drops below `reserveGwei` gwei.
///
/// For example, suppose that `dropPeriodSeconds` is 60, `startGwei` is 100e9,
/// `dropGwei` is 5e8, `[n1, n2, n3]` is `[10, 15, 20]`, and `[c1, c2, c3, c4]`
/// is [8, 4, 2, 1]`. Then: the price starts at 100 ETH, then drops in 4 ETH
/// increments down to 60 ETH, then drops in 2 ETH increments down to 30 ETH,
/// then drops in 1 ETH increments down to 10 ETH, then drops in 0.5 ETH
/// increments down to the reserve price.
///
/// As a special case, if `startTimestamp == 0`, the auction is considered to
/// not be scheduled yet, and the price is `type(uint256).max` at all times.
struct AuctionSchedule {
    uint40 startTimestamp;
    uint16 dropPeriodSeconds;
    uint48 startGwei;
    uint48 dropGwei;
    uint48 reserveGwei;
    uint8 n1;
    uint8 n2;
    uint8 n3;
    uint8 c1;
    uint8 c2;
    uint8 c3;
    uint8 c4;
}

library ScheduleMath {
    /// @dev The result of this function must be (weakly) monotonically
    /// decreasing. If the reported price were to increase, then users who
    /// bought mint passes at multiple price points might receive a smaller
    /// rebate than they had expected, and the owner might not be able to
    /// withdraw all the proceeds.
    function currentPrice(AuctionSchedule memory s, uint256 timestamp)
        internal
        pure
        returns (uint256)
    {
        if (s.startTimestamp == 0) return type(uint256).max;
        if (timestamp < s.startTimestamp) return type(uint256).max;
        if (s.dropPeriodSeconds == 0) return s.reserveGwei * 1 gwei;

        uint256 secondsElapsed = timestamp - s.startTimestamp;
        uint256 drops = secondsElapsed / s.dropPeriodSeconds;

        uint256 priceGwei = s.startGwei;
        uint256 dropGwei = s.dropGwei;

        uint256 inf = type(uint256).max;
        (drops, priceGwei) = doDrop(s.n1, drops, priceGwei, s.c1 * dropGwei);
        (drops, priceGwei) = doDrop(s.n2, drops, priceGwei, s.c2 * dropGwei);
        (drops, priceGwei) = doDrop(s.n3, drops, priceGwei, s.c3 * dropGwei);
        (drops, priceGwei) = doDrop(inf, drops, priceGwei, s.c4 * dropGwei);

        if (priceGwei < s.reserveGwei) priceGwei = s.reserveGwei;
        return priceGwei * 1 gwei;
    }

    function doDrop(
        uint256 limit,
        uint256 remaining,
        uint256 priceGwei,
        uint256 dropGwei
    ) private pure returns (uint256 _remaining, uint256 _priceGwei) {
        uint256 effectiveDrops = remaining;
        if (effectiveDrops > limit) effectiveDrops = limit;
        (bool ok, uint256 totalDropGwei) = SafeMath.tryMul(
            effectiveDrops,
            dropGwei
        );
        if (!ok || totalDropGwei > priceGwei) totalDropGwei = priceGwei;
        priceGwei -= totalDropGwei;
        return (remaining - effectiveDrops, priceGwei);
    }
}

/// @dev
/// A record of each buyer's interactions with the auction contract.
/// The buyer's outstanding rebate can be calculated from this receipt combined
/// with the current (or final) clearing price. Specifically, the clearing
/// value of the buyer's mint passes is `clearingPrice * numPurchased`.
/// The `netPaid` amount must never be less than the clearing value; if it's
/// greater than the clearing value, then the buyer is entitled to claim the
/// difference.
struct Receipt {
    /// The total amount that the buyer paid for all mint passes that they
    /// purchased, minus the total amount of rebates claimed so far.
    uint192 netPaid;
    /// The total number of mint passes that the buyer purchased. (This does
    /// not count any mint passes created by `reserve`.)
    uint64 numPurchased;
}

/// @dev These fields are grouped because they change at the same time and can
/// be written atomically to save on storage I/O.
struct SupplyStats {
    /// The total number of mint passes that have ever been created. This
    /// counts passes created by both `purchase` and `reserve`, and does not
    /// decrease when passes are burned.
    uint64 created;
    /// The number of mint passes that have been purchased at auction. This
    /// differs from `created_` in that it does not count mint passes created
    /// for free via `reserve`.
    uint64 purchased;
}

contract MintPass is
    Ownable,
    IManifold,
    ERC721OperatorFilter,
    ERC721TokenUriDelegate,
    ERC721Enumerable
{
    using Address for address payable;
    using ScheduleMath for AuctionSchedule;

    /// The maximum number of mint passes that may ever be created.
    uint64 immutable maxCreated_;
    SupplyStats supplyStats_;

    mapping(address => Receipt) receipts_;
    /// Whether `withdrawProceeds` has been called yet.
    bool proceedsWithdrawn_;

    AuctionSchedule schedule_;
    /// The block timestamp at which the auction ended, or 0 if the auction has
    /// not yet ended (i.e., either is still ongoing or has not yet started).
    /// The auction ends when the last mint pass is created, which may be
    /// before or after the price would hit its terminal scheduled value.
    uint256 endTimestamp_;

    /// The address permitted to burn mint passes when minting QQL tokens.
    address burner_;

    address payable projectRoyaltyRecipient_;
    address payable platformRoyaltyRecipient_;
    uint256 constant PROJECT_ROYALTY_BPS = 500; // 5%
    uint256 constant PLATFORM_ROYALTY_BPS = 200; // 2%

    /// For use in an emergency where funds are locked in the contract (e.g.,
    /// the auction gets soft-locked due to a logic error and can never be
    /// completed). After an owner calls `declareEmergency()` and waits the
    /// required duration, they can withdraw any amount of funds from the
    /// contract. Doing so *will* break the contract invariants and make future
    /// behavior of `claimRebate` and `withdrawProceeds` unpredictable, so
    /// should only be used as a last resort.
    uint256 emergencyStartTimestamp_;
    uint256 constant EMERGENCY_DELAY_SECONDS = 3 days;

    /// Emitted whenever mint passes are reserved by the owner with `reserve`.
    /// Creating mint passes with `purchase` does not emit this event.
    event MintPassReservation(
        address indexed recipient,
        uint256 firstTokenId,
        uint256 count
    );

    /// Emitted whenever mint passes are purchased at auction. The `payment`
    /// field represents the amount of Ether deposited with the message call;
    /// this may be more than the current price of the purchased mint passes,
    /// adding to the buyer's rebate, or it may be less, consuming some of the
    /// rebate.
    ///
    /// Creating mint passes with `reserve` does not emit this event.
    event MintPassPurchase(
        address indexed buyer,
        uint256 firstTokenId,
        uint256 count,
        uint256 payment,
        uint256 priceEach
    );

    /// Emitted whenever a buyer claims a rebate. This may happen more than
    /// once per buyer, since rebates can be claimed incrementally as the
    /// auction goes on. The `claimed` amount may be 0 if there is no new
    /// rebate to claim, which may happen if the price has not decreased since
    /// the last claim.
    event RebateClaim(address indexed buyer, uint256 claimed);

    /// Emitted when the contract owner withdraws the auction proceeds.
    event ProceedsWithdrawal(uint256 amount);

    /// Emitted whenever the auction schedule changes, including when the
    /// auction is first scheduled. The `schedule` value is the same as the
    /// result of the `auctionSchedule()` method; see that method for more
    /// details.
    event AuctionScheduleChange(AuctionSchedule schedule);

    event ProjectRoyaltyRecipientChanged(address payable recipient);
    event PlatformRoyaltyRecipientChanged(address payable recipient);

    event EmergencyDeclared();
    event EmergencyWithdrawal(uint256 amount);

    constructor(uint64 _maxCreated) ERC721("", "") {
        maxCreated_ = _maxCreated;
    }

    function name() public pure override returns (string memory) {
        return "QQL Mint Pass";
    }

    function symbol() public pure override returns (string memory) {
        return "QQL-MP";
    }

    /// Returns the total number of mint passes ever created.
    function totalCreated() external view returns (uint256) {
        return supplyStats_.created;
    }

    /// Returns the maximum number of mint passes that can ever be created
    /// (cumulatively, not just active at one time). That is, `totalCreated()`
    /// will never exceed `maxCreated()`.
    ///
    /// When `totalCreated() == maxCreated()`, the auction is over.
    function maxCreated() external view returns (uint256) {
        return maxCreated_;
    }

    /// Returns information about how many mint passes have been reserved by
    /// the owner, how many have been purchased at auction, and the maximum
    /// number of mint passes that will ever be created. These statistics
    /// include passes that have been burned.
    function supplyStats()
        external
        view
        returns (
            uint256 reserved,
            uint256 purchased,
            uint256 max
        )
    {
        SupplyStats memory stats = supplyStats_;
        return (stats.created - stats.purchased, stats.purchased, maxCreated_);
    }

    /// Configures the mint pass auction. Can be called multiple times,
    /// including while the auction is active. Reverts if this would cause the
    /// current price to increase or if the auction is already over.
    function updateAuctionSchedule(AuctionSchedule memory schedule)
        public
        onlyOwner
    {
        if (endTimestamp_ != 0) revert("MintPass: auction ended");
        uint256 oldPrice = currentPrice();
        schedule_ = schedule;
        uint256 newPrice = currentPrice();
        if (newPrice > oldPrice) revert("MintPass: price would increase");
        emit AuctionScheduleChange(schedule);
    }

    /// Sets a new schedule that remains at the current price forevermore.
    /// If the auction is not yet started, this unschedules the auction
    /// (regardless of whether it is scheduled or not). Otherwise, the auction
    /// remains open at the current price until a further schedule update.
    function pauseAuctionSchedule() external {
        // (no `onlyOwner` modifier; check happens in `updateAuctionSchedule`)
        uint256 price = currentPrice();
        AuctionSchedule memory schedule; // zero-initialized
        if (price != type(uint256).max) {
            uint48 priceGwei = uint48(price / 1 gwei);
            assert(priceGwei * 1 gwei == price);
            schedule.startTimestamp = 1;
            schedule.dropPeriodSeconds = 0;
            schedule.reserveGwei = priceGwei;
        }
        updateAuctionSchedule(schedule);
    }

    /// Returns the parameters of the auction schedule. These parameters define
    /// the price curve over time; see `AuctionSchedule` for semantics.
    function auctionSchedule() external view returns (AuctionSchedule memory) {
        return schedule_;
    }

    /// Returns the block timestamp at which the auction ended, or 0 if the
    /// auction has not ended yet (including if it hasn't started).
    function endTimestamp() external view returns (uint256) {
        return endTimestamp_;
    }

    /// Creates `count` mint passes owned by `recipient`. The new token IDs
    /// will be allocated sequentially (even if the recipient's ERC-721 receive
    /// hook causes more mint passes to be created in the middle); the return
    /// value is the first token ID.
    ///
    /// If this creates the final mint pass, it also ends the auction by
    /// setting `endTimestamp_`. If this would create more mint passes than the
    /// max supply supports, it reverts.
    function _createMintPasses(
        address recipient,
        uint256 count,
        bool isPurchase
    ) internal returns (uint256) {
        // Can't return a valid new token ID, and, more importantly, don't want
        // to stomp `endTimestamp_` if the auction is already over.
        if (count == 0) revert("MintPass: count is zero");

        SupplyStats memory stats = supplyStats_;
        uint256 oldCreated = stats.created;

        uint256 newCreated = stats.created + count;
        if (newCreated > maxCreated_) revert("MintPass: minted out");

        // Lossless since `newCreated <= maxCreated_ <= type(uint64).max`.
        stats.created = _losslessU64(newCreated);
        if (isPurchase) {
            // Lossless since `purchased <= created <= type(uint64).max`.
            stats.purchased = _losslessU64(stats.purchased + count);
        }

        supplyStats_ = stats;
        if (newCreated == maxCreated_) endTimestamp_ = block.timestamp;

        uint256 firstTokenId = oldCreated + 1;
        uint256 nextTokenId = firstTokenId;
        for (uint256 i = 0; i < count; i++) {
            _safeMint(recipient, nextTokenId++);
        }
        return firstTokenId;
    }

    /// @dev Helper for `_createMintPasses`.
    function _losslessU64(uint256 x) internal pure returns (uint64 result) {
        result = uint64(x);
        assert(result == x);
        return result;
    }

    /// Purchases `count` mint passes at the current auction price. Reverts if
    /// the auction has not started, if the auction has minted out, or if the
    /// value associated with this message is less than required. Returns the
    /// first token ID.
    function purchase(uint256 count) external payable returns (uint256) {
        uint256 priceEach = currentPrice();
        if (priceEach == type(uint256).max) {
            // Just a nicer error message.
            revert("MintPass: auction not started");
        }

        Receipt memory receipt = receipts_[msg.sender];

        uint256 newNetPaid = receipt.netPaid + msg.value;
        receipt.netPaid = uint192(newNetPaid);
        if (receipt.netPaid != newNetPaid) {
            // Truncation here would require cumulative payments of 2^192 wei,
            // which seems implausible.
            revert("MintPass: too large");
        }

        uint256 newNumPurchased = receipt.numPurchased + count;
        receipt.numPurchased = uint64(newNumPurchased);
        if (receipt.numPurchased != newNumPurchased) {
            // Truncation here would require purchasing 2^64 passes, which
            // would likely cause out-of-gas errors anyway.
            revert("MintPass: too large");
        }

        (bool ok, uint256 priceTotal) = SafeMath.tryMul(
            priceEach,
            receipt.numPurchased
        );
        if (!ok || receipt.netPaid < priceTotal) revert("MintPass: underpaid");

        receipts_[msg.sender] = receipt;

        uint256 firstTokenId = _createMintPasses({
            recipient: msg.sender,
            count: count,
            isPurchase: true
        });
        emit MintPassPurchase(
            msg.sender,
            firstTokenId,
            count,
            msg.value,
            priceEach
        );
        return firstTokenId;
    }

    /// Creates one or more mint passes outside of the auction process, at no
    /// cost. Returns the first token ID.
    function reserve(address recipient, uint256 count)
        external
        onlyOwner
        returns (uint256)
    {
        uint256 firstTokenId = _createMintPasses({
            recipient: recipient,
            count: count,
            isPurchase: false
        });
        emit MintPassReservation(recipient, firstTokenId, count);
        return firstTokenId;
    }

    /// Gets the record of the given buyer's purchases so far. The `netPaid`
    /// value indicates the total amount paid to the contract less any rebates
    /// claimed so far. With this data, clients can compute the amount of
    /// rebate available to the buyer at any given auction price; the rebate is
    /// given by `netPaid - currentPrice * numPurchased`.
    function getReceipt(address buyer)
        external
        view
        returns (uint256 netPaid, uint256 numPurchased)
    {
        Receipt memory receipt = receipts_[buyer];
        return (receipt.netPaid, receipt.numPurchased);
    }

    /// Computes the rebate that `buyer` is currently entitled to, and returns
    /// that amount along with the value that should be stored into
    /// `receipts_[buyer]` if they claim it.
    function _computeRebate(address buyer)
        internal
        view
        returns (uint256 rebate, Receipt memory receipt)
    {
        receipt = receipts_[buyer];
        uint256 clearingCost = currentPrice() * receipt.numPurchased;
        rebate = receipt.netPaid - clearingCost;
        // This truncation should be lossless because `clearingCost` is
        // strictly less than the prior value of `receipt.netPaid`.
        receipt.netPaid = uint192(clearingCost);
    }

    /// Gets the amount that `buyer` would currently receive if they called
    /// `claimRebate()`.
    function rebateAmount(address buyer) public view returns (uint256) {
        (uint256 rebate, ) = _computeRebate(buyer);
        return rebate;
    }

    /// Claims a rebate equal to the difference between the total amount that
    /// the buyer paid for all their mint passes and the amount that their mint
    /// passes would have cost at the clearing price. The rebate is sent to the
    /// buyer's address; see `claimTo` if this is inconvenient.
    function claimRebate() external {
        claimRebateTo(payable(msg.sender));
    }

    /// Claims a rebate equal to the difference between the total amount that
    /// the buyer paid for all their mint passes and the amount that their mint
    /// passes would have cost at the clearing price.
    function claimRebateTo(address payable recipient) public {
        (uint256 rebate, Receipt memory receipt) = _computeRebate(msg.sender);
        receipts_[msg.sender] = receipt;
        emit RebateClaim(msg.sender, rebate);
        recipient.sendValue(rebate);
    }

    /// Withdraws all the auction proceeds. This values each purchased mint
    /// pass at the final clearing price. It can only be called after the
    /// auction has ended, and it can only be called once.
    function withdrawProceeds(address payable recipient) external onlyOwner {
        if (endTimestamp_ == 0) revert("MintPass: auction not ended");
        if (proceedsWithdrawn_) revert("MintPass: already withdrawn");
        proceedsWithdrawn_ = true;
        uint256 proceeds = currentPrice() * supplyStats_.purchased;
        if (proceeds > address(this).balance) {
            // The auction price shouldn't increase, so this shouldn't happen.
            // In case it does, permit rescuing what we can.
            proceeds = address(this).balance;
        }
        emit ProceedsWithdrawal(proceeds);
        recipient.sendValue(proceeds);
    }

    /// Gets the current price of a mint pass (in wei). If the auction has
    /// ended, this returns the final clearing price. If the auction has not
    /// started, this returns `type(uint256).max`.
    function currentPrice() public view returns (uint256) {
        uint256 timestamp = block.timestamp;
        uint256 _endTimestamp = endTimestamp_;
        if (_endTimestamp != 0) timestamp = _endTimestamp;
        return schedule_.currentPrice(timestamp);
    }

    /// Returns the price (in wei) that a mint pass would cost at the given
    /// timestamp, according to the auction schedule and under the (possibly
    /// counterfactual) assumption that the auction does not end before it
    /// reaches the reserve price. That is, unlike `currentPrice()`, the result
    /// of this method does not depend on whether or when the auction has
    /// actually ended.
    function priceAt(uint256 timestamp) external view returns (uint256) {
        return schedule_.currentPrice(timestamp);
    }

    /// Sets the address that's permitted to burn mint passes when minting QQL
    /// tokens.
    function setBurner(address _burner) external onlyOwner {
        burner_ = _burner;
    }

    /// Gets the address that's permitted to burn mint passes when minting QQL
    /// tokens.
    function burner() external view returns (address) {
        return burner_;
    }

    /// Burns a mint pass. Intended to be called when minting a QQL token.
    function burn(uint256 tokenId) external {
        if (msg.sender != burner_) revert("MintPass: unauthorized");
        _burn(tokenId);
    }

    /// Checks whether the given address is approved to operate the given mint
    /// pass. Reverts if the mint pass does not exist.
    ///
    /// This is equivalent to calling and combining the results of `ownerOf`,
    /// `getApproved`, and `isApprovedForAll`, but is cheaper because it
    /// requires fewer message calls.
    function isApprovedOrOwner(address operator, uint256 tokenId)
        external
        view
        returns (bool)
    {
        return _isApprovedOrOwner(operator, tokenId);
    }

    function getRoyalties(
        uint256 /*unusedTokenId */
    )
        external
        view
        returns (address payable[] memory recipients, uint256[] memory bps)
    {
        recipients = new address payable[](2);
        bps = new uint256[](2);
        recipients[0] = projectRoyaltyRecipient_;
        recipients[1] = platformRoyaltyRecipient_;
        bps[0] = PROJECT_ROYALTY_BPS;
        bps[1] = PLATFORM_ROYALTY_BPS;
    }

    function setProjectRoyaltyRecipient(address payable projectRecipient)
        external
        onlyOwner
    {
        projectRoyaltyRecipient_ = projectRecipient;
        emit ProjectRoyaltyRecipientChanged(projectRecipient);
    }

    function projectRoyaltyRecipient() external view returns (address payable) {
        return projectRoyaltyRecipient_;
    }

    function setPlatformRoyaltyRecipient(address payable platformRecipient)
        external
        onlyOwner
    {
        platformRoyaltyRecipient_ = platformRecipient;
        emit PlatformRoyaltyRecipientChanged(platformRecipient);
    }

    function platformRoyaltyRecipient()
        external
        view
        returns (address payable)
    {
        return platformRoyaltyRecipient_;
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC721Enumerable, ERC721)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }

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

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override(ERC721TokenUriDelegate, ERC721)
        returns (string memory)
    {
        return super.tokenURI(tokenId);
    }

    function declareEmergency() external onlyOwner {
        if (emergencyStartTimestamp_ != 0) return;
        emergencyStartTimestamp_ = block.timestamp;
        emit EmergencyDeclared();
    }

    function emergencyStartTimestamp() external view returns (uint256) {
        return emergencyStartTimestamp_;
    }

    function emergencyWithdraw(address payable recipient, uint256 amount)
        external
        onlyOwner
    {
        uint256 start = emergencyStartTimestamp_;
        if (start == 0 || block.timestamp < start + EMERGENCY_DELAY_SECONDS)
            revert("MintPass: declare emergency and wait");
        recipient.sendValue(amount);
        emit EmergencyWithdrawal(amount);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 3 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

File 6 of 19 : ERC721TokenUriDelegate.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

import "./ITokenUriDelegate.sol";

abstract contract ERC721TokenUriDelegate is ERC721, Ownable {
    ITokenUriDelegate private tokenUriDelegate_;

    function setTokenUriDelegate(ITokenUriDelegate delegate) public onlyOwner {
        tokenUriDelegate_ = delegate;
    }

    function tokenUriDelegate() public view returns (ITokenUriDelegate) {
        return tokenUriDelegate_;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        if (!_exists(tokenId)) revert("ERC721: invalid token ID");
        ITokenUriDelegate delegate = tokenUriDelegate_;
        if (address(delegate) == address(0)) return "";
        return delegate.tokenURI(tokenId);
    }
}

File 7 of 19 : ERC721OperatorFilter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";

import "./IOperatorFilter.sol";

abstract contract ERC721OperatorFilter is ERC721, Ownable {
    IOperatorFilter private operatorFilter_;

    function setOperatorFilter(IOperatorFilter filter) public onlyOwner {
        operatorFilter_ = filter;
    }

    function operatorFilter() public view returns (IOperatorFilter) {
        return operatorFilter_;
    }

    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override(ERC721) {
        if (
            from != address(0) &&
            to != address(0) &&
            !_mayTransfer(msg.sender, tokenId)
        ) {
            revert("ERC721OperatorFilter: illegal operator");
        }
        super._beforeTokenTransfer(from, to, tokenId);
    }

    function _mayTransfer(address operator, uint256 tokenId)
        private
        view
        returns (bool)
    {
        IOperatorFilter filter = operatorFilter_;
        if (address(filter) == address(0)) return true;
        if (operator == ownerOf(tokenId)) return true;
        return filter.mayTransfer(msg.sender);
    }
}

File 8 of 19 : IManifold.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/// @author: manifold.xyz

/**
 * @dev Royalty interface for creator core classes
 */
interface IManifold {
    /**
     * @dev Get royalites of a token.  Returns list of receivers and basisPoints
     *
     *  bytes4(keccak256('getRoyalties(uint256)')) == 0xbb3bafd6
     *
     *  => 0xbb3bafd6 = 0xbb3bafd6
     */
    function getRoyalties(uint256 tokenId)
        external
        view
        returns (address payable[] memory recipients, uint256[] memory bps);
}

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);

        _afterTokenTransfer(from, to, tokenId);
    }

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 19 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 17 of 19 : 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);
}

File 18 of 19 : ITokenUriDelegate.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

interface ITokenUriDelegate {
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 19 of 19 : IOperatorFilter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.8;

interface IOperatorFilter {
    function mayTransfer(address operator) external view returns (bool);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint64","name":"_maxCreated","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"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":[{"components":[{"internalType":"uint40","name":"startTimestamp","type":"uint40"},{"internalType":"uint16","name":"dropPeriodSeconds","type":"uint16"},{"internalType":"uint48","name":"startGwei","type":"uint48"},{"internalType":"uint48","name":"dropGwei","type":"uint48"},{"internalType":"uint48","name":"reserveGwei","type":"uint48"},{"internalType":"uint8","name":"n1","type":"uint8"},{"internalType":"uint8","name":"n2","type":"uint8"},{"internalType":"uint8","name":"n3","type":"uint8"},{"internalType":"uint8","name":"c1","type":"uint8"},{"internalType":"uint8","name":"c2","type":"uint8"},{"internalType":"uint8","name":"c3","type":"uint8"},{"internalType":"uint8","name":"c4","type":"uint8"}],"indexed":false,"internalType":"struct AuctionSchedule","name":"schedule","type":"tuple"}],"name":"AuctionScheduleChange","type":"event"},{"anonymous":false,"inputs":[],"name":"EmergencyDeclared","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EmergencyWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"payment","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"priceEach","type":"uint256"}],"name":"MintPassPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"firstTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"count","type":"uint256"}],"name":"MintPassReservation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable","name":"recipient","type":"address"}],"name":"PlatformRoyaltyRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ProceedsWithdrawal","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address payable","name":"recipient","type":"address"}],"name":"ProjectRoyaltyRecipientChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"claimed","type":"uint256"}],"name":"RebateClaim","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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"auctionSchedule","outputs":[{"components":[{"internalType":"uint40","name":"startTimestamp","type":"uint40"},{"internalType":"uint16","name":"dropPeriodSeconds","type":"uint16"},{"internalType":"uint48","name":"startGwei","type":"uint48"},{"internalType":"uint48","name":"dropGwei","type":"uint48"},{"internalType":"uint48","name":"reserveGwei","type":"uint48"},{"internalType":"uint8","name":"n1","type":"uint8"},{"internalType":"uint8","name":"n2","type":"uint8"},{"internalType":"uint8","name":"n3","type":"uint8"},{"internalType":"uint8","name":"c1","type":"uint8"},{"internalType":"uint8","name":"c2","type":"uint8"},{"internalType":"uint8","name":"c3","type":"uint8"},{"internalType":"uint8","name":"c4","type":"uint8"}],"internalType":"struct AuctionSchedule","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"burner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimRebate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"claimRebateTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currentPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"declareEmergency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"emergencyStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"emergencyWithdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"}],"name":"getReceipt","outputs":[{"internalType":"uint256","name":"netPaid","type":"uint256"},{"internalType":"uint256","name":"numPurchased","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRoyalties","outputs":[{"internalType":"address payable[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"bps","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":"operator","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"isApprovedOrOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxCreated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"operatorFilter","outputs":[{"internalType":"contract IOperatorFilter","name":"","type":"address"}],"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":"pauseAuctionSchedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"platformRoyaltyRecipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"timestamp","type":"uint256"}],"name":"priceAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"projectRoyaltyRecipient","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"purchase","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"buyer","type":"address"}],"name":"rebateAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"reserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"address","name":"_burner","type":"address"}],"name":"setBurner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IOperatorFilter","name":"filter","type":"address"}],"name":"setOperatorFilter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"platformRecipient","type":"address"}],"name":"setPlatformRoyaltyRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"projectRecipient","type":"address"}],"name":"setProjectRoyaltyRecipient","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract ITokenUriDelegate","name":"delegate","type":"address"}],"name":"setTokenUriDelegate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supplyStats","outputs":[{"internalType":"uint256","name":"reserved","type":"uint256"},{"internalType":"uint256","name":"purchased","type":"uint256"},{"internalType":"uint256","name":"max","type":"uint256"}],"stateMutability":"view","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":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenUriDelegate","outputs":[{"internalType":"contract ITokenUriDelegate","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalCreated","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":[{"components":[{"internalType":"uint40","name":"startTimestamp","type":"uint40"},{"internalType":"uint16","name":"dropPeriodSeconds","type":"uint16"},{"internalType":"uint48","name":"startGwei","type":"uint48"},{"internalType":"uint48","name":"dropGwei","type":"uint48"},{"internalType":"uint48","name":"reserveGwei","type":"uint48"},{"internalType":"uint8","name":"n1","type":"uint8"},{"internalType":"uint8","name":"n2","type":"uint8"},{"internalType":"uint8","name":"n3","type":"uint8"},{"internalType":"uint8","name":"c1","type":"uint8"},{"internalType":"uint8","name":"c2","type":"uint8"},{"internalType":"uint8","name":"c3","type":"uint8"},{"internalType":"uint8","name":"c4","type":"uint8"}],"internalType":"struct AuctionSchedule","name":"schedule","type":"tuple"}],"name":"updateAuctionSchedule","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"recipient","type":"address"}],"name":"withdrawProceeds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040523480156200001157600080fd5b50604051620054b7380380620054b78339810160408190526200003491620001a4565b6040805160208082018084526000808452845192830190945283825282519293919262000063929190620000fe565b50805162000079906001906020840190620000fe565b5050506200009662000090620000a860201b60201c565b620000ac565b6001600160401b031660805262000213565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b8280546200010c90620001d6565b90600052602060002090601f0160209004810192826200013057600085556200017b565b82601f106200014b57805160ff19168380011785556200017b565b828001600101855582156200017b579182015b828111156200017b5782518255916020019190600101906200015e565b50620001899291506200018d565b5090565b5b808211156200018957600081556001016200018e565b600060208284031215620001b757600080fd5b81516001600160401b0381168114620001cf57600080fd5b9392505050565b600181811c90821680620001eb57607f821691505b602082108114156200020d57634e487b7160e01b600052602260045260246000fd5b50919050565b60805161527362000244600039600081816105110152818161149701528181613c230152613d5401526152736000f3fe6080604052600436106103345760003560e01c8063844e0acd116101b0578063c620c3fb116100ec578063d783925b11610095578063e985e9c51161006f578063e985e9c514610c63578063efef39a114610cb9578063f2fde38b14610ccc578063f8f96bfe14610cec57600080fd5b8063d783925b14610a17578063def05c1714610a37578063e20e9db214610a4c57600080fd5b8063ca9992aa116100c6578063ca9992aa146109c2578063cc47a40b146109e2578063cda3948f14610a0257600080fd5b8063c620c3fb14610957578063c6d1b40014610977578063c87b56dd146109a257600080fd5b80639eb7b88011610159578063a996d6ce11610133578063a996d6ce146108c9578063b40aaebe146108e9578063b88d4fde14610909578063bb3bafd61461092957600080fd5b80639eb7b8801461087f578063a22cb46514610894578063a85adeab146108b457600080fd5b806395d89b411161018a57806395d89b41146108045780639d1b464a1461084a5780639dab20541461085f57600080fd5b8063844e0acd1461079a5780638da5cb5b146107b957806395ccea67146107e457600080fd5b806331e244e51161027f5780634f6ccce7116102285780636352211e116102025780636352211e1461071a578063689843e01461073a57806370a0823114610765578063715018a61461078557600080fd5b80634f6ccce7146106aa5780635b77c694146106ca57806362810c81146106fa57600080fd5b806342966c681161025957806342966c681461063f578063430c20811461065f5780634dc2d4b41461067f57600080fd5b806331e244e5146105df578063412a208a146105f457806342842e0e1461061f57600080fd5b80630f48abd5116102e157806323b872dd116102bb57806323b872dd1461057457806327810b6e146105945780632f745c59146105bf57600080fd5b80630f48abd514610502578063114d8b951461053f57806318160ddd1461055f57600080fd5b806307a7eb551161031257806307a7eb551461046d578063081812fc1461049b578063095ea7b3146104e057600080fd5b806301ffc9a71461033957806304562d951461036e57806306fdde031461041e575b600080fd5b34801561034557600080fd5b506103596103543660046148e6565b610d0c565b60405190151581526020015b60405180910390f35b34801561037a57600080fd5b50610409610389366004614925565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602090815260409182902082518084019093525477ffffffffffffffffffffffffffffffffffffffffffffffff8116808452780100000000000000000000000000000000000000000000000090910467ffffffffffffffff169290910182905291565b60408051928352602083019190915201610365565b34801561042a57600080fd5b5060408051808201909152600d81527f51514c204d696e7420506173730000000000000000000000000000000000000060208201525b60405161036591906149b8565b34801561047957600080fd5b5061048d610488366004614925565b610d1d565b604051908152602001610365565b3480156104a757600080fd5b506104bb6104b63660046149cb565b610d31565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610365565b3480156104ec57600080fd5b506105006104fb3660046149e4565b610e10565b005b34801561050e57600080fd5b507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff1661048d565b34801561054b57600080fd5b5061050061055a366004614925565b610f9d565b34801561056b57600080fd5b50600b5461048d565b34801561058057600080fd5b5061050061058f366004614a10565b611098565b3480156105a057600080fd5b5060125473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156105cb57600080fd5b5061048d6105da3660046149e4565b611139565b3480156105eb57600080fd5b50610500611208565b34801561060057600080fd5b5060135473ffffffffffffffffffffffffffffffffffffffff166104bb565b34801561062b57600080fd5b5061050061063a366004614a10565b6112c3565b34801561064b57600080fd5b5061050061065a3660046149cb565b6112de565b34801561066b57600080fd5b5061035961067a3660046149e4565b61136b565b34801561068b57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156106b657600080fd5b5061048d6106c53660046149cb565b61137e565b3480156106d657600080fd5b506106df61143c565b60408051938452602084019290925290820152606001610365565b34801561070657600080fd5b50610500610715366004614925565b6114c0565b34801561072657600080fd5b506104bb6107353660046149cb565b6116d5565b34801561074657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff166104bb565b34801561077157600080fd5b5061048d610780366004614925565b611787565b34801561079157600080fd5b50610500611855565b3480156107a657600080fd5b50600d5467ffffffffffffffff1661048d565b3480156107c557600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156107f057600080fd5b506105006107ff3660046149e4565b6118e0565b34801561081057600080fd5b5060408051808201909152600681527f51514c2d4d5000000000000000000000000000000000000000000000000000006020820152610460565b34801561085657600080fd5b5061048d611a61565b34801561086b57600080fd5b5061048d61087a3660046149cb565b611c19565b34801561088b57600080fd5b5060155461048d565b3480156108a057600080fd5b506105006108af366004614a5f565b611dbb565b3480156108c057600080fd5b5060115461048d565b3480156108d557600080fd5b506105006108e4366004614925565b611dc6565b3480156108f557600080fd5b50610500610904366004614b8e565b611e8e565b34801561091557600080fd5b50610500610924366004614cc0565b6121e8565b34801561093557600080fd5b506109496109443660046149cb565b612290565b604051610365929190614d6f565b34801561096357600080fd5b50610500610972366004614925565b6123c1565b34801561098357600080fd5b5060145473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156109ae57600080fd5b506104606109bd3660046149cb565b612489565b3480156109ce57600080fd5b506105006109dd366004614925565b612494565b3480156109ee57600080fd5b5061048d6109fd3660046149e4565b612588565b348015610a0e57600080fd5b50610500612675565b348015610a2357600080fd5b50610500610a32366004614925565b61267e565b348015610a4357600080fd5b50610500612746565b348015610a5857600080fd5b50610c566040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290526101208101829052610140810182905261016081019190915250604080516101808101825260105464ffffffffff8116825261ffff65010000000000820416602083015265ffffffffffff67010000000000000082048116938301939093526d01000000000000000000000000008104831660608301527301000000000000000000000000000000000000008104909216608082015260ff7901000000000000000000000000000000000000000000000000008304811660a08301527a0100000000000000000000000000000000000000000000000000008304811660c08301527b010000000000000000000000000000000000000000000000000000008304811660e08301527c0100000000000000000000000000000000000000000000000000000000830481166101008301527d010000000000000000000000000000000000000000000000000000000000830481166101208301527e01000000000000000000000000000000000000000000000000000000000000830481166101408301527f010000000000000000000000000000000000000000000000000000000000000090920490911661016082015290565b6040516103659190614e00565b348015610c6f57600080fd5b50610359610c7e366004614ef3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b61048d610cc73660046149cb565b612833565b348015610cd857600080fd5b50610500610ce7366004614925565b612bcf565b348015610cf857600080fd5b50610500610d07366004614925565b612cfc565b6000610d1782612dc7565b92915050565b600080610d2983612e1d565b509392505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610de7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610e1b826116d5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ed9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610dde565b3373ffffffffffffffffffffffffffffffffffffffff82161480610f025750610f028133610c7e565b610f8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610dde565b610f988383612f0b565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b601480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f664afcbcc3a8f1c3619aa2d4432d339e32888f27a1bcf98c6fc0e95c6b3d6a98906020015b60405180910390a150565b6110a23382612fab565b61112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610dde565b610f9883838361311b565b600061114483611787565b82106111d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610dde565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600960209081526040808320938352929052205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b6015541561129357565b426015556040517f237686b3187f938eabcc6f70896e955674d436715cd906be94cd5b6085ceb3a290600090a15b565b610f98838383604051806020016040528060008152506121e8565b60125473ffffffffffffffffffffffffffffffffffffffff16331461135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d696e74506173733a20756e617574686f72697a6564000000000000000000006044820152606401610dde565b6113688161338d565b50565b60006113778383612fab565b9392505050565b6000611389600b5490565b8210611417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610dde565b600b828154811061142a5761142a614f21565b90600052602060002001549050919050565b60408051808201909152600d5467ffffffffffffffff8082168084526801000000000000000090920416602083018190526000928392839261147d91614f7f565b60209091015167ffffffffffffffff9182169590821694507f00000000000000000000000000000000000000000000000000000000000000009190911692509050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b6011546115aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d696e74506173733a2061756374696f6e206e6f7420656e64656400000000006044820152606401610dde565b600f5460ff1615611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d696e74506173733a20616c72656164792077697468647261776e00000000006044820152606401610dde565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055600d5460009067ffffffffffffffff6801000000000000000090910416611667611a61565b6116719190614fa8565b90504781111561167e5750475b6040518181527ff494ba62347fe6fb01063bfaabc2bc82c0844860848d8681504e53d3ad2770189060200160405180910390a16116d173ffffffffffffffffffffffffffffffffffffffff831682613466565b5050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610d17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610dde565b600073ffffffffffffffffffffffffffffffffffffffff821661182c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610dde565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1633146118d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b6112c160006135c0565b60065473ffffffffffffffffffffffffffffffffffffffff163314611961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b60155480158061197c57506119796203f48082614fe5565b42105b15611a08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4d696e74506173733a206465636c61726520656d657267656e637920616e642060448201527f77616974000000000000000000000000000000000000000000000000000000006064820152608401610dde565b611a2873ffffffffffffffffffffffffffffffffffffffff841683613466565b6040518281527fcbba13897c2ac3f7fdb11e857b1a5a5c47f51e3fbeffa74d430f2b06177b45c0906020015b60405180910390a1505050565b60115460009042908015611a73578091505b604080516101808101825260105464ffffffffff8116825261ffff65010000000000820416602083015265ffffffffffff67010000000000000082048116938301939093526d01000000000000000000000000008104831660608301527301000000000000000000000000000000000000008104909216608082015260ff7901000000000000000000000000000000000000000000000000008304811660a08301527a0100000000000000000000000000000000000000000000000000008304811660c08301527b010000000000000000000000000000000000000000000000000000008304811660e08301527c0100000000000000000000000000000000000000000000000000000000830481166101008301527d010000000000000000000000000000000000000000000000000000000000830481166101208301527e01000000000000000000000000000000000000000000000000000000000000830481166101408301527f0100000000000000000000000000000000000000000000000000000000000000909204909116610160820152611c129083613637565b9250505090565b604080516101808101825260105464ffffffffff8116825261ffff65010000000000820416602083015265ffffffffffff67010000000000000082048116938301939093526d01000000000000000000000000008104831660608301527301000000000000000000000000000000000000008104909216608082015260ff7901000000000000000000000000000000000000000000000000008304811660a08301527a0100000000000000000000000000000000000000000000000000008304811660c08301527b010000000000000000000000000000000000000000000000000000008304811660e08301527c0100000000000000000000000000000000000000000000000000000000830481166101008301527d010000000000000000000000000000000000000000000000000000000000830481166101208301527e01000000000000000000000000000000000000000000000000000000000000830481166101408301527f0100000000000000000000000000000000000000000000000000000000000000909204909116610160820152600090610d179083613637565b6116d1338383613828565b60065473ffffffffffffffffffffffffffffffffffffffff163314611e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff163314611f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b60115415611f79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d696e74506173733a2061756374696f6e20656e6465640000000000000000006044820152606401610dde565b6000611f83611a61565b905081601060008201518160000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060208201518160000160056101000a81548161ffff021916908361ffff16021790555060408201518160000160076101000a81548165ffffffffffff021916908365ffffffffffff160217905550606082015181600001600d6101000a81548165ffffffffffff021916908365ffffffffffff16021790555060808201518160000160136101000a81548165ffffffffffff021916908365ffffffffffff16021790555060a08201518160000160196101000a81548160ff021916908360ff16021790555060c082015181600001601a6101000a81548160ff021916908360ff16021790555060e082015181600001601b6101000a81548160ff021916908360ff16021790555061010082015181600001601c6101000a81548160ff021916908360ff16021790555061012082015181600001601d6101000a81548160ff021916908360ff16021790555061014082015181600001601e6101000a81548160ff021916908360ff16021790555061016082015181600001601f6101000a81548160ff021916908360ff160217905550905050600061214d611a61565b9050818111156121b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4d696e74506173733a20707269636520776f756c6420696e63726561736500006044820152606401610dde565b7fe30a7aac408dd7efb301d48e21ed2989599d223453c98bf0547b4955b83c83ae83604051611a549190614e00565b6121f23383612fab565b61227e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610dde565b61228a84848484613956565b50505050565b60408051600280825260608083018452928392919060208301908036833750506040805160028082526060820183529395509291506020830190803683375050601354845192935073ffffffffffffffffffffffffffffffffffffffff169184915060009061230157612301614f21565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201015260145483519116908390600190811061233f5761233f614f21565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506101f48160008151811061238f5761238f614f21565b60200260200101818152505060c8816001815181106123b0576123b0614f21565b602002602001018181525050915091565b60065473ffffffffffffffffffffffffffffffffffffffff163314612442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6060610d17826139f9565b60065473ffffffffffffffffffffffffffffffffffffffff163314612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b601380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527ff4d57bd8dc218ee9952456aacb86dd5bd8d9475f820e3338bf8db406efdf08989060200161108d565b60065460009073ffffffffffffffffffffffffffffffffffffffff16331461260c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b600061261a84846000613b7b565b604080518281526020810186905291925073ffffffffffffffffffffffffffffffffffffffff8616917f209e8836cc9429503721a4eacc7990211adf95468d0be66b4d0701c825742bdb910160405180910390a29392505050565b6112c133612cfc565b60065473ffffffffffffffffffffffffffffffffffffffff1633146126ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000612750611a61565b6040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290526101608101919091529091507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821461282a5760006127eb633b9aca008461502c565b9050826127fc82633b9aca00615067565b65ffffffffffff161461281157612811615095565b600182526000602083015265ffffffffffff1660808201525b6116d181611e8e565b60008061283e611a61565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114156128ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d696e74506173733a2061756374696f6e206e6f7420737461727465640000006044820152606401610dde565b336000908152600e6020908152604080832081518083019092525477ffffffffffffffffffffffffffffffffffffffffffffffff8116808352780100000000000000000000000000000000000000000000000090910467ffffffffffffffff1692820192909252919061293e903490614fe5565b77ffffffffffffffffffffffffffffffffffffffffffffffff811680845290915081146129c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d696e74506173733a20746f6f206c61726765000000000000000000000000006044820152606401610dde565b600085836020015167ffffffffffffffff166129e39190614fe5565b67ffffffffffffffff8116602085018190529091508114612a60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d696e74506173733a20746f6f206c61726765000000000000000000000000006044820152606401610dde565b600080612a7b86866020015167ffffffffffffffff16613dd0565b91509150811580612aa65750845177ffffffffffffffffffffffffffffffffffffffffffffffff1681115b15612b0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d696e74506173733a20756e64657270616964000000000000000000000000006044820152606401610dde565b336000818152600e60209081526040822088519189015167ffffffffffffffff1678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff90921691909117905590612b78908a6001613b7b565b60408051828152602081018c90523481830152606081018a9052905191925033917f5d39cacca7022388f1730e39956da85ba5a2fa5780b4a47cfcaf5b608c77c8079181900360800190a298975050505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314612c50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b73ffffffffffffffffffffffffffffffffffffffff8116612cf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610dde565b611368816135c0565b600080612d0833612e1d565b336000818152600e602090815260409182902084519185015167ffffffffffffffff1678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff90921691909117905551929450909250907f070c97089ecc9d7e6ccc332b0ca6db910776f5d25a205f1007319167efd01eea90612d9f9085815260200190565b60405180910390a2610f9873ffffffffffffffffffffffffffffffffffffffff841683613466565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610d175750610d1782613e18565b6040805180820182526000808252602091820181905273ffffffffffffffffffffffffffffffffffffffff84168152600e825282812083518085019094525477ffffffffffffffffffffffffffffffffffffffffffffffff811684527801000000000000000000000000000000000000000000000000900467ffffffffffffffff1691830182905291908290612eb1611a61565b612ebb9190614fa8565b8251909150612ee590829077ffffffffffffffffffffffffffffffffffffffffffffffff166150c4565b77ffffffffffffffffffffffffffffffffffffffffffffffff9091168252939092509050565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612f65826116d5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1661305c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610dde565b6000613067836116d5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130d5575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b8061311357508373ffffffffffffffffffffffffffffffffffffffff166130fb84610d31565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661313b826116d5565b73ffffffffffffffffffffffffffffffffffffffff16146131de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610dde565b73ffffffffffffffffffffffffffffffffffffffff8216613280576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610dde565b61328b838383613efb565b613296600082612f0b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906132cc9084906150c4565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613307908490614fe5565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000613398826116d5565b90506133a681600084613efb565b6133b1600083612f0b565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604081208054600192906133e79084906150c4565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b804710156134d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610dde565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461352a576040519150601f19603f3d011682016040523d82523d6000602084013e61352f565b606091505b5050905080610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610dde565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b815160009064ffffffffff1661366e57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610d17565b825164ffffffffff168210156136a557507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610d17565b602083015161ffff166136d45760808301516136c590633b9aca00615067565b65ffffffffffff169050610d17565b82516000906136ea9064ffffffffff16846150c4565b90506000846020015161ffff1682613702919061502c565b90506000856040015165ffffffffffff1690506000866060015165ffffffffffff16905060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90506137718860a0015160ff168585858c610100015160ff1661376c9190614fa8565b613f06565b809450819550505061379a8860c0015160ff168585858c610120015160ff1661376c9190614fa8565b80945081955050506137c38860e0015160ff168585858c610140015160ff1661376c9190614fa8565b80945081955050506137e5818585858c610160015160ff1661376c9190614fa8565b60808a0151919550935065ffffffffffff1683101561380e57876080015165ffffffffffff1692505b61381c83633b9aca00614fa8565b98975050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610dde565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61396184848461311b565b61396d84848484613f5f565b61228a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610dde565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16613a87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610dde565b60085473ffffffffffffffffffffffffffffffffffffffff1680613abb575050604080516020810190915260008152919050565b6040517fc87b56dd0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff82169063c87b56dd9060240160006040518083038186803b158015613b2157600080fd5b505afa158015613b35573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261137791908101906150db565b600082613be4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d696e74506173733a20636f756e74206973207a65726f0000000000000000006044820152606401610dde565b60408051808201909152600d5467ffffffffffffffff808216808452680100000000000000009092041660208301526000613c1f8683614fe5565b90507f000000000000000000000000000000000000000000000000000000000000000067ffffffffffffffff16811115613cb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d696e74506173733a206d696e746564206f75740000000000000000000000006044820152606401610dde565b613cbe8161415e565b67ffffffffffffffff1683528415613d0257613cf286846020015167ffffffffffffffff16613ced9190614fe5565b61415e565b67ffffffffffffffff1660208401525b8251600d8054602086015167ffffffffffffffff90811668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216938116939093171790557f000000000000000000000000000000000000000000000000000000000000000016811415613d8057426011555b6000613d8d836001614fe5565b90508060005b88811015613dc257613db08a83613da981615152565b945061417d565b80613dba81615152565b915050613d93565b509098975050505050505050565b60008083613de45750600190506000613e11565b83830283858281613df757613df7614ffd565b0414613e0a576000809250925050613e11565b6001925090505b9250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480613eab57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610d1757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610d17565b610f98838383614197565b6000808486811115613f155750855b600080613f228387613dd0565b91509150811580613f3257508681115b15613f3a5750855b613f4481886150c4565b9650613f5083896150c4565b99969850959650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15614153576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613fd690339089908890889060040161518b565b602060405180830381600087803b158015613ff057600080fd5b505af192505050801561403e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261403b918101906151d4565b60015b614108573d80801561406c576040519150601f19603f3d011682016040523d82523d6000602084013e614071565b606091505b508051614100576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610dde565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050613113565b506001949350505050565b8067ffffffffffffffff8116811461417857614178615095565b919050565b6116d18282604051806020016040528060008152506142a8565b6141a283838361434b565b73ffffffffffffffffffffffffffffffffffffffff831661420a5761420581600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b614247565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614614247576142478382614425565b73ffffffffffffffffffffffffffffffffffffffff821661426b57610f98816144dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610f9857610f98828261458b565b6142b283836145dc565b6142bf6000848484613f5f565b610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610dde565b73ffffffffffffffffffffffffffffffffffffffff831615801590614385575073ffffffffffffffffffffffffffffffffffffffff821615155b8015614398575061439633826147aa565b155b15610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4552433732314f70657261746f7246696c7465723a20696c6c6567616c206f7060448201527f657261746f7200000000000000000000000000000000000000000000000000006064820152608401610dde565b6000600161443284611787565b61443c91906150c4565b6000838152600a602052604090205490915080821461449c5773ffffffffffffffffffffffffffffffffffffffff841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a6020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600981528383209183525290812055565b600b546000906144ee906001906150c4565b6000838152600c6020526040812054600b805493945090928490811061451657614516614f21565b9060005260206000200154905080600b838154811061453757614537614f21565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548061456f5761456f6151f1565b6001900381819060005260206000200160009055905550505050565b600061459683611787565b73ffffffffffffffffffffffffffffffffffffffff90931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff8216614659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610dde565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156146e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610dde565b6146f160008383613efb565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290614727908490614fe5565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60075460009073ffffffffffffffffffffffffffffffffffffffff16806147d5576001915050610d17565b6147de836116d5565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561481b576001915050610d17565b6040517f192c596e00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff82169063192c596e9060240160206040518083038186803b15801561488057600080fd5b505afa158015614894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131139190615220565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461136857600080fd5b6000602082840312156148f857600080fd5b8135611377816148b8565b73ffffffffffffffffffffffffffffffffffffffff8116811461136857600080fd5b60006020828403121561493757600080fd5b813561137781614903565b60005b8381101561495d578181015183820152602001614945565b8381111561228a5750506000910152565b60008151808452614986816020860160208601614942565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611377602083018461496e565b6000602082840312156149dd57600080fd5b5035919050565b600080604083850312156149f757600080fd5b8235614a0281614903565b946020939093013593505050565b600080600060608486031215614a2557600080fd5b8335614a3081614903565b92506020840135614a4081614903565b929592945050506040919091013590565b801515811461136857600080fd5b60008060408385031215614a7257600080fd5b8235614a7d81614903565b91506020830135614a8d81614a51565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610180810167ffffffffffffffff81118282101715614aeb57614aeb614a98565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614b3857614b38614a98565b604052919050565b803564ffffffffff8116811461417857600080fd5b803561ffff8116811461417857600080fd5b803565ffffffffffff8116811461417857600080fd5b803560ff8116811461417857600080fd5b60006101808284031215614ba157600080fd5b614ba9614ac7565b614bb283614b40565b8152614bc060208401614b55565b6020820152614bd160408401614b67565b6040820152614be260608401614b67565b6060820152614bf360808401614b67565b6080820152614c0460a08401614b7d565b60a0820152614c1560c08401614b7d565b60c0820152614c2660e08401614b7d565b60e0820152610100614c39818501614b7d565b90820152610120614c4b848201614b7d565b90820152610140614c5d848201614b7d565b90820152610160614c6f848201614b7d565b908201529392505050565b600067ffffffffffffffff821115614c9457614c94614a98565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60008060008060808587031215614cd657600080fd5b8435614ce181614903565b93506020850135614cf181614903565b925060408501359150606085013567ffffffffffffffff811115614d1457600080fd5b8501601f81018713614d2557600080fd5b8035614d38614d3382614c7a565b614af1565b818152886020838501011115614d4d57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b604080825283519082018190526000906020906060840190828701845b82811015614dbe57815173ffffffffffffffffffffffffffffffffffffffff1684529284019290840190600101614d8c565b5050508381038285015284518082528583019183019060005b81811015614df357835183529284019291840191600101614dd7565b5090979650505050505050565b815164ffffffffff16815261018081016020830151614e25602084018261ffff169052565b506040830151614e3f604084018265ffffffffffff169052565b506060830151614e59606084018265ffffffffffff169052565b506080830151614e73608084018265ffffffffffff169052565b5060a0830151614e8860a084018260ff169052565b5060c0830151614e9d60c084018260ff169052565b5060e0830151614eb260e084018260ff169052565b506101008381015160ff9081169184019190915261012080850151821690840152610140808501518216908401526101609384015116929091019190915290565b60008060408385031215614f0657600080fd5b8235614f1181614903565b91506020830135614a8d81614903565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff83811690831681811015614fa057614fa0614f50565b039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fe057614fe0614f50565b500290565b60008219821115614ff857614ff8614f50565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615062577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600065ffffffffffff8083168185168183048111821515161561508c5761508c614f50565b02949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000828210156150d6576150d6614f50565b500390565b6000602082840312156150ed57600080fd5b815167ffffffffffffffff81111561510457600080fd5b8201601f8101841361511557600080fd5b8051615123614d3382614c7a565b81815285602083850101111561513857600080fd5b615149826020830160208601614942565b95945050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561518457615184614f50565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526151ca608083018461496e565b9695505050505050565b6000602082840312156151e657600080fd5b8151611377816148b8565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006020828403121561523257600080fd5b815161137781614a5156fea2646970667358221220fec37bbb088af885e03d87d584a5a5f630c103178d8efb8d73b5cf9ae1d1a69e64736f6c6343000809003300000000000000000000000000000000000000000000000000000000000003e7

Deployed Bytecode

0x6080604052600436106103345760003560e01c8063844e0acd116101b0578063c620c3fb116100ec578063d783925b11610095578063e985e9c51161006f578063e985e9c514610c63578063efef39a114610cb9578063f2fde38b14610ccc578063f8f96bfe14610cec57600080fd5b8063d783925b14610a17578063def05c1714610a37578063e20e9db214610a4c57600080fd5b8063ca9992aa116100c6578063ca9992aa146109c2578063cc47a40b146109e2578063cda3948f14610a0257600080fd5b8063c620c3fb14610957578063c6d1b40014610977578063c87b56dd146109a257600080fd5b80639eb7b88011610159578063a996d6ce11610133578063a996d6ce146108c9578063b40aaebe146108e9578063b88d4fde14610909578063bb3bafd61461092957600080fd5b80639eb7b8801461087f578063a22cb46514610894578063a85adeab146108b457600080fd5b806395d89b411161018a57806395d89b41146108045780639d1b464a1461084a5780639dab20541461085f57600080fd5b8063844e0acd1461079a5780638da5cb5b146107b957806395ccea67146107e457600080fd5b806331e244e51161027f5780634f6ccce7116102285780636352211e116102025780636352211e1461071a578063689843e01461073a57806370a0823114610765578063715018a61461078557600080fd5b80634f6ccce7146106aa5780635b77c694146106ca57806362810c81146106fa57600080fd5b806342966c681161025957806342966c681461063f578063430c20811461065f5780634dc2d4b41461067f57600080fd5b806331e244e5146105df578063412a208a146105f457806342842e0e1461061f57600080fd5b80630f48abd5116102e157806323b872dd116102bb57806323b872dd1461057457806327810b6e146105945780632f745c59146105bf57600080fd5b80630f48abd514610502578063114d8b951461053f57806318160ddd1461055f57600080fd5b806307a7eb551161031257806307a7eb551461046d578063081812fc1461049b578063095ea7b3146104e057600080fd5b806301ffc9a71461033957806304562d951461036e57806306fdde031461041e575b600080fd5b34801561034557600080fd5b506103596103543660046148e6565b610d0c565b60405190151581526020015b60405180910390f35b34801561037a57600080fd5b50610409610389366004614925565b73ffffffffffffffffffffffffffffffffffffffff166000908152600e602090815260409182902082518084019093525477ffffffffffffffffffffffffffffffffffffffffffffffff8116808452780100000000000000000000000000000000000000000000000090910467ffffffffffffffff169290910182905291565b60408051928352602083019190915201610365565b34801561042a57600080fd5b5060408051808201909152600d81527f51514c204d696e7420506173730000000000000000000000000000000000000060208201525b60405161036591906149b8565b34801561047957600080fd5b5061048d610488366004614925565b610d1d565b604051908152602001610365565b3480156104a757600080fd5b506104bb6104b63660046149cb565b610d31565b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610365565b3480156104ec57600080fd5b506105006104fb3660046149e4565b610e10565b005b34801561050e57600080fd5b507f00000000000000000000000000000000000000000000000000000000000003e767ffffffffffffffff1661048d565b34801561054b57600080fd5b5061050061055a366004614925565b610f9d565b34801561056b57600080fd5b50600b5461048d565b34801561058057600080fd5b5061050061058f366004614a10565b611098565b3480156105a057600080fd5b5060125473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156105cb57600080fd5b5061048d6105da3660046149e4565b611139565b3480156105eb57600080fd5b50610500611208565b34801561060057600080fd5b5060135473ffffffffffffffffffffffffffffffffffffffff166104bb565b34801561062b57600080fd5b5061050061063a366004614a10565b6112c3565b34801561064b57600080fd5b5061050061065a3660046149cb565b6112de565b34801561066b57600080fd5b5061035961067a3660046149e4565b61136b565b34801561068b57600080fd5b5060085473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156106b657600080fd5b5061048d6106c53660046149cb565b61137e565b3480156106d657600080fd5b506106df61143c565b60408051938452602084019290925290820152606001610365565b34801561070657600080fd5b50610500610715366004614925565b6114c0565b34801561072657600080fd5b506104bb6107353660046149cb565b6116d5565b34801561074657600080fd5b5060075473ffffffffffffffffffffffffffffffffffffffff166104bb565b34801561077157600080fd5b5061048d610780366004614925565b611787565b34801561079157600080fd5b50610500611855565b3480156107a657600080fd5b50600d5467ffffffffffffffff1661048d565b3480156107c557600080fd5b5060065473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156107f057600080fd5b506105006107ff3660046149e4565b6118e0565b34801561081057600080fd5b5060408051808201909152600681527f51514c2d4d5000000000000000000000000000000000000000000000000000006020820152610460565b34801561085657600080fd5b5061048d611a61565b34801561086b57600080fd5b5061048d61087a3660046149cb565b611c19565b34801561088b57600080fd5b5060155461048d565b3480156108a057600080fd5b506105006108af366004614a5f565b611dbb565b3480156108c057600080fd5b5060115461048d565b3480156108d557600080fd5b506105006108e4366004614925565b611dc6565b3480156108f557600080fd5b50610500610904366004614b8e565b611e8e565b34801561091557600080fd5b50610500610924366004614cc0565b6121e8565b34801561093557600080fd5b506109496109443660046149cb565b612290565b604051610365929190614d6f565b34801561096357600080fd5b50610500610972366004614925565b6123c1565b34801561098357600080fd5b5060145473ffffffffffffffffffffffffffffffffffffffff166104bb565b3480156109ae57600080fd5b506104606109bd3660046149cb565b612489565b3480156109ce57600080fd5b506105006109dd366004614925565b612494565b3480156109ee57600080fd5b5061048d6109fd3660046149e4565b612588565b348015610a0e57600080fd5b50610500612675565b348015610a2357600080fd5b50610500610a32366004614925565b61267e565b348015610a4357600080fd5b50610500612746565b348015610a5857600080fd5b50610c566040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e0810182905261010081018290526101208101829052610140810182905261016081019190915250604080516101808101825260105464ffffffffff8116825261ffff65010000000000820416602083015265ffffffffffff67010000000000000082048116938301939093526d01000000000000000000000000008104831660608301527301000000000000000000000000000000000000008104909216608082015260ff7901000000000000000000000000000000000000000000000000008304811660a08301527a0100000000000000000000000000000000000000000000000000008304811660c08301527b010000000000000000000000000000000000000000000000000000008304811660e08301527c0100000000000000000000000000000000000000000000000000000000830481166101008301527d010000000000000000000000000000000000000000000000000000000000830481166101208301527e01000000000000000000000000000000000000000000000000000000000000830481166101408301527f010000000000000000000000000000000000000000000000000000000000000090920490911661016082015290565b6040516103659190614e00565b348015610c6f57600080fd5b50610359610c7e366004614ef3565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260056020908152604080832093909416825291909152205460ff1690565b61048d610cc73660046149cb565b612833565b348015610cd857600080fd5b50610500610ce7366004614925565b612bcf565b348015610cf857600080fd5b50610500610d07366004614925565b612cfc565b6000610d1782612dc7565b92915050565b600080610d2983612e1d565b509392505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff16610de7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526004602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b6000610e1b826116d5565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ed9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610dde565b3373ffffffffffffffffffffffffffffffffffffffff82161480610f025750610f028133610c7e565b610f8e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610dde565b610f988383612f0b565b505050565b60065473ffffffffffffffffffffffffffffffffffffffff16331461101e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b601480547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527f664afcbcc3a8f1c3619aa2d4432d339e32888f27a1bcf98c6fc0e95c6b3d6a98906020015b60405180910390a150565b6110a23382612fab565b61112e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610dde565b610f9883838361311b565b600061114483611787565b82106111d2576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201527f74206f6620626f756e64730000000000000000000000000000000000000000006064820152608401610dde565b5073ffffffffffffffffffffffffffffffffffffffff919091166000908152600960209081526040808320938352929052205490565b60065473ffffffffffffffffffffffffffffffffffffffff163314611289576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b6015541561129357565b426015556040517f237686b3187f938eabcc6f70896e955674d436715cd906be94cd5b6085ceb3a290600090a15b565b610f98838383604051806020016040528060008152506121e8565b60125473ffffffffffffffffffffffffffffffffffffffff16331461135f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f4d696e74506173733a20756e617574686f72697a6564000000000000000000006044820152606401610dde565b6113688161338d565b50565b60006113778383612fab565b9392505050565b6000611389600b5490565b8210611417576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201527f7574206f6620626f756e647300000000000000000000000000000000000000006064820152608401610dde565b600b828154811061142a5761142a614f21565b90600052602060002001549050919050565b60408051808201909152600d5467ffffffffffffffff8082168084526801000000000000000090920416602083018190526000928392839261147d91614f7f565b60209091015167ffffffffffffffff9182169590821694507f00000000000000000000000000000000000000000000000000000000000003e79190911692509050565b60065473ffffffffffffffffffffffffffffffffffffffff163314611541576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b6011546115aa576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d696e74506173733a2061756374696f6e206e6f7420656e64656400000000006044820152606401610dde565b600f5460ff1615611617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601b60248201527f4d696e74506173733a20616c72656164792077697468647261776e00000000006044820152606401610dde565b600f80547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055600d5460009067ffffffffffffffff6801000000000000000090910416611667611a61565b6116719190614fa8565b90504781111561167e5750475b6040518181527ff494ba62347fe6fb01063bfaabc2bc82c0844860848d8681504e53d3ad2770189060200160405180910390a16116d173ffffffffffffffffffffffffffffffffffffffff831682613466565b5050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1680610d17576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610dde565b600073ffffffffffffffffffffffffffffffffffffffff821661182c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610dde565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526003602052604090205490565b60065473ffffffffffffffffffffffffffffffffffffffff1633146118d6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b6112c160006135c0565b60065473ffffffffffffffffffffffffffffffffffffffff163314611961576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b60155480158061197c57506119796203f48082614fe5565b42105b15611a08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4d696e74506173733a206465636c61726520656d657267656e637920616e642060448201527f77616974000000000000000000000000000000000000000000000000000000006064820152608401610dde565b611a2873ffffffffffffffffffffffffffffffffffffffff841683613466565b6040518281527fcbba13897c2ac3f7fdb11e857b1a5a5c47f51e3fbeffa74d430f2b06177b45c0906020015b60405180910390a1505050565b60115460009042908015611a73578091505b604080516101808101825260105464ffffffffff8116825261ffff65010000000000820416602083015265ffffffffffff67010000000000000082048116938301939093526d01000000000000000000000000008104831660608301527301000000000000000000000000000000000000008104909216608082015260ff7901000000000000000000000000000000000000000000000000008304811660a08301527a0100000000000000000000000000000000000000000000000000008304811660c08301527b010000000000000000000000000000000000000000000000000000008304811660e08301527c0100000000000000000000000000000000000000000000000000000000830481166101008301527d010000000000000000000000000000000000000000000000000000000000830481166101208301527e01000000000000000000000000000000000000000000000000000000000000830481166101408301527f0100000000000000000000000000000000000000000000000000000000000000909204909116610160820152611c129083613637565b9250505090565b604080516101808101825260105464ffffffffff8116825261ffff65010000000000820416602083015265ffffffffffff67010000000000000082048116938301939093526d01000000000000000000000000008104831660608301527301000000000000000000000000000000000000008104909216608082015260ff7901000000000000000000000000000000000000000000000000008304811660a08301527a0100000000000000000000000000000000000000000000000000008304811660c08301527b010000000000000000000000000000000000000000000000000000008304811660e08301527c0100000000000000000000000000000000000000000000000000000000830481166101008301527d010000000000000000000000000000000000000000000000000000000000830481166101208301527e01000000000000000000000000000000000000000000000000000000000000830481166101408301527f0100000000000000000000000000000000000000000000000000000000000000909204909116610160820152600090610d179083613637565b6116d1338383613828565b60065473ffffffffffffffffffffffffffffffffffffffff163314611e47576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b601280547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60065473ffffffffffffffffffffffffffffffffffffffff163314611f0f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b60115415611f79576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d696e74506173733a2061756374696f6e20656e6465640000000000000000006044820152606401610dde565b6000611f83611a61565b905081601060008201518160000160006101000a81548164ffffffffff021916908364ffffffffff16021790555060208201518160000160056101000a81548161ffff021916908361ffff16021790555060408201518160000160076101000a81548165ffffffffffff021916908365ffffffffffff160217905550606082015181600001600d6101000a81548165ffffffffffff021916908365ffffffffffff16021790555060808201518160000160136101000a81548165ffffffffffff021916908365ffffffffffff16021790555060a08201518160000160196101000a81548160ff021916908360ff16021790555060c082015181600001601a6101000a81548160ff021916908360ff16021790555060e082015181600001601b6101000a81548160ff021916908360ff16021790555061010082015181600001601c6101000a81548160ff021916908360ff16021790555061012082015181600001601d6101000a81548160ff021916908360ff16021790555061014082015181600001601e6101000a81548160ff021916908360ff16021790555061016082015181600001601f6101000a81548160ff021916908360ff160217905550905050600061214d611a61565b9050818111156121b9576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601e60248201527f4d696e74506173733a20707269636520776f756c6420696e63726561736500006044820152606401610dde565b7fe30a7aac408dd7efb301d48e21ed2989599d223453c98bf0547b4955b83c83ae83604051611a549190614e00565b6121f23383612fab565b61227e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610dde565b61228a84848484613956565b50505050565b60408051600280825260608083018452928392919060208301908036833750506040805160028082526060820183529395509291506020830190803683375050601354845192935073ffffffffffffffffffffffffffffffffffffffff169184915060009061230157612301614f21565b73ffffffffffffffffffffffffffffffffffffffff928316602091820292909201015260145483519116908390600190811061233f5761233f614f21565b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506101f48160008151811061238f5761238f614f21565b60200260200101818152505060c8816001815181106123b0576123b0614f21565b602002602001018181525050915091565b60065473ffffffffffffffffffffffffffffffffffffffff163314612442576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6060610d17826139f9565b60065473ffffffffffffffffffffffffffffffffffffffff163314612515576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b601380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff83169081179091556040519081527ff4d57bd8dc218ee9952456aacb86dd5bd8d9475f820e3338bf8db406efdf08989060200161108d565b60065460009073ffffffffffffffffffffffffffffffffffffffff16331461260c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b600061261a84846000613b7b565b604080518281526020810186905291925073ffffffffffffffffffffffffffffffffffffffff8616917f209e8836cc9429503721a4eacc7990211adf95468d0be66b4d0701c825742bdb910160405180910390a29392505050565b6112c133612cfc565b60065473ffffffffffffffffffffffffffffffffffffffff1633146126ff576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b600780547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6000612750611a61565b6040805161018081018252600080825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e081018290526101008101829052610120810182905261014081018290526101608101919091529091507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821461282a5760006127eb633b9aca008461502c565b9050826127fc82633b9aca00615067565b65ffffffffffff161461281157612811615095565b600182526000602083015265ffffffffffff1660808201525b6116d181611e8e565b60008061283e611a61565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8114156128ca576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f4d696e74506173733a2061756374696f6e206e6f7420737461727465640000006044820152606401610dde565b336000908152600e6020908152604080832081518083019092525477ffffffffffffffffffffffffffffffffffffffffffffffff8116808352780100000000000000000000000000000000000000000000000090910467ffffffffffffffff1692820192909252919061293e903490614fe5565b77ffffffffffffffffffffffffffffffffffffffffffffffff811680845290915081146129c7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d696e74506173733a20746f6f206c61726765000000000000000000000000006044820152606401610dde565b600085836020015167ffffffffffffffff166129e39190614fe5565b67ffffffffffffffff8116602085018190529091508114612a60576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d696e74506173733a20746f6f206c61726765000000000000000000000000006044820152606401610dde565b600080612a7b86866020015167ffffffffffffffff16613dd0565b91509150811580612aa65750845177ffffffffffffffffffffffffffffffffffffffffffffffff1681115b15612b0d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601360248201527f4d696e74506173733a20756e64657270616964000000000000000000000000006044820152606401610dde565b336000818152600e60209081526040822088519189015167ffffffffffffffff1678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff90921691909117905590612b78908a6001613b7b565b60408051828152602081018c90523481830152606081018a9052905191925033917f5d39cacca7022388f1730e39956da85ba5a2fa5780b4a47cfcaf5b608c77c8079181900360800190a298975050505050505050565b60065473ffffffffffffffffffffffffffffffffffffffff163314612c50576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610dde565b73ffffffffffffffffffffffffffffffffffffffff8116612cf3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610dde565b611368816135c0565b600080612d0833612e1d565b336000818152600e602090815260409182902084519185015167ffffffffffffffff1678010000000000000000000000000000000000000000000000000277ffffffffffffffffffffffffffffffffffffffffffffffff90921691909117905551929450909250907f070c97089ecc9d7e6ccc332b0ca6db910776f5d25a205f1007319167efd01eea90612d9f9085815260200190565b60405180910390a2610f9873ffffffffffffffffffffffffffffffffffffffff841683613466565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f780e9d63000000000000000000000000000000000000000000000000000000001480610d175750610d1782613e18565b6040805180820182526000808252602091820181905273ffffffffffffffffffffffffffffffffffffffff84168152600e825282812083518085019094525477ffffffffffffffffffffffffffffffffffffffffffffffff811684527801000000000000000000000000000000000000000000000000900467ffffffffffffffff1691830182905291908290612eb1611a61565b612ebb9190614fa8565b8251909150612ee590829077ffffffffffffffffffffffffffffffffffffffffffffffff166150c4565b77ffffffffffffffffffffffffffffffffffffffffffffffff9091168252939092509050565b600081815260046020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff84169081179091558190612f65826116d5565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff1661305c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201527f697374656e7420746f6b656e00000000000000000000000000000000000000006064820152608401610dde565b6000613067836116d5565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806130d5575073ffffffffffffffffffffffffffffffffffffffff80821660009081526005602090815260408083209388168352929052205460ff165b8061311357508373ffffffffffffffffffffffffffffffffffffffff166130fb84610d31565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661313b826116d5565b73ffffffffffffffffffffffffffffffffffffffff16146131de576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e65720000000000000000000000000000000000000000000000000000006064820152608401610dde565b73ffffffffffffffffffffffffffffffffffffffff8216613280576040517f08c379a0000000000000000000000000000000000000000000000000000000008152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610dde565b61328b838383613efb565b613296600082612f0b565b73ffffffffffffffffffffffffffffffffffffffff831660009081526003602052604081208054600192906132cc9084906150c4565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290613307908490614fe5565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff86811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000613398826116d5565b90506133a681600084613efb565b6133b1600083612f0b565b73ffffffffffffffffffffffffffffffffffffffff811660009081526003602052604081208054600192906133e79084906150c4565b909155505060008281526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001690555183919073ffffffffffffffffffffffffffffffffffffffff8416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b804710156134d0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610dde565b60008273ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d806000811461352a576040519150601f19603f3d011682016040523d82523d6000602084013e61352f565b606091505b5050905080610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610dde565b6006805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b815160009064ffffffffff1661366e57507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610d17565b825164ffffffffff168210156136a557507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610d17565b602083015161ffff166136d45760808301516136c590633b9aca00615067565b65ffffffffffff169050610d17565b82516000906136ea9064ffffffffff16846150c4565b90506000846020015161ffff1682613702919061502c565b90506000856040015165ffffffffffff1690506000866060015165ffffffffffff16905060007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff90506137718860a0015160ff168585858c610100015160ff1661376c9190614fa8565b613f06565b809450819550505061379a8860c0015160ff168585858c610120015160ff1661376c9190614fa8565b80945081955050506137c38860e0015160ff168585858c610140015160ff1661376c9190614fa8565b80945081955050506137e5818585858c610160015160ff1661376c9190614fa8565b60808a0151919550935065ffffffffffff1683101561380e57876080015165ffffffffffff1692505b61381c83633b9aca00614fa8565b98975050505050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156138be576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610dde565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526005602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61396184848461311b565b61396d84848484613f5f565b61228a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610dde565b60008181526002602052604090205460609073ffffffffffffffffffffffffffffffffffffffff16613a87576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e20494400000000000000006044820152606401610dde565b60085473ffffffffffffffffffffffffffffffffffffffff1680613abb575050604080516020810190915260008152919050565b6040517fc87b56dd0000000000000000000000000000000000000000000000000000000081526004810184905273ffffffffffffffffffffffffffffffffffffffff82169063c87b56dd9060240160006040518083038186803b158015613b2157600080fd5b505afa158015613b35573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261137791908101906150db565b600082613be4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601760248201527f4d696e74506173733a20636f756e74206973207a65726f0000000000000000006044820152606401610dde565b60408051808201909152600d5467ffffffffffffffff808216808452680100000000000000009092041660208301526000613c1f8683614fe5565b90507f00000000000000000000000000000000000000000000000000000000000003e767ffffffffffffffff16811115613cb5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f4d696e74506173733a206d696e746564206f75740000000000000000000000006044820152606401610dde565b613cbe8161415e565b67ffffffffffffffff1683528415613d0257613cf286846020015167ffffffffffffffff16613ced9190614fe5565b61415e565b67ffffffffffffffff1660208401525b8251600d8054602086015167ffffffffffffffff90811668010000000000000000027fffffffffffffffffffffffffffffffff00000000000000000000000000000000909216938116939093171790557f00000000000000000000000000000000000000000000000000000000000003e716811415613d8057426011555b6000613d8d836001614fe5565b90508060005b88811015613dc257613db08a83613da981615152565b945061417d565b80613dba81615152565b915050613d93565b509098975050505050505050565b60008083613de45750600190506000613e11565b83830283858281613df757613df7614ffd565b0414613e0a576000809250925050613e11565b6001925090505b9250929050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd000000000000000000000000000000000000000000000000000000001480613eab57507fffffffff0000000000000000000000000000000000000000000000000000000082167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610d1757507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610d17565b610f98838383614197565b6000808486811115613f155750855b600080613f228387613dd0565b91509150811580613f3257508681115b15613f3a5750855b613f4481886150c4565b9650613f5083896150c4565b99969850959650505050505050565b600073ffffffffffffffffffffffffffffffffffffffff84163b15614153576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290613fd690339089908890889060040161518b565b602060405180830381600087803b158015613ff057600080fd5b505af192505050801561403e575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820190925261403b918101906151d4565b60015b614108573d80801561406c576040519150601f19603f3d011682016040523d82523d6000602084013e614071565b606091505b508051614100576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610dde565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a0200000000000000000000000000000000000000000000000000000000149050613113565b506001949350505050565b8067ffffffffffffffff8116811461417857614178615095565b919050565b6116d18282604051806020016040528060008152506142a8565b6141a283838361434b565b73ffffffffffffffffffffffffffffffffffffffff831661420a5761420581600b80546000838152600c60205260408120829055600182018355919091527f0175b7a638427703f0dbe7bb9bbf987a2551717b34e79f33b5b1008d1fa01db90155565b614247565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614614247576142478382614425565b73ffffffffffffffffffffffffffffffffffffffff821661426b57610f98816144dc565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614610f9857610f98828261458b565b6142b283836145dc565b6142bf6000848484613f5f565b610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e74657200000000000000000000000000006064820152608401610dde565b73ffffffffffffffffffffffffffffffffffffffff831615801590614385575073ffffffffffffffffffffffffffffffffffffffff821615155b8015614398575061439633826147aa565b155b15610f98576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4552433732314f70657261746f7246696c7465723a20696c6c6567616c206f7060448201527f657261746f7200000000000000000000000000000000000000000000000000006064820152608401610dde565b6000600161443284611787565b61443c91906150c4565b6000838152600a602052604090205490915080821461449c5773ffffffffffffffffffffffffffffffffffffffff841660009081526009602090815260408083208584528252808320548484528184208190558352600a90915290208190555b506000918252600a6020908152604080842084905573ffffffffffffffffffffffffffffffffffffffff9094168352600981528383209183525290812055565b600b546000906144ee906001906150c4565b6000838152600c6020526040812054600b805493945090928490811061451657614516614f21565b9060005260206000200154905080600b838154811061453757614537614f21565b6000918252602080832090910192909255828152600c9091526040808220849055858252812055600b80548061456f5761456f6151f1565b6001900381819060005260206000200160009055905550505050565b600061459683611787565b73ffffffffffffffffffffffffffffffffffffffff90931660009081526009602090815260408083208684528252808320859055938252600a9052919091209190915550565b73ffffffffffffffffffffffffffffffffffffffff8216614659576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610dde565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff16156146e5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610dde565b6146f160008383613efb565b73ffffffffffffffffffffffffffffffffffffffff82166000908152600360205260408120805460019290614727908490614fe5565b909155505060008181526002602052604080822080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60075460009073ffffffffffffffffffffffffffffffffffffffff16806147d5576001915050610d17565b6147de836116d5565b73ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561481b576001915050610d17565b6040517f192c596e00000000000000000000000000000000000000000000000000000000815233600482015273ffffffffffffffffffffffffffffffffffffffff82169063192c596e9060240160206040518083038186803b15801561488057600080fd5b505afa158015614894573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131139190615220565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461136857600080fd5b6000602082840312156148f857600080fd5b8135611377816148b8565b73ffffffffffffffffffffffffffffffffffffffff8116811461136857600080fd5b60006020828403121561493757600080fd5b813561137781614903565b60005b8381101561495d578181015183820152602001614945565b8381111561228a5750506000910152565b60008151808452614986816020860160208601614942565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b602081526000611377602083018461496e565b6000602082840312156149dd57600080fd5b5035919050565b600080604083850312156149f757600080fd5b8235614a0281614903565b946020939093013593505050565b600080600060608486031215614a2557600080fd5b8335614a3081614903565b92506020840135614a4081614903565b929592945050506040919091013590565b801515811461136857600080fd5b60008060408385031215614a7257600080fd5b8235614a7d81614903565b91506020830135614a8d81614a51565b809150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051610180810167ffffffffffffffff81118282101715614aeb57614aeb614a98565b60405290565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715614b3857614b38614a98565b604052919050565b803564ffffffffff8116811461417857600080fd5b803561ffff8116811461417857600080fd5b803565ffffffffffff8116811461417857600080fd5b803560ff8116811461417857600080fd5b60006101808284031215614ba157600080fd5b614ba9614ac7565b614bb283614b40565b8152614bc060208401614b55565b6020820152614bd160408401614b67565b6040820152614be260608401614b67565b6060820152614bf360808401614b67565b6080820152614c0460a08401614b7d565b60a0820152614c1560c08401614b7d565b60c0820152614c2660e08401614b7d565b60e0820152610100614c39818501614b7d565b90820152610120614c4b848201614b7d565b90820152610140614c5d848201614b7d565b90820152610160614c6f848201614b7d565b908201529392505050565b600067ffffffffffffffff821115614c9457614c94614a98565b50601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe01660200190565b60008060008060808587031215614cd657600080fd5b8435614ce181614903565b93506020850135614cf181614903565b925060408501359150606085013567ffffffffffffffff811115614d1457600080fd5b8501601f81018713614d2557600080fd5b8035614d38614d3382614c7a565b614af1565b818152886020838501011115614d4d57600080fd5b8160208401602083013760006020838301015280935050505092959194509250565b604080825283519082018190526000906020906060840190828701845b82811015614dbe57815173ffffffffffffffffffffffffffffffffffffffff1684529284019290840190600101614d8c565b5050508381038285015284518082528583019183019060005b81811015614df357835183529284019291840191600101614dd7565b5090979650505050505050565b815164ffffffffff16815261018081016020830151614e25602084018261ffff169052565b506040830151614e3f604084018265ffffffffffff169052565b506060830151614e59606084018265ffffffffffff169052565b506080830151614e73608084018265ffffffffffff169052565b5060a0830151614e8860a084018260ff169052565b5060c0830151614e9d60c084018260ff169052565b5060e0830151614eb260e084018260ff169052565b506101008381015160ff9081169184019190915261012080850151821690840152610140808501518216908401526101609384015116929091019190915290565b60008060408385031215614f0657600080fd5b8235614f1181614903565b91506020830135614a8d81614903565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600067ffffffffffffffff83811690831681811015614fa057614fa0614f50565b039392505050565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614fe057614fe0614f50565b500290565b60008219821115614ff857614ff8614f50565b500190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600082615062577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600065ffffffffffff8083168185168183048111821515161561508c5761508c614f50565b02949350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000828210156150d6576150d6614f50565b500390565b6000602082840312156150ed57600080fd5b815167ffffffffffffffff81111561510457600080fd5b8201601f8101841361511557600080fd5b8051615123614d3382614c7a565b81815285602083850101111561513857600080fd5b615149826020830160208601614942565b95945050505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561518457615184614f50565b5060010190565b600073ffffffffffffffffffffffffffffffffffffffff8087168352808616602084015250836040830152608060608301526151ca608083018461496e565b9695505050505050565b6000602082840312156151e657600080fd5b8151611377816148b8565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006020828403121561523257600080fd5b815161137781614a5156fea2646970667358221220fec37bbb088af885e03d87d584a5a5f630c103178d8efb8d73b5cf9ae1d1a69e64736f6c63430008090033

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

00000000000000000000000000000000000000000000000000000000000003e7

-----Decoded View---------------
Arg [0] : _maxCreated (uint64): 999

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000003e7


Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.