ETH Price: $2,908.49 (+3.16%)
 

Overview

TokenID

4

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Continuing BAPE®’s 30th anniversary celebrations, adidas Originals and the iconic Japanese brand present the highly-limited Forum 84 BAPE® Low ‘Fresh Forum’ sneaker, featuring NFC chip and NFT digital twin. This Access Pass enables its holder to claim one pair of adidas Originals x BAPE® Forum Low 84 physical sneakers and accompanying NFT digital twin at no additional cost. [Learn more](https://collect.adidas.com/bape). [Terms and conditions](https://a.did.as/collect_tc).

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
AdidasBapeAuction

Compiler Version
v0.8.21+commit.d9974bed

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 24 : Auction.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.21;

import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Supply.sol";
import "@openzeppelin/contracts/token/ERC1155/extensions/ERC1155Burnable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "operator-filter-registry/src/DefaultOperatorFilterer.sol";

/// @title adidas Originals x BAPE Auction
contract AdidasBapeAuction is
    ERC1155Supply,
    ERC1155Burnable,
    ERC2981,
    DefaultOperatorFilterer,
    Ownable,
    Pausable,
    ReentrancyGuard
{
    using Strings for uint256;

    struct Bid {
        /// @dev Actual ETH amount
        uint128 value;
        /// @dev Calculated bid value including boost, if applied
        uint128 bidAmount;
        /// @dev Address of the bidder
        address bidder;
        /// @dev Shoe size
        uint8 size;
        /// @dev Whether the bid has been refunded
        bool isRefunded;
    }

    struct Size {
        uint8 supply;
        Bid[] topBids;
    }

    /// @notice Percentage amount of boosted allow-list bids
    uint256 public immutable ALLOWLIST_BOOST;

    /// @notice Auction starting price for all items
    uint256 public startingPrice;

    /// @notice Minimum bid increment above previous bid
    uint256 public constant MINIMUM_INCREMENT = 0.01 ether;

    /// @notice Initialize the bid count for bids
    uint96 public bidCount;

    /// @notice Initialize the bid count for bid top-ups
    uint96 public topUpCount;

    /// @notice Unix timestamp for auction start
    uint256 public auctionStart;

    /// @notice Unix timestamp for auction end
    uint256 public auctionEnd;

    /// @notice Merkle root for allow-list wallet addresses
    bytes32 public merkleRoot;

    /// @notice Mintpass token name
    string public name;

    /// @notice Mintpass token symbol
    string public symbol;

    mapping(uint256 => mapping(address => Bid[])) public bids;
    mapping(uint256 => mapping(address => uint256)) private bidderToTopBidIndex;
    mapping(uint256 => Size) public shoeSize;

    event BidPlaced(
        address indexed bidder,
        uint8 indexed size,
        uint256 deposit,
        uint128 bidValue,
        bool indexed topUp
    );

    event BidRefunded(
        uint8 indexed size,
        address indexed outbidBy,
        uint128 outbidAmount,
        address indexed refundBidder,
        uint128 calculatedBidAmount,
        uint128 refund
    );

    constructor(
        uint8[] memory _sizes,
        uint8[] memory _supply,
        uint256 _auctionStart,
        uint256 _auctionEnd,
        uint256 _allowList,
        uint256 _startingPrice,
        uint96 _value,
        address _recipient,
        bytes32 _merkleRoot,
        string memory _baseUri,
        string memory _name,
        string memory _symbol
    ) ERC1155(_baseUri) {
        _setDefaultRoyalty(_recipient, _value);
        auctionStart = _auctionStart;
        auctionEnd = _auctionEnd;
        ALLOWLIST_BOOST = _allowList;
        startingPrice = _startingPrice;
        merkleRoot = _merkleRoot;
        name = _name;
        symbol = _symbol;
        require(_sizes.length == _supply.length, "Mismatch between sizes and supply amounts");
        unchecked {
            for (uint i = 0; i < _sizes.length; i++) {
                require(_supply[i] > 0, "Supply cannot be zero");
                shoeSize[_sizes[i]].supply = _supply[i];
            }
        }
    }

    /// @notice Handle new bids and top-up bids
    /// @param size The shoe size
    /// @param merkleProof If user is in the allowlist, the merkle proof
    function handleBid(
        uint8 size,
        bytes32[] calldata merkleProof
    ) public payable nonReentrant whenNotPaused {
        Size storage shoe = shoeSize[size];
        require(
            block.timestamp >= auctionStart && block.timestamp <= auctionEnd && shoe.supply > 0,
            "Invalid bid conditions"
        );

        bool isAllowListed = (merkleProof.length > 0) && verifyAllowList(merkleProof, msg.sender);
        uint128 bidIncrement = isAllowListed
            ? uint128((msg.value * ALLOWLIST_BOOST) / 100)
            : uint128(msg.value);
        uint256 index = bidderToTopBidIndex[size][msg.sender];
        Bid[] storage userBids = bids[size][msg.sender];

        if (index > 0) {
            require(
                msg.value >= MINIMUM_INCREMENT,
                "You must top up your bid by at least 0.01 ETH"
            );
            unchecked {
                Bid storage existingTopBid = shoe.topBids[index - 1];
                existingTopBid.value += uint128(msg.value);
                existingTopBid.bidAmount += bidIncrement;
                userBids[userBids.length - 1] = existingTopBid;
                topUpCount++;
                emit BidPlaced(
                    existingTopBid.bidder,
                    size,
                    msg.value,
                    existingTopBid.bidAmount,
                    true
                );
            }
            return;
        }

        Bid memory newBid = Bid({
            value: uint128(msg.value),
            bidAmount: bidIncrement,
            bidder: msg.sender,
            size: size,
            isRefunded: false
        });

        uint256 currentTopBidsCount = shoe.topBids.length;

        if (currentTopBidsCount >= shoe.supply) {
            Bid memory lowestBid = shoe.topBids[0];
            unchecked {
                for (uint256 i = 1; i < currentTopBidsCount; i++) {
                    if (shoe.topBids[i].bidAmount < lowestBid.bidAmount) {
                        lowestBid = shoe.topBids[i];
                    }
                }
            }
            require(
                msg.value >= lowestBid.bidAmount + MINIMUM_INCREMENT,
                "Bid must be at least 0.01 ETH higher than the current minimum bid"
            );

            uint256 lowestBidIndex = bidderToTopBidIndex[size][lowestBid.bidder] - 1;
            Bid[] storage userToRefundBids = bids[size][lowestBid.bidder];
            uint256 lastBidIndex = userToRefundBids.length - 1;

            userToRefundBids[lastBidIndex].isRefunded = true;
            bidderToTopBidIndex[size][lowestBid.bidder] = 0;
            bidderToTopBidIndex[size][msg.sender] = lowestBidIndex + 1;
            shoe.topBids[lowestBidIndex] = newBid;
            lowestBid.bidder.call{value: lowestBid.value}("");

            emit BidRefunded(
                size,
                newBid.bidder,
                newBid.value,
                lowestBid.bidder,
                lowestBid.bidAmount,
                lowestBid.value
            );
        } else {
            require(
                msg.value >= startingPrice,
                "Bid must be equal to or greater than the starting price"
            );
            shoe.topBids.push(newBid);
            bidderToTopBidIndex[size][msg.sender] = currentTopBidsCount + 1;
        }

        userBids.push(newBid);
        unchecked {
            bidCount++;
        }

        emit BidPlaced(newBid.bidder, size, msg.value, newBid.bidAmount, false);
    }

    /// @notice Gets all winning/top bids for a given shoe size
    /// @param size The shoe size
    /// @return An array of Bids
    function getTopBids(uint8 size) public view returns (Bid[] memory) {
        return shoeSize[size].topBids;
    }

    /// @notice Simulator function to return the minimum amount of ETH needed for a new bid
    /// @param sizes The array of sizes to get prices for
    /// @return An array of prices by size
    function getMinimumPrices(uint8[] memory sizes) public view returns (uint256[] memory) {
        unchecked {
            uint256[] memory prices = new uint256[](sizes.length);
            for (uint256 i = 0; i < sizes.length; i++) {
                Size memory shoe = shoeSize[sizes[i]];
                require(shoe.supply > 0, "Invalid shoe size");
                Bid[] memory topBids = shoe.topBids;
                if (topBids.length == 0 || topBids.length < shoe.supply) {
                    prices[i] = startingPrice;
                } else {
                    uint256 lowestBidAmount = topBids[0].bidAmount;
                    for (uint256 j = 1; j < topBids.length; j++) {
                        lowestBidAmount = (topBids[j].bidAmount < lowestBidAmount)
                            ? topBids[j].bidAmount
                            : lowestBidAmount;
                    }
                    prices[i] = lowestBidAmount + MINIMUM_INCREMENT;
                }
            }
            return prices;
        }
    }

    /// @notice Gets all bids placed by a specific address for a range of shoe sizes
    /// @param sizes The shoe sizes
    /// @param bidder The address of the bidder
    /// @return An array of arrays of bids where each element corresponds to a bid
    function getBidsByBidder(
        address bidder,
        uint8[] calldata sizes
    ) public view returns (Bid[] memory) {
        unchecked {
            uint256 totalBids = 0;

            for (uint256 i = 0; i < sizes.length; i++) {
                totalBids += bids[sizes[i]][bidder].length;
            }

            Bid[] memory allBids = new Bid[](totalBids);
            uint256 index = 0;

            for (uint256 i = 0; i < sizes.length; i++) {
                Bid[] memory currentBids = bids[sizes[i]][bidder];
                for (uint256 j = 0; j < currentBids.length; j++) {
                    allBids[index] = currentBids[j];
                    index++;
                }
            }
            return allBids;
        }
    }

    /// @notice Gets all the winning/top bidders' addresses for all sizes
    /// @param sizes An array of all shoe sizes to check
    /// @return An array of arrays of addresses where each element corresponds to top bid addresses for a size
    function getWinningBidders(uint8[] calldata sizes) public view returns (address[][] memory) {
        unchecked {
            address[][] memory winningBidders = new address[][](sizes.length);

            for (uint256 i = 0; i < sizes.length; i++) {
                uint8 currentSize = sizes[i];
                Bid[] memory topBids = shoeSize[currentSize].topBids;
                winningBidders[i] = new address[](topBids.length);

                for (uint256 j = 0; j < topBids.length; j++) {
                    winningBidders[i][j] = topBids[j].bidder;
                }
            }
            return winningBidders;
        }
    }

    /// @notice Verifies if a user is in the allowlist by checking the merkle proof
    /// @param proof The merkle proof provided by the user
    /// @param user The address of the user
    /// @return A boolean indicating whether the user is in the allowlist
    function verifyAllowList(bytes32[] calldata proof, address user) public view returns (bool) {
        bytes32 node = keccak256(abi.encodePacked(user));
        return MerkleProof.verifyCalldata(proof, merkleRoot, node);
    }

    /// @notice Sets the merkle root for the allowlist
    /// @param _merkleRoot The new merkle root
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    /// @notice Sets the auction start and end times
    /// @param start The start time for the auction in unix epoch seconds
    /// @param end The end time for the auction in unix epoch seconds
    function setAuctionTimes(uint256 start, uint256 end) public onlyOwner {
        require(start < end, "Auction end time must be after start time");
        auctionStart = start;
        auctionEnd = end;
    }

    ///  @notice Set the auction starting price for all shoe sizes
    ///  @param newStartingPrice The new starting price
    function setStartingPrice(uint256 newStartingPrice) public onlyOwner {
        startingPrice = newStartingPrice;
    }

    /// @notice Pauses the contract, blocking all state-changing operations
    function pause() external onlyOwner {
        _pause();
    }

    /// @notice Unpauses the contract, allowing state-changing operations
    function unpause() external onlyOwner {
        _unpause();
    }

    /// @notice Release funds to owner after auction ends
    function releaseFunds() public onlyOwner {
        (bool success, ) = owner().call{value: address(this).balance}("");
        require(success, "Failed to release funds");
    }

    /// @notice Mint mintpasses for auction winners
    /// @param recipients The addresses to receive the tokens
    /// @param amounts The amounts of tokens to mint
    /// @param tokenIds The IDs of the tokens to mint
    function mintBatch(
        address[] calldata recipients,
        uint256[] calldata amounts,
        uint256[] calldata tokenIds
    ) public onlyOwner {
        require(recipients.length == tokenIds.length, "Mismatched data");
        unchecked {
            for (uint256 i = 0; i < recipients.length; i++) {
                _mint(recipients[i], tokenIds[i], amounts[i], "");
            }
        }
    }

    /// @notice Token metadata URI
    /// @param id The tokenId
    function uri(uint256 id) public view override returns (string memory) {
        return string(abi.encodePacked(super.uri(id), Strings.toString(id)));
    }

    /// @notice Sets the base URI for the token's metadata
    /// @param baseUri The new base URI
    function setURI(string calldata baseUri) external onlyOwner {
        _setURI(baseUri);
    }

    /// @notice Sets the name and symbol for the token's metadata
    /// @param newName The new token name
    /// @param newSymbol The new token symbol
    function setNameAndSymbol(
        string calldata newName,
        string calldata newSymbol
    ) external onlyOwner {
        name = newName;
        symbol = newSymbol;
    }

    /// @notice Sets the default royalty for the token
    /// @param receiver The receiver of the royalty fees
    /// @param feeNumerator The value of the royalty fees
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) public onlyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    function setApprovalForAll(
        address operator,
        bool approved
    ) public override onlyAllowedOperatorApproval(operator) whenNotPaused {
        super.setApprovalForAll(operator, approved);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        uint256 amount,
        bytes memory data
    ) public override onlyAllowedOperator(from) {
        super.safeTransferFrom(from, to, tokenId, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override onlyAllowedOperator(from) {
        super.safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155, ERC1155Supply) whenNotPaused {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }

    function supportsInterface(
        bytes4 interfaceId
    ) public view virtual override(ERC1155, ERC2981) returns (bool) {
        return ERC1155.supportsInterface(interfaceId) || ERC2981.supportsInterface(interfaceId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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);
    }
}

File 3 of 24 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(
        uint256 tokenId,
        uint256 salePrice
    ) external view returns (address receiver, uint256 royaltyAmount);
}

File 4 of 24 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 5 of 24 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 6 of 24 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

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

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 7 of 24 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: address zero is not a valid owner");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    ) public view virtual override returns (uint256[] memory) {
        require(accounts.length == ids.length, "ERC1155: accounts and ids length mismatch");

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

        emit TransferSingle(operator, from, to, id, amount);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _afterTokenTransfer(operator, from, to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address to, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeTransferAcceptanceCheck(operator, address(0), to, id, amount, data);
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _afterTokenTransfer(operator, address(0), to, ids, amounts, data);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address from, uint256 id, uint256 amount) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();
        uint256[] memory ids = _asSingletonArray(id);
        uint256[] memory amounts = _asSingletonArray(amount);

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

        emit TransferSingle(operator, from, address(0), id, amount);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(address from, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, address(0), ids, amounts, "");

        for (uint256 i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

        emit TransferBatch(operator, from, address(0), ids, amounts);

        _afterTokenTransfer(operator, from, address(0), ids, amounts, "");
    }

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits an {ApprovalForAll} event.
     */
    function _setApprovalForAll(address owner, address operator, bool approved) internal virtual {
        require(owner != operator, "ERC1155: setting approval status for self");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `ids` and `amounts` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    /**
     * @dev Hook that is called after any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {}

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver.onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) private {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (
                bytes4 response
            ) {
                if (response != IERC1155Receiver.onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non-ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }
}

File 8 of 24 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/extensions/ERC1155Burnable.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(address account, uint256 id, uint256 value) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "ERC1155: caller is not token owner or approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 9 of 24 : ERC1155Supply.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC1155/extensions/ERC1155Supply.sol)

pragma solidity ^0.8.0;

import "../ERC1155.sol";

/**
 * @dev Extension of ERC1155 that adds tracking of total supply per id.
 *
 * Useful for scenarios where Fungible and Non-fungible tokens have to be
 * clearly identified. Note: While a totalSupply of 1 might mean the
 * corresponding is an NFT, there is no guarantees that no other token with the
 * same id are not going to be minted.
 */
abstract contract ERC1155Supply is ERC1155 {
    mapping(uint256 => uint256) private _totalSupply;

    /**
     * @dev Total amount of tokens in with a given id.
     */
    function totalSupply(uint256 id) public view virtual returns (uint256) {
        return _totalSupply[id];
    }

    /**
     * @dev Indicates whether any token exist with a given id, or not.
     */
    function exists(uint256 id) public view virtual returns (bool) {
        return ERC1155Supply.totalSupply(id) > 0;
    }

    /**
     * @dev See {ERC1155-_beforeTokenTransfer}.
     */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);

        if (from == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                _totalSupply[ids[i]] += amounts[i];
            }
        }

        if (to == address(0)) {
            for (uint256 i = 0; i < ids.length; ++i) {
                uint256 id = ids[i];
                uint256 amount = amounts[i];
                uint256 supply = _totalSupply[id];
                require(supply >= amount, "ERC1155: burn amount exceeds totalSupply");
                unchecked {
                    _totalSupply[id] = supply - amount;
                }
            }
        }
    }
}

