ETH Price: $2,743.92 (-3.06%)

Contract

0xf04D7d26054fC1dDa95De62048e7605F7846172b

Overview

ETH Balance

0 ETH

ETH Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

1 Internal Transaction found.

Latest 1 internal transaction

Parent Transaction Hash Block From To
4163902025-01-29 15:41:128 days ago1738165272  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DiscreteDutchAuctionMechanic

Compiler Version
v0.8.10+commit.fc410830

ZkSolc Version
v1.5.6

Optimization Enabled:
Yes with Mode z

Other Settings:
default evmVersion
File 1 of 20 : DiscreteDutchAuctionMechanic.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

import "./MechanicMintManagerClientUpgradeable.sol";
import "../../erc721/interfaces/IEditionCollection.sol";
import "../../erc721/interfaces/IERC721GeneralSupplyMetadata.sol";
import "./PackedPrices.sol";

import { EnumerableSet } from "@openzeppelin/contracts/utils/structs/EnumerableSet.sol";
import "@openzeppelin/contracts/proxy/utils/UUPSUpgradeable.sol";

/**
 * @notice Highlight's bespoke Dutch Auction mint mechanic (rebates, discrete prices, not continuous)
 * @dev Processes ether based auctions only
 *      DPP = Dynamic Price Period
 *      FPP = Fixed Price Period
 * @author highlight.xyz
 */