File 10 of 24 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 11 of 24 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(
        address[] calldata accounts,
        uint256[] calldata ids
    ) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 12 of 24 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

File 13 of 24 : 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 14 of 24 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 15 of 24 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.2) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(bytes32[] calldata proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

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

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuilds the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proofLen - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value from the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i]
                ? (leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++])
                : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            require(proofPos == proofLen, "MerkleProof: invalid multiproof");
            unchecked {
                return hashes[totalHashes - 1];
            }
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 18 of 24 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                // Solidity will revert if denominator == 0, unlike the div opcode on its own.
                // The surrounding unchecked block does not change this fact.
                // See https://docs.soliditylang.org/en/latest/control-structures.html#checked-or-unchecked-arithmetic.
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1, "Math: mulDiv overflow");

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(uint256 x, uint256 y, uint256 denominator, Rounding rounding) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10 ** 64) {
                value /= 10 ** 64;
                result += 64;
            }
            if (value >= 10 ** 32) {
                value /= 10 ** 32;
                result += 32;
            }
            if (value >= 10 ** 16) {
                value /= 10 ** 16;
                result += 16;
            }
            if (value >= 10 ** 8) {
                value /= 10 ** 8;
                result += 8;
            }
            if (value >= 10 ** 4) {
                value /= 10 ** 4;
                result += 4;
            }
            if (value >= 10 ** 2) {
                value /= 10 ** 2;
                result += 2;
            }
            if (value >= 10 ** 1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10 ** result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 256, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result << 3) < value ? 1 : 0);
        }
    }
}

File 19 of 24 : SignedMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/SignedMath.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard signed math utilities missing in the Solidity language.
 */
library SignedMath {
    /**
     * @dev Returns the largest of two signed numbers.
     */
    function max(int256 a, int256 b) internal pure returns (int256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two signed numbers.
     */
    function min(int256 a, int256 b) internal pure returns (int256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two signed numbers without overflow.
     * The result is rounded towards zero.
     */
    function average(int256 a, int256 b) internal pure returns (int256) {
        // Formula from the book "Hacker's Delight"
        int256 x = (a & b) + ((a ^ b) >> 1);
        return x + (int256(uint256(x) >> 255) & (a ^ b));
    }

    /**
     * @dev Returns the absolute unsigned value of a signed value.
     */
    function abs(int256 n) internal pure returns (uint256) {
        unchecked {
            // must be unchecked in order to support `n = type(int256).min`
            return uint256(n >= 0 ? n : -n);
        }
    }
}

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

pragma solidity ^0.8.0;

import "./math/Math.sol";
import "./math/SignedMath.sol";

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _SYMBOLS = "0123456789abcdef";
    uint8 private constant _ADDRESS_LENGTH = 20;

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        unchecked {
            uint256 length = Math.log10(value) + 1;
            string memory buffer = new string(length);
            uint256 ptr;
            /// @solidity memory-safe-assembly
            assembly {
                ptr := add(buffer, add(32, length))
            }
            while (true) {
                ptr--;
                /// @solidity memory-safe-assembly
                assembly {
                    mstore8(ptr, byte(mod(value, 10), _SYMBOLS))
                }
                value /= 10;
                if (value == 0) break;
            }
            return buffer;
        }
    }

    /**
     * @dev Converts a `int256` to its ASCII `string` decimal representation.
     */
    function toString(int256 value) internal pure returns (string memory) {
        return string(abi.encodePacked(value < 0 ? "-" : "", toString(SignedMath.abs(value))));
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        unchecked {
            return toHexString(value, Math.log256(value) + 1);
        }
    }

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }

    /**
     * @dev Returns true if the two strings are equal.
     */
    function equal(string memory a, string memory b) internal pure returns (bool) {
        return keccak256(bytes(a)) == keccak256(bytes(b));
    }
}

File 21 of 24 : DefaultOperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {OperatorFilterer} from "./OperatorFilterer.sol";
import {CANONICAL_CORI_SUBSCRIPTION} from "./lib/Constants.sol";
/**
 * @title  DefaultOperatorFilterer
 * @notice Inherits from OperatorFilterer and automatically subscribes to the default OpenSea subscription.
 * @dev    Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract DefaultOperatorFilterer is OperatorFilterer {
    /// @dev The constructor that is called when the contract is being deployed.
    constructor() OperatorFilterer(CANONICAL_CORI_SUBSCRIPTION, true) {}
}

File 22 of 24 : IOperatorFilterRegistry.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

interface IOperatorFilterRegistry {
    /**
     * @notice Returns true if operator is not filtered for a given token, either by address or codeHash. Also returns
     *         true if supplied registrant address is not registered.
     */
    function isOperatorAllowed(address registrant, address operator) external view returns (bool);

    /**
     * @notice Registers an address with the registry. May be called by address itself or by EIP-173 owner.
     */
    function register(address registrant) external;

    /**
     * @notice Registers an address with the registry and "subscribes" to another address's filtered operators and codeHashes.
     */
    function registerAndSubscribe(address registrant, address subscription) external;

    /**
     * @notice Registers an address with the registry and copies the filtered operators and codeHashes from another
     *         address without subscribing.
     */
    function registerAndCopyEntries(address registrant, address registrantToCopy) external;

    /**
     * @notice Unregisters an address with the registry and removes its subscription. May be called by address itself or by EIP-173 owner.
     *         Note that this does not remove any filtered addresses or codeHashes.
     *         Also note that any subscriptions to this registrant will still be active and follow the existing filtered addresses and codehashes.
     */
    function unregister(address addr) external;

    /**
     * @notice Update an operator address for a registered address - when filtered is true, the operator is filtered.
     */
    function updateOperator(address registrant, address operator, bool filtered) external;

    /**
     * @notice Update multiple operators for a registered address - when filtered is true, the operators will be filtered. Reverts on duplicates.
     */
    function updateOperators(address registrant, address[] calldata operators, bool filtered) external;

    /**
     * @notice Update a codeHash for a registered address - when filtered is true, the codeHash is filtered.
     */
    function updateCodeHash(address registrant, bytes32 codehash, bool filtered) external;

    /**
     * @notice Update multiple codeHashes for a registered address - when filtered is true, the codeHashes will be filtered. Reverts on duplicates.
     */
    function updateCodeHashes(address registrant, bytes32[] calldata codeHashes, bool filtered) external;

    /**
     * @notice Subscribe an address to another registrant's filtered operators and codeHashes. Will remove previous
     *         subscription if present.
     *         Note that accounts with subscriptions may go on to subscribe to other accounts - in this case,
     *         subscriptions will not be forwarded. Instead the former subscription's existing entries will still be
     *         used.
     */
    function subscribe(address registrant, address registrantToSubscribe) external;

    /**
     * @notice Unsubscribe an address from its current subscribed registrant, and optionally copy its filtered operators and codeHashes.
     */
    function unsubscribe(address registrant, bool copyExistingEntries) external;

    /**
     * @notice Get the subscription address of a given registrant, if any.
     */
    function subscriptionOf(address addr) external returns (address registrant);

    /**
     * @notice Get the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscribers(address registrant) external returns (address[] memory);

    /**
     * @notice Get the subscriber at a given index in the set of addresses subscribed to a given registrant.
     *         Note that order is not guaranteed as updates are made.
     */
    function subscriberAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Copy filtered operators and codeHashes from a different registrantToCopy to addr.
     */
    function copyEntriesOf(address registrant, address registrantToCopy) external;

    /**
     * @notice Returns true if operator is filtered by a given address or its subscription.
     */
    function isOperatorFiltered(address registrant, address operator) external returns (bool);

    /**
     * @notice Returns true if the hash of an address's code is filtered by a given address or its subscription.
     */
    function isCodeHashOfFiltered(address registrant, address operatorWithCode) external returns (bool);

    /**
     * @notice Returns true if a codeHash is filtered by a given address or its subscription.
     */
    function isCodeHashFiltered(address registrant, bytes32 codeHash) external returns (bool);

    /**
     * @notice Returns a list of filtered operators for a given address or its subscription.
     */
    function filteredOperators(address addr) external returns (address[] memory);

    /**
     * @notice Returns the set of filtered codeHashes for a given address or its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashes(address addr) external returns (bytes32[] memory);

    /**
     * @notice Returns the filtered operator at the given index of the set of filtered operators for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredOperatorAt(address registrant, uint256 index) external returns (address);

    /**
     * @notice Returns the filtered codeHash at the given index of the list of filtered codeHashes for a given address or
     *         its subscription.
     *         Note that order is not guaranteed as updates are made.
     */
    function filteredCodeHashAt(address registrant, uint256 index) external returns (bytes32);

    /**
     * @notice Returns true if an address has registered
     */
    function isRegistered(address addr) external returns (bool);

    /**
     * @dev Convenience method to compute the code hash of an arbitrary contract
     */
    function codeHashOf(address addr) external returns (bytes32);
}