contract DiscreteDutchAuctionMechanic is MechanicMintManagerClientUpgradeable, UUPSUpgradeable {
    using EnumerableSet for EnumerableSet.Bytes32Set;

    /**
     * @notice Throw when an action is unauthorized
     */
    error Unauthorized();

    /**
     * @notice Throw when a vector is attempted to be created or updated with an invalid configuration
     */
    error InvalidVectorConfig();

    /**
     * @notice Throw when a vector is attempted to be updated or deleted at an invalid time
     */
    error InvalidUpdate();

    /**
     * @notice Throw when a vector is already created with a mechanic vector ID
     */
    error VectorAlreadyCreated();

    /**
     * @notice Throw when it is invalid to mint on a vector
     */
    error InvalidMint();

    /**
     * @notice Throw when it is invalid to withdraw funds from a DPP
     */
    error InvalidDPPFundsWithdrawl();

    /**
     * @notice Throw when it is invalid to collect a rebate
     */
    error InvalidRebate();

    /**
     * @notice Throw when a collector isn't owed any rebates
     */
    error CollectorNotOwedRebate();

    /**
     * @notice Throw when the contract fails to send ether to a payment recipient
     */
    error EtherSendFailed();

    /**
     * @notice Throw when the transaction sender has sent an invalid payment amount during a mint
     */
    error InvalidPaymentAmount();

    /**
     * @notice Vector data
     * @dev Guiding uint typing:
     *      log(periodDuration) <= log(timestamps)
     *      log(numTokensBought) <= log(maxUser)
     *      log(numToMint) <= log(numTokensBought)
     *      log(maxUser) <= log(maxTotal)
     *      log(lowestPriceSoldAtIndex) < log(numPrices)
     *      log(prices[i]) <= log(totalSales)
     *      log(totalPosted) <= log(totalSales)
     *      log(prices[i]) <= log(totalPosted)
     *      log(numTokensbought) + log(totalPosted) <= 256
     */
    struct DutchAuctionVector {
        // slot 0
        uint48 startTimestamp;
        uint48 endTimestamp;
        uint32 periodDuration;
        uint32 maxUserClaimableViaVector;
        uint48 maxTotalClaimableViaVector;
        uint48 currentSupply;
        // slot 1
        uint32 lowestPriceSoldAtIndex;
        uint32 tokenLimitPerTx;
        uint32 numPrices;
        address payable paymentRecipient;
        // slot 2
        uint240 totalSales;
        uint8 bytesPerPrice;
        bool auctionExhausted;
        bool payeeRevenueHasBeenWithdrawn;
    }

    /**
     * @notice Config used to control updating of fields in DutchAuctionVector
     */
    struct DutchAuctionVectorUpdateConfig {
        bool updateStartTimestamp;
        bool updateEndTimestamp;
        bool updatePeriodDuration;
        bool updateMaxUserClaimableViaVector;
        bool updateMaxTotalClaimableViaVector;
        bool updateTokenLimitPerTx;
        bool updatePaymentRecipient;
        bool updatePrices;
    }

    /**
     * @notice User purchase info per dutch auction per user
     * @param numTokensBought Number of tokens bought in the dutch auction
     * @param numRebates Number of times the user has requested a rebate
     * @param totalPosted Total amount paid by buyer minus rebates sent
     */
    struct UserPurchaseInfo {
        uint32 numTokensBought;
        uint24 numRebates;
        uint200 totalPosted;
    }

    /**
     * @notice Stores dutch auctions, indexed by global mechanic vector id
     */
    mapping(bytes32 => DutchAuctionVector) private vector;

    /**
     * @notice Stores dutch auction prices (packed), indexed by global mechanic vector id
     */
    mapping(bytes32 => bytes) private vectorPackedPrices;

    /**
     * @notice Stores user purchase info, per user per auction
     */
    mapping(bytes32 => mapping(address => UserPurchaseInfo)) public userPurchaseInfo;

    /**
     * @notice Emitted when a dutch auction is created
     */
    event DiscreteDutchAuctionCreated(bytes32 indexed mechanicVectorId);

    /**
     * @notice Emitted when a dutch auction is updated
     */
    event DiscreteDutchAuctionUpdated(bytes32 indexed mechanicVectorId);

    /**
     * @notice Emitted when a number of tokens are minted via a dutch auction
     */
    event DiscreteDutchAuctionMint(
        bytes32 indexed mechanicVectorId,
        address indexed recipient,
        uint200 pricePerToken,
        uint48 numMinted
    );

    /**
     * @notice Emitted when a collector receives a rebate
     * @param mechanicVectorId Mechanic vector ID
     * @param collector Collector receiving rebate
     * @param rebate The amount of ETH returned to the collector
     * @param currentPricePerNft The current price per NFT at the time of rebate
     */
    event DiscreteDutchAuctionCollectorRebate(
        bytes32 indexed mechanicVectorId,
        address indexed collector,
        uint200 rebate,
        uint200 currentPricePerNft
    );

    /**
     * @notice Emitted when the DPP revenue is withdrawn to the payment recipient once the auction hits the FPP.
     * @dev NOTE - amount of funds withdrawn may include sales from the FPP. After funds are withdrawn, payment goes
     *           straight to the payment recipient on mint
     * @param mechanicVectorId Mechanic vector ID
     * @param paymentRecipient Payment recipient at time of withdrawal
     * @param clearingPrice The final clearing price per NFT
     * @param currentSupply The number of minted tokens to withdraw sales for
     */
    event DiscreteDutchAuctionDPPFundsWithdrawn(
        bytes32 indexed mechanicVectorId,
        address indexed paymentRecipient,
        uint200 clearingPrice,
        uint48 currentSupply
    );

    /**
     * @notice Initialize mechanic contract
     * @param _mintManager Mint manager address
     * @param platform Platform owning the contract
     */
    function initialize(address _mintManager, address platform) external initializer {
        __MechanicMintManagerClientUpgradeable_initialize(_mintManager, platform);
    }

    /**
     * @notice Create a dutch auction vector
     * @param mechanicVectorId Global mechanic vector ID
     * @param vectorData Vector data, to be deserialized into dutch auction vector data
     */
    function createVector(bytes32 mechanicVectorId, bytes memory vectorData) external onlyMintManager {
        // precaution, although MintManager tightly controls creation and prevents double creation
        if (vector[mechanicVectorId].periodDuration != 0) {
            _revert(VectorAlreadyCreated.selector);
        }
        (
            uint48 startTimestamp,
            uint48 endTimestamp,
            uint32 periodDuration,
            uint32 maxUserClaimableViaVector,
            uint48 maxTotalClaimableViaVector,
            uint32 tokenLimitPerTx,
            uint32 numPrices,
            uint8 bytesPerPrice,
            address paymentRecipient,
            bytes memory packedPrices
        ) = abi.decode(vectorData, (uint48, uint48, uint32, uint32, uint48, uint32, uint32, uint8, address, bytes));

        DutchAuctionVector memory _vector = DutchAuctionVector(
            startTimestamp == 0 ? uint48(block.timestamp) : startTimestamp,
            endTimestamp,
            periodDuration,
            maxUserClaimableViaVector,
            maxTotalClaimableViaVector,
            0,
            0,
            tokenLimitPerTx,
            numPrices,
            payable(paymentRecipient),
            0,
            bytesPerPrice,
            false,
            false
        );

        _validateVectorConfig(_vector, packedPrices, true);

        vector[mechanicVectorId] = _vector;
        vectorPackedPrices[mechanicVectorId] = packedPrices;

        emit DiscreteDutchAuctionCreated(mechanicVectorId);
    }

    /* solhint-disable code-complexity */
    /**
     * @notice Update a dutch auction vector
     * @param mechanicVectorId Global mechanic vector ID
     * @param newVector New vector fields
     * @param updateConfig Config denoting what fields on vector to update
     */
    function updateVector(
        bytes32 mechanicVectorId,
        DutchAuctionVector calldata newVector,
        bytes calldata newPackedPrices,
        DutchAuctionVectorUpdateConfig calldata updateConfig
    ) external {
        MechanicVectorMetadata memory metadata = _getMechanicVectorMetadata(mechanicVectorId);
        if (
            metadata.contractAddress != msg.sender && OwnableUpgradeable(metadata.contractAddress).owner() != msg.sender
        ) {
            _revert(Unauthorized.selector);
        }
        DutchAuctionVector memory currentVector = vector[mechanicVectorId];

        // after first token has been minted, cannot update: prices, period, start time, max total claimable via vector
        if (
            currentVector.currentSupply > 0 &&
            (updateConfig.updatePrices ||
                updateConfig.updatePeriodDuration ||
                updateConfig.updateStartTimestamp ||
                updateConfig.updateMaxTotalClaimableViaVector)
        ) {
            _revert(InvalidUpdate.selector);
        }

        // construct end state of vector with updates applied, then validate
        if (updateConfig.updateStartTimestamp) {
            currentVector.startTimestamp = newVector.startTimestamp == 0
                ? uint48(block.timestamp)
                : newVector.startTimestamp;
        }
        if (updateConfig.updateEndTimestamp) {
            currentVector.endTimestamp = newVector.endTimestamp;
        }
        if (updateConfig.updatePeriodDuration) {
            currentVector.periodDuration = newVector.periodDuration;
        }
        if (updateConfig.updateMaxUserClaimableViaVector) {
            currentVector.maxUserClaimableViaVector = newVector.maxUserClaimableViaVector;
        }
        if (updateConfig.updateMaxTotalClaimableViaVector) {
            currentVector.maxTotalClaimableViaVector = newVector.maxTotalClaimableViaVector;
        }
        if (updateConfig.updateTokenLimitPerTx) {
            currentVector.tokenLimitPerTx = newVector.tokenLimitPerTx;
        }
        if (updateConfig.updatePaymentRecipient) {
            currentVector.paymentRecipient = newVector.paymentRecipient;
        }
        if (updateConfig.updatePrices) {
            currentVector.bytesPerPrice = newVector.bytesPerPrice;
            currentVector.numPrices = newVector.numPrices;
        }

        _validateVectorConfig(currentVector, newPackedPrices, updateConfig.updatePrices);

        // rather than updating entire vector, update per-field
        if (updateConfig.updateStartTimestamp) {
            vector[mechanicVectorId].startTimestamp = currentVector.startTimestamp;
        }
        if (updateConfig.updateEndTimestamp) {
            vector[mechanicVectorId].endTimestamp = currentVector.endTimestamp;
        }
        if (updateConfig.updatePeriodDuration) {
            vector[mechanicVectorId].periodDuration = currentVector.periodDuration;
        }
        if (updateConfig.updateMaxUserClaimableViaVector) {
            vector[mechanicVectorId].maxUserClaimableViaVector = currentVector.maxUserClaimableViaVector;
        }
        if (updateConfig.updateMaxTotalClaimableViaVector) {
            vector[mechanicVectorId].maxTotalClaimableViaVector = currentVector.maxTotalClaimableViaVector;
        }
        if (updateConfig.updateTokenLimitPerTx) {
            vector[mechanicVectorId].tokenLimitPerTx = currentVector.tokenLimitPerTx;
        }
        if (updateConfig.updatePaymentRecipient) {
            vector[mechanicVectorId].paymentRecipient = currentVector.paymentRecipient;
        }
        if (updateConfig.updatePrices) {
            vectorPackedPrices[mechanicVectorId] = newPackedPrices;
            vector[mechanicVectorId].bytesPerPrice = currentVector.bytesPerPrice;
            vector[mechanicVectorId].numPrices = currentVector.numPrices;
        }

        emit DiscreteDutchAuctionUpdated(mechanicVectorId);
    }

    /* solhint-enable code-complexity */

    /**
     * @notice See {IMechanic-processNumMint}
     */
    function processNumMint(
        bytes32 mechanicVectorId,
        address recipient,
        uint32 numToMint,
        address minter,
        MechanicVectorMetadata calldata mechanicVectorMetadata,
        bytes calldata data
    ) external payable onlyMintManager {
        _processMint(mechanicVectorId, recipient, numToMint);
    }

    /**
     * @notice See {IMechanic-processChooseMint}
     */
    function processChooseMint(
        bytes32 mechanicVectorId,
        address recipient,
        uint256[] calldata tokenIds,
        address minter,
        MechanicVectorMetadata calldata mechanicVectorMetadata,
        bytes calldata data
    ) external payable onlyMintManager {
        _processMint(mechanicVectorId, recipient, uint32(tokenIds.length));
    }

    /**
     * @notice Rebate a collector any rebates they're eligible for
     * @param mechanicVectorId Mechanic vector ID
     * @param collector Collector to send rebates to
     */
    function rebateCollector(bytes32 mechanicVectorId, address payable collector) external {
        DutchAuctionVector memory _vector = vector[mechanicVectorId];
        UserPurchaseInfo memory _userPurchaseInfo = userPurchaseInfo[mechanicVectorId][collector];

        if (_vector.currentSupply == 0) {
            _revert(InvalidRebate.selector);
        }
        bool _auctionExhausted = _vector.auctionExhausted;
        if (!_auctionExhausted) {
            _auctionExhausted = _isAuctionExhausted(
                mechanicVectorId,
                _vector.currentSupply,
                _vector.maxTotalClaimableViaVector
            );
            if (_auctionExhausted) {
                vector[mechanicVectorId].auctionExhausted = true;
            }
        }

        // rebate collector at the price:
        // - lowest price sold at if auction is exhausted (vector sold out or collection sold out)
        // - current price otherwise
        uint200 currentPrice = PackedPrices.priceAt(
            vectorPackedPrices[mechanicVectorId],
            _vector.bytesPerPrice,
            _auctionExhausted
                ? _vector.lowestPriceSoldAtIndex
                : _calculatePriceIndex(_vector.startTimestamp, _vector.periodDuration, _vector.numPrices)
        );
        uint200 currentPriceObligation = _userPurchaseInfo.numTokensBought * currentPrice;
        uint200 amountOwed = _userPurchaseInfo.totalPosted - currentPriceObligation;

        if (amountOwed == 0) {
            _revert(CollectorNotOwedRebate.selector);
        }

        userPurchaseInfo[mechanicVectorId][collector].totalPosted = currentPriceObligation;
        userPurchaseInfo[mechanicVectorId][collector].numRebates = _userPurchaseInfo.numRebates + 1;

        (bool sentToCollector, bytes memory data) = collector.call{ value: amountOwed }("");
        if (!sentToCollector) {
            _revert(EtherSendFailed.selector);
        }

        emit DiscreteDutchAuctionCollectorRebate(mechanicVectorId, collector, amountOwed, currentPrice);
    }

    /**
     * @notice Withdraw funds collected through the dynamic period of a dutch auction
     * @param mechanicVectorId Mechanic vector ID
     */
    function withdrawDPPFunds(bytes32 mechanicVectorId) external {
        // all slots are used, so load entire object from storage
        DutchAuctionVector memory _vector = vector[mechanicVectorId];

        if (_vector.payeeRevenueHasBeenWithdrawn || _vector.currentSupply == 0) {
            _revert(InvalidDPPFundsWithdrawl.selector);
        }
        bool _auctionExhausted = _vector.auctionExhausted;
        if (!_auctionExhausted) {
            _auctionExhausted = _isAuctionExhausted(
                mechanicVectorId,
                _vector.currentSupply,
                _vector.maxTotalClaimableViaVector
            );
            if (_auctionExhausted) {
                vector[mechanicVectorId].auctionExhausted = true;
            }
        }
        uint32 priceIndex = _auctionExhausted
            ? _vector.lowestPriceSoldAtIndex
            : _calculatePriceIndex(_vector.startTimestamp, _vector.periodDuration, _vector.numPrices);

        // if any of the following 3 are met, DPP funds can be withdrawn:
        //  - auction is in FPP
        //  - maxTotalClaimableViaVector is reached
        //  - all tokens have been minted on collection (outside of vector knowledge)
        if (!_auctionExhausted && !_auctionIsInFPP(_vector.currentSupply, priceIndex, _vector.numPrices)) {
            _revert(InvalidDPPFundsWithdrawl.selector);
        }

        vector[mechanicVectorId].payeeRevenueHasBeenWithdrawn = true;

        uint200 clearingPrice = PackedPrices.priceAt(
            vectorPackedPrices[mechanicVectorId],
            _vector.bytesPerPrice,
            priceIndex
        );
        uint200 totalRefund = _vector.currentSupply * clearingPrice;
        // precaution: protect against pulling out more than total sales ->
        // guards against bad actor pulling out more via
        // funds collection + rebate price ascending setup (theoretically not possible)
        if (totalRefund > _vector.totalSales) {
            _revert(InvalidDPPFundsWithdrawl.selector);
        }

        uint200 platformFee = (totalRefund * 500) / 10000;
        (bool sentToPaymentRecipient, ) = _vector.paymentRecipient.call{ value: totalRefund - platformFee }("");
        if (!sentToPaymentRecipient) {
            _revert(EtherSendFailed.selector);
        }

        (bool sentToPlatform, ) = (payable(owner())).call{ value: platformFee }("");
        if (!sentToPlatform) {
            _revert(EtherSendFailed.selector);
        }

        emit DiscreteDutchAuctionDPPFundsWithdrawn(
            mechanicVectorId,
            _vector.paymentRecipient,
            clearingPrice,
            _vector.currentSupply
        );
    }

    /**
     * @notice Get how much of a rebate a user is owed
     * @param mechanicVectorId Mechanic vector ID
     * @param user User to get rebate information for
     */
    function getUserInfo(
        bytes32 mechanicVectorId,
        address user
    ) external view returns (uint256 rebate, UserPurchaseInfo memory) {
        DutchAuctionVector memory _vector = vector[mechanicVectorId];
        UserPurchaseInfo memory _userPurchaseInfo = userPurchaseInfo[mechanicVectorId][user];

        if (_vector.currentSupply == 0) {
            return (0, _userPurchaseInfo);
        }

        // rebate collector at the price:
        // - lowest price sold at if vector is sold out or collection is sold out
        // - current price otherwise
        uint200 currentPrice = PackedPrices.priceAt(
            vectorPackedPrices[mechanicVectorId],
            _vector.bytesPerPrice,
            _isAuctionExhausted(mechanicVectorId, _vector.currentSupply, _vector.maxTotalClaimableViaVector)
                ? _vector.lowestPriceSoldAtIndex
                : _calculatePriceIndex(_vector.startTimestamp, _vector.periodDuration, _vector.numPrices)
        );
        uint200 currentPriceObligation = _userPurchaseInfo.numTokensBought * currentPrice;
        uint256 amountOwed = uint256(_userPurchaseInfo.totalPosted - currentPriceObligation);

        return (amountOwed, _userPurchaseInfo);
    }

    /**
     * @notice Get how much is owed to the payment recipient (currently)
     * @param mechanicVectorId Mechanic vector ID
     * @param escrowFunds Amount owed to the creator currently
     * @param amountFinalized Whether this is the actual amount that will be owed (will decrease until the auction ends)
     */
    function getPayeePotentialEscrowedFunds(
        bytes32 mechanicVectorId
    ) external view returns (uint256 escrowFunds, bool amountFinalized) {
        return _getPayeePotentialEscrowedFunds(mechanicVectorId);
    }

    /**
     * @notice Get raw vector data
     * @param mechanicVectorId Mechanic vector ID
     */
    function getRawVector(
        bytes32 mechanicVectorId
    ) external view returns (DutchAuctionVector memory _vector, bytes memory packedPrices) {
        _vector = vector[mechanicVectorId];
        packedPrices = vectorPackedPrices[mechanicVectorId];
    }

    /**
     * @notice Get a vector's full state, including the refund currently owed to the creator and human-readable prices
     * @param mechanicVectorId Mechanic vector ID
     */
    function getVectorState(
        bytes32 mechanicVectorId
    )
        external
        view
        returns (
            DutchAuctionVector memory _vector,
            uint200[] memory prices,
            uint200 currentPrice,
            uint256 payeePotentialEscrowedFunds,
            uint256 collectionSupply,
            uint256 collectionSize,
            bool escrowedFundsAmountFinalized,
            bool auctionExhausted,
            bool auctionInFPP
        )
    {
        _vector = vector[mechanicVectorId];
        (payeePotentialEscrowedFunds, escrowedFundsAmountFinalized) = _getPayeePotentialEscrowedFunds(mechanicVectorId);
        (collectionSupply, collectionSize) = _collectionSupplyAndSize(mechanicVectorId);
        auctionExhausted =
            _vector.auctionExhausted ||
            _isAuctionExhausted(mechanicVectorId, _vector.currentSupply, _vector.maxTotalClaimableViaVector);
        uint32 priceIndex = auctionExhausted
            ? _vector.lowestPriceSoldAtIndex
            : _calculatePriceIndex(_vector.startTimestamp, _vector.periodDuration, _vector.numPrices);
        currentPrice = PackedPrices.priceAt(vectorPackedPrices[mechanicVectorId], _vector.bytesPerPrice, priceIndex);
        auctionInFPP = _auctionIsInFPP(_vector.currentSupply, priceIndex, _vector.numPrices);
        prices = PackedPrices.unpack(vectorPackedPrices[mechanicVectorId], _vector.bytesPerPrice, _vector.numPrices);
    }

    /* solhint-disable no-empty-blocks */
    /**
     * @notice Limit upgrades of contract to DiscreteDutchAuctionMechanic owner
     * @param // New implementation address
     */
    function _authorizeUpgrade(address) internal override onlyOwner {}

    /**
     * @notice Process mint logic common through sequential and collector's choice based mints
     * @param mechanicVectorId Mechanic vector ID
     * @param recipient Mint recipient
     * @param numToMint Number of tokens to mint
     */
    function _processMint(bytes32 mechanicVectorId, address recipient, uint32 numToMint) private {
        DutchAuctionVector memory _vector = vector[mechanicVectorId];
        UserPurchaseInfo memory _userPurchaseInfo = userPurchaseInfo[mechanicVectorId][recipient];

        uint48 newSupply = _vector.currentSupply + numToMint;
        if (
            block.timestamp < _vector.startTimestamp ||
            (block.timestamp > _vector.endTimestamp && _vector.endTimestamp != 0) ||
            (_vector.maxTotalClaimableViaVector != 0 && newSupply > _vector.maxTotalClaimableViaVector) ||
            (_vector.maxUserClaimableViaVector != 0 &&
                _userPurchaseInfo.numTokensBought + numToMint > _vector.maxUserClaimableViaVector) ||
            (_vector.tokenLimitPerTx != 0 && numToMint > _vector.tokenLimitPerTx) ||
            _vector.auctionExhausted
        ) {
            _revert(InvalidMint.selector);
        }

        // can safely cast down here since the value is dependent on array length
        uint32 priceIndex = _calculatePriceIndex(_vector.startTimestamp, _vector.periodDuration, _vector.numPrices);
        uint200 price = PackedPrices.priceAt(vectorPackedPrices[mechanicVectorId], _vector.bytesPerPrice, priceIndex);
        uint200 totalPrice = price * numToMint;

        if (totalPrice > msg.value) {
            _revert(InvalidPaymentAmount.selector);
        }

        // update lowestPriceSoldAtindex, currentSupply, totalSales and user purchase info
        if (_vector.lowestPriceSoldAtIndex != priceIndex) {
            vector[mechanicVectorId].lowestPriceSoldAtIndex = priceIndex;
        }
        vector[mechanicVectorId].currentSupply = newSupply;
        vector[mechanicVectorId].totalSales = _vector.totalSales + totalPrice;
        _userPurchaseInfo.numTokensBought += numToMint;
        _userPurchaseInfo.totalPosted += uint200(msg.value); // if collector sent more, let them collect the difference
        userPurchaseInfo[mechanicVectorId][recipient] = _userPurchaseInfo;

        if (_vector.payeeRevenueHasBeenWithdrawn) {
            // send ether value to payment recipient
            uint200 platformFee = (totalPrice * 500) / 10000;
            (bool sentToPaymentRecipient, ) = _vector.paymentRecipient.call{ value: totalPrice - platformFee }("");
            if (!sentToPaymentRecipient) {
                _revert(EtherSendFailed.selector);
            }

            (bool sentToPlatform, ) = (payable(owner())).call{ value: platformFee }("");
            if (!sentToPlatform) {
                _revert(EtherSendFailed.selector);
            }
        }

        emit DiscreteDutchAuctionMint(mechanicVectorId, recipient, price, numToMint);
    }

    /**
     * @notice Validate a dutch auction vector
     * @param _vector Dutch auction vector being validated
     */
    function _validateVectorConfig(
        DutchAuctionVector memory _vector,
        bytes memory packedPrices,
        bool validateIndividualPrices
    ) private {
        if (
            _vector.periodDuration == 0 ||
            _vector.paymentRecipient == address(0) ||
            _vector.numPrices < 2 ||
            _vector.bytesPerPrice > 32
        ) {
            _revert(InvalidVectorConfig.selector);
        }
        if (_vector.endTimestamp != 0) {
            // allow the last period to be truncated
            if (_vector.startTimestamp + ((_vector.numPrices - 1) * _vector.periodDuration) >= _vector.endTimestamp) {
                _revert(InvalidVectorConfig.selector);
            }
        }
        if (validateIndividualPrices) {
            if (_vector.bytesPerPrice * _vector.numPrices != packedPrices.length) {
                _revert(InvalidVectorConfig.selector);
            }
            uint200[] memory prices = PackedPrices.unpack(packedPrices, _vector.bytesPerPrice, _vector.numPrices);
            uint200 lastPrice = prices[0];
            uint256 numPrices = uint256(_vector.numPrices); // cast up into uint256 for gas savings on array check
            for (uint256 i = 1; i < _vector.numPrices; i++) {
                if (prices[i] >= lastPrice) {
                    _revert(InvalidVectorConfig.selector);
                }
                lastPrice = prices[i];
            }
        }
    }

    /**
     * @notice Get how much is owed to the payment recipient currently
     * @param mechanicVectorId Mechanic vector ID
     * @return escrowFunds + isFinalAmount
     */
    function _getPayeePotentialEscrowedFunds(bytes32 mechanicVectorId) private view returns (uint256, bool) {
        DutchAuctionVector memory _vector = vector[mechanicVectorId];

        if (_vector.payeeRevenueHasBeenWithdrawn) {
            // escrowed funds have already been withdrawn / finalized
            return (0, true);
        }
        if (_vector.currentSupply == 0) {
            return (0, false);
        }

        bool auctionExhausted = _vector.auctionExhausted ||
            _isAuctionExhausted(mechanicVectorId, _vector.currentSupply, _vector.maxTotalClaimableViaVector);
        uint32 priceIndex = auctionExhausted
            ? _vector.lowestPriceSoldAtIndex
            : _calculatePriceIndex(_vector.startTimestamp, _vector.periodDuration, _vector.numPrices);
        uint200 potentialClearingPrice = PackedPrices.priceAt(
            vectorPackedPrices[mechanicVectorId],
            _vector.bytesPerPrice,
            priceIndex
        );

        // escrowFunds is only final if auction is exhausted or in FPP
        return (
            (uint256(_vector.currentSupply * potentialClearingPrice) * 9500) / 10000, // 95%
            (auctionExhausted || _auctionIsInFPP(_vector.currentSupply, priceIndex, _vector.numPrices))
        );
    }

    /**
     * @notice Return true if an auction has reached its max supply or if the underlying collection has
     * @param mechanicVectorId Mechanic vector ID
     * @param currentSupply Current supply minted through the vector
     * @param maxTotalClaimableViaVector Max claimable via the vector
     */
    function _isAuctionExhausted(
        bytes32 mechanicVectorId,
        uint48 currentSupply,
        uint48 maxTotalClaimableViaVector
    ) private view returns (bool) {
        if (maxTotalClaimableViaVector != 0 && currentSupply >= maxTotalClaimableViaVector) return true;
        (uint256 supply, uint256 size) = _collectionSupplyAndSize(mechanicVectorId);
        return size != 0 && supply >= size;
    }

    /**
     * @notice Returns a collection's current supply
     * @param mechanicVectorId Mechanic vector ID
     */
    function _collectionSupplyAndSize(bytes32 mechanicVectorId) private view returns (uint256 supply, uint256 size) {
        MechanicVectorMetadata memory metadata = _getMechanicVectorMetadata(mechanicVectorId);
        if (metadata.contractAddress == address(0)) {
            revert("Vector doesn't exist");
        }
        if (metadata.isEditionBased) {
            IEditionCollection.EditionDetails memory edition = IEditionCollection(metadata.contractAddress)
                .getEditionDetails(metadata.editionId);
            supply = edition.supply;
            size = edition.size;
        } else {
            // supply holds a tighter constraint (no burns), some old contracts don't have it
            try IERC721GeneralSupplyMetadata(metadata.contractAddress).supply() returns (uint256 _supply) {
                supply = _supply;
            } catch {
                supply = IERC721GeneralSupplyMetadata(metadata.contractAddress).totalSupply();
            }
            size = IERC721GeneralSupplyMetadata(metadata.contractAddress).limitSupply();
        }
    }

    /**
     * @notice Calculate what price the dutch auction is at
     * @param startTimestamp Auction start time
     * @param periodDuration Time per period
     * @param numPrices Number of prices
     */
    function _calculatePriceIndex(
        uint48 startTimestamp,
        uint32 periodDuration,
        uint32 numPrices
    ) private view returns (uint32) {
        if (block.timestamp <= startTimestamp) {
            return 0;
        }
        uint256 hypotheticalIndex = uint256((block.timestamp - startTimestamp) / periodDuration);
        if (hypotheticalIndex >= numPrices) {
            return numPrices - 1;
        } else {
            return uint32(hypotheticalIndex);
        }
    }

    /**
     * @notice Return if the auction is in the fixed price period
     * @param currentSupply Current supply of tokens minted via mechanic vector
     * @param priceIndex Index of price prices
     * @param numPrices Number of prices
     */
    function _auctionIsInFPP(uint48 currentSupply, uint256 priceIndex, uint32 numPrices) private pure returns (bool) {
        return currentSupply > 0 && priceIndex == numPrices - 1;
    }
}

File 2 of 20 : IEditionCollection.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

/**
 * @notice Interfaces with the details of editions on collections
 * @author highlight.xyz
 */
interface IEditionCollection {
    /**
     * @notice Edition details
     * @param name Edition name
     * @param size Edition size
     * @param supply Total number of tokens minted on edition
     * @param initialTokenId Token id of first token minted in edition
     */
    struct EditionDetails {
        string name;
        uint256 size;
        uint256 supply;
        uint256 initialTokenId;
    }

    /**
     * @notice Get the edition a token belongs to
     * @param tokenId The token id of the token
     */
    function getEditionId(uint256 tokenId) external view returns (uint256);

    /**
     * @notice Get an edition's details
     * @param editionId Edition id
     */
    function getEditionDetails(uint256 editionId) external view returns (EditionDetails memory);

    /**
     * @notice Get the details and uris of a number of editions
     * @param editionIds List of editions to get info for
     */
    function getEditionsDetailsAndUri(
        uint256[] calldata editionIds
    ) external view returns (EditionDetails[] memory, string[] memory uris);
}

File 3 of 20 : IERC721GeneralSupplyMetadata.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

/**
 * @notice Get a Series based collection's supply metadata
 * @author highlight.xyz
 */
interface IERC721GeneralSupplyMetadata {
    /**
     * @notice Get a series based collection's supply, burned tokens notwithstanding
     */
    function supply() external view returns (uint256);

    /**
     * @notice Get a series based collection's total supply
     */
    function totalSupply() external view returns (uint256);

    /**
     * @notice Get a series based collection's supply cap
     */
    function limitSupply() external view returns (uint256);
}

File 4 of 20 : PackedPrices.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

/**
 * @notice Util library to pack, unpack, and access packed prices data
 * @author highlight.xyz
 */
library PackedPrices {
    /**
     * @notice Return unpacked prices
     * @dev Assume length validations are met
     */
    function unpack(
        bytes memory packedPrices,
        uint8 bytesPerPrice,
        uint32 numPrices
    ) internal view returns (uint200[] memory prices) {
        prices = new uint200[](numPrices);

        for (uint32 i = 0; i < numPrices; i++) {
            prices[i] = priceAt(packedPrices, bytesPerPrice, i);
        }
    }

    /**
     * @notice Return price at an index
     * @dev Assume length validations are met
     */
    function priceAt(bytes memory packedPrices, uint8 bytesPerPrice, uint32 index) internal view returns (uint200) {
        uint256 readIndex = index * bytesPerPrice;
        uint256 price;

        assembly {
            // Load 32 bytes starting from the correct position in packedPrices
            price := mload(add(packedPrices, add(32, readIndex)))
        }

        return uint200(price >> (256 - (bytesPerPrice * 8)));
    }
}

File 5 of 20 : MechanicMintManagerClientUpgradeable.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "./interfaces/IMechanic.sol";
import "./interfaces/IMechanicMintManagerView.sol";

/**
 * @notice MintManager client, to be used by mechanic contracts
 * @author highlight.xyz
 */
abstract contract MechanicMintManagerClientUpgradeable is OwnableUpgradeable, IMechanic {
    /**
     * @notice Throw when caller is not MintManager
     */
    error NotMintManager();

    /**
     * @notice Throw when input mint manager is invalid
     */
    error InvalidMintManager();

    /**
     * @notice Mint manager
     */
    address public mintManager;

    /**
     * @notice Enforce caller to be mint manager
     */
    modifier onlyMintManager() {
        if (msg.sender != mintManager) {
            _revert(NotMintManager.selector);
        }
        _;
    }

    /**
     * @notice Update the mint manager
     * @param _mintManager New mint manager
     */
    function updateMintManager(address _mintManager) external onlyOwner {
        if (_mintManager == address(0)) {
            _revert(InvalidMintManager.selector);
        }

        mintManager = _mintManager;
    }

    /**
     * @notice Initialize mechanic mint manager client
     * @param _mintManager Mint manager address
     * @param platform Platform owning the contract
     */
    function __MechanicMintManagerClientUpgradeable_initialize(
        address _mintManager,
        address platform
    ) internal onlyInitializing {
        __Ownable_init();
        mintManager = _mintManager;
        _transferOwnership(platform);
    }

    /**
     * @notice Get a mechanic mint vector's metadata
     * @param mechanicVectorId Mechanic vector ID
     */
    function _getMechanicVectorMetadata(
        bytes32 mechanicVectorId
    ) internal view returns (MechanicVectorMetadata memory) {
        return IMechanicMintManagerView(mintManager).mechanicVectorMetadata(mechanicVectorId);
    }

    function _isPlatformExecutor(address _executor) internal view returns (bool) {
        return IMechanicMintManagerView(mintManager).isPlatformExecutor(_executor);
    }

    /**
     * @dev For more efficient reverts.
     */
    function _revert(bytes4 errorSelector) internal pure {
        assembly {
            mstore(0x00, errorSelector)
            revert(0x00, 0x04)
        }
    }
}

File 6 of 20 : IMechanicMintManagerView.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

import "./IMechanicData.sol";

interface IMechanicMintManagerView is IMechanicData {
    /**
     * @notice Get a mechanic vector's metadata
     * @param mechanicVectorId Global mechanic vector ID
     */
    function mechanicVectorMetadata(bytes32 mechanicVectorId) external view returns (MechanicVectorMetadata memory);

    /**
     * @notice Returns whether an address is a valid platform executor
     * @param _executor Address to be checked
     */
    function isPlatformExecutor(address _executor) external view returns (bool);
}

File 7 of 20 : IMechanic.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

import "./IMechanicData.sol";

/**
 * @notice Interface that mint mechanics are forced to adhere to,
 *         provided they support both collector's choice and sequential minting
 */
interface IMechanic is IMechanicData {
    /**
     * @notice Create a mechanic vector on the mechanic
     * @param mechanicVectorId Global mechanic vector ID
     * @param vectorData Mechanic vector data
     */
    function createVector(bytes32 mechanicVectorId, bytes calldata vectorData) external;

    /**
     * @notice Process a sequential mint
     * @param mechanicVectorId Global ID identifying mint vector, using this mechanic
     * @param recipient Mint recipient
     * @param numToMint Number of tokens to mint
     * @param minter Account that called mint on the MintManager
     * @param mechanicVectorMetadata Mechanic vector metadata
     * @param data Custom data that can be deserialized and processed according to implementation
     */
    function processNumMint(
        bytes32 mechanicVectorId,
        address recipient,
        uint32 numToMint,
        address minter,
        MechanicVectorMetadata calldata mechanicVectorMetadata,
        bytes calldata data
    ) external payable;

    /**
     * @notice Process a collector's choice mint
     * @param mechanicVectorId Global ID identifying mint vector, using this mechanic
     * @param recipient Mint recipient
     * @param tokenIds IDs of tokens to mint
     * @param minter Account that called mint on the MintManager
     * @param mechanicVectorMetadata Mechanic vector metadata
     * @param data Custom data that can be deserialized and processed according to implementation
     */
    function processChooseMint(
        bytes32 mechanicVectorId,
        address recipient,
        uint256[] calldata tokenIds,
        address minter,
        MechanicVectorMetadata calldata mechanicVectorMetadata,
        bytes calldata data
    ) external payable;
}

File 8 of 20 : UUPSUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;

import "../../interfaces/draft-IERC1822.sol";
import "../ERC1967/ERC1967Upgrade.sol";

/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is IERC1822Proxiable, ERC1967Upgrade {
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be
     * callable on the implementing contract but not through proxies.
     */
    modifier notDelegated() {
        require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall");
        _;
    }

    /**
     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
     */
    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {
        return _IMPLEMENTATION_SLOT;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeTo(address newImplementation) public virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;
}

File 9 of 20 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/structs/EnumerableSet.sol)
// This file was procedurally generated from scripts/generate/templates/EnumerableSet.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```solidity
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 *
 * [WARNING]
 * ====
 * Trying to delete such a structure from storage will likely result in data corruption, rendering the structure
 * unusable.
 * See https://github.com/ethereum/solidity/pull/11843[ethereum/solidity#11843] for more info.
 *
 * In order to clean an EnumerableSet, you can either remove all elements one by one or create a fresh instance using an
 * array of EnumerableSet.
 * ====
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;
        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping(bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) {
            // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            if (lastIndex != toDeleteIndex) {
                bytes32 lastValue = set._values[lastIndex];

                // Move the last value to the index where the value to delete is
                set._values[toDeleteIndex] = lastValue;
                // Update the index for the moved value
                set._indexes[lastValue] = valueIndex; // Replace lastValue's index to valueIndex
            }

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        return set._values[index];
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function _values(Set storage set) private view returns (bytes32[] memory) {
        return set._values;
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(Bytes32Set storage set) internal view returns (bytes32[] memory) {
        bytes32[] memory store = _values(set._inner);
        bytes32[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(AddressSet storage set) internal view returns (address[] memory) {
        bytes32[] memory store = _values(set._inner);
        address[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

    /**
     * @dev Returns the value stored at position `index` in the set. O(1).
     *
     * Note that there are no guarantees on the ordering of values inside the
     * array, and it may change when more values are added or removed.
     *
     * Requirements:
     *
     * - `index` must be strictly less than {length}.
     */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }

    /**
     * @dev Return the entire set in an array
     *
     * WARNING: This operation will copy the entire storage to memory, which can be quite expensive. This is designed
     * to mostly be used by view accessors that are queried without any gas fees. Developers should keep in mind that
     * this function has an unbounded cost, and using it as part of a state-changing function may render the function
     * uncallable if the set grows to a point where copying to memory consumes too much gas to fit in a block.
     */
    function values(UintSet storage set) internal view returns (uint256[] memory) {
        bytes32[] memory store = _values(set._inner);
        uint256[] memory result;

        /// @solidity memory-safe-assembly
        assembly {
            result := store
        }

        return result;
    }
}

File 10 of 20 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

File 11 of 20 : IMechanicData.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.10;

/**
 * @notice Defines a mechanic's metadata on the MintManager
 */
interface IMechanicData {
    /**
     * @notice A mechanic's metadata
     * @param contractAddress Collection contract address
     * @param editionId Edition ID if the collection is edition based
     * @param mechanic Address of mint mechanic contract
     * @param isEditionBased True if collection is edition based
     * @param isChoose True if collection uses a collector's choice mint paradigm
     * @param paused True if mechanic vector is paused
     */
    struct MechanicVectorMetadata {
        address contractAddress;
        uint96 editionId;
        address mechanic;
        bool isEditionBased;
        bool isChoose;
        bool paused;
    }
}

File 12 of 20 : ERC1967Upgrade.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;

import "../beacon/IBeacon.sol";
import "../../interfaces/IERC1967.sol";
import "../../interfaces/draft-IERC1822.sol";
import "../../utils/Address.sol";
import "../../utils/StorageSlot.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 */
abstract contract ERC1967Upgrade is IERC1967 {
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlot.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822Proxiable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlot.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlot.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlot.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(Address.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            Address.isContract(IBeacon(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlot.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            Address.functionDelegateCall(IBeacon(newBeacon).implementation(), data);
        }
    }
}

File 13 of 20 : draft-IERC1822.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822Proxiable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}

File 14 of 20 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.4) (utils/Context.sol)

pragma solidity ^0.8.0;
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

File 15 of 20 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

import "../../utils/AddressUpgradeable.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized != type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}

File 16 of 20 : IBeacon.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

File 17 of 20 : IERC1967.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
 *
 * _Available since v4.8.3._
 */
interface IERC1967 {
    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Emitted when the beacon is changed.
     */
    event BeaconUpgraded(address indexed beacon);
}

File 18 of 20 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 19 of 20 : StorageSlot.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlot {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

File 20 of 20 : AddressUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, 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) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or 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 {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "mode": "z"
  },
  "outputSelection": {
    "*": {
      "*": [
        "abi"
      ]
    }
  },
  "detectMissingLibraries": false,
  "forceEVMLA": false,
  "enableEraVMExtensions": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"CollectorNotOwedRebate","type":"error"},{"inputs":[],"name":"EtherSendFailed","type":"error"},{"inputs":[],"name":"InvalidDPPFundsWithdrawl","type":"error"},{"inputs":[],"name":"InvalidMint","type":"error"},{"inputs":[],"name":"InvalidMintManager","type":"error"},{"inputs":[],"name":"InvalidPaymentAmount","type":"error"},{"inputs":[],"name":"InvalidRebate","type":"error"},{"inputs":[],"name":"InvalidUpdate","type":"error"},{"inputs":[],"name":"InvalidVectorConfig","type":"error"},{"inputs":[],"name":"NotMintManager","type":"error"},{"inputs":[],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"VectorAlreadyCreated","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"collector","type":"address"},{"indexed":false,"internalType":"uint200","name":"rebate","type":"uint200"},{"indexed":false,"internalType":"uint200","name":"currentPricePerNft","type":"uint200"}],"name":"DiscreteDutchAuctionCollectorRebate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"}],"name":"DiscreteDutchAuctionCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"paymentRecipient","type":"address"},{"indexed":false,"internalType":"uint200","name":"clearingPrice","type":"uint200"},{"indexed":false,"internalType":"uint48","name":"currentSupply","type":"uint48"}],"name":"DiscreteDutchAuctionDPPFundsWithdrawn","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint200","name":"pricePerToken","type":"uint200"},{"indexed":false,"internalType":"uint48","name":"numMinted","type":"uint48"}],"name":"DiscreteDutchAuctionMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"}],"name":"DiscreteDutchAuctionUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"internalType":"bytes","name":"vectorData","type":"bytes"}],"name":"createVector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"}],"name":"getPayeePotentialEscrowedFunds","outputs":[{"internalType":"uint256","name":"escrowFunds","type":"uint256"},{"internalType":"bool","name":"amountFinalized","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"}],"name":"getRawVector","outputs":[{"components":[{"internalType":"uint48","name":"startTimestamp","type":"uint48"},{"internalType":"uint48","name":"endTimestamp","type":"uint48"},{"internalType":"uint32","name":"periodDuration","type":"uint32"},{"internalType":"uint32","name":"maxUserClaimableViaVector","type":"uint32"},{"internalType":"uint48","name":"maxTotalClaimableViaVector","type":"uint48"},{"internalType":"uint48","name":"currentSupply","type":"uint48"},{"internalType":"uint32","name":"lowestPriceSoldAtIndex","type":"uint32"},{"internalType":"uint32","name":"tokenLimitPerTx","type":"uint32"},{"internalType":"uint32","name":"numPrices","type":"uint32"},{"internalType":"address payable","name":"paymentRecipient","type":"address"},{"internalType":"uint240","name":"totalSales","type":"uint240"},{"internalType":"uint8","name":"bytesPerPrice","type":"uint8"},{"internalType":"bool","name":"auctionExhausted","type":"bool"},{"internalType":"bool","name":"payeeRevenueHasBeenWithdrawn","type":"bool"}],"internalType":"struct DiscreteDutchAuctionMechanic.DutchAuctionVector","name":"_vector","type":"tuple"},{"internalType":"bytes","name":"packedPrices","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"internalType":"address","name":"user","type":"address"}],"name":"getUserInfo","outputs":[{"internalType":"uint256","name":"rebate","type":"uint256"},{"components":[{"internalType":"uint32","name":"numTokensBought","type":"uint32"},{"internalType":"uint24","name":"numRebates","type":"uint24"},{"internalType":"uint200","name":"totalPosted","type":"uint200"}],"internalType":"struct DiscreteDutchAuctionMechanic.UserPurchaseInfo","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"}],"name":"getVectorState","outputs":[{"components":[{"internalType":"uint48","name":"startTimestamp","type":"uint48"},{"internalType":"uint48","name":"endTimestamp","type":"uint48"},{"internalType":"uint32","name":"periodDuration","type":"uint32"},{"internalType":"uint32","name":"maxUserClaimableViaVector","type":"uint32"},{"internalType":"uint48","name":"maxTotalClaimableViaVector","type":"uint48"},{"internalType":"uint48","name":"currentSupply","type":"uint48"},{"internalType":"uint32","name":"lowestPriceSoldAtIndex","type":"uint32"},{"internalType":"uint32","name":"tokenLimitPerTx","type":"uint32"},{"internalType":"uint32","name":"numPrices","type":"uint32"},{"internalType":"address payable","name":"paymentRecipient","type":"address"},{"internalType":"uint240","name":"totalSales","type":"uint240"},{"internalType":"uint8","name":"bytesPerPrice","type":"uint8"},{"internalType":"bool","name":"auctionExhausted","type":"bool"},{"internalType":"bool","name":"payeeRevenueHasBeenWithdrawn","type":"bool"}],"internalType":"struct DiscreteDutchAuctionMechanic.DutchAuctionVector","name":"_vector","type":"tuple"},{"internalType":"uint200[]","name":"prices","type":"uint200[]"},{"internalType":"uint200","name":"currentPrice","type":"uint200"},{"internalType":"uint256","name":"payeePotentialEscrowedFunds","type":"uint256"},{"internalType":"uint256","name":"collectionSupply","type":"uint256"},{"internalType":"uint256","name":"collectionSize","type":"uint256"},{"internalType":"bool","name":"escrowedFundsAmountFinalized","type":"bool"},{"internalType":"bool","name":"auctionExhausted","type":"bool"},{"internalType":"bool","name":"auctionInFPP","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_mintManager","type":"address"},{"internalType":"address","name":"platform","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"mintManager","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"minter","type":"address"},{"components":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint96","name":"editionId","type":"uint96"},{"internalType":"address","name":"mechanic","type":"address"},{"internalType":"bool","name":"isEditionBased","type":"bool"},{"internalType":"bool","name":"isChoose","type":"bool"},{"internalType":"bool","name":"paused","type":"bool"}],"internalType":"struct IMechanicData.MechanicVectorMetadata","name":"mechanicVectorMetadata","type":"tuple"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"processChooseMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint32","name":"numToMint","type":"uint32"},{"internalType":"address","name":"minter","type":"address"},{"components":[{"internalType":"address","name":"contractAddress","type":"address"},{"internalType":"uint96","name":"editionId","type":"uint96"},{"internalType":"address","name":"mechanic","type":"address"},{"internalType":"bool","name":"isEditionBased","type":"bool"},{"internalType":"bool","name":"isChoose","type":"bool"},{"internalType":"bool","name":"paused","type":"bool"}],"internalType":"struct IMechanicData.MechanicVectorMetadata","name":"mechanicVectorMetadata","type":"tuple"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"processNumMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"internalType":"address payable","name":"collector","type":"address"}],"name":"rebateCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mintManager","type":"address"}],"name":"updateMintManager","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"},{"components":[{"internalType":"uint48","name":"startTimestamp","type":"uint48"},{"internalType":"uint48","name":"endTimestamp","type":"uint48"},{"internalType":"uint32","name":"periodDuration","type":"uint32"},{"internalType":"uint32","name":"maxUserClaimableViaVector","type":"uint32"},{"internalType":"uint48","name":"maxTotalClaimableViaVector","type":"uint48"},{"internalType":"uint48","name":"currentSupply","type":"uint48"},{"internalType":"uint32","name":"lowestPriceSoldAtIndex","type":"uint32"},{"internalType":"uint32","name":"tokenLimitPerTx","type":"uint32"},{"internalType":"uint32","name":"numPrices","type":"uint32"},{"internalType":"address payable","name":"paymentRecipient","type":"address"},{"internalType":"uint240","name":"totalSales","type":"uint240"},{"internalType":"uint8","name":"bytesPerPrice","type":"uint8"},{"internalType":"bool","name":"auctionExhausted","type":"bool"},{"internalType":"bool","name":"payeeRevenueHasBeenWithdrawn","type":"bool"}],"internalType":"struct DiscreteDutchAuctionMechanic.DutchAuctionVector","name":"newVector","type":"tuple"},{"internalType":"bytes","name":"newPackedPrices","type":"bytes"},{"components":[{"internalType":"bool","name":"updateStartTimestamp","type":"bool"},{"internalType":"bool","name":"updateEndTimestamp","type":"bool"},{"internalType":"bool","name":"updatePeriodDuration","type":"bool"},{"internalType":"bool","name":"updateMaxUserClaimableViaVector","type":"bool"},{"internalType":"bool","name":"updateMaxTotalClaimableViaVector","type":"bool"},{"internalType":"bool","name":"updateTokenLimitPerTx","type":"bool"},{"internalType":"bool","name":"updatePaymentRecipient","type":"bool"},{"internalType":"bool","name":"updatePrices","type":"bool"}],"internalType":"struct DiscreteDutchAuctionMechanic.DutchAuctionVectorUpdateConfig","name":"updateConfig","type":"tuple"}],"name":"updateVector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"},{"internalType":"address","name":"","type":"address"}],"name":"userPurchaseInfo","outputs":[{"internalType":"uint32","name":"numTokensBought","type":"uint32"},{"internalType":"uint24","name":"numRebates","type":"uint24"},{"internalType":"uint200","name":"totalPosted","type":"uint200"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"mechanicVectorId","type":"bytes32"}],"name":"withdrawDPPFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