File 23 of 24 : Constants.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

address constant CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS = 0x000000000000AAeB6D7670E522A718067333cd4E;
address constant CANONICAL_CORI_SUBSCRIPTION = 0x3cc6CddA760b79bAfa08dF41ECFA224f810dCeB6;

File 24 of 24 : OperatorFilterer.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.13;

import {IOperatorFilterRegistry} from "./IOperatorFilterRegistry.sol";
import {CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS} from "./lib/Constants.sol";
/**
 * @title  OperatorFilterer
 * @notice Abstract contract whose constructor automatically registers and optionally subscribes to or copies another
 *         registrant's entries in the OperatorFilterRegistry.
 * @dev    This smart contract is meant to be inherited by token contracts so they can use the following:
 *         - `onlyAllowedOperator` modifier for `transferFrom` and `safeTransferFrom` methods.
 *         - `onlyAllowedOperatorApproval` modifier for `approve` and `setApprovalForAll` methods.
 *         Please note that if your token contract does not provide an owner with EIP-173, it must provide
 *         administration methods on the contract itself to interact with the registry otherwise the subscription
 *         will be locked to the options set during construction.
 */

abstract contract OperatorFilterer {
    /// @dev Emitted when an operator is not allowed.
    error OperatorNotAllowed(address operator);

    IOperatorFilterRegistry public constant OPERATOR_FILTER_REGISTRY =
        IOperatorFilterRegistry(CANONICAL_OPERATOR_FILTER_REGISTRY_ADDRESS);

    /// @dev The constructor that is called when the contract is being deployed.
    constructor(address subscriptionOrRegistrantToCopy, bool subscribe) {
        // If an inheriting token contract is deployed to a network without the registry deployed, the modifier
        // will not revert, but the contract will need to be registered with the registry once it is deployed in
        // order for the modifier to filter addresses.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            if (subscribe) {
                OPERATOR_FILTER_REGISTRY.registerAndSubscribe(address(this), subscriptionOrRegistrantToCopy);
            } else {
                if (subscriptionOrRegistrantToCopy != address(0)) {
                    OPERATOR_FILTER_REGISTRY.registerAndCopyEntries(address(this), subscriptionOrRegistrantToCopy);
                } else {
                    OPERATOR_FILTER_REGISTRY.register(address(this));
                }
            }
        }
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    modifier onlyAllowedOperator(address from) virtual {
        // Allow spending tokens from addresses with balance
        // Note that this still allows listings and marketplaces with escrow to transfer tokens if transferred
        // from an EOA.
        if (from != msg.sender) {
            _checkFilterOperator(msg.sender);
        }
        _;
    }

    /**
     * @dev A helper function to check if an operator approval is allowed.
     */
    modifier onlyAllowedOperatorApproval(address operator) virtual {
        _checkFilterOperator(operator);
        _;
    }

    /**
     * @dev A helper function to check if an operator is allowed.
     */
    function _checkFilterOperator(address operator) internal view virtual {
        // Check registry code length to facilitate testing in environments without a deployed registry.
        if (address(OPERATOR_FILTER_REGISTRY).code.length > 0) {
            // under normal circumstances, this function will revert rather than return false, but inheriting contracts
            // may specify their own OperatorFilterRegistry implementations, which may behave differently
            if (!OPERATOR_FILTER_REGISTRY.isOperatorAllowed(address(this), operator)) {
                revert OperatorNotAllowed(operator);
            }
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint8[]","name":"_sizes","type":"uint8[]"},{"internalType":"uint8[]","name":"_supply","type":"uint8[]"},{"internalType":"uint256","name":"_auctionStart","type":"uint256"},{"internalType":"uint256","name":"_auctionEnd","type":"uint256"},{"internalType":"uint256","name":"_allowList","type":"uint256"},{"internalType":"uint256","name":"_startingPrice","type":"uint256"},{"internalType":"uint96","name":"_value","type":"uint96"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"string","name":"_baseUri","type":"string"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"operator","type":"address"}],"name":"OperatorNotAllowed","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"bidder","type":"address"},{"indexed":true,"internalType":"uint8","name":"size","type":"uint8"},{"indexed":false,"internalType":"uint256","name":"deposit","type":"uint256"},{"indexed":false,"internalType":"uint128","name":"bidValue","type":"uint128"},{"indexed":true,"internalType":"bool","name":"topUp","type":"bool"}],"name":"BidPlaced","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint8","name":"size","type":"uint8"},{"indexed":true,"internalType":"address","name":"outbidBy","type":"address"},{"indexed":false,"internalType":"uint128","name":"outbidAmount","type":"uint128"},{"indexed":true,"internalType":"address","name":"refundBidder","type":"address"},{"indexed":false,"internalType":"uint128","name":"calculatedBidAmount","type":"uint128"},{"indexed":false,"internalType":"uint128","name":"refund","type":"uint128"}],"name":"BidRefunded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"ALLOWLIST_BOOST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINIMUM_INCREMENT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OPERATOR_FILTER_REGISTRY","outputs":[{"internalType":"contract IOperatorFilterRegistry","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionEnd","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"auctionStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bidCount","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"bids","outputs":[{"internalType":"uint128","name":"value","type":"uint128"},{"internalType":"uint128","name":"bidAmount","type":"uint128"},{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"bool","name":"isRefunded","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint8[]","name":"sizes","type":"uint8[]"}],"name":"getBidsByBidder","outputs":[{"components":[{"internalType":"uint128","name":"value","type":"uint128"},{"internalType":"uint128","name":"bidAmount","type":"uint128"},{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"bool","name":"isRefunded","type":"bool"}],"internalType":"struct AdidasBapeAuction.Bid[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"sizes","type":"uint8[]"}],"name":"getMinimumPrices","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"size","type":"uint8"}],"name":"getTopBids","outputs":[{"components":[{"internalType":"uint128","name":"value","type":"uint128"},{"internalType":"uint128","name":"bidAmount","type":"uint128"},{"internalType":"address","name":"bidder","type":"address"},{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"bool","name":"isRefunded","type":"bool"}],"internalType":"struct AdidasBapeAuction.Bid[]","name":"","type":"tuple[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8[]","name":"sizes","type":"uint8[]"}],"name":"getWinningBidders","outputs":[{"internalType":"address[][]","name":"","type":"address[][]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"size","type":"uint8"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"handleBid","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"recipients","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"start","type":"uint256"},{"internalType":"uint256","name":"end","type":"uint256"}],"name":"setAuctionTimes","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newName","type":"string"},{"internalType":"string","name":"newSymbol","type":"string"}],"name":"setNameAndSymbol","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newStartingPrice","type":"uint256"}],"name":"setStartingPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"shoeSize","outputs":[{"internalType":"uint8","name":"supply","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startingPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"topUpCount","outputs":[{"internalType":"uint96","name":"","type":"uint96"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"address","name":"user","type":"address"}],"name":"verifyAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c060405234620008a6575f60a052620048028038038091620000248260c0620008aa565b60c0396101808112620007bb5760c0516001600160401b038111620007bb5762000056908260c0019060c001620008ce565b60e0516001600160401b038111620007bb576200007b908360c0019060c001620008ce565b61010051610120516101405161016051610180519593929091906001600160601b0387168703620007bb576101a051936001600160a01b0385168503620007bb576101c0516101e0519095906001600160401b038111620007bb57620000e9908b60c0019060c00162000946565b610200519099906001600160401b038111620007bb5762000112908c60c0019060c00162000946565b61022051909b906001600160401b038111620007bb576200013a9160c0019060c00162000946565b8a51909a6001600160401b0382116200058857600254600181811c92911680156200089b575b6020831014620005655781601f84931162000842575b506020906001601f841114620007cd5760a05192620007c1575b50508160011b915f199060031b1c1916176002555b6daaeb6d7670e522a718067333cd4e3b62000725575b600654604051903360018060a01b0382167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060a05160a051a36001600160a81b0319163360ff60a01b19161760065560016007556127106001600160601b03831611620006d057506001600160a01b038216156200068b57604080519081018082116001600160401b03909111176200067757604081810190526001600160a01b03929092168083526001600160601b03821660209093019290925260a01b6001600160a01b03191617600455600a55600b55608052600855600c5583516001600160401b0381116200058857600d54600181811c911680156200066c575b60208210146200056557601f81116200061b575b506020946001601f831114620005ac5794819293949560a05192620005a0575b50508160011b915f199060031b1c191617600d555b82516001600160401b0381116200058857600e54600181811c911680156200057d575b60208210146200056557601f811162000514575b5060206001601f831114620004a5578192939460a0519262000499575b50508160011b915f199060031b1c191617600e555b8051825103620004425760a0515b8151811015620004225760ff9081620003948286620009ba565b511615620003dd5781600192620003ac8387620009ba565b511690620003bb8386620009ba565b511660a051526011602052604060a051209060ff19825416179055016200037a565b60405162461bcd60e51b815260206004820152601560248201527f537570706c792063616e6e6f74206265207a65726f00000000000000000000006044820152606490fd5b604051613e1e9081620009e482396080518181816108c501526133010152f35b60405162461bcd60e51b815260206004820152602960248201527f4d69736d61746368206265747765656e2073697a657320616e6420737570706c6044820152687920616d6f756e747360b81b6064820152608490fd5b015190505f8062000357565b601f19821690600e60a05152602060a051209160a0515b818110620004fb57509583600195969710620004e2575b505050811b01600e556200036c565b01515f1960f88460031b161c191690555f8080620004d3565b9192602060018192868b015181550194019201620004bc565b600e60a05152602060a05120601f830160051c810191602084106200055a575b601f0160051c01905b8181106200054c57506200033a565b60a05181556001016200053d565b909150819062000534565b634e487b7160e01b60a051526022600452602460a051fd5b90607f169062000326565b634e487b7160e01b60a051526041600452602460a051fd5b015190505f80620002ee565b601f19821695600d60a05152602060a051209160a0515b8881106200060257508360019596979810620005e9575b505050811b01600d5562000303565b01515f1960f88460031b161c191690555f8080620005da565b91926020600181928685015181550194019201620005c3565b600d60a05152602060a05120601f830160051c8101916020841062000661575b601f0160051c01905b818110620006535750620002ce565b60a051815560010162000644565b90915081906200063b565b90607f1690620002ba565b634e487b7160e01b5f52604160045260245ffd5b60405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b62461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e3b15620007bb57604051633e9f1edf60e11b8152306004820152733cc6cdda760b79bafa08df41ecfa224f810dceb6602482015260a05181604481836daaeb6d7670e522a718067333cd4e5af18015620007ae5762000795575b50620001bb565b6001600160401b03811162000588576040525f6200078e565b6040513d60a051823e3d90fd5b60a05180fd5b015190505f8062000190565b9250600260a05152602060a051209060a051935b601f198416851062000826576001945083601f198116106200080d575b505050811b01600255620001a5565b01515f1960f88460031b161c191690555f8080620007fe565b81810151835560209485019460019093019290910190620007e1565b909150600260a05152602060a05120601f840160051c81016020851062000893575b90849392915b601f830160051c820181106200088257505062000176565b60a05181558594506001016200086a565b508062000864565b91607f169162000160565b5f80fd5b601f909101601f19168101906001600160401b038211908210176200067757604052565b81601f82011215620008a6578051916020916001600160401b03841162000677578360051b90604051946200090685840187620008aa565b85528380860192820101928311620008a6578301905b8282106200092b575050505090565b815160ff81168103620008a65781529083019083016200091c565b919080601f84011215620008a65782516001600160401b0381116200067757602090604051926200098183601f19601f8501160185620008aa565b818452828287010111620008a6575f5b818110620009a65750825f9394955001015290565b858101830151848201840152820162000991565b8051821015620009cf5760209160051b010190565b634e487b7160e01b5f52603260045260245ffdfe60806040526004361015610011575f80fd5b5f3560e01c8062fdd58e14612abf57806301ffc9a714612a2857806302fe5305146128a857806304634d8d1461279e57806306fdde03146126f65780630d28d094146126b55780630e89341c146124505780630f73b4f41461242f5780632a24f46c146124125780632a55205a146123705780632eb2c2d614611ffe5780632eb4a7ab14611fe15780633f4ba83a14611f4657806341f4343414611f1e5780634e1273f414611da55780634f245ef714611d885780634f558e7914611d5c5780635712868314611a275780635a446215146117565780635c975abb1461173157806360a8d54614611708578063618439631461150457806369d89575146114845780636b20c45414611245578063715018a6146111ea57806376c1fc061461100b5780637cb6475914610fea5780638456cb5914610f8957806389c4b80814610f5c5780638da5cb5b14610f3457806394fccfb214610e9e57806395d89b4114610dc15780639f1b2fc114610d43578063a22cb46514610c52578063a570a96114610c31578063b40a562714610c0b578063bd85b03914610be1578063c103edf214610b41578063c5dd0c86146109a4578063d395da8e14610957578063d6fbf2021461093a578063e985e9c5146108e8578063eaea39b2146108ae578063f242432a146104e3578063f2fde38b146104205763f5298aca14610212575f80fd5b3461041c57606036600319011261041c5761022b612aee565b60249060448035916001600160a01b031690833533831480156103f7575b61025290612fa0565b82159261025f8415613003565b610268826130b3565b91610272866130b3565b945f60405161028081612bb5565b52610289613a01565b6103a0575b5f5b8351811015610324576102a38185612f8c565b516102ae8288612f8c565b5190805f526003602081815260405f2054928484106102e357906102de95949392915f52520360405f2055612f5d565b610290565b506084905f80516020613dc98339815191528a60288f6040519462461bcd60e51b8652600486015284015282015267616c537570706c7960c01b6064820152fd5b5f838389818452836020526040842083855260205280604085205461034b8282101561305b565b838652856020526040862085875260205203604085205560405191825260208201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6260403392a461039e604051612bb5565b005b94919592905f5b87518110156103ec57806103be6103e79288612f8c565b516103c9828b612f8c565b515f5260036020526103e060405f2091825461322c565b9055612f5d565b6103a7565b50909295919461028e565b50825f52600160205260405f20335f5260205261025260ff60405f2054169050610249565b5f80fd5b3461041c57602036600319011261041c57610439612aee565b610441612e53565b6001600160a01b0390811690811561048f57600654826001600160601b0360a01b821617600655167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461041c5760a036600319011261041c576104fc612aee565b610504612b04565b906084356001600160401b03811161041c57610524903690600401612da5565b916001600160a01b03908282163314801590816108a0575b90610879575b61054b90612fa0565b6105588282161515613c48565b6105636044356130b3565b61056e6064356130b3565b90610577613a01565b8385161561083e575b83831615610796575b50506044355f526020935f855260405f208385165f52855260405f20546105b4606435821015613ca2565b6044355f525f865260405f208486165f528652606435900360405f20556044355f525f855260405f208383165f52855260405f206105f5606435825461322c565b905560405160443581526064358682015283831690848616907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6260403392a4813b61063c57005b8491610686915f6040519586809581948363f23a6e6160e01b9b8c85523360048601521660248401526044356044840152606435606484015260a0608484015260a4830190612c12565b0393165af15f9181610767575b506106fe57826106a1613b6b565b6308c379a0146106c9575b60405162461bcd60e51b8152806106c560048201613bf3565b0390fd5b6106d1613b86565b90816106dd57506106ac565b6106c560405192839262461bcd60e51b845260048401526024830190612c12565b6001600160e01b03191603905061071157005b60405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608490fd5b610788919250843d861161078f575b6107808183612bd0565b810190613b4b565b9084610693565b503d610776565b925f95929491955b8451811015610830576107b18186612f8c565b51906107bd8189612f8c565b51825f52600360205260405f20548181106107ed576107e8935f5260036020520360405f2055612f5d565b61079e565b60405162461bcd60e51b815260206004820152602860248201525f80516020613dc9833981519152604482015267616c537570706c7960c01b6064820152608490fd5b509250929093508480610589565b925f95929491955b845181101561086d578061085d6108689289612f8c565b516103c98288612f8c565b610846565b50929490939194610580565b508183165f52600160205260405f20335f5260205261054b60ff60405f2054169050610542565b6108a933613d01565b61053c565b3461041c575f36600319011261041c5760206040517f00000000000000000000000000000000000000000000000000000000000000008152f35b3461041c57604036600319011261041c57610901612aee565b610909612b04565b9060018060a01b038091165f52600160205260405f2091165f52602052602060ff60405f2054166040519015158152f35b3461041c575f36600319011261041c576020600854604051908152f35b3461041c57604036600319011261041c576004356001600160401b03811161041c5761099a61098c6020923690600401612df6565b610994612b04565b91613abb565b6040519015158152f35b3461041c57604036600319011261041c576109bd612aee565b6024356001600160401b03811161041c576109dc903690600401612df6565b6001600160a01b03909216915f9190825b818110610b0657506109fe83612cdf565b92610a0c6040519485612bd0565b808452610a1b601f1991612cdf565b015f5b818110610ac75750505f935f925b828410610a455760405180610a418782612c47565b0390f35b60ff610a5e610a5986868599979899613a9d565b613aad565b165f526020600f815260405f2090835f5252610a7c60405f20613a48565b915f965b8351881015610ab75760018091610a978a87612f8c565b51610aa28289612f8c565b52610aad8188612f8c565b5001970196610a80565b9650929460010193929150610a2c565b6020906040969394959651610adb81612b9a565b5f8152825f818301525f60408301525f60608301525f60808301528289010152019493929194610a1e565b9390919260019060ff610b1d610a59888789613a9d565b165f526020600f815260405f2090845f525260405f205401940193929190936109ed565b604036600319011261041c57610b55612c37565b6024356001600160401b03811161041c57610b74903690600401612df6565b90600260075414610b9c57610b95926002600755610b90613a01565b6132b8565b6001600755005b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b3461041c57602036600319011261041c576004355f526003602052602060405f2054604051908152f35b3461041c575f36600319011261041c5760206001600160601b0360095416604051908152f35b3461041c575f36600319011261041c576020604051662386f26fc100008152f35b3461041c57604036600319011261041c57610c6b612aee565b6024359081151580920361041c57610c8281613d01565b610c8a613a01565b6001600160a01b031690338214610cec57335f52600160205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608490fd5b3461041c57610d5136612cc9565b90610d5a612e53565b81811015610d6a57600a55600b55005b60405162461bcd60e51b815260206004820152602960248201527f41756374696f6e20656e642074696d65206d7573742062652061667465722073604482015268746172742074696d6560b81b6064820152608490fd5b3461041c575f36600319011261041c57604051600e545f82610de283612b47565b918282526020936001908582821691825f14610e7e575050600114610e23575b50610e0f92500383612bd0565b610a41604051928284938452830190612c12565b849150600e5f527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd905f915b858310610e66575050610e0f935082010185610e02565b80548389018501528794508693909201918101610e4f565b60ff191685820152610e0f95151560051b8501019250879150610e029050565b3461041c57606036600319011261041c57610eb7612b04565b604435906004355f52600f60205260405f2060018060a01b038092165f5260205260405f2091825481101561041c57610ef460ff9160a094612e26565b50916001835493015490604051936001600160801b038116855260801c6020850152811660408401528181851c16606084015260a81c1615156080820152f35b3461041c575f36600319011261041c576006546040516001600160a01b039091168152602090f35b3461041c57602036600319011261041c576004355f526011602052602060ff60405f205416604051908152f35b3461041c575f36600319011261041c57610fa1612e53565b610fa9613a01565b6006805460ff60a01b1916600160a01b1790556040513381527f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890602090a1005b3461041c57602036600319011261041c57611003612e53565b600435600c55005b3461041c5760208060031936011261041c576004356001600160401b03811161041c5761103c903690600401612df6565b9061104682612cdf565b916110546040519384612bd0565b80835261106081612cdf565b601f1991908201855f5b8281106111db575050505f5b818110611119578486604051918183928301818452825180915260408401918060408360051b8701019401925f905b8382106110b25786860387f35b9193955091938390603f198882030183528651908280835192838152019201905f905b8082106110f6575050509080600192970192019201869594929391936110a5565b82516001600160a01b0316845287949384019390920191600191909101906110d5565b60ff611129610a59838588613a9d565b165f526011865260016111408160405f2001613a48565b80518561116561114f83612cdf565b9261115d6040519485612bd0565b808452612cdf565b01368a8301376111758489612f8c565b526111808388612f8c565b505f825b611194575b505050600101611076565b81518110156111d65782908190896111ce826111c8896001600160a01b0360406111be858c612f8c565b5101511694612f8c565b51612f8c565b520190611184565b611189565b6060878201830152810161106a565b3461041c575f36600319011261041c57611202612e53565b600680546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461041c57606036600319011261041c5761125e612aee565b6024906001600160401b0390823582811161041c57611281903690600401612cf6565b91604490813590811161041c5761129c903690600401612cf6565b6001600160a01b0390921692338414801561145f575b6112bb90612fa0565b83156112c78115613003565b6112d482518551146130d8565b5f6040516112e181612bb5565b526112ea613a01565b611433575b5f5b8151811015611385576113048183612f8c565b5161130f8286612f8c565b5190805f526003602081815260405f205492848410611344579061133f95949392915f52520360405f2055612f5d565b6112f1565b60405162461bcd60e51b8152600481018390526028818d01525f80516020613dc9833981519152818a015267616c537570706c7960c01b6064820152608490fd5b8382865f5b82518110156113ef57806113a16113ea9285612f8c565b516113ac8287612f8c565b5190805f5260205f815260405f20865f52815260405f2054916113d18484101561305b565b5f525f815260405f2090865f52520360405f2055612f5d565b61138a565b50907f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb6114255f94604051918291339583613135565b0390a461039e604051612bb5565b925f9491945b8451811015611455578061085d6114509286612f8c565b611439565b50929390936112ef565b50835f52600160205260405f20335f526020526112bb60ff60405f20541690506112b2565b3461041c575f36600319011261041c5761149c612e53565b5f80808060018060a01b036006541647905af16114b7613289565b50156114bf57005b60405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2072656c656173652066756e64730000000000000000006044820152606490fd5b3461041c5760208060031936011261041c57600435906001600160401b03821161041c573660238301121561041c5781600401359160249061154584612cdf565b936115536040519586612bd0565b808552828486019160051b8301019136831161041c578301905b8282106116ef575050506115818351612f2b565b905f5b84518110156116dc5760ff8061159a8388612f8c565b51165f52601180865260405f2090604051906115b582612b7f565b8383541682526115c86001809401613a48565b9088830191825284835116156116a6575051928351908115928315611699575b5050505f1461160b5750506001906008546116038286612f8c565b525b01611584565b806001600160801b03939293808861162287612f7f565b510151169482935b61164f575b50505050662386f26fc10000600192016116498286612f8c565b52611605565b8051841015611694578286859697848c61166a859987612f8c565b51015116101561168f5750828a6116818885612f8c565b510151165b9695019361162a565b611686565b61162f565b51161190508880806115e8565b88606491886040519262461bcd60e51b8452600484015282015270496e76616c69642073686f652073697a6560781b6044820152fd5b60405184815280610a4181870186612dc3565b813560ff8116810361041c57815290840190840161156d565b3461041c575f36600319011261041c5760206001600160601b0360095460601c16604051908152f35b3461041c575f36600319011261041c57602060ff60065460a01c166040519015158152f35b3461041c57604036600319011261041c576001600160401b0360043581811161041c57611787903690600401612b1a565b919060243582811161041c576117a1903690600401612b1a565b9290936117ac612e53565b818111611925576117be600d54612b47565b92601f938481116119c7575b505f90848311600114611944576117f892915f9183611939575b50508160011b915f199060031b1c19161790565b600d555b82116119255761180d600e54612b47565b8181116118c9575b505f908211600114611851578190611841935f926118465750508160011b915f199060031b1c19161790565b600e55005b0135905083806117e4565b601f198216927fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd915f5b8581106118b157508360019510611898575b505050811b01600e55005b01355f19600384901b60f8161c1916905582808061188d565b9092602060018192868601358155019401910161187b565b7fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd8280850160051c8201926020861061191c575b0160051c01905b8181106119115750611815565b5f8155600101611904565b925081926118fd565b634e487b7160e01b5f52604160045260245ffd5b0135905087806117e4565b601f19831691600d5f527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5925f5b8181106119af5750908460019594939210611996575b505050811b01600d556117fc565b01355f19600384901b60f8161c19169055868080611988565b91936020600181928787013581550195019201611972565b600d5f527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb58580850160051c82019260208610611a1e575b0160051c01905b818110611a1357506117ca565b5f8155600101611a06565b925081926119ff565b3461041c57606036600319011261041c576001600160401b0360043581811161041c57611a58903690600401612df6565b9160243581811161041c57611a71903690600401612df6565b93909160443590811161041c57611a8c903690600401612df6565b91611a95612e53565b828103611d255791925f959195925b808410611aad57005b611ab8848288613a9d565b35906001600160a01b038216820361041c57611ad585878a613a9d565b3593611ae2868286613a9d565b359760405194611af186612bb5565b5f86526001600160a01b03851615611cd657611b0c876130b3565b98611b168b6130b3565b9b611b1f613a01565b5f5b8b51811015611b4a57808c8f82611b3e611b45956103c993612f8c565b5192612f8c565b611b21565b50979496939b5097949199909850835f525f60205260405f2060018060a01b0383165f5260205260405f20611b8082825461322c565b905560408051858152602081018390526001600160a01b038416915f9133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291a4813b611bdb575b50505050600101929390959195611aa4565b91602091611c20935f60405180968195829463f23a6e6160e01b9a8b85523360048601528560248601526044850152606484015260a0608484015260a4830190612c12565b03926001600160a01b03165af15f9181611cb5575b50611c9c57611c42613b6b565b6308c379a014611c655760405162461bcd60e51b8152806106c560048201613bf3565b611c6d613b86565b80611c7857506106ac565b60405162461bcd60e51b8152602060048201529081906106c5906024830190612c12565b6001600160e01b03191603610711576001888080611bc9565b611ccf91925060203d60201161078f576107808183612bd0565b908a611c35565b60405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b60405162461bcd60e51b815260206004820152600f60248201526e4d69736d617463686564206461746160881b6044820152606490fd5b3461041c57602036600319011261041c576004355f526003602052602060405f20541515604051908152f35b3461041c575f36600319011261041c576020600a54604051908152f35b3461041c57604036600319011261041c576004356001600160401b0380821161041c573660238301121561041c57816004013590611de282612cdf565b92611df06040519485612bd0565b82845260209260248486019160051b8301019136831161041c57602401905b828210611eff5750505060243590811161041c57611e31903690600401612cf6565b8251815103611ea857611e448351612f2b565b925f5b8151811015611e9157611e8c90611e7c6001600160a01b03611e698386612f8c565b5116611e758387612f8c565b5190612eab565b611e868288612f8c565b52612f5d565b611e47565b505050610a41604051928284938452830190612dc3565b60405162461bcd60e51b815260048101839052602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608490fd5b81356001600160a01b038116810361041c578152908401908401611e0f565b3461041c575f36600319011261041c5760206040516daaeb6d7670e522a718067333cd4e8152f35b3461041c575f36600319011261041c57611f5e612e53565b60065460ff8160a01c1615611fa55760ff60a01b19166006556040513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90602090a1005b60405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606490fd5b3461041c575f36600319011261041c576020600c54604051908152f35b3461041c5760031960a03682011261041c57612018612aee565b90612021612b04565b6044908135926001600160401b039384811161041c57612045903690600401612cf6565b6064803586811161041c5761205e903690600401612cf6565b94608496873590811161041c57612079903690600401612da5565b6001600160a01b0394898616331480159081612362575b9061233b575b61209f90612fa0565b6120ac85518951146130d8565b858716156120ba8115613c48565b6120c2613a01565b868b1615612300575b612251575b5f5b855181101561215957806120e96121549288612f8c565b518c6120f5838d612f8c565b5191805f52826020925f845260405f208d82165f52845260405f20549061211e83831015613ca2565b835f525f85528d60405f2091165f5284520360405f20555f525f815260405f20908a8c165f52526103e060405f2091825461322c565b6120d2565b50888a989796949789604051887f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb89808d169416928061219b87339583613135565b0390a4873b6121a657005b60405198899788968863bc197c8160e01b9d8e8a523360048b0152166024890152870160a0905260a487016121da91612dc3565b908487830301908701526121ed91612dc3565b9184830301908401526121ff91612c12565b03921691815a6020945f91f15f9181612231575b5061222057611c42613b6b565b6001600160e01b0319160361071157005b61224a91925060203d811161078f576107808183612bd0565b9083612213565b979694905f9993999692965b85518110156122f0576122708187612f8c565b5161227b8289612f8c565b5190805f5260206003815260405f2054918383106122b0576122ab949392916003915f52520360405f2055612f5d565b61225d565b508b9067616c537570706c7960c01b8f5f80516020613dc98339815191528e6040519462461bcd60e51b8652600486015260286024860152840152820152fd5b50909496979892989591956120d0565b9996949895939291905f5b8a5181101561232c57808b6103c982611b3e612327958f612f8c565b61230b565b509091929395989496996120cb565b50858a165f52600160205260405f20335f5260205261209f60ff60405f2054169050612096565b61236b33613d01565b612090565b3461041c57604061238036612cc9565b905f526005602052815f2082519061239782612b7f565b546001600160a01b0380821680845260a09290921c6020840152919290156123e6575b6123d5612710916001600160601b036020860151169061315a565b049151169082519182526020820152f35b91506127106123d584516123f981612b7f565b600454848116825260a01c6020820152939150506123ba565b3461041c575f36600319011261041c576020600b54604051908152f35b3461041c57602036600319011261041c57612448612e53565b600435600855005b3461041c5760208060031936011261041c57600435906040515f6002549061247782612b47565b80845283858101926001948786821691825f1461269a57505060011461263e575b6124a492500384612bd0565b5f94807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008181811015612630575b50506d04ee2d6d415b85acef810000000080831015612622575b50662386f26fc1000080831015612613575b506305f5e10080831015612604575b50612710808310156125f5575b5060648210156125e5575b600a809210156125dc575b928087019381602161255561253f88612d54565b9761254d604051998a612bd0565b808952612d54565b878a019a90601f1901368c37870101905b6125a7575b61258c88610e0f818a8d8b61259b8c60405198899551809288880190612bf1565b84019151809386840190612bf1565b01038085520183612bd0565b5f19019083906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a8353049182156125d757919082612566565b61256b565b9583019561252b565b9590606460029104910195612520565b60049197920491019587612515565b60089197920491019587612508565b601091979204910195876124f9565b8691979204910195876124e7565b6040985004915087806124cd565b505060025f5283857f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace855f915b8583106126815750506124a49350820101612498565b80919294505483858a010152019101869085879361266b565b60ff191686526124a494151560051b84010191506124989050565b3461041c57602036600319011261041c5760ff6126d0612c37565b165f526011602052610a416126ea600160405f2001613a48565b60405191829182612c47565b3461041c575f36600319011261041c57604051600d545f8261271783612b47565b918282526020936001908582821691825f14610e7e5750506001146127435750610e0f92500383612bd0565b849150600d5f527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5905f915b858310612786575050610e0f935082010185610e02565b8054838901850152879450869390920191810161276f565b3461041c57604036600319011261041c576127b7612aee565b602435906001600160601b03821680830361041c57612710906127d8612e53565b11612850576001600160a01b031690811561280b576127f8604051612b7f565b60a01b6001600160a01b03191617600455005b60405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b3461041c5760208060031936011261041c576001600160401b0360043581811161041c576128dd6128ec913690600401612b1a565b6128e5612e53565b3691612d6f565b91825191821161192557612901600254612b47565b601f81116129c6575b5080601f831160011461294857508190612938935f9261293d5750508160011b915f199060031b1c19161790565b600255005b0151905083806117e4565b90601f1983169360025f527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace925f905b8682106129ae5750508360019510612996575b505050811b01600255005b01515f1960f88460031b161c1916905582808061298b565b80600185968294968601518155019501930190612978565b60025f527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace601f840160051c810191838510612a1e575b601f0160051c01905b818110612a13575061290a565b5f8155600101612a06565b90915081906129fd565b3461041c57602036600319011261041c5760043563ffffffff60e01b811680910361041c57602090636cdb3d1360e11b81148015612aaf575b8015612a9f575b80918115612a7d575b50506040519015158152f35b63152a902d60e11b1491508115612a97575b508280612a71565b905082612a8f565b506301ffc9a760e01b8114612a68565b506303a24d0760e21b8114612a61565b3461041c57604036600319011261041c576020612ae6612add612aee565b60243590612eab565b604051908152f35b600435906001600160a01b038216820361041c57565b602435906001600160a01b038216820361041c57565b9181601f8401121561041c578235916001600160401b03831161041c576020838186019501011161041c57565b90600182811c92168015612b75575b6020831014612b6157565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612b56565b604081019081106001600160401b0382111761192557604052565b60a081019081106001600160401b0382111761192557604052565b602081019081106001600160401b0382111761192557604052565b90601f801991011681019081106001600160401b0382111761192557604052565b5f5b838110612c025750505f910152565b8181015183820152602001612bf3565b90602091612c2b81518092818552858086019101612bf1565b601f01601f1916010190565b6004359060ff8216820361041c57565b60208082019080835283518092528060408094019401925f905b838210612c7057505050505090565b845180516001600160801b039081168852818501511687850152808201516001600160a01b03168783015260608082015160ff169088015260809081015115159087015260a09095019493820193600190910190612c61565b604090600319011261041c576004359060243590565b6001600160401b0381116119255760051b60200190565b9080601f8301121561041c576020908235612d1081612cdf565b93612d1e6040519586612bd0565b818552838086019260051b82010192831161041c578301905b828210612d45575050505090565b81358152908301908301612d37565b6001600160401b03811161192557601f01601f191660200190565b929192612d7b82612d54565b91612d896040519384612bd0565b82948184528183011161041c578281602093845f960137010152565b9080601f8301121561041c57816020612dc093359101612d6f565b90565b9081518082526020808093019301915f5b828110612de2575050505090565b835185529381019392810192600101612dd4565b9181601f8401121561041c578235916001600160401b03831161041c576020808501948460051b01011161041c57565b8054821015612e3f575f5260205f209060011b01905f90565b634e487b7160e01b5f52603260045260245ffd5b6006546001600160a01b03163303612e6757565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b0316908115612ed3575f525f60205260405f20905f5260205260405f205490565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b6064820152608490fd5b90612f3582612cdf565b612f426040519182612bd0565b8281528092612f53601f1991612cdf565b0190602036910137565b5f198114612f6b5760010190565b634e487b7160e01b5f52601160045260245ffd5b805115612e3f5760200190565b8051821015612e3f5760209160051b010190565b15612fa757565b60405162461bcd60e51b815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526d195c881bdc88185c1c1c9bdd995960921b6064820152608490fd5b1561300a57565b60405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b1561306257565b60405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608490fd5b604051906130c082612b7f565b60018252602036818401376130d482612f7f565b5290565b156130df57565b60405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608490fd5b909161314c612dc093604084526040840190612dc3565b916020818403910152612dc3565b81810292918115918404141715612f6b57565b91906131eb5780516020820151608090811b6001600160801b0319166001600160801b039092169190911783556040820151600190930180546060840151929093015160ff60a81b90151560a81b166001600160b01b03199093166001600160a01b039094169390931760a09190911b60ff60a01b1617179055565b565b634e487b7160e01b5f525f60045260245ffd5b908154916801000000000000000083101561192557826132269160016131e995018155612e26565b9061316d565b91908201809211612f6b57565b9060405161324681612b9a565b608060ff6001839580546001600160801b0381168652841c6020860152015460018060a01b0381166040850152818160a01c16606085015260a81c161515910152565b3d156132b3573d9061329a82612d54565b916132a86040519384612bd0565b82523d5f602084013e565b606090565b909160ff82165f52601160205260405f2092600a54421015806139f5575b806139e8575b156139aa578115159182613997575b505015613988576001600160801b0360646133267f00000000000000000000000000000000000000000000000000000000000000003461315a565b04165b60ff82165f52601060205260405f20335f5260205260405f20549260ff83165f52600f60205260405f20335f5260205260405f20938061378157506001600160801b036040519261337984612b9a565b813416845216602083015233604083015260ff831660608301526080905f82840152600181015460ff8254168110155f146136cc57600182015415612e3f57600182015f526133ca60205f20613239565b9260015b82811061367e575050506001600160801b03602083015116662386f26fc100008101809111612f6b5734106136095760ff84165f52601060205260405f2060018060a01b036040840151165f5260205260405f205494855f19810111612f6b5760ff85165f52600f60205260405f2060018060a01b036040850151165f5260205260405f20928354805f19810111612f6b5785613226819560015f9b8161348061357d9b8f986134dd99190190612e26565b50018260a81b60ff60a81b1982541617905560ff8c168d52601060205260408d20828060a01b036040890151168e526020528c604081205560ff8c168d52601060205260408d20338e526020528060408e20558c19019101612e26565b8680808060018060a01b036040860151166001600160801b03865116905af150613505613289565b5060018060a01b036040840151166001600160801b0384511660018060a01b03604084015116926001600160801b038060208301511691511690604051928352602083015260408201527fdae14d4caa7239b2bfc721f3fb18a0835e60eb28461496771cca1ad66b95d80d606060ff8a1692a46131fe565b6009546001600160601b0360018183160116906001600160601b031916176009557e90ad5a4a625fad7cdaf615307743c753e32ad4a90bbe26e6413a12626827c960ff6001600160801b03602060018060a01b036040860151169401511693613604604051928392169534839092916001600160801b036020916040840195845216910152565b0390a4565b60405162461bcd60e51b815260206004820152604160248201527f426964206d757374206265206174206c6561737420302e30312045544820686960448201527f67686572207468616e207468652063757272656e74206d696e696d756d2062696064820152601960fa1b608482015260a490fd5b61368b8160018601612e26565b5054821c6001600160801b03602087015116116136ab575b6001016133ce565b935060016136c46136be86838701612e26565b50613239565b9490506136a3565b9491506008543410613716578260016136e592016131fe565b60018401809411612f6b578161357d915f9560ff8616875260106020526040872033885260205260408720556131fe565b60405162461bcd60e51b815260206004820152603760248201527f426964206d75737420626520657175616c20746f206f7220677265617465722060448201527f7468616e20746865207374617274696e672070726963650000000000000000006064820152608490fd5b909391662386f26fc10000341061392d576137ea6137a8600196875f198096019101612e26565b5080546001600160801b03198082166001600160801b03928316348416018316908117608090811c90960190951b811690941782559094909381540190612e26565b6131eb578591848203613891575b5050600980546bffffffffffffffffffffffff60601b198116606091821c6001600160601b0316880190911b6bffffffffffffffffffffffff60601b1617905550508083015490546040805134815260809290921c602083015260ff93909316926001600160a01b0392909216917e90ad5a4a625fad7cdaf615307743c753e32ad4a90bbe26e6413a12626827c9919081908101613604565b84548254941693169290921780835583546001600160801b0319166001600160801b039091161782556139249185840180549190920180546001600160a01b039092166001600160a01b0319831681178255835460ff60a01b166001600160a81b0319909316179190911781559060ff9054825460ff60a81b191660a891821c929092161515901b60ff60a81b16179055565b5f8381806137f8565b60405162461bcd60e51b815260206004820152602d60248201527f596f75206d75737420746f7020757020796f757220626964206279206174206c60448201526c0cac2e6e840605c6062408aa89609b1b6064820152608490fd5b6001600160801b033416613329565b6139a392503391613abb565b5f806132eb565b60405162461bcd60e51b8152602060048201526016602482015275496e76616c69642062696420636f6e646974696f6e7360501b6044820152606490fd5b5060ff84541615156132dc565b50600b544211156132d6565b60ff60065460a01c16613a1057565b60405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606490fd5b908154613a5481612cdf565b92613a626040519485612bd0565b8184525f90815260208082208186015b848410613a80575050505050565b600283600192613a8f85613239565b815201920193019290613a72565b9190811015612e3f5760051b0190565b3560ff8116810361041c5790565b9190604092835192602093848101916001600160601b03199060601b16825260148152613ae781612b7f565b51902093600c5494935f935b808510613b035750505050501490565b9091929394613b13868387613a9d565b3590845f83831015613b3b5750505f528252613b32835f205b95612f5d565b93929190613af3565b9091613b32938252855220613b2c565b9081602091031261041c57516001600160e01b03198116810361041c5790565b5f9060033d11613b7757565b905060045f803e5f5160e01c90565b5f60443d10612dc057604051600319913d83016004833e81516001600160401b03918282113d602484011117613be257818401948551938411613bea573d85010160208487010111613be25750612dc092910160200190612bd0565b949350505050565b50949350505050565b60809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60608201520190565b15613c4f57565b60405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b15613ca957565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e90813b613d1b575050565b604051633185c44d60e21b81523060048201526001600160a01b039091166024820181905291602090829060449082905afa908115613dbd575f91613d7c575b5015613d645750565b60249060405190633b79c77360e21b82526004820152fd5b6020813d8211613db5575b81613d9460209383612bd0565b81010312613db15751908115158203613dae57505f613d5b565b80fd5b5080fd5b3d9150613d87565b6040513d5f823e3d90fdfe455243313135353a206275726e20616d6f756e74206578636565647320746f74a264697066735822122091e101ece063114e2ea4036b3d1a90e2b11566084fe7abba4077a6e41930210164736f6c63430008150033000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000064e4bf600000000000000000000000000000000000000000000000000000000064e8b3e0000000000000000000000000000000000000000000000000000000000000006e0000000000000000000000000000000000000000000000000429d069189e000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000734dabe2171dfa9689e94675cc279aa0d3ce7033fdd5a494397aaeca9f4930df90ef372b8069aad7b3f1209196a6060e8843a2ed000000000000000000000000000000000000000000000000000000000000058000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000256164696461732078204241504520467265736820466f72756d20416363657373205061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054142463834000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x60806040526004361015610011575f80fd5b5f3560e01c8062fdd58e14612abf57806301ffc9a714612a2857806302fe5305146128a857806304634d8d1461279e57806306fdde03146126f65780630d28d094146126b55780630e89341c146124505780630f73b4f41461242f5780632a24f46c146124125780632a55205a146123705780632eb2c2d614611ffe5780632eb4a7ab14611fe15780633f4ba83a14611f4657806341f4343414611f1e5780634e1273f414611da55780634f245ef714611d885780634f558e7914611d5c5780635712868314611a275780635a446215146117565780635c975abb1461173157806360a8d54614611708578063618439631461150457806369d89575146114845780636b20c45414611245578063715018a6146111ea57806376c1fc061461100b5780637cb6475914610fea5780638456cb5914610f8957806389c4b80814610f5c5780638da5cb5b14610f3457806394fccfb214610e9e57806395d89b4114610dc15780639f1b2fc114610d43578063a22cb46514610c52578063a570a96114610c31578063b40a562714610c0b578063bd85b03914610be1578063c103edf214610b41578063c5dd0c86146109a4578063d395da8e14610957578063d6fbf2021461093a578063e985e9c5146108e8578063eaea39b2146108ae578063f242432a146104e3578063f2fde38b146104205763f5298aca14610212575f80fd5b3461041c57606036600319011261041c5761022b612aee565b60249060448035916001600160a01b031690833533831480156103f7575b61025290612fa0565b82159261025f8415613003565b610268826130b3565b91610272866130b3565b945f60405161028081612bb5565b52610289613a01565b6103a0575b5f5b8351811015610324576102a38185612f8c565b516102ae8288612f8c565b5190805f526003602081815260405f2054928484106102e357906102de95949392915f52520360405f2055612f5d565b610290565b506084905f80516020613dc98339815191528a60288f6040519462461bcd60e51b8652600486015284015282015267616c537570706c7960c01b6064820152fd5b5f838389818452836020526040842083855260205280604085205461034b8282101561305b565b838652856020526040862085875260205203604085205560405191825260208201527fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6260403392a461039e604051612bb5565b005b94919592905f5b87518110156103ec57806103be6103e79288612f8c565b516103c9828b612f8c565b515f5260036020526103e060405f2091825461322c565b9055612f5d565b6103a7565b50909295919461028e565b50825f52600160205260405f20335f5260205261025260ff60405f2054169050610249565b5f80fd5b3461041c57602036600319011261041c57610439612aee565b610441612e53565b6001600160a01b0390811690811561048f57600654826001600160601b0360a01b821617600655167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e05f80a3005b60405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608490fd5b3461041c5760a036600319011261041c576104fc612aee565b610504612b04565b906084356001600160401b03811161041c57610524903690600401612da5565b916001600160a01b03908282163314801590816108a0575b90610879575b61054b90612fa0565b6105588282161515613c48565b6105636044356130b3565b61056e6064356130b3565b90610577613a01565b8385161561083e575b83831615610796575b50506044355f526020935f855260405f208385165f52855260405f20546105b4606435821015613ca2565b6044355f525f865260405f208486165f528652606435900360405f20556044355f525f855260405f208383165f52855260405f206105f5606435825461322c565b905560405160443581526064358682015283831690848616907fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6260403392a4813b61063c57005b8491610686915f6040519586809581948363f23a6e6160e01b9b8c85523360048601521660248401526044356044840152606435606484015260a0608484015260a4830190612c12565b0393165af15f9181610767575b506106fe57826106a1613b6b565b6308c379a0146106c9575b60405162461bcd60e51b8152806106c560048201613bf3565b0390fd5b6106d1613b86565b90816106dd57506106ac565b6106c560405192839262461bcd60e51b845260048401526024830190612c12565b6001600160e01b03191603905061071157005b60405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a656374656044820152676420746f6b656e7360c01b6064820152608490fd5b610788919250843d861161078f575b6107808183612bd0565b810190613b4b565b9084610693565b503d610776565b925f95929491955b8451811015610830576107b18186612f8c565b51906107bd8189612f8c565b51825f52600360205260405f20548181106107ed576107e8935f5260036020520360405f2055612f5d565b61079e565b60405162461bcd60e51b815260206004820152602860248201525f80516020613dc9833981519152604482015267616c537570706c7960c01b6064820152608490fd5b509250929093508480610589565b925f95929491955b845181101561086d578061085d6108689289612f8c565b516103c98288612f8c565b610846565b50929490939194610580565b508183165f52600160205260405f20335f5260205261054b60ff60405f2054169050610542565b6108a933613d01565b61053c565b3461041c575f36600319011261041c5760206040517f000000000000000000000000000000000000000000000000000000000000006e8152f35b3461041c57604036600319011261041c57610901612aee565b610909612b04565b9060018060a01b038091165f52600160205260405f2091165f52602052602060ff60405f2054166040519015158152f35b3461041c575f36600319011261041c576020600854604051908152f35b3461041c57604036600319011261041c576004356001600160401b03811161041c5761099a61098c6020923690600401612df6565b610994612b04565b91613abb565b6040519015158152f35b3461041c57604036600319011261041c576109bd612aee565b6024356001600160401b03811161041c576109dc903690600401612df6565b6001600160a01b03909216915f9190825b818110610b0657506109fe83612cdf565b92610a0c6040519485612bd0565b808452610a1b601f1991612cdf565b015f5b818110610ac75750505f935f925b828410610a455760405180610a418782612c47565b0390f35b60ff610a5e610a5986868599979899613a9d565b613aad565b165f526020600f815260405f2090835f5252610a7c60405f20613a48565b915f965b8351881015610ab75760018091610a978a87612f8c565b51610aa28289612f8c565b52610aad8188612f8c565b5001970196610a80565b9650929460010193929150610a2c565b6020906040969394959651610adb81612b9a565b5f8152825f818301525f60408301525f60608301525f60808301528289010152019493929194610a1e565b9390919260019060ff610b1d610a59888789613a9d565b165f526020600f815260405f2090845f525260405f205401940193929190936109ed565b604036600319011261041c57610b55612c37565b6024356001600160401b03811161041c57610b74903690600401612df6565b90600260075414610b9c57610b95926002600755610b90613a01565b6132b8565b6001600755005b60405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606490fd5b3461041c57602036600319011261041c576004355f526003602052602060405f2054604051908152f35b3461041c575f36600319011261041c5760206001600160601b0360095416604051908152f35b3461041c575f36600319011261041c576020604051662386f26fc100008152f35b3461041c57604036600319011261041c57610c6b612aee565b6024359081151580920361041c57610c8281613d01565b610c8a613a01565b6001600160a01b031690338214610cec57335f52600160205260405f20825f5260205260405f2060ff1981541660ff83161790556040519081527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3160203392a3005b60405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c20737461747573604482015268103337b91039b2b63360b91b6064820152608490fd5b3461041c57610d5136612cc9565b90610d5a612e53565b81811015610d6a57600a55600b55005b60405162461bcd60e51b815260206004820152602960248201527f41756374696f6e20656e642074696d65206d7573742062652061667465722073604482015268746172742074696d6560b81b6064820152608490fd5b3461041c575f36600319011261041c57604051600e545f82610de283612b47565b918282526020936001908582821691825f14610e7e575050600114610e23575b50610e0f92500383612bd0565b610a41604051928284938452830190612c12565b849150600e5f527fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd905f915b858310610e66575050610e0f935082010185610e02565b80548389018501528794508693909201918101610e4f565b60ff191685820152610e0f95151560051b8501019250879150610e029050565b3461041c57606036600319011261041c57610eb7612b04565b604435906004355f52600f60205260405f2060018060a01b038092165f5260205260405f2091825481101561041c57610ef460ff9160a094612e26565b50916001835493015490604051936001600160801b038116855260801c6020850152811660408401528181851c16606084015260a81c1615156080820152f35b3461041c575f36600319011261041c576006546040516001600160a01b039091168152602090f35b3461041c57602036600319011261041c576004355f526011602052602060ff60405f205416604051908152f35b3461041c575f36600319011261041c57610fa1612e53565b610fa9613a01565b6006805460ff60a01b1916600160a01b1790556040513381527f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25890602090a1005b3461041c57602036600319011261041c57611003612e53565b600435600c55005b3461041c5760208060031936011261041c576004356001600160401b03811161041c5761103c903690600401612df6565b9061104682612cdf565b916110546040519384612bd0565b80835261106081612cdf565b601f1991908201855f5b8281106111db575050505f5b818110611119578486604051918183928301818452825180915260408401918060408360051b8701019401925f905b8382106110b25786860387f35b9193955091938390603f198882030183528651908280835192838152019201905f905b8082106110f6575050509080600192970192019201869594929391936110a5565b82516001600160a01b0316845287949384019390920191600191909101906110d5565b60ff611129610a59838588613a9d565b165f526011865260016111408160405f2001613a48565b80518561116561114f83612cdf565b9261115d6040519485612bd0565b808452612cdf565b01368a8301376111758489612f8c565b526111808388612f8c565b505f825b611194575b505050600101611076565b81518110156111d65782908190896111ce826111c8896001600160a01b0360406111be858c612f8c565b5101511694612f8c565b51612f8c565b520190611184565b611189565b6060878201830152810161106a565b3461041c575f36600319011261041c57611202612e53565b600680546001600160a01b031981169091555f906001600160a01b03167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e08280a3005b3461041c57606036600319011261041c5761125e612aee565b6024906001600160401b0390823582811161041c57611281903690600401612cf6565b91604490813590811161041c5761129c903690600401612cf6565b6001600160a01b0390921692338414801561145f575b6112bb90612fa0565b83156112c78115613003565b6112d482518551146130d8565b5f6040516112e181612bb5565b526112ea613a01565b611433575b5f5b8151811015611385576113048183612f8c565b5161130f8286612f8c565b5190805f526003602081815260405f205492848410611344579061133f95949392915f52520360405f2055612f5d565b6112f1565b60405162461bcd60e51b8152600481018390526028818d01525f80516020613dc9833981519152818a015267616c537570706c7960c01b6064820152608490fd5b8382865f5b82518110156113ef57806113a16113ea9285612f8c565b516113ac8287612f8c565b5190805f5260205f815260405f20865f52815260405f2054916113d18484101561305b565b5f525f815260405f2090865f52520360405f2055612f5d565b61138a565b50907f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb6114255f94604051918291339583613135565b0390a461039e604051612bb5565b925f9491945b8451811015611455578061085d6114509286612f8c565b611439565b50929390936112ef565b50835f52600160205260405f20335f526020526112bb60ff60405f20541690506112b2565b3461041c575f36600319011261041c5761149c612e53565b5f80808060018060a01b036006541647905af16114b7613289565b50156114bf57005b60405162461bcd60e51b815260206004820152601760248201527f4661696c656420746f2072656c656173652066756e64730000000000000000006044820152606490fd5b3461041c5760208060031936011261041c57600435906001600160401b03821161041c573660238301121561041c5781600401359160249061154584612cdf565b936115536040519586612bd0565b808552828486019160051b8301019136831161041c578301905b8282106116ef575050506115818351612f2b565b905f5b84518110156116dc5760ff8061159a8388612f8c565b51165f52601180865260405f2090604051906115b582612b7f565b8383541682526115c86001809401613a48565b9088830191825284835116156116a6575051928351908115928315611699575b5050505f1461160b5750506001906008546116038286612f8c565b525b01611584565b806001600160801b03939293808861162287612f7f565b510151169482935b61164f575b50505050662386f26fc10000600192016116498286612f8c565b52611605565b8051841015611694578286859697848c61166a859987612f8c565b51015116101561168f5750828a6116818885612f8c565b510151165b9695019361162a565b611686565b61162f565b51161190508880806115e8565b88606491886040519262461bcd60e51b8452600484015282015270496e76616c69642073686f652073697a6560781b6044820152fd5b60405184815280610a4181870186612dc3565b813560ff8116810361041c57815290840190840161156d565b3461041c575f36600319011261041c5760206001600160601b0360095460601c16604051908152f35b3461041c575f36600319011261041c57602060ff60065460a01c166040519015158152f35b3461041c57604036600319011261041c576001600160401b0360043581811161041c57611787903690600401612b1a565b919060243582811161041c576117a1903690600401612b1a565b9290936117ac612e53565b818111611925576117be600d54612b47565b92601f938481116119c7575b505f90848311600114611944576117f892915f9183611939575b50508160011b915f199060031b1c19161790565b600d555b82116119255761180d600e54612b47565b8181116118c9575b505f908211600114611851578190611841935f926118465750508160011b915f199060031b1c19161790565b600e55005b0135905083806117e4565b601f198216927fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd915f5b8581106118b157508360019510611898575b505050811b01600e55005b01355f19600384901b60f8161c1916905582808061188d565b9092602060018192868601358155019401910161187b565b7fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd8280850160051c8201926020861061191c575b0160051c01905b8181106119115750611815565b5f8155600101611904565b925081926118fd565b634e487b7160e01b5f52604160045260245ffd5b0135905087806117e4565b601f19831691600d5f527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5925f5b8181106119af5750908460019594939210611996575b505050811b01600d556117fc565b01355f19600384901b60f8161c19169055868080611988565b91936020600181928787013581550195019201611972565b600d5f527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb58580850160051c82019260208610611a1e575b0160051c01905b818110611a1357506117ca565b5f8155600101611a06565b925081926119ff565b3461041c57606036600319011261041c576001600160401b0360043581811161041c57611a58903690600401612df6565b9160243581811161041c57611a71903690600401612df6565b93909160443590811161041c57611a8c903690600401612df6565b91611a95612e53565b828103611d255791925f959195925b808410611aad57005b611ab8848288613a9d565b35906001600160a01b038216820361041c57611ad585878a613a9d565b3593611ae2868286613a9d565b359760405194611af186612bb5565b5f86526001600160a01b03851615611cd657611b0c876130b3565b98611b168b6130b3565b9b611b1f613a01565b5f5b8b51811015611b4a57808c8f82611b3e611b45956103c993612f8c565b5192612f8c565b611b21565b50979496939b5097949199909850835f525f60205260405f2060018060a01b0383165f5260205260405f20611b8082825461322c565b905560408051858152602081018390526001600160a01b038416915f9133917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6291a4813b611bdb575b50505050600101929390959195611aa4565b91602091611c20935f60405180968195829463f23a6e6160e01b9a8b85523360048601528560248601526044850152606484015260a0608484015260a4830190612c12565b03926001600160a01b03165af15f9181611cb5575b50611c9c57611c42613b6b565b6308c379a014611c655760405162461bcd60e51b8152806106c560048201613bf3565b611c6d613b86565b80611c7857506106ac565b60405162461bcd60e51b8152602060048201529081906106c5906024830190612c12565b6001600160e01b03191603610711576001888080611bc9565b611ccf91925060203d60201161078f576107808183612bd0565b908a611c35565b60405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608490fd5b60405162461bcd60e51b815260206004820152600f60248201526e4d69736d617463686564206461746160881b6044820152606490fd5b3461041c57602036600319011261041c576004355f526003602052602060405f20541515604051908152f35b3461041c575f36600319011261041c576020600a54604051908152f35b3461041c57604036600319011261041c576004356001600160401b0380821161041c573660238301121561041c57816004013590611de282612cdf565b92611df06040519485612bd0565b82845260209260248486019160051b8301019136831161041c57602401905b828210611eff5750505060243590811161041c57611e31903690600401612cf6565b8251815103611ea857611e448351612f2b565b925f5b8151811015611e9157611e8c90611e7c6001600160a01b03611e698386612f8c565b5116611e758387612f8c565b5190612eab565b611e868288612f8c565b52612f5d565b611e47565b505050610a41604051928284938452830190612dc3565b60405162461bcd60e51b815260048101839052602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e677468604482015268040dad2e6dac2e8c6d60bb1b6064820152608490fd5b81356001600160a01b038116810361041c578152908401908401611e0f565b3461041c575f36600319011261041c5760206040516daaeb6d7670e522a718067333cd4e8152f35b3461041c575f36600319011261041c57611f5e612e53565b60065460ff8160a01c1615611fa55760ff60a01b19166006556040513381527f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa90602090a1005b60405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606490fd5b3461041c575f36600319011261041c576020600c54604051908152f35b3461041c5760031960a03682011261041c57612018612aee565b90612021612b04565b6044908135926001600160401b039384811161041c57612045903690600401612cf6565b6064803586811161041c5761205e903690600401612cf6565b94608496873590811161041c57612079903690600401612da5565b6001600160a01b0394898616331480159081612362575b9061233b575b61209f90612fa0565b6120ac85518951146130d8565b858716156120ba8115613c48565b6120c2613a01565b868b1615612300575b612251575b5f5b855181101561215957806120e96121549288612f8c565b518c6120f5838d612f8c565b5191805f52826020925f845260405f208d82165f52845260405f20549061211e83831015613ca2565b835f525f85528d60405f2091165f5284520360405f20555f525f815260405f20908a8c165f52526103e060405f2091825461322c565b6120d2565b50888a989796949789604051887f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb89808d169416928061219b87339583613135565b0390a4873b6121a657005b60405198899788968863bc197c8160e01b9d8e8a523360048b0152166024890152870160a0905260a487016121da91612dc3565b908487830301908701526121ed91612dc3565b9184830301908401526121ff91612c12565b03921691815a6020945f91f15f9181612231575b5061222057611c42613b6b565b6001600160e01b0319160361071157005b61224a91925060203d811161078f576107808183612bd0565b9083612213565b979694905f9993999692965b85518110156122f0576122708187612f8c565b5161227b8289612f8c565b5190805f5260206003815260405f2054918383106122b0576122ab949392916003915f52520360405f2055612f5d565b61225d565b508b9067616c537570706c7960c01b8f5f80516020613dc98339815191528e6040519462461bcd60e51b8652600486015260286024860152840152820152fd5b50909496979892989591956120d0565b9996949895939291905f5b8a5181101561232c57808b6103c982611b3e612327958f612f8c565b61230b565b509091929395989496996120cb565b50858a165f52600160205260405f20335f5260205261209f60ff60405f2054169050612096565b61236b33613d01565b612090565b3461041c57604061238036612cc9565b905f526005602052815f2082519061239782612b7f565b546001600160a01b0380821680845260a09290921c6020840152919290156123e6575b6123d5612710916001600160601b036020860151169061315a565b049151169082519182526020820152f35b91506127106123d584516123f981612b7f565b600454848116825260a01c6020820152939150506123ba565b3461041c575f36600319011261041c576020600b54604051908152f35b3461041c57602036600319011261041c57612448612e53565b600435600855005b3461041c5760208060031936011261041c57600435906040515f6002549061247782612b47565b80845283858101926001948786821691825f1461269a57505060011461263e575b6124a492500384612bd0565b5f94807a184f03e93ff9f4daa797ed6e38ed64bf6a1f0100000000000000008181811015612630575b50506d04ee2d6d415b85acef810000000080831015612622575b50662386f26fc1000080831015612613575b506305f5e10080831015612604575b50612710808310156125f5575b5060648210156125e5575b600a809210156125dc575b928087019381602161255561253f88612d54565b9761254d604051998a612bd0565b808952612d54565b878a019a90601f1901368c37870101905b6125a7575b61258c88610e0f818a8d8b61259b8c60405198899551809288880190612bf1565b84019151809386840190612bf1565b01038085520183612bd0565b5f19019083906f181899199a1a9b1b9c1cb0b131b232b360811b8282061a8353049182156125d757919082612566565b61256b565b9583019561252b565b9590606460029104910195612520565b60049197920491019587612515565b60089197920491019587612508565b601091979204910195876124f9565b8691979204910195876124e7565b6040985004915087806124cd565b505060025f5283857f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace855f915b8583106126815750506124a49350820101612498565b80919294505483858a010152019101869085879361266b565b60ff191686526124a494151560051b84010191506124989050565b3461041c57602036600319011261041c5760ff6126d0612c37565b165f526011602052610a416126ea600160405f2001613a48565b60405191829182612c47565b3461041c575f36600319011261041c57604051600d545f8261271783612b47565b918282526020936001908582821691825f14610e7e5750506001146127435750610e0f92500383612bd0565b849150600d5f527fd7b6990105719101dabeb77144f2a3385c8033acd3af97e9423a695e81ad1eb5905f915b858310612786575050610e0f935082010185610e02565b8054838901850152879450869390920191810161276f565b3461041c57604036600319011261041c576127b7612aee565b602435906001600160601b03821680830361041c57612710906127d8612e53565b11612850576001600160a01b031690811561280b576127f8604051612b7f565b60a01b6001600160a01b03191617600455005b60405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c6964207265636569766572000000000000006044820152606490fd5b60405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b6064820152608490fd5b3461041c5760208060031936011261041c576001600160401b0360043581811161041c576128dd6128ec913690600401612b1a565b6128e5612e53565b3691612d6f565b91825191821161192557612901600254612b47565b601f81116129c6575b5080601f831160011461294857508190612938935f9261293d5750508160011b915f199060031b1c19161790565b600255005b0151905083806117e4565b90601f1983169360025f527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace925f905b8682106129ae5750508360019510612996575b505050811b01600255005b01515f1960f88460031b161c1916905582808061298b565b80600185968294968601518155019501930190612978565b60025f527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace601f840160051c810191838510612a1e575b601f0160051c01905b818110612a13575061290a565b5f8155600101612a06565b90915081906129fd565b3461041c57602036600319011261041c5760043563ffffffff60e01b811680910361041c57602090636cdb3d1360e11b81148015612aaf575b8015612a9f575b80918115612a7d575b50506040519015158152f35b63152a902d60e11b1491508115612a97575b508280612a71565b905082612a8f565b506301ffc9a760e01b8114612a68565b506303a24d0760e21b8114612a61565b3461041c57604036600319011261041c576020612ae6612add612aee565b60243590612eab565b604051908152f35b600435906001600160a01b038216820361041c57565b602435906001600160a01b038216820361041c57565b9181601f8401121561041c578235916001600160401b03831161041c576020838186019501011161041c57565b90600182811c92168015612b75575b6020831014612b6157565b634e487b7160e01b5f52602260045260245ffd5b91607f1691612b56565b604081019081106001600160401b0382111761192557604052565b60a081019081106001600160401b0382111761192557604052565b602081019081106001600160401b0382111761192557604052565b90601f801991011681019081106001600160401b0382111761192557604052565b5f5b838110612c025750505f910152565b8181015183820152602001612bf3565b90602091612c2b81518092818552858086019101612bf1565b601f01601f1916010190565b6004359060ff8216820361041c57565b60208082019080835283518092528060408094019401925f905b838210612c7057505050505090565b845180516001600160801b039081168852818501511687850152808201516001600160a01b03168783015260608082015160ff169088015260809081015115159087015260a09095019493820193600190910190612c61565b604090600319011261041c576004359060243590565b6001600160401b0381116119255760051b60200190565b9080601f8301121561041c576020908235612d1081612cdf565b93612d1e6040519586612bd0565b818552838086019260051b82010192831161041c578301905b828210612d45575050505090565b81358152908301908301612d37565b6001600160401b03811161192557601f01601f191660200190565b929192612d7b82612d54565b91612d896040519384612bd0565b82948184528183011161041c578281602093845f960137010152565b9080601f8301121561041c57816020612dc093359101612d6f565b90565b9081518082526020808093019301915f5b828110612de2575050505090565b835185529381019392810192600101612dd4565b9181601f8401121561041c578235916001600160401b03831161041c576020808501948460051b01011161041c57565b8054821015612e3f575f5260205f209060011b01905f90565b634e487b7160e01b5f52603260045260245ffd5b6006546001600160a01b03163303612e6757565b606460405162461bcd60e51b815260206004820152602060248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152fd5b6001600160a01b0316908115612ed3575f525f60205260405f20905f5260205260405f205490565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201526930b634b21037bbb732b960b11b6064820152608490fd5b90612f3582612cdf565b612f426040519182612bd0565b8281528092612f53601f1991612cdf565b0190602036910137565b5f198114612f6b5760010190565b634e487b7160e01b5f52601160045260245ffd5b805115612e3f5760200190565b8051821015612e3f5760209160051b010190565b15612fa757565b60405162461bcd60e51b815260206004820152602e60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201526d195c881bdc88185c1c1c9bdd995960921b6064820152608490fd5b1561300a57565b60405162461bcd60e51b815260206004820152602360248201527f455243313135353a206275726e2066726f6d20746865207a65726f206164647260448201526265737360e81b6064820152608490fd5b1561306257565b60405162461bcd60e51b8152602060048201526024808201527f455243313135353a206275726e20616d6f756e7420657863656564732062616c604482015263616e636560e01b6064820152608490fd5b604051906130c082612b7f565b60018252602036818401376130d482612f7f565b5290565b156130df57565b60405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e677468206044820152670dad2e6dac2e8c6d60c31b6064820152608490fd5b909161314c612dc093604084526040840190612dc3565b916020818403910152612dc3565b81810292918115918404141715612f6b57565b91906131eb5780516020820151608090811b6001600160801b0319166001600160801b039092169190911783556040820151600190930180546060840151929093015160ff60a81b90151560a81b166001600160b01b03199093166001600160a01b039094169390931760a09190911b60ff60a01b1617179055565b565b634e487b7160e01b5f525f60045260245ffd5b908154916801000000000000000083101561192557826132269160016131e995018155612e26565b9061316d565b91908201809211612f6b57565b9060405161324681612b9a565b608060ff6001839580546001600160801b0381168652841c6020860152015460018060a01b0381166040850152818160a01c16606085015260a81c161515910152565b3d156132b3573d9061329a82612d54565b916132a86040519384612bd0565b82523d5f602084013e565b606090565b909160ff82165f52601160205260405f2092600a54421015806139f5575b806139e8575b156139aa578115159182613997575b505015613988576001600160801b0360646133267f000000000000000000000000000000000000000000000000000000000000006e3461315a565b04165b60ff82165f52601060205260405f20335f5260205260405f20549260ff83165f52600f60205260405f20335f5260205260405f20938061378157506001600160801b036040519261337984612b9a565b813416845216602083015233604083015260ff831660608301526080905f82840152600181015460ff8254168110155f146136cc57600182015415612e3f57600182015f526133ca60205f20613239565b9260015b82811061367e575050506001600160801b03602083015116662386f26fc100008101809111612f6b5734106136095760ff84165f52601060205260405f2060018060a01b036040840151165f5260205260405f205494855f19810111612f6b5760ff85165f52600f60205260405f2060018060a01b036040850151165f5260205260405f20928354805f19810111612f6b5785613226819560015f9b8161348061357d9b8f986134dd99190190612e26565b50018260a81b60ff60a81b1982541617905560ff8c168d52601060205260408d20828060a01b036040890151168e526020528c604081205560ff8c168d52601060205260408d20338e526020528060408e20558c19019101612e26565b8680808060018060a01b036040860151166001600160801b03865116905af150613505613289565b5060018060a01b036040840151166001600160801b0384511660018060a01b03604084015116926001600160801b038060208301511691511690604051928352602083015260408201527fdae14d4caa7239b2bfc721f3fb18a0835e60eb28461496771cca1ad66b95d80d606060ff8a1692a46131fe565b6009546001600160601b0360018183160116906001600160601b031916176009557e90ad5a4a625fad7cdaf615307743c753e32ad4a90bbe26e6413a12626827c960ff6001600160801b03602060018060a01b036040860151169401511693613604604051928392169534839092916001600160801b036020916040840195845216910152565b0390a4565b60405162461bcd60e51b815260206004820152604160248201527f426964206d757374206265206174206c6561737420302e30312045544820686960448201527f67686572207468616e207468652063757272656e74206d696e696d756d2062696064820152601960fa1b608482015260a490fd5b61368b8160018601612e26565b5054821c6001600160801b03602087015116116136ab575b6001016133ce565b935060016136c46136be86838701612e26565b50613239565b9490506136a3565b9491506008543410613716578260016136e592016131fe565b60018401809411612f6b578161357d915f9560ff8616875260106020526040872033885260205260408720556131fe565b60405162461bcd60e51b815260206004820152603760248201527f426964206d75737420626520657175616c20746f206f7220677265617465722060448201527f7468616e20746865207374617274696e672070726963650000000000000000006064820152608490fd5b909391662386f26fc10000341061392d576137ea6137a8600196875f198096019101612e26565b5080546001600160801b03198082166001600160801b03928316348416018316908117608090811c90960190951b811690941782559094909381540190612e26565b6131eb578591848203613891575b5050600980546bffffffffffffffffffffffff60601b198116606091821c6001600160601b0316880190911b6bffffffffffffffffffffffff60601b1617905550508083015490546040805134815260809290921c602083015260ff93909316926001600160a01b0392909216917e90ad5a4a625fad7cdaf615307743c753e32ad4a90bbe26e6413a12626827c9919081908101613604565b84548254941693169290921780835583546001600160801b0319166001600160801b039091161782556139249185840180549190920180546001600160a01b039092166001600160a01b0319831681178255835460ff60a01b166001600160a81b0319909316179190911781559060ff9054825460ff60a81b191660a891821c929092161515901b60ff60a81b16179055565b5f8381806137f8565b60405162461bcd60e51b815260206004820152602d60248201527f596f75206d75737420746f7020757020796f757220626964206279206174206c60448201526c0cac2e6e840605c6062408aa89609b1b6064820152608490fd5b6001600160801b033416613329565b6139a392503391613abb565b5f806132eb565b60405162461bcd60e51b8152602060048201526016602482015275496e76616c69642062696420636f6e646974696f6e7360501b6044820152606490fd5b5060ff84541615156132dc565b50600b544211156132d6565b60ff60065460a01c16613a1057565b60405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606490fd5b908154613a5481612cdf565b92613a626040519485612bd0565b8184525f90815260208082208186015b848410613a80575050505050565b600283600192613a8f85613239565b815201920193019290613a72565b9190811015612e3f5760051b0190565b3560ff8116810361041c5790565b9190604092835192602093848101916001600160601b03199060601b16825260148152613ae781612b7f565b51902093600c5494935f935b808510613b035750505050501490565b9091929394613b13868387613a9d565b3590845f83831015613b3b5750505f528252613b32835f205b95612f5d565b93929190613af3565b9091613b32938252855220613b2c565b9081602091031261041c57516001600160e01b03198116810361041c5790565b5f9060033d11613b7757565b905060045f803e5f5160e01c90565b5f60443d10612dc057604051600319913d83016004833e81516001600160401b03918282113d602484011117613be257818401948551938411613bea573d85010160208487010111613be25750612dc092910160200190612bd0565b949350505050565b50949350505050565b60809060208152603460208201527f455243313135353a207472616e7366657220746f206e6f6e2d455243313135356040820152732932b1b2b4bb32b91034b6b83632b6b2b73a32b960611b60608201520190565b15613c4f57565b60405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608490fd5b15613ca957565b60405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201526939103a3930b739b332b960b11b6064820152608490fd5b6daaeb6d7670e522a718067333cd4e90813b613d1b575050565b604051633185c44d60e21b81523060048201526001600160a01b039091166024820181905291602090829060449082905afa908115613dbd575f91613d7c575b5015613d645750565b60249060405190633b79c77360e21b82526004820152fd5b6020813d8211613db5575b81613d9460209383612bd0565b81010312613db15751908115158203613dae57505f613d5b565b80fd5b5080fd5b3d9150613d87565b6040513d5f823e3d90fdfe455243313135353a206275726e20616d6f756e74206578636565647320746f74a264697066735822122091e101ece063114e2ea4036b3d1a90e2b11566084fe7abba4077a6e41930210164736f6c63430008150033

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