9c4d535b0000000000000000000000000000000000000000000000000000000000000000010004f724110e56403aedfa6aae5203e7b53cc55cc68567b8156d7f2a2878df00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x0004000000000002001e0000000000020000006003100270000004730530019700030000005103550002000000010355000004730030019d0000000100200190000000000200041600000001030000390000009e0000c13d0000008003000039000000400030043f000000040050008c0000087c0000413d000000000301043b000000e004300270000004750040009c000000240610037000000004031003700000006607000039000003720000613d000004760040009c0000052f0000613d000004770040009c00000065080000390000000009000411000004340000613d000004780040009c000003570000613d000004790040009c000000ab0000613d0000047a0040009c000001680000613d0000047b0040009c000000cc0000613d0000047c0040009c000003940000613d0000047d0040009c000001420000613d0000047e0040009c000001160000613d0000047f0040009c0000050c0000613d000004800040009c0000014e0000613d000004810040009c000005260000613d000004820040009c000003320000613d000004830040009c000004030000613d000004840040009c000003860000613d000004850040009c000001260000613d000004860040009c000001c70000613d000004870040009c000001520000613d000004880040009c0000087c0000c13d000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b001700000001001d11c90c840000040f000100470000003d000011040000013d000000400200043d000004d50020009c000000c80000813d0000000005020019001600000002001d000001c002200039000000400020043f000000a002500039000000000301041a000000d0043002700000000000420435000000a0023002700000048a02200197000000800450003900000000002404350000008002300270000004730220019700000060045000390000000000240435000000600230027000000473022001970000004004500039000000000024043500000030023002700000048a02200197000000200450003900000000002404350000048a0230019700000000002504350000000102100039000000000202041a000001200350003900000060042002700000000000430435000000c00350003900000473042001970000000000430435000000400320027000000473033001970000010004500039000000000034043500000020022002700000047302200197000000e00350003900000000002304350000000202100039000000000202041a00000180035000390000048b0020009c0000000004000039000000010400203900000000004304350000014003500039000004c6042001970000000000430435000000f002200270000000ff0220018f000001600350003900000000002304350000000301100039000000000101041a000000ff001001900000000001000039000000010100c039000001a00250003900000000001204350000001701000029000000000010043f00000067010000390001008e0000003d000011130000013d11c90c450000040f001500000001001d000000400200043d001700000002001d000000160100002911c90a1b0000040f000001e0010000390000001703000029000001c0023000390000000000120435000001e002300039000000150100002911c90a620000040f00000017030000290000000002310049000001240000013d000000a001000039000000400010043f000000000002004b0000087c0000c13d0000000001000410000000800010043f000001400000044300000160001004430000002001000039000001000010044300000120003004430000047401000041000011ca0001042e000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b001700000001001d000004890010009c0000087c0000213d000100b50000003d0000113b0000013d000004b70200004111c910ba0000040f001604890010019b0000000001000410000000160010006c0000000001000039000000010100c03911c90ae90000040f000004ba01000041000000000101041a0000048901100197000000160010006c0000000001000039000000010100603911c90af80000040f11c90abb0000040f000000400400043d000004cc0040009c000005df0000a13d000004d201000041000000000010043f0000004101000039000007a20000013d000000440050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b001700000001001d000004890010009c0000087c0000213d000000000106043b001600000001001d000004890010009c0000087c0000213d0000000001000415001500000001001d000000000300041a0000ffff00300190000000ed0000613d0000000001000410001800000001001d0000800201000039001400000003001d00000024030000390000000004000415000000180440008a0000000504400210000004c10200004111c910ba0000040f0000001403000029000000ff0230018f000000010020008c000006c70000c13d000000000001004b000006c70000c13d0000ff0000300190000001000100008a000000000113016f00000001011001bf000000000010041b0000069a0000c13d0000ffff0200008a000000000121016f00000100011001bf000000000010041b000000000100041111c90acf0000040f0000006502000039000000000102041a000004b40110019700000017011001af000000000012041b000000160100002911c90acf0000040f0000ff010100008a000000000200041a000000000112016f000000000010041b0000000103000039000000400100043d0000000000310435000004730010009c000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f000004c4011001c70000800d02000039000004c50400004111c910d80000040f0000000100200190000006ab0000c13d0000087c0000013d000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b11c90e1a0000040f000000000002004b0000000002000039000000010200c039000000400300043d00000020043000390000000000240435000000000013043500000040020000390000000001030019000006b10000013d000000000002004b0000087c0000c13d000000000105001911c90aae0000040f001700000002001d000000000010043f0000006801000039000000200010043f000101300000003d000011c50000013d00000017020000290000048902200197000000000020043f000101350000003d0000118b0000013d000000000201041a000000400100043d00000040031000390000003804200270000000000043043500000020032002700000048f0330019700000020041000390000000000340435000004730220019700000000002104350000006002000039000006b10000013d000000000002004b0000087c0000c13d000101460000003d0000113b0000013d000004b70200004111c910ba0000040f00000489011001970000000002000410000000000012004b000005d10000c13d000004ba010000410000052b0000013d000000000002004b0000087c0000c13d000000000108041a0000052a0000013d000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b001700000001001d000004890010009c0000087c0000213d11c90abb0000040f0000001701000029000000000001004b000006060000c13d000000400100043d00000064021000390000049903000041000000000032043500000044021000390000049a03000041000000000032043500000024021000390000002603000039000006d00000013d000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000203043b0000000001000415001600000001001d001700000002001d000000000020043f000000200070043f000101740000003d000011c50000013d11c90be60000040f0000000005010019000001a0011000390000000001010433000000000001004b000001c50000c13d000000a00450003900000000010404330000048a01100198000001c50000613d00000000020004150000001a0220008a000000050220021000000180035000390000000003030433000000000003004b001400000004001d001500000005001d0000019d0000c13d000000800250003900000000020204330000048a02200197000000010220008a000000000012004b000001920000413d000000170100002911c90e930000040f000000010220008a000000000012004b000007550000813d000101940000003d000011040000013d0000000201100039000000000201041a0000048b022001970000048c022001c7000000000021041b0000000002000415000000190220008a00000005022002100000001505000029000000c00150003900000000010104330000000502200270000004730210019d0000047301100197001300000001001d000101a50000003d000011040000013d0000000301100039000001000200008a000000000301041a000000000223016f00000001022001bf000101ac0000003d000011790000013d000000150200002900000160022000390000000002020433001200000002001d11c90c450000040f0000001202000029000000ff0220018f000000130300002911c910780000040f00000015050000290000000004010019000000140100002900000000010104330000048a01100198000001be0000613d0000048d02100129000000000024004b0000079f0000213d00000000024100a90000048d0120019700000140035000390000000003030433000004c603300197000000000031004b000006b30000a13d000004cb01000041000008440000013d000003040050008c0000087c0000413d000000000002004b0000087c0000c13d000000000203043b001700000002001d000001e402100370000000000202043b0000049c0020009c0000087c0000213d0000002303200039000000000053004b0000087c0000813d001500040020003d0000001501100360000000000101043b001600000001001d0000049c0010009c0000087c0000213d0000002402200039001400000002001d0000001601200029000000000051004b0000087c0000213d000000170100002911c90fbb0000040f000000000101043300000489021001970000000001000411000000000012004b000006d80000c13d0000001701000029000101e90000003d000011330000013d0000000202000367001200000001001d000000a00110003900000000010104330000048a0010019800110244002003740010028400200374000002e40320037000130000000203530000020401200370000f0000000303530000073a0000c13d000000000101043b000000000001004b0000000002000039000000010200c039000000000021004b0000087c0000c13d000000000001004b0000020e0000613d000000130100035f0000002401100370000000000101043b0000048a0010009c0000087c0000213d000000000001004b0000020c0000c13d0000800b01000039000000040300003900000000040004150000001e0440008a0000000504400210000004a10200004111c910ba0000040f0000048a0110019700000012020000290000000000120435000000130100035f0000022401100370000102120000003d000010e70000013d0000087c0000c13d000000000001004b0000001201000029000e00200010003d0000021e0000613d000000130100035f0000004401100370000000000101043b0000048a0010009c0000087c0000213d0000000e020000290000000000120435000000110100035f000102210000003d000010e70000013d0000087c0000c13d000000000001004b0000001201000029001100400010003d0000022d0000613d000000130100035f0000006401100370000000000101043b000004730010009c0000087c0000213d00000011020000290000000000120435000000130100035f0000026401100370000102310000003d000010e70000013d0000087c0000c13d000000000001004b0000001201000029000d00600010003d0000023d0000613d000000130100035f0000008401100370000000000101043b000004730010009c0000087c0000213d0000000d020000290000000000120435000000100100035f000102400000003d000010e70000013d0000087c0000c13d000000000001004b0000001201000029001000800010003d0000024c0000613d000000130100035f000000a401100370000000000101043b0000048a0010009c0000087c0000213d00000010020000290000000000120435000000130100035f000002a401100370000102500000003d000010e70000013d0000087c0000c13d000000000001004b0000001201000029000c00e00010003d0000025c0000613d000000130100035f0000010401100370000000000101043b000004730010009c0000087c0000213d0000000c020000290000000000120435000000130100035f000002c401100370000102600000003d000010e70000013d0000087c0000c13d000000000001004b0000001201000029000b01200010003d0000026c0000613d000000130100035f0000014401100370000000000101043b000004890010009c0000087c0000213d0000000b0200002900000000001204350000000f0100035f000000000201043b000000000002004b0000000001000039000000010100c039000f00000002001d000000000012004b0000087c0000c13d0000000f0000006b0000001202000029000901000020003d000a01600020003d000008700000c13d00000000030000310000001401000029000000160200002911c90a760000040f000000110200002900000000030204330000047305300198000008d90000613d0000000b0200002900000000020204330000048900200198000008d90000613d00000009020000290000000004020433000004a200400198000008d90000613d0000000a020000290000000002020433000000ff0220018f000000200020008c000008d90000213d0000000e0600002900000000060604330000048a06600198000008a30000c13d0000000f0000006b000008b80000c13d000000020100036700130000000103530000020401100370000102990000003d000010e70000013d0000087c0000c13d000000000001004b000002a40000613d00000012010000290001029f0000003d000010ed0000013d0000048a02200197000000000301041a000004a303300197000000000223019f000000000021041b000000130100035f0000022401100370000102a80000003d000010e70000013d0000087c0000c13d000000000001004b000002b40000613d0000000e01000029000102ae0000003d000010ed0000013d0000003002200210000004a402200197000000000301041a000004a503300197000000000223019f000000000021041b000000130100035f0000024401100370000102b80000003d000010e70000013d0000087c0000c13d000000000001004b000002c30000613d0000001101000029000102be0000003d000011590000013d000004a602200197000000000301041a000004a703300197000000000223019f000000000021041b000000130100035f0000026401100370000102c70000003d000010e70000013d0000087c0000c13d000000000001004b000002d30000613d0000000d01000029000102cd0000003d000010ed0000013d0000008002200210000004a802200197000000000301041a000004a903300197000000000223019f000000000021041b000000130100035f0000028401100370000102d70000003d000010e70000013d0000087c0000c13d000000000001004b000002e30000613d0000001001000029000102dd0000003d000010ed0000013d000000a002200210000004aa02200197000000000301041a000004ab03300197000000000223019f000000000021041b000000130100035f000002a401100370000102e70000003d000010e70000013d0000087c0000c13d000000000001004b000002f40000613d0000000c01000029000102ed0000003d000010ed0000013d0000002002200210000004ac022001970000000101100039000000000301041a000004ad03300197000000000223019f000000000021041b000000130100035f000002c401100370000102f80000003d000010e70000013d0000087c0000c13d000000000001004b000003030000613d0000000b01000029000102fe0000003d000011590000013d0000000101100039000000000301041a000004ae03300197000000000223019f000000000021041b000000130100035f000002e401100370000103070000003d000010e70000013d0000087c0000c13d000000000001004b000009b40000613d0000001701000029000000000010043f00000067010000390001030f0000003d000011130000013d001300000001001d000000000101041a000000010010019000000001021002700000007f0220618f0000001f0020008c00000000030000390000000103002039000000000131013f0000000100100190000009360000c13d0000001301000029000000160300002911c90bcd0000040f0000001601000029000000200010008c0000097b0000413d0000001301000029000000000010043f0000002002000039000000000100001911c910a60000040f000000200200008a000000160320017f00000002020003670000000004000019000000000034004b0000001405400029000009860000813d000000000552034f000000000505043b000000000051041b00000020044000390000000101100039000003290000013d000001640050008c0000087c0000413d000000000403043b000000000206043b000004890020009c0000087c0000213d0000004403100370000000000303043b000004730030009c0000087c0000213d0000006406100370000000000606043b000004890060009c0000087c0000213d0000014406100370000000000606043b0000049c0060009c0000087c0000213d0000002307600039000000000057004b0000087c0000813d0000000407600039000000000171034f000000000101043b0000049c0010009c0000087c0000213d00000000011600190000002401100039000000000051004b0000087c0000213d000000000108041a0000048901100197000000000019004b000005dd0000c13d000000000104001911c90cab0000040f000006af0000013d000000440050008c0000087c0000413d000000000002004b0000087c0000c13d000000000106043b001700000001001d000004890010009c0000087c0000213d000000000203043b001600000002001d000000e001000039000000400010043f000000800000043f000000a00000043f000000c00000043f000000000020043f000103690000003d000011180000013d00000000060100190000001501000029000000a00210003900000000010204330000048a00100198000006080000c13d00000040026000390000000003000019000007170000013d000000440050008c0000087c0000413d000000000002004b0000087c0000c13d000000000106043b001700000001001d000004890010009c0000087c0000213d000000000103043b001600000001001d000000000010043f0001037f0000003d000011180000013d0000001504000029000000a00240003900000000020204330000048a032001980000062a0000c13d0000049801000041000008440000013d000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b001700000001001d000004890010009c0000087c0000213d11c90abb0000040f0000001703000029000000000003004b000006480000c13d000004b501000041000008440000013d000000440050008c0000087c0000413d000000000203043b001700000002001d000004890020009c0000087c0000213d000000000306043b0000049c0030009c0000087c0000213d0000002302300039000000000052004b0000087c0000813d0000000402300039000000000121034f000000000201043b0000002401300039000000000305001911c90a760000040f001500000001001d000103a90000003d0000113b0000013d000004b70200004111c910ba0000040f001604890010019b0000000001000410000000160010006c0000000001000039000000010100c03911c90ae90000040f000004ba01000041000000000101041a0000048901100197000000160010006c0000000001000039000000010100603911c90af80000040f11c90abb0000040f000004bb01000041000000000101041a000000ff00100190000006030000c13d000000400500043d000004bc01000041000000000015043500000000010004140000001702000029000000040020008c000003cd0000613d000000040400003900000020060000390000000003050019001600000005001d000000160500002911c909e60000040f0000001605000029000000000001004b000005fa0000613d000103cf0000003d000011440000013d0000049c0020009c000000c80000213d0000000100300190000000c80000c13d000000400020043f0000049e0010009c0000087c0000213d000000200010008c0000087c0000413d0000000001050433000004ba0010009c000103dc0000003d000011ba0000013d000004730010009c001600000001001d000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000493011001c70000800d020000390000000203000039000004bd04000041000000170500002911c910d80000040f00000001002001900000087c0000613d0000001601000029000004be0010009c0000001703000029000000c80000213d00000016040000290000006001400039000000400010043f0000004001400039000004bf0200004100000000002104350000002001400039000004c002000041000000000021043500000027010000390000000000140435000000150100002900000000040104330000000001000414000000040030008c000008240000c13d0000000101000039000008280000013d000001640050008c0000087c0000413d000000000403043b000000000206043b000004890020009c0000087c0000213d0000004403100370000000000603043b0000049c0060009c0000087c0000213d0000002303600039000000000053004b0000087c0000813d0000000403600039000000000331034f000000000303043b0000049c0030009c0000087c0000213d000000050730021000000000067600190000002406600039000000000056004b0000087c0000213d0000006406100370000000000606043b000004890060009c0000087c0000213d0000014406100370000000000606043b0000049c0060009c0000087c0000213d0000002307600039000000000057004b0000087c0000813d0000000407600039000000000171034f000000000101043b0000049c0010009c0000087c0000213d00000000011600190000002401100039000000000051004b0000087c0000213d000000000108041a0000048901100197000000000019004b000005dd0000c13d0000047303300197000003540000013d000000440050008c0000087c0000413d000000000002004b0000087c0000c13d000000000406043b0000049c0040009c0000087c0000213d0000002302400039000000000052004b0000087c0000813d0000000402400039000000000121034f000000000201043b000000000103043b001700000001001d0000002401400039000000000305001911c90a760000040f0000006502000039000000000202041a00000489032001970000000002000411000000000032004b000005dd0000c13d001600000001001d0001044f0000003d000011040000013d000000000101041a000004a6001001980000064e0000c13d000000160100002900000000010104330000049e0010009c0000087c0000213d000001400010008c0000087c0000413d000000160200002900000020022000390000000003020433001500000003001d0000048a0030009c0000087c0000213d000000160300002900000040033000390000000003030433001400000003001d0000048a0030009c0000087c0000213d000000160300002900000060033000390000000003030433001300000003001d000004730030009c0000087c0000213d000000160300002900000080033000390000000003030433001200000003001d000004730030009c0000087c0000213d0000001603000029000000a0033000390000000003030433001100000003001d0000048a0030009c0000087c0000213d0000001603000029000000c0033000390000000003030433001000000003001d000004730030009c0000087c0000213d0000001603000029000000e0033000390000000003030433000f00000003001d000004730030009c0000087c0000213d000000160300002900000100033000390000000003030433000e00000003001d000000ff0030008c0000087c0000213d000000160300002900000120033000390000000003030433000d00000003001d000004890030009c0000087c0000213d0000001603000029000001400330003900000000040304330000049c0040009c0000087c0000213d000000000321001900000000012400190000001f02100039000000000032004b0000000004000019000004cf04008041000004cf02200197000004cf05300197000000000652013f000000000052004b0000000002000019000004cf02004041000004cf0060009c000000000204c019000000000002004b0000087c0000c13d000000001201043411c90ba30000040f001600000001001d000000150000006b000004b00000c13d0000800b01000039000000040300003900000000040004150000001e0440008a0000000504400210000004a10200004111c910ba0000040f0015048a0010019b000000400100043d000c00000001001d000004d00010009c000000c80000213d0000000c03000029000001c001300039000000400010043f0000016001300039000b00000001001d0000000e0200002900000000002104350000012001300039000a00000001001d0000000d020000290000000000210435000000e001300039000900000001001d000000100200002900000000002104350000008001300039000700000001001d000000110200002900000000002104350000006001300039000600000001001d0000001202000029000000000021043500000040023000390000001301000029000400000002001d000000000012043500000020023000390000001401000029000200000002001d000000000012043500000015010000290000000000130435000001a001300039001100000001001d00000000000104350000018001300039001000000001001d00000000000104350000014001300039000800000001001d000000000001043500000100023000390000000f01000029001200000002001d0000000000120435000000c002300039000500000002001d0000000000020435000000a002300039000300000002001d0000000000020435000004a200100198000008d90000613d000000130000006b000008d90000613d0000000d0000006b000008d90000613d0000000e01000029000000210010008c000008d90000813d000000140000006b000008800000c13d0000000e0000006b000004fa0000613d0000000e01000029000004730110019700000473011001290000000f0010006b0000079f0000213d0000000e020000290000000f012000b9000004730110019700000016020000290000000002020433000000000021004b000008d90000c13d00000016010000290000000e020000290000000f0300002911c910320000040f0000000021010434000000000001004b000008900000c13d000004d201000041000000000010043f0000003201000039000007a20000013d000000000002004b0000087c0000c13d11c90abb0000040f0000003301000039000000000201041a000004b403200197000000000031041b000000400100043d000004730010009c000004730100804100000040011002100000000003000414000004730030009c0000047303008041000000c003300210000000000113019f000004890520019700000493011001c70000800d020000390000000303000039000004b604000041000000000600001911c910d80000040f00000001002001900000087c0000613d000006af0000013d000000000002004b0000087c0000c13d0000003301000039000000000101041a0000048901100197000000800010043f00000080010000390000002002000039000006b10000013d000000240050008c0000087c0000413d000000000002004b0000087c0000c13d000000000103043b001700000001001d0000000001000415000d00000001001d11c90c840000040f00000017010000290001053b0000003d000011330000013d001600000001001d000000170100002911c90e1a0000040f001000000001001d001100000002001d000000170100002911c90e930000040f000000160400002900000000030004150000001c0330008a0000000503300210000000a005400039000f00000001001d000e00000002001d00000180014000390000000001010433000000000001004b001300000005001d000005620000c13d00000000030004150000001c0330008a000000050330021000000000010504330000048a01100197000000800240003900000000020204330000048a02200197000000010220008a000000000012004b000005620000413d000000170100002911c90e930000040f000000160400002900000000030004150000001b0330008a0000000503300210000000010220008a000000000012004b000006500000813d000c00010000003d001501000040003d000000c00140003900000000010104330000047301100197001400000001001d0000000502300270000000000201001f0000001702000029000000000020043f0000006702000039000000200020043f000105700000003d000011c50000013d00000016020000290000016002200039000b00000002001d0000000002020433001200000002001d11c90c450000040f0000001202000029000000ff0220018f000000140300002911c910780000040f0000000004010019000000130100002900000000010104330000048a0010019800000000010000190000058a0000613d0000001501000029000000000101043300000473011001980000079f0000613d00000014020000290000047302200197000000010110008a000000000021004b00000000010000390000000101006039001300000001001d001400000004001d0000001701000029000000000010043f0000006701000039000105910000003d000011130000013d00000015020000290000000002020433001700000002001d0000000b020000290000000002020433001500000002001d11c90c450000040f0000001502000029000000ff0220018f0000001703000029000004730330019711c910320000040f001700000001001d00000000010004150000000d011000690000000001000002000000400200043d001500000002001d000000160100002911c90a1b0000040f00000017060000290000001501000029000002c003000039000001c0021000390000000000320435000002c00310003900000000020604330000000000230435000002e0051000390000000003000019000000000023004b000005b70000813d000000200660003900000000040604330000048d0440019700000000054504360000000103300039000005af0000013d0000001302000029000000010220018f000002a003100039000000000023043500000280021000390000000c03000029000000000032043500000240021000390000000e03000029000000000032043500000220021000390000000f030000290000000000320435000002000210003900000010030000290000000000320435000001e00210003900000014030000290000000000320435000000110000006b0000000002000039000000010200c039000002600310003900000000002304350000000002150049000006b10000013d0000049b01000041000000800010043f0000002001000039000000840010043f0000003801000039000000a40010043f000004b801000041000000c40010043f000004b901000041000000e40010043f0000008001000039000006d60000013d000004cd01000041000008440000013d0000002002400039000000400020043f0000000000040435000004bb01000041000000000101041a000000ff00100190000006030000c13d001400000002001d000000400500043d000004bc01000041000000000015043500000000010004140000001702000029000000040020008c0000065f0000613d001600000004001d0000000404000039000000200600003900000017020000290000000003050019001500000005001d000000150500002911c909e60000040f00000015050000290000001604000029000000000001004b0000065f0000c13d000000400200043d001700000002001d0000049b010000410000000000120435000000040120003911c90b160000040f000000170210006a000000170100002911c910940000040f000000170100002911c90b230000040f000006af0000013d11c90acf0000040f000006af0000013d001700000006001d0000001601000029000000000010043f0000006701000039000000200010043f001300000002001d000106100000003d000011c50000013d0000000003010019000000150400002900000160014000390000000001010433001400ff00100193000000130100002900000000010104330000048a01100197000000800240003900000000020204330000048a02200197000000010220008a000000000012004b000006260000413d0000001601000029001300000003001d11c90e930000040f00000013030000290000001504000029000000010220008a000000000012004b000006f70000813d000000c00140003900000000010104330000047301100197000007010000013d001400000001001d00000180024000390000000002020433000000000002004b00000000010000190000076e0000c13d000000800240003900000000020204330000048a02200197000000010220008a000000000032004b0000063b0000413d000000160100002911c90e930000040f000000010220008a000000000012004b0000076d0000813d0000001601000029000000000010043f0000006601000039000000200010043f000106410000003d000011c50000013d0000000201100039000000000201041a0000048b022001970000048c022001c7000000000021041b00000000010000190000076e0000013d0000006502000039000000000102041a000004b401100197000000000131019f000000000012041b000006af0000013d000004ce01000041000008440000013d0000004001400039000000000201043300000000010404330000010003400039001500000003001d00000000030304330000048a011001970000047302200197000004730330019711c90f840000040f00000000030004150000001b0330008a0000000503300210000c00000000001d000005670000013d000106610000003d000011440000013d0000049c0020009c000000c80000213d0000000100300190000000c80000c13d001600000004001d000000400020043f0000049e0010009c0000087c0000213d000000200010008c0000087c0000413d0000000001050433000004ba0010009c0001066f0000003d000011ba0000013d000004730010009c001500000001001d000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000493011001c70000800d020000390000000203000039000004bd04000041000000170500002911c910d80000040f00000001002001900000087c0000613d00000016010000290000000001010433000000000001004b000006af0000613d0000001501000029000004be0010009c0000001603000029000000c80000213d00000015040000290000006001400039000000400010043f0000004001400039000004bf0200004100000000002104350000002001400039000004c002000041000000000021043500000027010000390000000000140435000000000403043300000000010004140000001702000029000000040020008c000008650000c13d0000000101000039000008680000013d0000000801300270000000ff0110018f001400000001001d11c90fac0000040f000000140100002911c90fac0000040f000000140100002911c90fac0000040f000000000100041111c90acf0000040f0000006502000039000000000102041a000004b40110019700000017011001af000000000012041b000000160100002911c90acf0000040f0000000001000415000000150200002900000000011200490000000001000002000000400100043d0000000002000019000000000300001911c9109c0000040f000004c70010009c0000079f0000213d000001f4032000c9000004c806300197000027100360011a000000000031004b0000079f0000413d001300000004001d0000012001500039001200000001001d00000000010104330000048904100197000000400500043d0000000001000414000000040040008c001000000003001d001100000006001d000007f90000c13d0000000101000039000008100000013d000000400100043d0000006402100039000004c20300004100000000003204350000004402100039000004c303000041000000000032043500000024021000390000002e0300003900000000003204350000049b020000410000000000210435000000040210003900000020030000390000000000320435000000840200003911c910940000040f000000400500043d0000049d0100004100000000001504350000000001000414000000040020008c000007270000613d000000040400003900000020060000390000000003050019001300000005001d000000130500002911c909e60000040f0000001305000029000000000001004b000007270000c13d00000003040003670000000102000031000000200100008a000106ec0000003d000011900000013d000006f20000613d000000000704034f0000000008010019000106f10000003d000011c10000013d000006ef0000c13d000000000006004b000006f60000613d000106f60000003d000010f80000013d11c910940000040f000001000140003900000000030104330000004001400039000000000201043300000000010404330000048a011001970000047302200197000004730330019711c90f840000040f0000001303000029001600000001001d000000000103001911c90c450000040f0000001402000029000000160300002911c910780000040f0000001706000029000000000206043300000473022001980000070e0000613d0000048d03200129000000000031004b0000079f0000213d00000000011200a90000048d04100197000000400260003900000000030204330000048d05300197000000000045004b0000079f0000413d00000000011300490000048d03100197000000400100043d0000000003310436000000000406043300000473044001970000000000430435000000200360003900000000030304330000048f033001970000004004100039000000000034043500000000020204330000048d02200197000000600310003900000000002304350000008002000039000006b10000013d000107290000003d000011440000013d0000049c0020009c000000c80000213d0000000100300190000000c80000c13d000000400020043f0000049e0010009c0000087c0000213d000000200010008c0000087c0000413d0000000001050433000004890010009c0000087c0000213d0000000002000411000000000021004b000001e60000613d0000049f01000041000008440000013d000000000203043b0001073d0000003d000011650000013d0000087c0000c13d000000000002004b000007530000c13d000000110200035f000000000202043b000107440000003d000011650000013d0000087c0000c13d000000000002004b000007530000c13d000107490000003d000010e70000013d0000087c0000c13d000000000001004b000007530000c13d000000100100035f0001074f0000003d000010e70000013d0000087c0000c13d000000000001004b0000000001000019000001f60000613d000004a001000041000008440000013d00000015030000290000004001300039000000000201043300000000010304330000010003300039001300000003001d00000000030304330000048a011001970000047302200197000004730330019711c90f840000040f000000140400002900000000020404330000048a00200198000001c50000613d0000001302000029000000000202043300000473032001980000079f0000613d0000047302100197000000010330008a000000000023004b000001a20000613d000001c50000013d0000000101000039001200000001001d0000001601000029000000000010043f0000006701000039000107740000003d000011130000013d0000000002010019000000150400002900000160014000390000000001010433001300ff00100193000000120000006b000007870000613d000001000140003900000000030104330000004001400039001200000002001d000000000201043300000000010404330000048a011001970000047302200197000004730330019711c90f840000040f00000012020000290000078a0000013d000000c00140003900000000010104330000047301100197001500000001001d000000000102001911c90c450000040f0000001302000029000000150300002911c910780000040f0000000005010019000000140400002900000000010404330000047301100198000007980000613d0000048d02100129000000000025004b0000079f0000213d00000000065100a90000048d02600197000000400140003900000000010104330000048d03100197000000000023004b000007a50000813d000004d201000041000000000010043f0000001101000039000000040010043f000004d301000041000011cb0001043000000000016100490000048d01100198000007aa0000c13d0000049601000041000008440000013d001300000001001d000107ad0000003d000011ac0000013d001200000005001d001500000006001d000107b10000003d000011820000013d0000003802200210000000000301041a0000048e03300197000000000223019f000000000021041b0000001401000029000000200110003900000000010104330000048f011001970000048f0010009c0000079f0000613d001500000001001d000107bf0000003d000011ac0000013d000107c10000003d000011820000013d0000002002200210000004900220009a0000049102200197000000000301041a0000049203300197000000000223019f000000000021041b000000400200043d00000000010004140000001703000029000000040030008c000007cf0000c13d11c90b3f0000040f000007e40000013d000004730020009c00000473020080410000004002200210000004730010009c0000047301008041000000c001100210000000000121019f00000493011001c7000080090200003900000013030000290000001704000029000000000500001911c910d80000040f001500000002001d0000006002100270000104730020019d000300000001035511c90b3f0000040f00000015010000290000000100100190000008430000613d000000400100043d00000020021000390000001203000029000000000032043500000013020000290000000000210435000004730010009c000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000494011001c70000800d020000390000000303000039000004950400004100000016050000290000001706000029000005220000013d00000000023200490000048d03200198000008010000c13d00000000020400190000000003050019000108000000003d000011740000013d000008100000013d000004730050009c00000473050080410000004002500210000004730010009c0000047301008041000000c001100210000000000121019f00000493011001c70000800902000039000000000500001911c910d80000040f0000006003100270000104730030019d0003000000010355000000010120018f001500000001001d11c90b3f0000040f000000150000006b000008430000613d000000400300043d0000003301000039000000000201041a00000000010004140000048904200197000000040040008c0000081d0000c13d00000001010000390000083f0000013d0000001102000029000027100020008c0000082f0000813d0000000002040019000108230000003d000011740000013d0000083f0000013d00000015020000290000002003200039000000170200002911c90a0a0000040f001500000001001d11c90b3f0000040f00000000030100190000001701000029000000150200002900000016040000290000086e0000013d000004730030009c00000473030080410000004002300210000004730010009c0000047301008041000000c001100210000000000121019f00000493011001c700008009020000390000001003000029000000000500001911c910d80000040f0000006003100270000104730030019d0003000000010355000000010120018f001500000001001d11c90b3f0000040f000000150000006b000008470000c13d000004ca01000041000000000010043f0000049701000041000011cb0001043000000012010000290000000002010433000000140100002900000000010104330000048a01100197000000400300043d0000002004300039000000000014043500000013010000290000000000130435000004730030009c000004730300804100000040013002100000000003000414000004730030009c0000047303008041000000c003300210000000000113019f00000494011001c700000489062001970000800d020000390000000303000039000004c904000041000000170500002911c910d80000040f00000001002001900000087c0000613d00000000010004150000001602000029000006ad0000013d0000001702000029000000140300002911c90a0a0000040f001600000001001d11c90b3f0000040f000000000301001900000017010000290000001602000029000000150400002911c90b730000040f000006af0000013d000000130100035f0000018401100370000000000101043b000000ff0010008c0000087c0000213d0000000a020000290000000000120435000000130100035f0000012401100370000000000101043b000004730010009c0000087d0000a13d000011aa0000013d00000009020000290000000000120435000002790000013d0000000f01000029000000010110008a00000473021001970000047302200129000000130020006b0000079f0000213d00000013011000b900000473011001970000048a02100167000000150020006b0000079f0000213d00000015011000290000048a01100197000000140010006c000004f30000413d000008d90000013d000000010300003900000012040000290000000004040433000004730440019700000000050204330000048d05500197000000000043004b000008db0000813d000000000031004b000005080000a13d00000005063002100000000006260019000000010330003900000000060604330000048d06600197000000000056004b0000000005060019000008960000413d000008d90000013d00000473084001980000079f0000613d00000012070000290000000007070433000000010880008c000008ad0000613d00000473098001970000047309900129000000000095004b0000079f0000213d0000048a0570019700000000033800a900000473033001970000048a08300167000000000085004b0000079f0000213d00000000033700190000048a03300197000000000063004b000002920000413d000008d90000013d0000047303400197000000000002004b000008be0000613d0000047305200129000000000053004b0000079f0000213d00000000044200a900000473044001970000000005010433000000000054004b000008d90000c13d11c910320000040f00000001060000390000000021010434000000000001004b000005080000613d00000009030000290000000003030433000004730330019700000000040204330000048d04400197000000000036004b000002940000813d000000000061004b000005080000a13d00000005056002100000000005250019000000010660003900000000050504330000048d05500197000000000045004b0000000004050019000008cd0000413d000004d401000041000008440000013d000108dd0000003d000011040000013d0000000c0200002900000000020204330000048a02200197000000020300002900000000030304330000003003300210000004a403300197000000000223019f000000040300002900000000030304330000006003300210000004a603300197000000000232019f000000060300002900000000030304330000008003300210000004a803300197000000000232019f00000007030000290000000003030433000000a003300210000004aa03300197000000000232019f00000003030000290000000003030433000000d003300210000000000232019f000000000021041b000000050200002900000000020204330000047302200197000000090300002900000000030304330000002003300210000004ac03300197000000000223019f000000120300002900000000030304330000004003300210000004b103300197000000000232019f0000000a0300002900000000030304330000006003300210000000000232019f0000000103100039000000000023041b00000008020000290000000002020433000004c6022001970000000b030000290000000003030433000000f003300210000004af03300197000000000223019f00000010030000290000000003030433000000000003004b0000048c030000410000000003006019000000000232019f0000000203100039000000000023041b0000000301100039000001000200008a000000000301041a000000000223016f00000011030000290000000003030433000000000003004b000000010220c1bf000109260000003d000011790000013d001400000001001d00000016010000290000000001010433001500000001001d0000049c0010009c000000c80000213d0000001401000029000000000101041a000000010310019000000001021002700000007f0220618f0000001f0020008c00000000010000390000000101002039000000000013004b0000093a0000613d000004d201000041000000000010043f0000002201000039000007a20000013d0000001401000029000000150300002911c90bcd0000040f0000001501000029000000200010008c000009520000413d0000001401000029000000000010043f0000002002000039000000000100001911c910a60000040f0000002005000039000000200200008a000000150220017f0000000003000019000000000023004b00000016045000290000095c0000813d0000000004040433000000000041041b000000200330003900000020055000390000000101100039000009490000013d000000150000006b0000000001000019000009580000613d00000016010000290000002001100039000000000101043300000015040000290001095b0000003d000011a20000013d0000096a0000013d000000150020006c000009670000813d00000015020000290000000302200210000000f80220018f000000010300008a000000000223022f000000000232013f0000000003040433000000000223016f000000000021041b0000001501000029000000010110021000000001011001bf0000001402000029000000000012041b000000400100043d000004730010009c000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000493011001c70000800d020000390000000203000039000004d1040000410000001705000029000005220000013d000000160000006b0000000001000019000009820000613d000000150100002900000020011000390000000201100367000000000101043b0000001604000029000109850000003d000011a20000013d000009950000013d000000160030006c000009920000813d00000016030000290000000303300210000000f80330018f000000010400008a000000000334022f000000000343013f000000000252034f000000000202043b000000000232016f000000000021041b0000001601000029000000010110021000000001011001bf0000001302000029000000000012041b0000000a010000290000000001010433001600000001001d0001099c0000003d000011040000013d0000001602000029000000f002200210000004af022001970000000201100039000000000301041a000004b003300197000000000223019f000000000021041b00000009010000290000000001010433001600000001001d0000001701000029000000000010043f0000006601000039000109ac0000003d0000118b0000013d00000016020000290000004002200210000004b1022001970000000101100039000000000301041a000004b203300197000000000223019f000000000021041b000000400100043d000004730010009c000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000493011001c70000800d020000390000000203000039000004b304000041000009790000013d0003000000000002000300000006001d000200000005001d000004730030009c00000473030080410000004003300210000004730040009c00000473040080410000006004400210000000000334019f000004730010009c0000047301008041000000c001100210000000000113019f11c910d80000040f000000020900002900000060031002700000047303300197000000030030006c000000030400002900000000040340190000001f0540018f000004d6064001980000000004690019000009e00000613d000000000701034f000000007807043c0000000009890436000000000049004b000009dc0000c13d000000010220018f000000000005004b000009e50000613d000109e50000003d0000114d0000013d0000119e0000013d0003000000000002000300000006001d000200000005001d000004730030009c00000473030080410000004003300210000004730040009c00000473040080410000006004400210000000000334019f000004730010009c0000047301008041000000c001100210000000000113019f11c910dd0000040f000000020900002900000060031002700000047303300197000000030030006c000000030400002900000000040340190000001f0540018f000004d606400198000000000469001900000a040000613d000000000701034f000000007807043c0000000009890436000000000049004b00000a000000c13d000000010220018f000000000005004b00000a090000613d00010a090000003d0000114d0000013d0000119e0000013d000004730030009c00000473030080410000004003300210000004730040009c00000473040080410000006004400210000000000334019f000004730010009c0000047301008041000000c001100210000000000113019f11c910e20000040f0000006003100270000104730030019d0003000000010355000000010120018f000000000001042d00000000430104340000048a03300197000000000332043600000000040404330000048a0440019700000000004304350000004003100039000000000303043300000473033001970000004004200039000000000034043500000060031000390000000003030433000004730330019700000060042000390000000000340435000000800310003900000000030304330000048a0330019700000080042000390000000000340435000000a00310003900000000030304330000048a03300197000000a0042000390000000000340435000000c00310003900000000030304330000047303300197000000c0042000390000000000340435000000e00310003900000000030304330000047303300197000000e0042000390000000000340435000001000310003900000000030304330000047303300197000001000420003900000000003404350000012003100039000000000303043300000489033001970000012004200039000000000034043500000140031000390000000003030433000004c6033001970000014004200039000000000034043500000160031000390000000003030433000000ff0330018f0000016004200039000000000034043500000180031000390000000003030433000000000003004b0000000003000039000000010300c03900000180042000390000000000340435000001a002200039000001a0011000390000000001010433000000000001004b0000000001000039000000010100c0390000000000120435000000000001042d0000002004100039000000000301043300000000013204360000000002000019000000000032004b00000a6e0000813d0000000005120019000000000624001900000000060604330000000000650435000000200220003900000a660000013d00000a710000a13d000000000213001900000000000204350000001f02300039000000200300008a000000000232016f0000000001210019000000000001042d000004d70020009c00000aa70000813d00000000040100190000001f01200039000000200600008a000000000161016f0000003f01100039000000000561016f000000400100043d0000000005510019000000000015004b000000000700003900000001070040390000049c0050009c00000aa70000213d000000010070019000000aa70000c13d000000400050043f00000000052104360000000007420019000000000037004b00000aad0000213d00000000066201700000001f0720018f0000000204400367000000000365001900000a970000613d000000000804034f0000000009050019000000008a08043c0000000009a90436000000000039004b00000a930000c13d000000000007004b00000aa40000613d000000000464034f0000000306700210000000000703043300000000076701cf000000000767022f000000000404043b0000010006600089000000000464022f00000000046401cf000000000474019f000000000043043500000000022500190000000000020435000000000001042d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb00010430000011aa0000013d0000049e0010009c00000aba0000213d000000430010008c00000aba0000a13d00000002010003670000002402100370000000000202043b000004890020009c00000aba0000213d0000000401100370000000000101043b000000000001042d000011aa0000013d0000003301000039000000000101041a00000489011001970000000002000411000000000021004b00000ac20000c13d000000000001042d000000400100043d0000004402100039000004d80300004100000000003204350000049b02000041000000000021043500000024021000390000002003000039000000000032043500000004021000390000000000320435000000640200003911c910940000040f000000000601001900000489011001970000003302000039000000000302041a000004b404300197000000000114019f000000000012041b000000400100043d000004730010009c000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f000004890530019700000493011001c70000800d020000390000000303000039000004b60400004111c910d80000040f000000010020019000000ae80000613d000000000001042d000011aa0000013d000000000001004b00000aec0000613d000000000001042d000000400100043d0000006402100039000004d90300004100000000003204350000004402100039000004da03000041000000000032043500000024021000390000002c0300003900000000003204350000049b020000410000112d0000013d000000000001004b00000afb0000613d000000000001042d000000400100043d0000006402100039000004db0300004100000000003204350000004402100039000004da03000041000000000032043500000024021000390000002c0300003900000000003204350000049b020000410000112d0000013d000000000001004b00000b0a0000613d000000000001042d000000400100043d0000006402100039000004dc0300004100000000003204350000004402100039000004dd0300004100000000003204350000002402100039000000290300003900000000003204350000049b020000410000112d0000013d0000006002100039000004de0300004100000000003204350000004002100039000004df03000041000000000032043500000020021000390000002e030000390000000000320435000000200200003900000000002104350000008001100039000000000001042d0003000000000002000200000001001d00010b270000003d000011b30000013d000004c10200004111c910ba0000040f000000000001004b00000b330000613d00000002010000290000048901100197000004ba02000041000000000302041a000004b403300197000000000113019f000000000012041b000000000001042d000000400100043d0000006402100039000004e00300004100000000003204350000004402100039000004e103000041000000000032043500000024021000390000002d0300003900000000003204350000049b020000410000112d0000013d000000010200003200000b6b0000613d000004d70020009c00000b6d0000813d0000001f01200039000000200300008a000000000131016f0000003f01100039000000000431016f000000400100043d0000000004410019000000000014004b000000000500003900000001050040390000049c0040009c00000b6d0000213d000000010050019000000b6d0000c13d000000400040043f000000000621043600000000033201700000001f0420018f0000000002360019000000030500036700000b5d0000613d000000000705034f000000007807043c0000000006860436000000000026004b00000b590000c13d000000000004004b00000b6c0000613d000000000335034f0000000304400210000000000502043300000000054501cf000000000545022f000000000303043b0000010004400089000000000343022f00000000034301cf000000000353019f0000000000320435000000000001042d0000006001000039000000000001042d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb000104300003000000000002000000000603001900000000050200190000000032030434000000000005004b00000b850000613d000000000002004b00000b830000c13d00010b7d0000003d000011b30000013d000004c102000041000200000006001d11c910ba0000040f0000000206000029000000000001004b00000b950000613d0000000001060019000000000001042d000000000002004b00000b930000c13d000000400300043d000200000003001d0000049b0100004100000000001304350000000401300039000000200200003900000000002104350000002402300039000000000104001911c90a620000040f00000002030000290000000002310049000000000103001911c910940000040f000000400100043d0000004402100039000004e203000041000000000032043500000024021000390000001d0300003900000000003204350000049b020000410000000000210435000000040210003900000020030000390000000000320435000000640200003911c910940000040f000004d70020009c00000bc60000813d0000001f04200039000000200500008a000000000454016f0000003f04400039000000000554016f000000400400043d0000000005540019000000000045004b000000000600003900000001060040390000049c0050009c00000bc60000213d000000010060019000000bc60000c13d000000400050043f00000000052404360000000006120019000000000036004b00000bcc0000213d0000000003000019000000000023004b00000bc10000813d0000000006530019000000000713001900000000070704330000000000760435000000200330003900000bb90000013d00000bc40000a13d000000000125001900000000000104350000000001040019000000000001042d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb00010430000011aa0000013d0002000000000002000000200020008c00000be50000413d000000000010043f000200000002001d00000020020000390000000001000019000100000003001d11c910a60000040f00000001040000290000001f024000390000000503200270000000200040008c000000000300401900000002020000290000001f02200039000000050220027000000000022100190000000001310019000000000021004b00000be50000813d000000000001041b000000010110003900000be00000013d000000000001042d0000000002010019000000400100043d000004d50010009c00000c280000813d000001c003100039000000400030043f000000a003100039000000000402041a000000d0054002700000000000530435000000a0034002700000048a03300197000000800510003900000000003504350000008003400270000004730330019700000060051000390000000000350435000000600340027000000473033001970000004005100039000000000035043500000030034002700000048a03300197000000200510003900000000003504350000048a0340019700000000003104350000000103200039000000000303041a000001200410003900000060053002700000000000540435000000c00410003900000473053001970000000000540435000000400430027000000473044001970000010005100039000000000045043500000020033002700000047303300197000000e00410003900000000003404350000000203200039000000000303041a00000180041000390000048b0030009c0000000005000039000000010500203900000000005404350000014004100039000004c6053001970000000000540435000000f003300270000000ff0330018f000001600410003900000000003404350000000302200039000000000202041a000000ff002001900000000002000039000000010200c039000001a0031000390000000000230435000000000001042d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb000104300000000002010019000000400100043d000004e30010009c00000c3f0000813d0000006003100039000000400030043f000000000202041a00000040031000390000003804200270000000000043043500000020032002700000048f033001970000002004100039000000000034043500000473022001970000000000210435000000000001042d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb000104300003000000000002000000000201041a000000010320019000000001052002700000007f0550618f0000001f0050008c00000000040000390000000104002039000000000043004b00000c7a0000c13d000000400400043d0000000006540436000000000003004b00000c670000613d000300000004001d000000000010043f00000020020000390000000001000019000200000005001d000100000006001d11c910a60000040f0000000106000029000000020500002900000000020000190000000003260019000000000052004b00000c650000813d000000000401041a00000000004304350000002002200039000000010110003900000c5d0000013d000000030400002900000c6b0000013d000001000100008a000000000112016f0000000000160435000000400340003900000000014300490000001f01100039000000200200008a000000000221016f0000000001420019000000000021004b000000000200003900000001020040390000049c0010009c00000c7e0000213d000000010020019000000c7e0000c13d000000400010043f0000000001040019000000000001042d000004d201000041000000000010043f000000220100003900000c810000013d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb00010430000000400100043d000004d50010009c00000ca50000813d000001c002100039000000400020043f000001a00210003900000000000204350000018002100039000000000002043500000160021000390000000000020435000001400210003900000000000204350000012002100039000000000002043500000100021000390000000000020435000000e0021000390000000000020435000000c0021000390000000000020435000000a0021000390000000000020435000000800210003900000000000204350000006002100039000000000002043500000040021000390000000000020435000000200210003900000000000204350000000000010435000000000001042d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb000104300010000000000002000800000003001d000600000002001d000d00000001001d00010cb10000003d000011330000013d0000000d02000029000000000020043f0000006802000039000000200020043f000c00000001001d0000000001000019000000400200003911c910a60000040f00000006020000290000048902200197000300000002001d000000000020043f000000200010043f0000000001000019000000400200003911c910a60000040f11c90c2e0000040f0000000c05000029000a00000001001d00000008010000290000047301100197000b00000001001d0000048a01100167000000a00250003900000000020204330007048a0020019b000000070010006b00000e0b0000213d0000000001050433000900000001001d0000800b0100003900000004030000390000000004000415000000100440008a0000000504400210000004a10200004111c910ba0000040f0000000c0600002900000009020000290000048a04200197000000000041004b00000e110000413d00000000020004150000000f0220008a0000000502200210000000200360003900000000030304330000048a03300197000000000031004b00000ce80000a13d00000000020004150000000e0220008a0000000502200210000000000003004b00000e110000c13d00000007030000290000000b01300029000400000001001d0000048a01100197000000800360003900000000030304330000048a03300197000000000031004b00000000010000390000000101002039000000000003004b0000000003000039000000010300c03900000005022002700000000002130175000000000113016f000000010010019000000e110000c13d00000060016000390000000001010433000004730110019800000d090000613d0000000b0200002900000473032001670000000a0200002900000000020204330000047305200197000000000035004b00000e0b0000213d00000008022000290000047302200197000000000012004b00000e110000213d000000e0016000390000000001010433000004730110019800000d0f0000613d0000000b0010006b00000e110000213d00000180016000390000000001010433000000000001004b00000e110000c13d000001000160003900000000010104330000004002600039000000000202043300000473022001970000047303100197000000000104001911c90f840000040f0000000d02000029000000000020043f0000006702000039000000200020043f000500000001001d00010d220000003d000011c50000013d0000000c0200002900000160022000390000000002020433000900000002001d11c90c450000040f0000000902000029000000ff0220018f000000050300002911c910780000040f0000000c03000029000700000001001d000000000001004b00000d330000613d00000007010000290000048d011001290000000b0010006b00000e0b0000213d00000007020000290000000b012000b9000200000001001d0009048d0010019b0000000002000416000000090020006b00000e170000213d00000005010000290000047302100197000000c00130003900000000010104330000047301100197000000000021004b00000d4d0000613d0000000d01000029000000000010043f0000006601000039000000200010043f000500000002001d00010d480000003d000011c50000013d0000000101100039000000000201041a000004900220019700000005022001af000000000021041b0000000d0100002900010d500000003d0000110c0000013d0000000402000029000000d002200210000000000301041a000004e403300197000000000223019f000000000021041b0000000901000029000004c6011001670000000c0200002900000140022000390000000002020433000500000002001d000004c602200197000000000012004b00000e0b0000213d0000000d0100002900010d620000003d0000110c0000013d00000005030000290000000902300029000004c6022001970000000201100039000000000301041a000004e503300197000000000223019f000000000021041b0000000b0100002900000473021001670000000a0100002900000000010104330000047303100197000000000023004b00000e0b0000213d000000080110002900000473011001970000000a030000290000000000130435000000010100008a0000000002000416000000000112013f0000048d02100197000000400430003900000000010404330000048d03100197000000000023004b00000e0b0000213d000000000200041600000000012100190000048d0110019700000000001404350000000d01000029000000000010043f0000006801000039000000200010043f00000040020000390000000001000019000800000004001d11c910a60000040f0000000302000029000000000020043f00010d8e0000003d0000118b0000013d0000000c040000290000000802000029000000000202043300000038022002100000000a050000290000002003500039000000000303043300000020033002100000049103300197000000000232019f00000000030504330000047303300197000000000232019f000000000021041b000001a0014000390000000001010433000000000001004b00000df30000613d0000000901000029000004c70010009c00000e0b0000213d0000000201000029000001f4011000c9000004c802100197000027100320011a000000090030006b00000e0b0000413d000a00000002001d000001200140003900000000010104330000048904100197000000400500043d0000000001000414000000040040008c000800000003001d00000db40000c13d000000010100003900000dcb0000013d00000002023000690000048d0320019800000dc70000613d000004730050009c00000473050080410000004002500210000004730010009c0000047301008041000000c001100210000000000121019f00000493011001c70000800902000039000000000500001911c910d80000040f0000006003100270000104730030019d0003000000010355000000010120018f00000dcb0000013d0000000002040019000000000305001900010dcb0000003d000011740000013d000c00000001001d11c90b3f0000040f0000000c0000006b00000e150000613d000000400300043d0000003301000039000000000201041a00000000010004140000048904200197000000040040008c00000dd80000c13d000000010100003900000def0000013d0000000a02000029000027100020008c00000ddf0000813d000000000204001900010dde0000003d000011740000013d00000def0000013d000004730030009c00000473030080410000004002300210000004730010009c0000047301008041000000c001100210000000000121019f00000493011001c700008009020000390000000803000029000000000500001911c910d80000040f0000006003100270000104730030019d0003000000010355000000010120018f000c00000001001d11c90b3f0000040f0000000c0000006b00000e150000613d000000400100043d00000020021000390000000b03000029000000000032043500000007020000290000000000210435000004730010009c000004730100804100000040011002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000494011001c70000800d020000390000000303000039000004e6040000410000000d05000029000000060600002911c910d80000040f000000010020019000000e190000613d000000000001042d000004d201000041000000000010043f0000001101000039000000040010043f000004d301000041000011cb00010430000004e801000041000000000010043f0000049701000041000011cb00010430000004ca0100004100000e120000013d000004e70100004100000e120000013d000011aa0000013d000a000000000002000800000001001d00010e1e0000003d000011330000013d0000000004010019000001a0011000390000000001010433000000000001004b00000e260000613d00000001020000390000000001000019000000000001042d000000a00240003900000000010204330000048a0110019800000e760000613d000500000002001d00000000030004150000000a0330008a000000050330021000000180024000390000000002020433000000000002004b000201000040003d000600000004001d00000e460000c13d00000000030004150000000a0330008a0000000503300210000000800240003900000000020204330000048a02200197000000010220008a000000000012004b00000e460000413d000000080100002911c90e930000040f00000006040000290000000003000415000000090330008a0000000503300210000000010220008a000000000012004b00000e7e0000813d000300010000003d000000c00140003900000000010104330000047301100197000400000000001d000700000001001d0000000502300270000000000201001f0000000801000029000000000010043f000000670100003900010e530000003d000011130000013d000000060200002900000160022000390000000002020433000800000002001d11c90c450000040f0000000802000029000000ff0220018f000000070300002911c910780000040f000000050200002900000000020204330000048a0220019800000e630000613d0000048d03200129000000000031004b00000e8d0000213d00000000011200a90000048d011001970000251c011000c9000027100110011a000000040000006b00000e790000613d000000000002004b00000e7b0000613d00000002020000290000000002020433000004730220019800000e8d0000613d00000007030000290000047303300197000000010220008a000000000032004b0000000002000039000000010200603900000e7c0000013d00000000010000190000000002000019000000000001042d0000000302000029000000000001042d0000000002000019000000010220018f000000000001042d000000020100002900000000030104330000004001400039000000000201043300000000010404330000048a011001970000047302200197000004730330019711c90f840000040f0000000003000415000000090330008a0000000503300210000400010000003d000300000000001d00000e4b0000013d000004d201000041000000000010043f0000001101000039000000040010043f000004d301000041000011cb00010430000400000000000211c90fbb0000040f000000400a00043d00000000040100190000000012010434000004890220019800000f5b0000613d00000060034000390000000003030433000000000003004b00000f030000613d0000000001010433000004e90300004100000000003a04350000000403a00039000004ae0110019700000000001304350000000001000414000000040020008c00000eb00000613d000000240400003900000000030a001900000000050a0019000000000600001900040000000a001d11c909e60000040f000000040a000029000000000001004b00000f690000613d0000000304000367000000200200008a000000010100003100000000052101700000001f0610018f00000000035a001900000ebc0000613d000000000704034f00000000080a001900010ebb0000003d000011c10000013d00000eb90000c13d000000000006004b00000ec00000613d00010ec00000003d000010f80000013d0000001f03100039000000000223016f0000000007a20019000000000027004b000000000200003900000001020040390000049c0070009c00000f550000213d000000010020019000000f550000c13d000000400070043f0000049e0010009c00000f540000213d000000200010008c00000f540000413d00000000020a04330000049c0020009c00000f540000213d0000000003a100190000000008a2001900000000018300490000049e0010009c00000f540000213d000000800010008c00000f540000413d000004ea0070009c00000f550000213d0000008001700039000000400010043f0000000021080434000400000002001d0000049c0010009c00000f540000213d00000000018100190000001f02100039000000000032004b0000000004000019000004cf04004041000004cf02200197000004cf05300197000000000652013f000000000052004b0000000002000019000004cf02002041000004cf0060009c000000000204c019000000000002004b00000f540000613d0000000012010434000200000007001d000300000008001d11c90ba30000040f0000000204000029000000000114043600000004020000290000000002020433000000000021043500000003030000290000004001300039000000000601043300000040014000390000000000610435000000600140003900000060033000390000000003030433000000000031043500000f3c0000013d000004eb0100004100000000001a04350000000001000414000000040020008c00000f0c0000613d000300000004001d00010f0b0000003d0000116a0000013d00000f3e0000613d00010f0e0000003d000011950000013d0000049c0030009c00000f550000213d000000010010019000000f550000c13d000000400030043f0000049e0020009c00000f540000213d0000001f0020008c00000f540000a13d00000000060a04330000000004040433000004ed01000041000000000013043500000000010004140000048905400197000000040050008c00000f2b0000613d000300000006001d000000040400003900000020060000390000000002050019000400000003001d000000000503001911c909e60000040f0000000102000031000000000001004b00000f750000613d000000040300002900000003060000290000001f01200039000000200400008a000000000441016f0000000001340019000000000041004b000000000400003900000001040040390000049c0010009c00000f550000213d000000010040019000000f550000c13d000000400010043f0000049e0020009c00000f540000213d000000200020008c00000f540000413d00000000020304330000000001060019000000000001042d0000000002040433000000400a00043d000004ec0100004100000000001a043500000000010004140000048902200197000000040020008c00000f490000613d00010f480000003d0000116a0000013d00000f690000613d00010f4b0000003d000011950000013d0000049c0030009c00000f550000213d000000010010019000000f550000c13d000000400030043f0000049e0020009c00000f540000213d000000200020008c00000f170000813d000011aa0000013d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb000104300000004401a00039000004ee0200004100000000002104350000002401a00039000000140200003900000000002104350000049b0100004100000000001a04350000000401a0003900000020020000390000000000210435000000640200003900000000010a001911c910940000040f0000000304000367000000200100008a000000010200003100010f6e0000003d000011900000013d00000f7f0000613d000000000704034f000000000801001900010f730000003d000011c10000013d00000f710000c13d00000f7f0000013d0000000304000367000000200100008a00010f790000003d000011900000013d00000f7f0000613d000000000704034f000000000801001900010f7e0000003d000011c10000013d00000f7c0000c13d000000000006004b00000f830000613d00010f830000003d000010f80000013d11c910940000040f0004000000000002000100000003001d000200000002001d000300000001001d0000800b0100003900000004030000390000000004000415000000040440008a0000000504400210000004a10200004111c910ba0000040f00000003020000290000048a02200197000000000221004b000000000100001900000fa10000a13d0000000201000029000004730110019800000fa20000613d00000000021200d900000001010000290000047301100197000000000012004b00000f9e0000813d0000047301200197000000000001042d000000000001004b00000fa60000613d000000010110008a000000000001042d000004d201000041000000000010043f000000120100003900000fa90000013d000004d201000041000000000010043f0000001101000039000000040010043f000004d301000041000011cb00010430000000000001004b00000faf0000613d000000000001042d000000400100043d0000006402100039000004ef0300004100000000003204350000004402100039000004f003000041000000000032043500000024021000390000002b0300003900000000003204350000049b020000410000112d0000013d0003000000000002000000400200043d000004f10020009c0000101c0000813d000000c003200039000000400030043f000000a00320003900000000000304350000008003200039000000000003043500000060032000390000000000030435000000400320003900000000000304350000002003200039000000000003043500000000000204350000006502000039000000000202041a000000400500043d000004f20300004100000000043504360000000403500039000000000013043500000000010004140000048902200197000000040020008c00000fe20000613d000200000004001d0000002404000039000000c0060000390000000003050019000300000005001d000000030500002911c909e60000040f00000002040000290000000305000029000000000001004b000010220000613d00000001020000310000001f01200039000000200300008a000000000331016f0000000001530019000000000031004b000000000300003900000001030040390000049c0010009c0000101c0000213d00000001003001900000101c0000c13d000000400010043f0000049e0020009c0000101b0000213d000000c00020008c0000101b0000413d000004f30010009c0000101c0000213d000000c002100039000000400020043f0000000002050433000004890020009c0000101b0000213d00000000022104360000000003040433000004ae0030009c0000101b0000213d000000000032043500000040025000390000000002020433000004890020009c0000101b0000213d0000004003100039000000000023043500000060025000390000000002020433000110090000003d000011650000013d0000101b0000c13d0000006003100039000000000023043500000080025000390000000002020433000110100000003d000011650000013d0000101b0000c13d00000080031000390000000000230435000000a0025000390000000002020433000110170000003d000011650000013d0000101b0000c13d000000a0031000390000000000230435000000000001042d000011aa0000013d000004d201000041000000000010043f0000004101000039000000040010043f000004d301000041000011cb000104300000000304000367000000200100008a0000000102000031000110270000003d000011900000013d0000102d0000613d000000000704034f00000000080100190001102c0000003d000011c10000013d0000102a0000c13d000000000006004b000010310000613d000110310000003d000010f80000013d11c910940000040f0006000000000002000200000002001d000100000001001d0000047301300197000500000001001d00000005011002100000003f02100039000004f402200197000000400300043d0000000002230019000400000003001d000000000032004b000000000300003900000001030040390000049c0020009c000010740000213d0000000100300190000010740000c13d000000400020043f000000050200002900000004030000290000000002230436000300000002001d0000001f0210018f000000000001004b000010540000613d0000000304000029000000000114001900000000030000310000000203300367000000003503043c0000000004540436000000000014004b000010500000c13d000000000002004b00000000030000190000047304300197000000050040006c0000106c0000813d00000001010000290000000202000029000600000004001d11c910780000040f000000060400002900000004020000290000000002020433000000000042004b0000106e0000a13d0000000502400210000000030220002900000000001204350000000103400039000004730040009c000010560000c13d000004d201000041000000000010043f0000001101000039000010710000013d0000000401000029000000000001042d000004d201000041000000000010043f0000003201000039000000040010043f000004d301000041000011cb00010430000004d201000041000000000010043f0000004101000039000010710000013d000000e00520018f000000ff0420018f00000473063001980000107f0000613d0000047306600129000000000064004b0000108d0000213d000000000005004b0000108d0000c13d00000000033400a900000473033001970000000001310019000000200110003900000000010104330000000302200210000000f8022001900000010002200089000000000121022f0000048d011001970000000001006019000000000001042d000004d201000041000000000010043f0000001101000039000000040010043f000004d301000041000011cb00010430000000000001042f000004730010009c00000473010080410000004001100210000004730020009c00000473020080410000006002200210000000000112019f000011cb00010430000004730010009c00000473010080410000004001100210000004730020009c00000473020080410000006002200210000000000112019f000000e002300210000000000121019f000011ca0001042e000004730010009c00000473010080410000004001100210000004730020009c00000473020080410000006002200210000000000112019f0000000002000414000004730020009c0000047302008041000000c002200210000000000112019f00000493011001c7000080100200003911c910dd0000040f0000000100200190000010b90000613d000000000101043b000000000001042d000011aa0000013d00000000050100190000000000200443000000050030008c000010c80000413d000000040100003900000000020000190000000506200210000000000664001900000005066002700000000006060031000000000161043a0000000102200039000000000031004b000010c00000413d000004730030009c000004730300804100000060013002100000000002000414000004730020009c0000047302008041000000c002200210000000000112019f000004f5011001c7000000000205001911c910dd0000040f0000000100200190000010d70000613d000000000101043b000000000001042d000000000001042f000010db002104210000000102000039000000000001042d0000000002000019000000000001042d000010e0002104230000000102000039000000000001042d0000000002000019000000000001042d000010e5002104250000000102000039000000000001042d0000000002000019000000000001042d000000000101043b000000000001004b0000000002000039000000010200c039000000000021004b000000010000013b0000000001010433001200000001001d0000001701000029000000000010043f0000006601000039000000200010043f0000004002000039000000000100001911c910a60000040f0000001202000029000000010000013b000000000454034f0000000305600210000000000603043300000000065601cf000000000656022f000000000404043b0000010005500089000000000454022f00000000045401cf000000000464019f0000000000430435000000010000013b0000001701000029000000000010043f0000006601000039000000200010043f0000004002000039000000000100001911c910a60000040f000000010000013b000000000010043f0000006601000039000000200010043f0000004002000039000000000100001911c910a60000040f000000010000013b000000200010043f0000004002000039000000000100001911c910a60000040f000000010000013b000000200070043f0000004002000039000000000100001911c910a60000040f11c90be60000040f0000001602000029000000000020043f0000006802000039000000200020043f001500000001001d0000000001000019000000400200003911c910a60000040f0000001702000029000000000020043f000000200010043f0000000001000019000000400200003911c910a60000040f11c90c2e0000040f000000010000013b0000000000210435000000040210003900000020030000390000000000320435000000840200003911c910940000040f000000000010043f0000006601000039000000200010043f0000004002000039000000000100001911c910a60000040f11c90be60000040f000000010000013b0000000001000412001e00000001001d001d00000000003d0000800501000039000000440300003900000000040004150000001e0440008a0000000504400210000000010000013b00000001010000310000001f02100039000000200300008a000000000332016f0000000002530019000000000032004b00000000030000390000000103004039000000010000013b000000000661034f0000000305500210000000000704043300000000075701cf000000000757022f000000000606043b0000010005500089000000000656022f00000000055601cf000000000575019f0000000000540435000000010000013b0000000001010433001200000001001d0000001701000029000000000010043f0000006601000039000000200010043f0000004002000039000000000100001911c910a60000040f00000012020000290000006002200210000000010000013b000000000002004b0000000003000039000000010300c039000000000032004b000000010000013b0000000404000039000000200600003900000000030a001900000000050a001900040000000a001d11c909e60000040f0000000304000029000000040a000029000000000001004b000000010000013b00000000040000190000000005000019000000000600001911c909c20000040f000000010000013b000000000021041b0000001701000029000000000010043f0000006701000039000000200010043f0000000001000019000000400200003911c910a60000040f000000010000013b11c910a60000040f0000001702000029000000000020043f000000200010043f0000000001000019000000400200003911c910a60000040f0000001502000029000000010000013b000000200010043f0000000001000019000000400200003911c910a60000040f000000010000013b00000000051201700000001f0620018f000000400100043d0000000003510019000000010000013b00000001020000310000001f01200039000000200300008a000000000131016f0000000003a10019000000000013004b00000000010000390000000101004039000000010000013b000100000003001f00030000000103550000000001020019000000000001042d0000000302400210000000010300008a000000000223022f000000000232013f000000000121016f0000000102400210000000000121019f000000010000013b0000000001000019000011cb000104300000001601000029000000000010043f0000006801000039000000200010043f00000040020000390000000001000019000000010000013b000300000001001d000080020100003900000024030000390000000004000415000000030440008a0000000504400210000000010000013b0000000001000039000000010100603911c90b070000040f000000170100002911c90b230000040f000000400100043d000000010000013b000000007907043c0000000008980436000000000038004b000000010000013b0000004002000039000000000100001911c910a60000040f000000010000013b000011c900000432000011ca0001042e000011cb0001043000000000000000000000000000000000000000000000000000000000ffffffff000000020000000000000000000000000000008000000100000000000000000000000000000000000000000000000000000000000000000000000000fe7f6c330000000000000000000000000000000000000000000000000000000013b5d9e6000000000000000000000000000000000000000000000000000000001a8d379200000000000000000000000000000000000000000000000000000000312e109c000000000000000000000000000000000000000000000000000000003659cfe6000000000000000000000000000000000000000000000000000000003998620600000000000000000000000000000000000000000000000000000000485cc955000000000000000000000000000000000000000000000000000000004f1ef2860000000000000000000000000000000000000000000000000000000052d1902d0000000000000000000000000000000000000000000000000000000061c4006800000000000000000000000000000000000000000000000000000000715018a6000000000000000000000000000000000000000000000000000000007e4edf70000000000000000000000000000000000000000000000000000000008da5cb5b000000000000000000000000000000000000000000000000000000009cc163e500000000000000000000000000000000000000000000000000000000c4804ce200000000000000000000000000000000000000000000000000000000ceab8e1900000000000000000000000000000000000000000000000000000000da5988c800000000000000000000000000000000000000000000000000000000f12f63da00000000000000000000000000000000000000000000000000000000f2fde38b000000000000000000000000000000000000000000000000000000000ae94103000000000000000000000000ffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000ffffffffffff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff010000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000ffffffffffffff0000000000000000000000000000000000000000000000000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000000000ffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffffff000000ffffffff020000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000400000000000000000000000005e52ef8f94736e46374f2129ca32a992be1653b810bbb26e3b64b1a80e070acacb13a668000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004000000000000000000000000f212ed480000000000000000000000000000000000000000000000000000000064647265737300000000000000000000000000000000000000000000000000004f776e61626c653a206e6577206f776e657220697320746865207a65726f206108c379a000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffff8da5cb5b000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82b42900000000000000000000000000000000000000000000000000000000007d5ba07f00000000000000000000000000000000000000000000000000000000796b89b91644bc98cd93958e4c9038275d622183e25ac5af08cc6b5d9553913200000000000000000000000000000000000000000000000000000000fffffffeffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000000000000000ffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff000000000000ffffffffffff00000000000000000000000000000000ffffffff000000000000000000000000ffffffffffffffffffffffffffffffff00000000ffffffffffffffffffffffff000000000000000000000000ffffffff00000000000000000000000000000000ffffffffffffffffffffffff00000000ffffffffffffffffffffffffffffffff000000000000ffffffffffff0000000000000000000000000000000000000000ffffffffffff000000000000ffffffffffffffffffffffffffffffffffffffff000000000000000000000000000000000000000000000000ffffffff00000000ffffffffffffffffffffffffffffffffffffffffffffffff00000000ffffffff0000000000000000000000000000000000000000ffffffffffffffffffffffff00ff000000000000000000000000000000000000000000000000000000000000ff00ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0000000000000000000000000000000000000000ffffffff0000000000000000ffffffffffffffffffffffffffffffffffffffff00000000ffffffffffffffff14c26fbe57d45444878cd034a1d26785710ec308068cb07e6d1d3ebde07ee5feffffffffffffffffffffffff00000000000000000000000000000000000000002059de78000000000000000000000000000000000000000000000000000000008be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0310ab089e4439a4c15d089f94afb7896ff553aecb10793d0ab882de59d99a32e555550535570677261646561626c653a206d757374206e6f742062652063616c6c6564207468726f7567682064656c656761746563616c6c0000000000000000360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd914352d1902d00000000000000000000000000000000000000000000000000000000bc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b000000000000000000000000000000000000000000000000ffffffffffffff9f206661696c656400000000000000000000000000000000000000000000000000416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c1806aa1896bbf26568e884a7374b41e002500962caba6a15023a8d90e8508b83647920696e697469616c697a6564000000000000000000000000000000000000496e697469616c697a61626c653a20636f6e747261637420697320616c72656102000000000000000000000000000000000000200000000000000000000000007f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024980000ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff000000000000000083126e978d4fdf3b645a1cac083126e978d4fdf3b645a1ca00000000000000fffffffffffffffffffffffffffffffffffffffffffffffff0fccb3c89d1529bc3eb407d46314f16504f8eb486bf9aa10978b72b5132203657f9ad3872000000000000000000000000000000000000000000000000000000001c7c1d0700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffffdf9a04794d00000000000000000000000000000000000000000000000000000000cdf4ceca000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffe3fae1d04d24b8c04c53f07b4b6c8509fb74edd038b61159d9cc6090d31bb9cb71e4e487b710000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000240000000000000000000000009678a06a00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000fffffffffffffe4000000000000000000000000000000000000000000000000000000000ffffffe000000000000000000000000000000000000000000000000100000000000000004f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657264656c656761746563616c6c000000000000000000000000000000000000000046756e6374696f6e206d7573742062652063616c6c6564207468726f756768206163746976652070726f787900000000000000000000000000000000000000006961626c6555554944000000000000000000000000000000000000000000000045524331393637557067726164653a20756e737570706f727465642070726f786f6e206973206e6f74205555505300000000000000000000000000000000000045524331393637557067726164653a206e657720696d706c656d656e746174696f74206120636f6e747261637400000000000000000000000000000000000000455243313936373a206e657720696d706c656d656e746174696f6e206973206e416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000000000000000000000000000000000000000000000000000ffffffffffffffa0000000000000ffffffffffffffffffffffffffffffffffffffffffffffffffffffff00000000000000000000000000000000000000000000000000000000000071c0c8850819ac31eeb7ba034624f403ddf922c2fbfe1b6af1644a61a8e019eefc512fde00000000000000000000000000000000000000000000000000000000201dc6f500000000000000000000000000000000000000000000000000000000ddf990f900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff7f047fc9aa0000000000000000000000000000000000000000000000000000000018160ddd000000000000000000000000000000000000000000000000000000002ddcb21f00000000000000000000000000000000000000000000000000000000566563746f7220646f65736e27742065786973740000000000000000000000006e697469616c697a696e67000000000000000000000000000000000000000000496e697469616c697a61626c653a20636f6e7472616374206973206e6f742069000000000000000000000000000000000000000000000000ffffffffffffff400410501800000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000ffffffffffffff3f0000000000000000000000000000000000000000000000000000003fffffffe00200000200000000000000000000000000000000000000000000000000000000293f93b17362e0d91432f1efa339c1ff3113d4e16c5d30e57baaaaeb9c1c37ab

Block Transaction Gas Used Reward
view all blocks produced

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

Validator Index Block Amount
View All Withdrawals

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

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