000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000003800000000000000000000000000000000000000000000000000000000064e4bf600000000000000000000000000000000000000000000000000000000064e8b3e0000000000000000000000000000000000000000000000000000000000000006e0000000000000000000000000000000000000000000000000429d069189e000000000000000000000000000000000000000000000000000000000000000003e8000000000000000000000000734dabe2171dfa9689e94675cc279aa0d3ce7033fdd5a494397aaeca9f4930df90ef372b8069aad7b3f1209196a6060e8843a2ed000000000000000000000000000000000000000000000000000000000000058000000000000000000000000000000000000000000000000000000000000005a00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000700000000000000000000000000000000000000000000000000000000000000080000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000b000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000f000000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000070000000000000000000000000000000000000000000000000000000000000009000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000d000000000000000000000000000000000000000000000000000000000000000900000000000000000000000000000000000000000000000000000000000000090000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000256164696461732078204241504520467265736820466f72756d20416363657373205061737300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000054142463834000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _sizes (uint8[]): 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15
Arg [1] : _supply (uint8[]): 4,4,6,6,7,9,10,10,13,9,9,5,5,2,1
Arg [2] : _auctionStart (uint256): 1692712800
Arg [3] : _auctionEnd (uint256): 1692972000
Arg [4] : _allowList (uint256): 110
Arg [5] : _startingPrice (uint256): 300000000000000000
Arg [6] : _value (uint96): 1000
Arg [7] : _recipient (address): 0x734dABe2171Dfa9689E94675Cc279aA0d3Ce7033
Arg [8] : _merkleRoot (bytes32): 0xfdd5a494397aaeca9f4930df90ef372b8069aad7b3f1209196a6060e8843a2ed
Arg [9] : _baseUri (string):
Arg [10] : _name (string): adidas x BAPE Fresh Forum Access Pass
Arg [11] : _symbol (string): ABF84

-----Encoded View---------------
50 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000380
Arg [2] : 0000000000000000000000000000000000000000000000000000000064e4bf60
Arg [3] : 0000000000000000000000000000000000000000000000000000000064e8b3e0
Arg [4] : 000000000000000000000000000000000000000000000000000000000000006e
Arg [5] : 0000000000000000000000000000000000000000000000000429d069189e0000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [7] : 000000000000000000000000734dabe2171dfa9689e94675cc279aa0d3ce7033
Arg [8] : fdd5a494397aaeca9f4930df90ef372b8069aad7b3f1209196a6060e8843a2ed
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000580
Arg [10] : 00000000000000000000000000000000000000000000000000000000000005a0
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000600
Arg [12] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [13] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [15] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [16] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [17] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [18] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [19] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000008
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [22] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [23] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [24] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [25] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [26] : 000000000000000000000000000000000000000000000000000000000000000e
Arg [27] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [28] : 000000000000000000000000000000000000000000000000000000000000000f
Arg [29] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [30] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [31] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [32] : 0000000000000000000000000000000000000000000000000000000000000006
Arg [33] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [34] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [35] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [36] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [37] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [38] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [39] : 0000000000000000000000000000000000000000000000000000000000000009
Arg [40] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [41] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [42] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [43] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [44] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [45] : 0000000000000000000000000000000000000000000000000000000000000025
Arg [46] : 6164696461732078204241504520467265736820466f72756d20416363657373
Arg [47] : 2050617373000000000000000000000000000000000000000000000000000000
Arg [48] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [49] : 4142463834000000000000000000000000000000000000000000000000000000


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

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