ETH Price: $3,052.31 (+3.46%)

Token

 

Overview

Max Total Supply

3,001

Holders

1,124

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0x83595fe0ae2a4853e351059a7f11a60a049ab3ee
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
MondoTokens

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 4000 runs

Other Settings:
default evmVersion
File 1 of 34 : mondo-megabits.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/AccessControlEnumerable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Address.sol";

import "./mondo-marketplace.sol";

contract MondoTokens is ERC1155, ERC2981, Pausable, AccessControlEnumerable, ReentrancyGuard {
    /* ========================================================================================== */
    /*                                            ROLES                                           */
    /* ========================================================================================== */
    bytes32 public constant PAUSER_ROLE = keccak256("PAUSER_ROLE");
    bytes32 public constant WITHDRAWER_ROLE = keccak256("WITHDRAWER_ROLE");

    /* --------------------------------------- MARKETPLACE -------------------------------------- */
    MondoMarketplace public _mondoMarketplace;

    /* ========================================================================================== */
    /*                                     MINTING INFORMATION                                    */
    /* ========================================================================================== */
    enum MintingStatus {
        WAITING,
        PAUSED,
        STANDARD,
        ADVANCED,
        DONE
    }

    MintingStatus public mintingStatus = MintingStatus.WAITING;

    // Merkle root for the whitelist
    bytes32 public root = 0x36a3f277fab998f2083548bd5c2787cfea178f0898274a95941a60a2c72a3ca4;

    // Signer address for verifying signatures
    address public signer = 0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266;

    string public constant PROVENANCE_RECORD = "magnet:?xt=urn:btih:000519fbe6f5ffb26f9d505b334265aa0f8b58c3&dn=Mondo%20Megabits%20Drop%201%20-%20Fake%20Tech";

    // Total supply
    uint256 public constant TOTAL_COPIES_EVER = 4038;

    uint256 public totalMinted = 0;

    bool public whitelistEnabled = true;

    // Maximum minted tokens for a single address
    uint8 public maxMintCountPerAddress = 5;

    // Tokens to be minted.
    // Using uint8 because it will be packed to be smaller so that it's possible to fit this many numbers.
    // Gas will be higher due to packing after modifying a storage variable that doesn't take up a full slot.
    // We have to make this tradeoff though.
    uint8[] tokenPool = [
        63,
        11,
        80,
        81,
        42,
        100,
        55,
        60,
        75,
        28,
        16,
        86,
        96,
        81,
        22,
        39,
        62,
        93,
        83,
        5,
        65,
        31,
        25,
        5,
        22,
        29,
        47,
        51,
        12,
        62,
        84,
        100,
        96,
        20,
        100,
        73,
        70,
        51,
        42,
        97,
        29,
        44,
        75,
        55,
        89,
        60,
        49,
        67,
        87,
        93,
        99,
        57,
        34,
        94,
        24,
        45,
        27,
        99,
        55,
        95,
        48,
        23,
        66,
        84,
        20,
        22,
        6,
        80,
        37,
        73,
        52,
        95,
        3,
        96,
        55,
        90,
        13,
        27,
        80,
        89,
        100,
        39,
        63,
        58,
        94,
        45,
        2,
        72,
        60,
        5,
        85,
        16,
        36,
        19,
        14,
        59,
        55,
        7,
        90,
        10,
        83,
        73,
        75,
        89,
        81,
        32,
        51,
        23,
        6,
        93,
        15,
        49,
        100,
        97,
        20,
        51,
        34,
        53,
        56,
        59,
        22,
        75,
        30,
        63,
        42,
        13,
        65,
        12,
        10,
        2,
        3,
        32,
        100,
        90,
        2,
        73,
        19,
        89,
        63,
        89,
        75,
        21,
        55,
        53,
        75,
        95,
        94,
        83,
        85,
        77,
        75,
        58,
        70,
        76,
        41,
        64,
        15,
        97,
        81,
        19,
        32,
        78,
        3,
        35,
        65,
        40,
        33,
        83,
        29,
        43,
        71,
        66,
        61,
        92,
        129,
        13,
        62,
        35,
        12,
        80,
        33,
        28,
        19,
        33,
        85,
        54,
        88,
        54,
        75,
        91,
        10,
        29,
        73,
        55,
        26,
        89,
        49,
        31,
        96,
        81,
        55,
        13,
        100,
        28,
        6,
        10,
        4,
        88,
        49,
        25,
        66,
        85,
        72,
        30,
        67,
        60,
        64,
        26,
        8,
        44,
        65,
        49,
        94,
        81,
        68,
        4,
        68,
        1,
        77,
        16,
        90,
        53,
        42,
        67,
        21,
        73,
        18,
        62,
        21,
        49,
        53,
        92,
        22,
        32,
        42,
        58,
        89,
        72,
        44,
        6,
        38,
        45,
        44,
        34,
        63,
        27,
        91,
        70,
        35,
        37,
        9,
        45,
        53,
        87,
        27,
        10,
        49,
        83,
        30,
        89,
        57,
        55,
        31,
        71,
        4,
        87,
        4,
        73,
        94,
        7,
        9,
        81,
        88,
        70,
        42,
        49,
        22,
        29,
        27,
        77,
        27,
        32,
        52,
        29,
        73,
        21,
        62,
        37,
        78,
        18,
        32,
        34,
        14,
        4,
        85,
        19,
        22,
        39,
        39,
        81,
        84,
        91,
        75,
        35,
        27,
        60,
        67,
        6,
        86,
        53,
        49,
        90,
        94,
        33,
        117,
        22,
        3,
        71,
        93,
        32,
        69,
        21,
        36,
        84,
        37,
        6,
        29,
        27,
        2,
        29,
        28,
        8,
        79,
        63,
        84,
        5,
        13,
        86,
        79,
        94,
        75,
        51,
        75,
        2,
        4,
        90,
        16,
        45,
        47,
        49,
        42,
        65,
        17,
        2,
        49,
        93,
        36,
        31,
        54,
        27,
        19,
        25,
        22,
        84,
        27,
        36,
        86,
        99,
        63,
        66,
        25,
        87,
        4,
        92,
        89,
        88,
        7,
        32,
        7,
        87,
        34,
        7,
        25,
        11,
        55,
        23,
        39,
        21,
        10,
        22,
        28,
        76,
        44,
        76,
        78,
        67,
        78,
        64,
        60,
        22,
        85,
        99,
        60,
        93,
        47,
        44,
        95,
        91,
        84,
        63,
        7,
        75,
        21,
        93,
        54,
        27,
        99,
        30,
        89,
        32,
        6,
        32,
        5,
        87,
        47,
        30,
        11,
        81,
        86,
        12,
        68,
        32,
        62,
        89,
        7,
        79,
        13,
        7,
        12,
        87,
        96,
        63,
        25,
        6,
        38,
        15,
        100,
        94,
        13,
        64,
        32,
        81,
        57,
        110,
        34,
        83,
        90,
        3,
        94,
        28,
        49,
        12,
        97,
        76,
        34,
        23,
        75,
        94,
        95,
        5,
        44,
        24,
        7,
        96,
        81,
        77,
        1,
        95,
        85,
        96,
        81,
        2,
        29,
        10,
        71,
        34,
        96,
        28,
        42,
        24,
        91,
        54,
        44,
        28,
        62,
        59,
        56,
        49,
        25,
        8,
        66,
        2,
        30,
        86,
        95,
        99,
        14,
        85,
        7,
        3,
        100,
        27,
        78,
        6,
        92,
        26,
        11,
        61,
        12,
        7,
        13,
        99,
        52,
        76,
        49,
        106,
        35,
        29,
        78,
        49,
        28,
        33,
        3,
        105,
        7,
        68,
        69,
        34,
        6,
        12,
        73,
        88,
        55,
        54,
        68,
        14,
        63,
        62,
        47,
        73,
        33,
        60,
        89,
        36,
        42,
        12,
        27,
        120,
        3,
        85,
        10,
        57,
        89,
        9,
        66,
        31,
        15,
        83,
        32,
        22,
        16,
        81,
        29,
        71,
        8,
        16,
        25,
        65,
        96,
        51,
        64,
        70,
        90,
        68,
        7,
        7,
        76,
        64,
        13,
        7,
        94,
        52,
        56,
        20,
        73,
        63,
        49,
        7,
        71,
        31,
        27,
        52,
        39,
        27,
        89,
        14,
        24,
        22,
        80,
        20,
        54,
        68,
        42,
        11,
        39,
        44,
        2,
        75,
        17,
        23,
        99,
        92,
        68,
        5,
        90,
        72,
        81,
        76,
        10,
        49,
        23,
        47,
        73,
        81,
        85,
        59,
        25,
        71,
        67,
        90,
        36,
        94,
        63,
        90,
        76,
        39,
        69,
        30,
        69,
        24,
        100,
        42,
        43,
        55,
        43,
        34,
        14,
        6,
        90,
        67,
        67,
        6,
        51,
        5,
        51,
        60,
        22,
        91,
        83,
        39,
        29,
        69,
        19,
        34,
        11,
        73,
        32,
        21,
        45,
        78,
        16,
        59,
        77,
        52,
        97,
        31,
        4,
        44,
        17,
        13,
        25,
        42,
        30,
        28,
        91,
        33,
        91,
        69,
        6,
        56,
        2,
        6,
        12,
        39,
        86,
        68,
        15,
        66,
        10,
        9,
        52,
        75,
        99,
        25,
        12,
        56,
        83,
        5,
        52,
        16,
        37,
        35,
        18,
        32,
        90,
        49,
        71,
        9,
        26,
        51,
        7,
        63,
        62,
        44,
        73,
        16,
        71,
        99,
        23,
        42,
        6,
        33,
        19,
        85,
        33,
        100,
        23,
        96,
        21,
        76,
        34,
        13,
        51,
        30,
        30,
        42,
        27,
        11,
        54,
        88,
        15,
        6,
        88,
        11,
        80,
        18,
        35,
        12,
        15,
        9,
        39,
        37,
        68,
        99,
        44,
        83,
        8,
        30,
        28,
        94,
        21,
        87,
        6,
        24,
        35,
        54,
        75,
        16,
        58,
        97,
        92,
        39,
        62,
        35,
        52,
        3,
        78,
        48,
        97,
        59,
        79,
        88,
        76,
        7,
        37,
        83,
        3,
        22,
        79,
        22,
        64,
        85,
        68,
        34,
        26,
        31,
        75,
        32,
        7,
        70,
        93,
        47,
        44,
        62,
        96,
        5,
        99,
        91,
        84,
        3,
        86,
        47,
        75,
        85,
        9,
        51,
        80,
        39,
        6,
        32,
        11,
        64,
        57,
        48,
        95,
        47,
        85,
        36,
        28,
        39,
        81,
        57,
        75,
        78,
        73,
        42,
        55,
        35,
        92,
        65,
        36,
        5,
        66,
        69,
        8,
        19,
        87,
        69,
        6,
        92,
        86,
        94,
        37,
        19,
        28,
        75,
        72,
        52,
        88,
        62,
        65,
        52,
        13,
        62,
        2,
        68,
        96,
        32,
        7,
        60,
        86,
        44,
        69,
        86,
        22,
        87,
        6,
        2,
        16,
        5,
        70,
        16,
        75,
        47,
        13,
        90,
        52,
        12,
        28,
        71,
        8,
        23,
        67,
        92,
        70,
        75,
        73,
        54,
        89,
        14,
        6,
        80,
        44,
        70,
        95,
        3,
        75,
        73,
        71,
        37,
        6,
        1,
        81,
        25,
        33,
        88,
        15,
        29,
        93,
        93,
        14,
        100,
        81,
        100,
        44,
        34,
        37,
        6,
        12,
        18,
        36,
        4,
        20,
        86,
        38,
        4,
        83,
        4,
        75,
        52,
        49,
        100,
        62,
        33,
        22,
        11,
        13,
        62,
        100,
        44,
        71,
        16,
        47,
        67,
        47,
        6,
        81,
        22,
        31,
        66,
        31,
        12,
        78,
        54,
        94,
        44,
        39,
        93,
        95,
        86,
        20,
        61,
        87,
        12,
        18,
        23,
        76,
        10,
        71,
        36,
        39,
        65,
        57,
        66,
        63,
        54,
        26,
        72,
        16,
        26,
        100,
        60,
        4,
        53,
        95,
        75,
        62,
        43,
        18,
        55,
        32,
        65,
        66,
        75,
        27,
        2,
        3,
        17,
        77,
        54,
        47,
        83,
        27,
        26,
        11,
        63,
        35,
        89,
        78,
        63,
        91,
        75,
        17,
        36,
        75,
        30,
        44,
        92,
        111,
        47,
        14,
        1,
        78,
        125,
        86,
        33,
        92,
        8,
        84,
        81,
        35,
        100,
        66,
        55,
        48,
        62,
        17,
        35,
        9,
        69,
        87,
        91,
        37,
        63,
        39,
        4,
        37,
        88,
        23,
        70,
        28,
        86,
        87,
        93,
        9,
        21,
        92,
        51,
        34,
        62,
        83,
        84,
        28,
        99,
        18,
        11,
        26,
        89,
        19,
        29,
        49,
        92,
        73,
        39,
        32,
        75,
        28,
        63,
        95,
        35,
        38,
        90,
        20,
        2,
        89,
        87,
        19,
        39,
        55,
        76,
        76,
        28,
        10,
        26,
        30,
        65,
        56,
        43,
        25,
        53,
        84,
        34,
        53,
        77,
        46,
        67,
        85,
        90,
        29,
        48,
        85,
        77,
        75,
        90,
        90,
        6,
        24,
        69,
        21,
        49,
        54,
        73,
        15,
        86,
        97,
        65,
        7,
        52,
        76,
        7,
        88,
        6,
        34,
        87,
        9,
        1,
        69,
        60,
        70,
        25,
        11,
        15,
        85,
        10,
        7,
        42,
        70,
        21,
        32,
        58,
        15,
        68,
        28,
        49,
        7,
        44,
        47,
        62,
        26,
        26,
        89,
        29,
        60,
        17,
        49,
        19,
        29,
        57,
        87,
        81,
        30,
        95,
        21,
        73,
        93,
        74,
        60,
        28,
        22,
        32,
        34,
        73,
        52,
        87,
        62,
        4,
        100,
        87,
        22,
        93,
        98,
        14,
        54,
        86,
        77,
        17,
        34,
        29,
        86,
        6,
        42,
        34,
        28,
        87,
        70,
        65,
        103,
        60,
        4,
        13,
        87,
        43,
        88,
        72,
        3,
        29,
        36,
        90,
        49,
        73,
        76,
        88,
        48,
        83,
        92,
        102,
        52,
        28,
        96,
        6,
        39,
        63,
        31,
        44,
        47,
        92,
        81,
        90,
        27,
        33,
        33,
        30,
        38,
        30,
        70,
        93,
        100,
        75,
        39,
        87,
        84,
        62,
        21,
        86,
        80,
        84,
        66,
        3,
        91,
        28,
        100,
        87,
        13,
        60,
        63,
        93,
        35,
        34,
        33,
        68,
        5,
        7,
        63,
        95,
        124,
        99,
        38,
        58,
        89,
        92,
        44,
        64,
        73,
        49,
        20,
        36,
        88,
        32,
        69,
        42,
        81,
        6,
        63,
        92,
        36,
        9,
        13,
        12,
        35,
        57,
        34,
        99,
        27,
        11,
        29,
        21,
        93,
        31,
        60,
        86,
        75,
        95,
        90,
        91,
        91,
        100,
        80,
        5,
        58,
        93,
        84,
        89,
        57,
        16,
        67,
        94,
        62,
        53,
        118,
        89,
        70,
        39,
        85,
        64,
        25,
        94,
        9,
        88,
        10,
        63,
        37,
        1,
        83,
        10,
        27,
        15,
        29,
        94,
        29,
        44,
        51,
        73,
        55,
        6,
        24,
        10,
        89,
        29,
        28,
        73,
        25,
        71,
        26,
        22,
        10,
        95,
        30,
        42,
        20,
        5,
        54,
        114,
        5,
        42,
        36,
        115,
        45,
        72,
        31,
        29,
        79,
        79,
        5,
        44,
        97,
        23,
        35,
        53,
        87,
        62,
        81,
        70,
        49,
        97,
        68,
        108,
        26,
        61,
        29,
        97,
        63,
        45,
        80,
        89,
        38,
        79,
        35,
        70,
        2,
        27,
        57,
        5,
        55,
        21,
        90,
        61,
        52,
        65,
        100,
        49,
        20,
        58,
        4,
        79,
        75,
        81,
        3,
        19,
        76,
        87,
        89,
        44,
        64,
        73,
        23,
        95,
        35,
        99,
        4,
        76,
        42,
        26,
        94,
        39,
        37,
        49,
        90,
        83,
        92,
        100,
        12,
        88,
        37,
        9,
        48,
        13,
        6,
        86,
        8,
        4,
        78,
        64,
        37,
        39,
        19,
        38,
        30,
        27,
        6,
        28,
        83,
        29,
        32,
        9,
        86,
        19,
        20,
        94,
        31,
        13,
        9,
        80,
        2,
        19,
        80,
        68,
        19,
        69,
        49,
        13,
        31,
        70,
        16,
        16,
        93,
        76,
        66,
        92,
        29,
        33,
        17,
        51,
        28,
        52,
        39,
        1,
        22,
        30,
        54,
        126,
        48,
        16,
        90,
        51,
        65,
        35,
        81,
        36,
        64,
        76,
        25,
        88,
        78,
        83,
        4,
        87,
        95,
        26,
        36,
        95,
        69,
        79,
        13,
        54,
        6,
        87,
        9,
        62,
        68,
        22,
        76,
        3,
        30,
        34,
        52,
        11,
        49,
        37,
        33,
        69,
        81,
        78,
        65,
        11,
        29,
        71,
        14,
        27,
        73,
        89,
        53,
        6,
        23,
        73,
        51,
        36,
        91,
        45,
        67,
        79,
        91,
        2,
        61,
        35,
        73,
        44,
        66,
        9,
        19,
        12,
        69,
        93,
        29,
        47,
        89,
        61,
        6,
        28,
        27,
        67,
        35,
        89,
        7,
        62,
        28,
        99,
        24,
        94,
        7,
        71,
        21,
        81,
        69,
        85,
        81,
        71,
        73,
        26,
        88,
        12,
        32,
        85,
        84,
        78,
        28,
        3,
        51,
        65,
        5,
        44,
        39,
        35,
        13,
        83,
        84,
        33,
        77,
        35,
        93,
        9,
        59,
        68,
        76,
        27,
        20,
        19,
        27,
        81,
        59,
        79,
        64,
        73,
        95,
        85,
        77,
        5,
        78,
        75,
        51,
        4,
        24,
        54,
        13,
        33,
        70,
        75,
        11,
        24,
        83,
        3,
        79,
        19,
        97,
        79,
        34,
        95,
        35,
        85,
        33,
        60,
        61,
        85,
        69,
        84,
        96,
        97,
        80,
        69,
        13,
        73,
        37,
        94,
        96,
        75,
        22,
        94,
        60,
        90,
        20,
        6,
        91,
        11,
        75,
        21,
        16,
        93,
        94,
        17,
        97,
        31,
        64,
        75,
        66,
        1,
        58,
        81,
        100,
        49,
        34,
        62,
        59,
        6,
        19,
        100,
        30,
        3,
        71,
        86,
        79,
        57,
        62,
        91,
        29,
        87,
        100,
        94,
        49,
        39,
        28,
        93,
        66,
        5,
        38,
        29,
        27,
        5,
        25,
        54,
        89,
        71,
        92,
        91,
        88,
        51,
        33,
        99,
        72,
        30,
        54,
        89,
        55,
        35,
        54,
        49,
        4,
        84,
        83,
        82,
        68,
        32,
        90,
        21,
        2,
        32,
        53,
        53,
        24,
        33,
        33,
        37,
        64,
        53,
        1,
        78,
        84,
        39,
        19,
        99,
        33,
        7,
        16,
        97,
        99,
        13,
        21,
        70,
        63,
        72,
        104,
        28,
        59,
        66,
        80,
        39,
        22,
        6,
        13,
        85,
        26,
        72,
        20,
        28,
        86,
        70,
        58,
        63,
        100,
        8,
        88,
        90,
        52,
        70,
        85,
        81,
        5,
        21,
        22,
        85,
        32,
        35,
        31,
        78,
        22,
        70,
        84,
        90,
        53,
        8,
        22,
        68,
        83,
        64,
        27,
        30,
        95,
        29,
        96,
        91,
        83,
        64,
        89,
        39,
        78,
        85,
        87,
        23,
        26,
        53,
        3,
        8,
        64,
        96,
        14,
        26,
        67,
        1,
        63,
        69,
        83,
        97,
        55,
        18,
        31,
        52,
        83,
        75,
        94,
        55,
        36,
        62,
        7,
        35,
        68,
        93,
        57,
        3,
        85,
        75,
        99,
        85,
        27,
        1,
        9,
        57,
        62,
        90,
        39,
        34,
        6,
        66,
        37,
        7,
        85,
        71,
        54,
        86,
        69,
        25,
        27,
        99,
        51,
        34,
        16,
        30,
        95,
        70,
        99,
        94,
        62,
        73,
        100,
        62,
        22,
        85,
        49,
        4,
        35,
        73,
        84,
        109,
        71,
        45,
        68,
        14,
        11,
        27,
        38,
        97,
        52,
        36,
        80,
        100,
        62,
        12,
        3,
        16,
        35,
        15,
        32,
        24,
        79,
        55,
        51,
        84,
        26,
        43,
        49,
        7,
        32,
        94,
        70,
        43,
        83,
        96,
        35,
        52,
        94,
        5,
        13,
        66,
        61,
        48,
        1,
        25,
        64,
        64,
        14,
        5,
        91,
        14,
        3,
        85,
        15,
        6,
        4,
        63,
        96,
        5,
        27,
        100,
        94,
        29,
        23,
        101,
        5,
        56,
        90,
        2,
        14,
        31,
        76,
        2,
        100,
        28,
        92,
        97,
        1,
        19,
        33,
        77,
        83,
        52,
        4,
        23,
        8,
        33,
        34,
        16,
        66,
        64,
        31,
        44,
        27,
        80,
        52,
        25,
        38,
        97,
        51,
        89,
        94,
        25,
        25,
        9,
        7,
        12,
        24,
        91,
        26,
        72,
        51,
        34,
        22,
        33,
        97,
        29,
        69,
        21,
        4,
        22,
        89,
        19,
        4,
        44,
        48,
        92,
        62,
        25,
        21,
        67,
        6,
        63,
        96,
        52,
        67,
        92,
        63,
        29,
        95,
        66,
        62,
        51,
        23,
        28,
        95,
        79,
        67,
        52,
        93,
        83,
        35,
        58,
        13,
        51,
        87,
        70,
        79,
        54,
        21,
        96,
        63,
        35,
        2,
        63,
        61,
        73,
        94,
        79,
        19,
        67,
        28,
        60,
        78,
        15,
        29,
        33,
        39,
        71,
        62,
        75,
        33,
        21,
        68,
        79,
        55,
        36,
        52,
        25,
        37,
        12,
        16,
        90,
        31,
        45,
        91,
        9,
        5,
        84,
        94,
        5,
        83,
        30,
        37,
        85,
        33,
        6,
        85,
        30,
        75,
        52,
        33,
        83,
        23,
        94,
        84,
        35,
        60,
        88,
        94,
        25,
        55,
        13,
        38,
        97,
        38,
        23,
        99,
        63,
        100,
        81,
        19,
        37,
        89,
        49,
        7,
        35,
        26,
        86,
        6,
        95,
        2,
        9,
        69,
        97,
        100,
        8,
        34,
        81,
        4,
        69,
        11,
        27,
        37,
        85,
        44,
        38,
        57,
        21,
        65,
        35,
        63,
        69,
        30,
        70,
        55,
        12,
        4,
        16,
        36,
        6,
        33,
        55,
        24,
        100,
        21,
        19,
        94,
        72,
        29,
        94,
        87,
        27,
        38,
        91,
        29,
        51,
        81,
        83,
        94,
        27,
        100,
        95,
        66,
        3,
        90,
        90,
        78,
        3,
        83,
        53,
        73,
        68,
        93,
        31,
        94,
        88,
        39,
        34,
        36,
        71,
        35,
        26,
        66,
        2,
        14,
        69,
        63,
        17,
        64,
        52,
        25,
        61,
        83,
        81,
        81,
        65,
        94,
        96,
        11,
        33,
        2,
        24,
        73,
        34,
        12,
        65,
        36,
        2,
        48,
        43,
        55,
        100,
        17,
        96,
        68,
        52,
        12,
        27,
        54,
        19,
        39,
        69,
        38,
        26,
        33,
        44,
        83,
        54,
        10,
        88,
        80,
        64,
        26,
        68,
        54,
        11,
        76,
        100,
        81,
        57,
        61,
        3,
        14,
        36,
        4,
        32,
        77,
        9,
        11,
        70,
        10,
        84,
        12,
        78,
        83,
        25,
        89,
        64,
        83,
        8,
        66,
        27,
        23,
        10,
        29,
        28,
        53,
        5,
        44,
        97,
        79,
        53,
        85,
        53,
        12,
        11,
        19,
        17,
        33,
        64,
        15,
        85,
        69,
        36,
        31,
        51,
        60,
        22,
        54,
        72,
        54,
        17,
        31,
        57,
        5,
        14,
        60,
        93,
        44,
        92,
        39,
        51,
        34,
        95,
        15,
        32,
        57,
        55,
        34,
        79,
        54,
        6,
        89,
        42,
        17,
        35,
        3,
        51,
        64,
        44,
        13,
        5,
        93,
        75,
        81,
        34,
        47,
        64,
        76,
        95,
        100,
        63,
        58,
        55,
        66,
        59,
        51,
        22,
        12,
        70,
        81,
        49,
        17,
        81,
        1,
        5,
        9,
        85,
        30,
        20,
        15,
        22,
        97,
        80,
        1,
        37,
        75,
        44,
        9,
        51,
        20,
        24,
        62,
        2,
        54,
        89,
        17,
        2,
        70,
        89,
        80,
        19,
        44,
        14,
        29,
        71,
        100,
        20,
        93,
        30,
        44,
        31,
        97,
        83,
        42,
        57,
        13,
        68,
        45,
        94,
        67,
        9,
        37,
        42,
        56,
        99,
        26,
        22,
        62,
        89,
        78,
        35,
        71,
        55,
        33,
        13,
        83,
        30,
        86,
        83,
        5,
        77,
        86,
        8,
        107,
        12,
        69,
        94,
        73,
        31,
        97,
        86,
        26,
        73,
        57,
        37,
        49,
        30,
        88,
        27,
        57,
        13,
        38,
        20,
        39,
        67,
        81,
        81,
        96,
        130,
        94,
        9,
        7,
        85,
        51,
        4,
        33,
        60,
        19,
        35,
        62,
        52,
        4,
        9,
        28,
        36,
        10,
        31,
        22,
        5,
        17,
        63,
        62,
        49,
        2,
        56,
        21,
        49,
        30,
        49,
        33,
        52,
        53,
        95,
        88,
        21,
        60,
        88,
        29,
        67,
        86,
        39,
        68,
        89,
        23,
        25,
        88,
        39,
        36,
        9,
        54,
        2,
        28,
        5,
        10,
        2,
        67,
        75,
        81,
        91,
        97,
        38,
        32,
        94,
        19,
        22,
        51,
        26,
        96,
        12,
        6,
        79,
        62,
        68,
        85,
        34,
        25,
        39,
        14,
        12,
        35,
        83,
        93,
        33,
        112,
        38,
        54,
        94,
        53,
        70,
        97,
        55,
        95,
        32,
        33,
        11,
        85,
        33,
        49,
        76,
        28,
        34,
        73,
        2,
        34,
        86,
        87,
        17,
        43,
        80,
        22,
        33,
        128,
        73,
        61,
        30,
        39,
        26,
        10,
        60,
        20,
        22,
        2,
        6,
        87,
        62,
        67,
        56,
        19,
        76,
        92,
        54,
        69,
        25,
        71,
        55,
        27,
        37,
        6,
        81,
        10,
        10,
        100,
        87,
        43,
        70,
        88,
        86,
        119,
        32,
        64,
        92,
        54,
        90,
        30,
        39,
        89,
        7,
        76,
        94,
        81,
        21,
        27,
        80,
        29,
        9,
        2,
        28,
        86,
        99,
        27,
        72,
        75,
        68,
        29,
        90,
        13,
        47,
        8,
        57,
        51,
        6,
        75,
        27,
        95,
        73,
        13,
        86,
        78,
        77,
        93,
        2,
        20,
        80,
        38,
        38,
        75,
        55,
        85,
        100,
        86,
        70,
        76,
        83,
        91,
        99,
        16,
        60,
        75,
        51,
        73,
        35,
        9,
        5,
        113,
        100,
        73,
        32,
        94,
        13,
        22,
        51,
        78,
        5,
        5,
        6,
        62,
        5,
        95,
        5,
        81,
        8,
        58,
        21,
        52,
        85,
        14,
        97,
        25,
        26,
        7,
        39,
        95,
        76,
        83,
        22,
        67,
        17,
        48,
        88,
        100,
        30,
        27,
        70,
        87,
        33,
        25,
        54,
        8,
        60,
        8,
        7,
        72,
        78,
        65,
        3,
        100,
        36,
        76,
        85,
        13,
        7,
        19,
        70,
        26,
        16,
        78,
        94,
        47,
        87,
        16,
        59,
        2,
        78,
        56,
        6,
        55,
        44,
        65,
        31,
        67,
        49,
        37,
        53,
        11,
        14,
        31,
        62,
        9,
        88,
        58,
        72,
        37,
        9,
        27,
        72,
        19,
        39,
        52,
        70,
        24,
        56,
        34,
        57,
        64,
        34,
        13,
        73,
        53,
        84,
        3,
        55,
        55,
        45,
        45,
        33,
        63,
        73,
        99,
        99,
        44,
        94,
        23,
        62,
        81,
        19,
        33,
        29,
        5,
        27,
        39,
        58,
        39,
        12,
        36,
        16,
        87,
        53,
        5,
        86,
        13,
        70,
        81,
        16,
        2,
        56,
        64,
        22,
        52,
        90,
        22,
        57,
        85,
        13,
        71,
        34,
        55,
        47,
        91,
        76,
        9,
        22,
        57,
        85,
        95,
        32,
        32,
        5,
        71,
        89,
        43,
        63,
        11,
        1,
        18,
        29,
        95,
        13,
        32,
        68,
        71,
        49,
        39,
        48,
        27,
        75,
        39,
        49,
        96,
        68,
        47,
        49,
        68,
        68,
        88,
        70,
        87,
        63,
        68,
        19,
        22,
        28,
        60,
        21,
        70,
        54,
        16,
        67,
        131,
        18,
        11,
        85,
        83,
        89,
        52,
        18,
        26,
        45,
        3,
        29,
        20,
        7,
        58,
        4,
        34,
        1,
        30,
        63,
        86,
        38,
        14,
        76,
        26,
        85,
        78,
        36,
        17,
        88,
        83,
        5,
        34,
        5,
        84,
        34,
        32,
        57,
        7,
        8,
        62,
        36,
        79,
        2,
        62,
        48,
        35,
        3,
        4,
        53,
        72,
        6,
        85,
        49,
        71,
        15,
        60,
        36,
        7,
        99,
        67,
        56,
        44,
        5,
        96,
        26,
        30,
        62,
        57,
        90,
        52,
        58,
        96,
        5,
        31,
        21,
        54,
        7,
        123,
        83,
        99,
        69,
        62,
        54,
        99,
        60,
        86,
        68,
        7,
        31,
        5,
        52,
        33,
        49,
        7,
        87,
        26,
        70,
        83,
        5,
        95,
        42,
        127,
        71,
        30,
        10,
        89,
        48,
        64,
        33,
        11,
        90,
        13,
        9,
        69,
        36,
        36,
        73,
        53,
        13,
        11,
        3,
        2,
        27,
        76,
        67,
        99,
        22,
        5,
        28,
        91,
        52,
        96,
        65,
        68,
        30,
        19,
        75,
        7,
        17,
        4,
        7,
        90,
        33,
        55,
        86,
        23,
        9,
        19,
        52,
        67,
        23,
        16,
        16,
        52,
        79,
        90,
        14,
        71,
        58,
        99,
        100,
        44,
        19,
        81,
        39,
        100,
        88,
        37,
        33,
        5,
        13,
        89,
        59,
        25,
        4,
        75,
        39,
        49,
        83,
        21,
        1,
        44,
        56,
        17,
        100,
        8,
        75,
        4,
        51,
        6,
        87,
        12,
        93,
        90,
        67,
        77,
        100,
        39,
        5,
        30,
        7,
        85,
        53,
        71,
        94,
        31,
        83,
        42,
        32,
        48,
        63,
        70,
        96,
        51,
        71,
        99,
        35,
        100,
        38,
        96,
        71,
        14,
        69,
        85,
        88,
        95,
        29,
        68,
        22,
        23,
        53,
        49,
        63,
        26,
        12,
        48,
        31,
        21,
        33,
        64,
        32,
        59,
        15,
        53,
        52,
        62,
        1,
        55,
        22,
        73,
        47,
        16,
        19,
        61,
        90,
        81,
        65,
        59,
        96,
        86,
        38,
        90,
        84,
        86,
        81,
        27,
        73,
        73,
        66,
        52,
        59,
        76,
        26,
        26,
        86,
        70,
        62,
        87,
        87,
        77,
        16,
        39,
        66,
        39,
        90,
        57,
        44,
        66,
        68,
        8,
        59,
        83,
        16,
        94,
        39,
        19,
        63,
        76,
        69,
        11,
        34,
        35,
        1,
        9,
        83,
        35,
        13,
        68,
        78,
        68,
        88,
        71,
        35,
        9,
        6,
        94,
        78,
        64,
        78,
        88,
        19,
        21,
        34,
        24,
        44,
        57,
        57,
        35,
        100,
        100,
        100,
        47,
        22,
        84,
        39,
        64,
        47,
        28,
        76,
        75,
        17,
        6,
        88,
        88,
        62,
        38,
        78,
        24,
        32,
        84,
        26,
        37,
        44,
        71,
        28,
        69,
        33,
        64,
        9,
        34,
        42,
        90,
        30,
        34,
        91,
        60,
        32,
        60,
        90,
        55,
        29,
        37,
        88,
        73,
        14,
        49,
        86,
        100,
        26,
        19,
        26,
        66,
        95,
        7,
        51,
        26,
        9,
        88,
        38,
        77,
        95,
        5,
        91,
        87,
        62,
        88,
        5,
        91,
        53,
        22,
        12,
        89,
        100,
        90,
        52,
        32,
        73,
        36,
        34,
        90,
        21,
        96,
        66,
        70,
        49,
        34,
        13,
        15,
        95,
        13,
        95,
        92,
        5,
        15,
        67,
        65,
        25,
        88,
        81,
        15,
        90,
        93,
        27,
        32,
        86,
        29,
        76,
        83,
        69,
        22,
        7,
        45,
        69,
        59,
        31,
        70,
        9,
        34,
        55,
        57,
        5,
        57,
        75,
        68,
        11,
        7,
        13,
        33,
        89,
        38,
        22,
        83,
        14,
        22,
        69,
        76,
        54,
        24,
        31,
        99,
        34,
        11,
        29,
        95,
        86,
        8,
        2,
        4,
        67,
        26,
        34,
        38,
        94,
        7,
        49,
        87,
        13,
        16,
        81,
        34,
        57,
        28,
        87,
        26,
        52,
        49,
        79,
        81,
        100,
        71,
        95,
        11,
        35,
        26,
        44,
        91,
        66,
        67,
        29,
        33,
        63,
        52,
        94,
        15,
        79,
        88,
        52,
        1,
        96,
        52,
        21,
        11,
        54,
        87,
        27,
        68,
        70,
        33,
        55,
        68,
        31,
        1,
        96,
        38,
        78,
        21,
        35,
        35,
        36,
        71,
        52,
        57,
        62,
        35,
        12,
        21,
        69,
        25,
        85,
        90,
        42,
        57,
        34,
        33,
        58,
        64,
        52,
        71,
        33,
        69,
        23,
        97,
        76,
        65,
        21,
        55,
        27,
        19,
        85,
        27,
        64,
        27,
        55,
        18,
        16,
        49,
        92,
        70,
        17,
        60,
        9,
        8,
        29,
        96,
        53,
        25,
        79,
        1,
        30,
        95,
        67,
        32,
        79,
        9,
        73,
        11,
        53,
        81,
        96,
        15,
        8,
        23,
        66,
        90,
        7,
        75,
        19,
        78,
        8,
        37,
        13,
        11,
        43,
        11,
        33,
        85,
        30,
        8,
        99,
        73,
        76,
        55,
        52,
        15,
        48,
        37,
        83,
        92,
        16,
        21,
        6,
        57,
        73,
        83,
        94,
        24,
        35,
        15,
        69,
        15,
        57,
        90,
        70,
        39,
        29,
        69,
        81,
        24,
        9,
        80,
        78,
        88,
        52,
        58,
        7,
        62,
        86,
        69,
        78,
        21,
        68,
        31,
        39,
        76,
        100,
        39,
        54,
        52,
        60,
        76,
        44,
        53,
        31,
        91,
        52,
        63,
        99,
        79,
        94,
        3,
        24,
        30,
        76,
        91,
        80,
        63,
        91,
        52,
        95,
        19,
        87,
        27,
        21,
        13,
        35,
        73,
        62,
        67,
        7,
        30,
        53,
        55,
        64,
        56,
        1,
        34,
        1,
        36,
        11,
        63,
        85,
        9,
        73,
        93,
        96,
        54,
        93,
        17,
        26,
        90,
        27,
        85,
        94,
        3,
        64,
        37,
        20,
        76,
        55,
        27,
        43,
        76,
        16,
        66,
        67,
        90,
        7,
        100,
        26,
        54,
        75,
        61,
        81,
        49,
        88,
        6,
        69,
        64,
        88,
        28,
        24,
        10,
        49,
        45,
        54,
        33,
        94,
        2,
        29,
        35,
        85,
        81,
        91,
        65,
        48,
        43,
        93,
        78,
        9,
        11,
        68,
        27,
        22,
        80,
        21,
        10,
        16,
        64,
        73,
        64,
        16,
        25,
        90,
        22,
        16,
        68,
        9,
        45,
        7,
        18,
        90,
        53,
        55,
        22,
        22,
        66,
        21,
        65,
        19,
        1,
        57,
        3,
        35,
        27,
        20,
        93,
        20,
        24,
        96,
        75,
        42,
        18,
        17,
        100,
        95,
        47,
        43,
        24,
        49,
        43,
        55,
        28,
        23,
        86,
        54,
        45,
        30,
        86,
        64,
        95,
        66,
        73,
        10,
        30,
        30,
        53,
        20,
        37,
        14,
        66,
        29,
        52,
        70,
        29,
        93,
        100,
        62,
        87,
        35,
        66,
        76,
        53,
        88,
        73,
        17,
        77,
        63,
        96,
        95,
        49,
        68,
        3,
        88,
        54,
        88,
        60,
        62,
        33,
        21,
        14,
        86,
        13,
        8,
        63,
        12,
        44,
        44,
        70,
        13,
        35,
        80,
        64,
        1,
        20,
        64,
        85,
        21,
        16,
        29,
        28,
        9,
        16,
        21,
        8,
        9,
        39,
        4,
        20,
        68,
        54,
        62,
        5,
        13,
        3,
        57,
        37,
        1,
        76,
        81,
        75,
        39,
        3,
        83,
        121,
        6,
        6,
        66,
        93,
        32,
        24,
        80,
        80,
        17,
        17,
        4,
        78,
        94,
        64,
        57,
        19,
        122,
        83,
        4,
        80,
        60,
        86,
        67,
        35,
        7,
        89,
        99,
        87,
        47,
        1,
        43,
        16,
        83,
        33,
        12,
        61,
        65,
        22,
        68,
        1,
        23,
        29,
        26,
        95,
        60,
        91,
        25,
        47,
        64,
        32,
        87,
        66,
        26,
        31,
        52,
        37,
        92,
        83,
        64,
        25,
        10,
        116,
        91,
        69,
        9,
        55,
        76,
        90,
        29,
        13,
        22,
        16,
        69,
        69,
        61,
        32,
        34,
        61,
        13,
        5,
        13,
        90,
        77,
        83,
        100,
        67,
        67,
        13,
        28,
        28,
        64,
        89,
        93,
        7,
        16
    ];

    // [owner] -> amount they minted
    mapping(address => uint8) public mintCount;

    // [owner] -> nonce
    mapping(address => uint16) public ownerNonces;

    /* ============================================================================================================== */
    /*                                                  CONSTRUCTION                                                  */
    /* ============================================================================================================== */
    constructor() ERC1155("https://metadata.mondomegabits.com/{id}") {
        _grantRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _grantRole(PAUSER_ROLE, msg.sender);
        _grantRole(WITHDRAWER_ROLE, msg.sender);
        _grantRole(WITHDRAWER_ROLE, 0xe87F4610c48E17ee0EE0c72Fe280450CA660399B);

        _setDefaultRoyalty(address(this), 1000);
    }

    bool private hasGiftedTokens = false;

    function giveGiftTokens(uint256[] memory ids, uint256[] memory counts)
        external
        nonReentrant
        onlyRole(DEFAULT_ADMIN_ROLE)
    {
        require(hasGiftedTokens == false, "Already gave tokens");
        hasGiftedTokens = true;

        totalMinted += 80;

        // Gifted cards
        _mint(0x690892db2FA439A703115D36E4205088E0C55D1a, 43, 1, "");
        _mint(0xC2f158234da1956623A0D0E4ceAAcC764A609B81, 61, 1, "");
        _mint(0x06056Dcdc6471439e31e878492f594B6F0D8F9D0, 52, 1, "");
        _mint(0x1be4AB962fbCA955de52450BB78B46052eac0a62, 62, 1, "");
        _mint(0x3cB85f3C1E18f1ec13B425669Cb8F6b7086f1D0C, 50, 1, "");
        _mint(0xcbc808e97dCc154B6e8df4c44f05d9C22011BeD1, 18, 1, "");
        _mint(0x0Faa2615BaC776207034620Bdb87D8F3d032Ac90, 13, 1, "");
        _mint(0x229600cfd8E158A42527E09513BfF42fdFd09Fa8, 94, 1, "");
        _mint(0xA4dD7f4A4BAf918D97ED921Dfd918FD2aeF7e451, 30, 1, "");
        _mint(0x6D8FB06f9233352CBF4F2274F22b13DD3B37015A, 91, 1, "");
        _mint(0xbCB5E08E412Fa901973C638E59eFDA1EcB9Ef354, 48, 1, "");
        _mint(0x8A78cEef8752a7E90c27C4aEAcE13f3C4Af56e33, 91, 1, "");
        _mint(0x7C4a7d85623CdF7bBf67ceaf2b862E3028Fe9aCb, 36, 1, "");
        _mint(0xe873e624431024e46de133987498d45ba9E8A123, 89, 1, "");
        _mint(0xbf67e713ddEf50496c6F27C41Eaeecee3A9FA063, 90, 1, "");
        _mint(0x395ff02870F6C146E2b50512b9755fECb57E83C0, 56, 1, "");
        _mint(0x85dC88dABE0fb9988190B5B228c9Aa5804070864, 69, 1, "");
        _mint(0xAE17e8F2aC7C0B8c3a77d29fF60E73Af1A5Bf089, 43, 1, "");
        _mint(0x19355237CdB7b76bC166E05F6338F270B084ecFc, 76, 1, "");
        _mint(0x524Aa222370690cDc108a2A54d9054dC4C31146c, 72, 1, "");
        _mint(0xb7397e25a2e167941dEd07e605953EE620756a22, 39, 1, "");
        _mint(0xd4D3A6EACF401Fa50033114A6952220D6f60B648, 37, 1, "");
        _mint(0x0e6114613A5e28F628f41Da0Ec204Ca505956be8, 56, 1, "");
        _mint(0x81Ed8BC0C08b6871738b7514C36d347B2cC172E8, 42, 1, "");
        _mint(0xba1a95c258290Ae6A0cbDAbfA8fB6e471a48032F, 12, 1, "");
        _mint(0xEe34a1CcE595270AD3Ecc4D50D34dF978954584c, 20, 1, "");
        _mint(0x448A1BF01d6B7cc9D2c8cD1d05d246bcd840517F, 20, 1, "");
        _mint(0x386Fa68BeF515dab808358935418e37Fa1748C32, 7, 1, "");
        _mint(0x30Da874E35Fbd3a1580ed1E9eFaeEe2E180b4aCD, 90, 1, "");
        _mint(0xbCB5E08E412Fa901973C638E59eFDA1EcB9Ef354, 87, 1, "");
        _mint(0xAE17e8F2aC7C0B8c3a77d29fF60E73Af1A5Bf089, 62, 1, "");
        _mint(0xcAB58f3BacDBe6F8F6e41Ff322ce97b2196024f4, 53, 1, "");
        _mint(0x43D588cb4411e83e860c6166763112e1ccF76EA9, 56, 1, "");
        _mint(0x24Ef7784caC2c628Eef21b98bE9f70044b5e3Be4, 31, 1, "");
        _mint(0xCAC3DDD55551D0ec3176FFb7347C8c290dcb866F, 60, 1, "");
        _mint(0x229600cfd8E158A42527E09513BfF42fdFd09Fa8, 51, 1, "");
        _mint(0x240224AC042e7F0Eb7A16AF0a49907061c9894C8, 65, 1, "");
        _mint(0xDc5CbDF0Ff309b49A332dbFa3264b775c2cAfd09, 85, 1, "");
        _mint(0xB3407C29463951902aeF4a6a87265Ff0263b5689, 99, 1, "");
        _mint(0xe1677D385bC7c62486ED53c7B6CdE63FE9EE1F2d, 85, 1, "");
        _mint(0x1a6763326dE2837048E72190d9842F38ee0C491B, 30, 1, "");
        _mint(0xc665AB82Bae93188D39bF6Aa0c2Cf2ca66Fc66b4, 18, 1, "");
        _mint(0xDF017621ebdFe522dBA6F08A4a1db6E791216ecF, 38, 1, "");
        _mint(0xaA608298eA894013eC76e5D963752bEf6d097a85, 56, 1, "");
        _mint(0xaA608298eA894013eC76e5D963752bEf6d097a85, 52, 1, "");
        _mintBatch(0xd3DEB100f6Be210F29F087b707F29ffa93F7e50A, ids, counts, "");
    }

    /* ========================================================================================== */
    /*                                          METADATA                                          */
    /* ========================================================================================== */
    function contractURI() external pure returns (string memory) {
        return "https://metadata.mondomegabits.com/contract";
    }

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

    /* ============================================================================================================== */
    /*                                         PSEUDORANDOM NUMBER GENERATION                                         */
    /* ============================================================================================================== */

    // Generates a random number from 0 to uint256.max
    function rand() private view returns (uint256) {
        return uint256(keccak256(abi.encodePacked(block.difficulty, block.timestamp)));
    }

    function randomMintIdx() private view returns (uint16) {
        return uint16(rand() % (tokenPool.length));
    }

    /* ============================================================================================================== */
    /*                                                    ROYALTIES                                                   */
    /* ============================================================================================================== */
    uint256 public constant ROYALTY_DIVISOR = 20; // 5% royalties: 1/.05 = 20

    /* ============================================================================================================== */
    /*                                                     MINTING                                                    */
    /* ============================================================================================================== */
    event CardMinted(uint256 id, address owner);

    /* ----------------------------------- START STANDARD MINT ---------------------------------- */

    function verifyLeaf(bytes32[] calldata proof, bytes32 leaf) internal view returns (bool) {
        return MerkleProof.verifyCalldata(proof, root, leaf);
    }

    function mint(uint8 count, bytes32[] calldata proof) external payable returns (uint256[] memory ids) {
        /* ====================================================================================== */
        /*                                         CHECKS                                         */
        /* ====================================================================================== */
        require(mintingStatus == MintingStatus.STANDARD);

        require(msg.value == (.25 ether * count), "Incorrect price.");
        require(tx.origin == msg.sender && !Address.isContract(msg.sender), "Contracts can't mint.");
        require(count > 0, "Must mint at least 1");
        require(totalMinted + count <= TOTAL_COPIES_EVER, "Cannot mint more than total copies ever");
        require(mintCount[msg.sender] + count <= maxMintCountPerAddress, "Above max mintable cards.");
        if (whitelistEnabled) {
            require(verifyLeaf(proof, bytes32(keccak256(abi.encodePacked(msg.sender)))), "Not whitelisted");
        }

        /* ====================================================================================== */
        /*                                         EFFECTS                                        */
        /* ====================================================================================== */
        ids = new uint256[](count);

        for (uint8 i = 0; i < count; i++) {
            uint16 tokenPoolIdx = randomMintIdx();
            uint16 tokenPoolLastIdx = uint16(tokenPool.length) - 1;
            uint16 id = uint16(tokenPool[tokenPoolIdx]);

            // Pop and swap:
            if (tokenPoolIdx == tokenPoolLastIdx) {
                tokenPool.pop();
            } else {
                tokenPool[tokenPoolIdx] = tokenPool[tokenPoolLastIdx];
                tokenPool.pop();
            }

            ids[i] = id;
            mintCount[msg.sender]++;

            totalMinted++;

            if (totalMinted == TOTAL_COPIES_EVER) {
                mintingStatus = MintingStatus.DONE;
            }

            emit CardMinted(id, msg.sender);
        }

        /* ====================================================================================== */
        /*                                      INTERACTIONS                                      */
        /* ====================================================================================== */

        if (count == 1) {
            _mint(msg.sender, ids[0], 1, "");
        } else {
            uint256[] memory amounts = new uint256[](count);
            for (uint8 i = 0; i < count; i++) {
                amounts[i] = 1;
            }

            _mintBatch(msg.sender, ids, amounts, "");
        }

        return ids;
    }

    /* ------------------------------------ END STANDARD MINT ----------------------------------- */

    /* ----------------------------------- START ADVANCED MINT ---------------------------------- */
    function advancedMint(
        uint256[] calldata _ids,
        uint256 _expiryTimestamp,
        uint256 _nonce,
        bytes32 _messageHash,
        bytes calldata _signature
    ) external payable returns (uint256[] calldata) {
        /* ====================================================================================== */
        /*                                         CHECKS                                         */
        /* ====================================================================================== */
        require(mintingStatus == MintingStatus.ADVANCED);

        uint256 count = _ids.length;
        require(count > 0, "Must mint at least 1");
        require(msg.value == (.25 ether * count), "Incorrect price.");
        require(totalMinted + count <= TOTAL_COPIES_EVER, "Cannot mint more than total copies ever");
        require(mintCount[msg.sender] + count <= maxMintCountPerAddress, "Above max mintable cards.");

        require(tx.origin == msg.sender && !Address.isContract(msg.sender), "Contracts can't mint.");
        require(block.timestamp < _expiryTimestamp, "Expired timestamp, try again in a couple minutes.");
        require(ownerNonces[msg.sender] < _nonce, "Nonce already used.");

        /* ---------------------------------- SIGNATURE CHECKS ---------------------------------- */
        bytes32 ethSignedMessageHash = keccak256(
            abi.encodePacked(
                "\x19Ethereum Signed Message:\n32",
                keccak256(abi.encode(_ids, _expiryTimestamp, msg.sender, _nonce))
            )
        );
        require(_messageHash == ethSignedMessageHash, "Invalid message hash");
        require(ECDSA.recover(ethSignedMessageHash, _signature) == signer, "Invalid signature");

        /* ====================================================================================== */
        /*                                         EFFECTS                                        */
        /* ====================================================================================== */
        ownerNonces[msg.sender] = uint16(_nonce);

        for (uint8 i = 0; i < count; ++i) {
            mintCount[msg.sender]++;

            totalMinted++;

            if (totalMinted >= TOTAL_COPIES_EVER) {
                mintingStatus = MintingStatus.DONE;
            }

            emit CardMinted(_ids[i], msg.sender);
        }

        /* ====================================================================================== */
        /*                                      INTERACTIONS                                      */
        /* ====================================================================================== */
        if (count == 1) {
            _mint(msg.sender, _ids[0], 1, "");
        } else {
            uint256[] memory amounts = new uint256[](count);
            for (uint8 i = 0; i < count; i++) {
                amounts[i] = 1;
            }

            _mintBatch(msg.sender, _ids, amounts, "");
        }

        return _ids;
    }

    /* ============================================================================================================== */
    /*                                                   MARKETPLACE                                                  */
    /* ============================================================================================================== */
    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual override(ERC1155) whenNotPaused {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
        if (from != address(0)) {
            uint16 length = uint16(ids.length);
            for (uint16 i = 0; i < length; i++) {
                uint16 amountOwned = uint16(balanceOf(from, ids[i]));
                uint16 amountSelling = uint16(_mondoMarketplace.getForSaleCount(ids[i], from));
                uint16 amountLeftAfterSales = amountOwned - amountSelling;
                uint16 amountToCancel = uint16(amounts[i]) - amountLeftAfterSales;

                if (amountToCancel > 0) {
                    _mondoMarketplace.cancelSaleToTransfer(from, ids[i], uint8(amountToCancel));
                }
            }
        }
    }

    function isApprovedForAll(address account, address operator) public view virtual override(ERC1155) returns (bool) {
        if (operator == address(_mondoMarketplace)) {
            return true;
        } else {
            return super.isApprovedForAll(account, operator);
        }
    }

    /* ============================================================================================================== */
    /*                                          ADMINISTRATIVE FUNCTIONALITY                                          */
    /* ============================================================================================================== */

    /* --------------------------------------- WITHDRAWING -------------------------------------- */
    function withdraw() external onlyRole(WITHDRAWER_ROLE) {
        uint256 balance = address(this).balance;
        (bool success, ) = msg.sender.call{value: balance}("");
        require(success, "Failed to send Ether");
    }

    function grantWithdrawerRole(address newWithdrawer) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(newWithdrawer != address(0), "Must provide a valid address");
        require(newWithdrawer != msg.sender, "Cannot grant yourself withdrawer role");
        require(!hasRole(WITHDRAWER_ROLE, newWithdrawer), "Already has withdrawer role");
        grantRole(WITHDRAWER_ROLE, newWithdrawer);
    }

    function removeWithdrawerRole(address oldWithdrawer) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(oldWithdrawer != address(0), "Must provide a valid address");
        require(oldWithdrawer != msg.sender, "Cannot remove yourself withdrawer role");
        require(hasRole(WITHDRAWER_ROLE, oldWithdrawer), "Does not have withdrawer role");
        revokeRole(WITHDRAWER_ROLE, oldWithdrawer);
    }

    /* --------------------------------------- MARKETPLACE -------------------------------------- */

    function setMondoMarketplace(address mondoMarketplaceAddress) external onlyRole(DEFAULT_ADMIN_ROLE) {
        _mondoMarketplace = MondoMarketplace(mondoMarketplaceAddress);
    }

    /* ------------------------------------ MINTING SETTINGS ------------------------------------ */

    function setWhitelist(bool enabled) external onlyRole(DEFAULT_ADMIN_ROLE) {
        whitelistEnabled = enabled;
    }

    function changeMerkleRoot(bytes32 newRoot) external onlyRole(DEFAULT_ADMIN_ROLE) {
        root = newRoot;
    }

    function changeSigner(address newSigner) external onlyRole(DEFAULT_ADMIN_ROLE) {
        signer = newSigner;
    }

    function setMintingStatus(MintingStatus status) external onlyRole(DEFAULT_ADMIN_ROLE) {
        mintingStatus = status;
    }

    function changeMaxMintCountPerAddress(uint8 newMaxMintCountPerAddress) external onlyRole(DEFAULT_ADMIN_ROLE) {
        maxMintCountPerAddress = newMaxMintCountPerAddress;
    }

    /* ----------------------------------------- PAUSING ---------------------------------------- */

    function pause() external onlyRole(PAUSER_ROLE) {
        _pause();
    }

    function unpause() external onlyRole(PAUSER_ROLE) {
        _unpause();
    }

    function grantPauserRole(address newPauser) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(newPauser != address(0), "Must provide a valid address");
        require(newPauser != msg.sender, "Cannot grant yourself pauser role");
        require(!hasRole(PAUSER_ROLE, newPauser), "Already has pauser role");
        grantRole(PAUSER_ROLE, newPauser);
    }

    function removePauserRole(address oldPauser) external onlyRole(DEFAULT_ADMIN_ROLE) {
        require(oldPauser != address(0), "Must provide a valid address");
        require(oldPauser != msg.sender, "Cannot remove yourself from the pauser role");
        require(hasRole(PAUSER_ROLE, oldPauser), "Does not have pauser role");
        revokeRole(PAUSER_ROLE, oldPauser);
    }
}

File 2 of 34 : mondo-marketplace.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/ReentrancyGuardUpgradeable.sol";
import "@openzeppelin/contracts-upgradeable/security/PullPaymentUpgradeable.sol";
import "./mondo-megabits.sol";

contract MondoMarketplace is
    Initializable,
    OwnableUpgradeable,
    ReentrancyGuardUpgradeable,
    PullPaymentUpgradeable,
    UUPSUpgradeable
{
    MondoTokens _mondoTokensContract;

    /// @custom:oz-upgrades-unsafe-allow constructor
    constructor() {
        _disableInitializers();
    }

    function initialize(address mondoTokensAddress) public payable initializer {
        __Ownable_init();
        __ReentrancyGuard_init();
        __PullPayment_init();
        __UUPSUpgradeable_init();

        _mondoTokensContract = MondoTokens(mondoTokensAddress);
    }

    /* ----------------------------------------- EVENTS ----------------------------------------- */
    event TokenForSale(uint256 id, address owner, uint256 price);
    event TokenSaleCancelled(uint256 id, address owner, uint256 price);
    event TokenSold(uint256 id, address soldBy, uint256 price, address soldTo);

    /* ========================================================================================== */
    /*                                      SALE INFORMATION                                      */
    /* ========================================================================================== */

    // [tokenID][owner] -> uint256[] Prices
    mapping(uint256 => mapping(address => uint256[])) private _forSalePrices;

    // Returns the length of the array of prices for a given tokenID and owner.
    function getForSaleCount(uint256 tokenID, address owner) external view returns (uint256) {
        return _forSalePrices[tokenID][owner].length;
    }

    /* ========================================================================================== */
    /*                                  MARKETPLACE FUNCTIONALITY                                 */
    /* ========================================================================================== */

    function putUpForSale(uint256 id, uint256 price) external {
        require(price > 0, "Price isn't >0");
        require(
            _mondoTokensContract.balanceOf(_msgSender(), id) > _forSalePrices[id][_msgSender()].length,
            "None to sell"
        );

        _forSalePrices[id][_msgSender()].push(price);

        emit TokenForSale(id, _msgSender(), price);
    }

    function cancelSaleToTransfer(
        address owner,
        uint256 id,
        uint8 count
    ) external {
        require(_msgSender() == address(_mondoTokensContract));

        uint8 amountForSale = uint8(_forSalePrices[id][owner].length);
        require(count > 0 && count <= amountForSale, "Invalid amount to cancel");

        for (uint8 i = 0; i < count; i++) {
            uint256 price = _forSalePrices[id][owner][_forSalePrices[id][owner].length - 1];
            emit TokenSaleCancelled(id, owner, price);
        }
    }

    function cancelSale(uint256 id, uint256 price) external {
        require(removeFromSale(id, _msgSender(), price));
        emit TokenSaleCancelled(id, _msgSender(), price);
    }

    function removeFromSale(
        uint256 id,
        address owner,
        uint256 price
    ) private returns (bool) {
        uint8 salesLength = uint8(_forSalePrices[id][owner].length);
        require(salesLength > 0, "None for sale!");

        if (salesLength == 1) {
            if (price == _forSalePrices[id][owner][0]) {
                _forSalePrices[id][owner].pop();
                return true;
            } else {
                revert("Price doesn't match");
            }
        } else {
            uint8 priceIdx;
            bool priceIdxFound = false;
            for (uint8 i = 0; i < salesLength; ++i) {
                if (_forSalePrices[id][owner][i] == price) {
                    priceIdxFound = true;
                    priceIdx = i;
                    break;
                }
            }
            require(priceIdxFound, "Price not found");

            uint16 lastIdx = salesLength - 1;

            // Pop and swap:
            if (priceIdx == lastIdx) {
                _forSalePrices[id][owner].pop();
            } else {
                _forSalePrices[id][owner][priceIdx] = _forSalePrices[id][owner][lastIdx];
                _forSalePrices[id][owner].pop();
            }
            return true;
        }
    }

    function buy(uint256 id, address owner) external payable nonReentrant {
        uint256 price = (_mondoTokensContract.ROYALTY_DIVISOR() * msg.value) /
            (_mondoTokensContract.ROYALTY_DIVISOR() + 1); // price without royalties
        require(price > 0);

        uint8 salesLength = uint8(_forSalePrices[id][owner].length);
        require(salesLength > 0, "None for sale!");

        removeFromSale(id, owner, price);

        emit TokenSold(id, owner, price, _msgSender());

        // pay the seller
        _asyncTransfer(owner, price);

        // transfer token to the buyer
        _mondoTokensContract.safeTransferFrom(owner, _msgSender(), id, 1, "");
    }

    /* ============================================================================================================== */
    /*                                          ADMINISTRATIVE FUNCTIONALITY                                          */
    /* ============================================================================================================== */

    // For transferring all Eth to the owner.
    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        (bool success, ) = _msgSender().call{value: balance}("");
        require(success, "Failed to send Ether");
    }

    function _authorizeUpgrade(address newImplementation) internal virtual override(UUPSUpgradeable) onlyOwner {}
}

File 3 of 34 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControlEnumerable.sol";
import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping(bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view virtual override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view virtual override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {_grantRole} to track enumerable memberships
     */
    function _grantRole(bytes32 role, address account) internal virtual override {
        super._grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {_revokeRole} to track enumerable memberships
     */
    function _revokeRole(bytes32 role, address account) internal virtual override {
        super._revokeRole(role, account);
        _roleMembers[role].remove(account);
    }
}

File 4 of 34 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

File 5 of 34 : 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 6 of 34 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 nor 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 nor 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 7 of 34 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 8 of 34 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol)

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 34 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.3) (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 10 of 34 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev 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 proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _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}
     *
     * _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 the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild 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 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 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 for 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) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild 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 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 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 for 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) {
            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 11 of 34 : OwnableUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/ContextUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

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

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

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

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

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

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

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

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

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

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

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

File 12 of 34 : ReentrancyGuardUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

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

/**
 * @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 ReentrancyGuardUpgradeable is Initializable {
    // 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;

    function __ReentrancyGuard_init() internal onlyInitializing {
        __ReentrancyGuard_init_unchained();
    }

    function __ReentrancyGuard_init_unchained() internal onlyInitializing {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

File 13 of 34 : Initializable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;

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

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

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

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

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

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * `initializer` is equivalent to `reinitializer(1)`, so a reinitializer may be used after the original
     * initialization step. This is essential to configure modules that are added through upgrades and that require
     * initialization.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

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

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

File 14 of 34 : PullPaymentUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/PullPayment.sol)

pragma solidity ^0.8.0;

import "../utils/escrow/EscrowUpgradeable.sol";
import "../proxy/utils/Initializable.sol";

/**
 * @dev Simple implementation of a
 * https://consensys.github.io/smart-contract-best-practices/recommendations/#favor-pull-over-push-for-external-calls[pull-payment]
 * strategy, where the paying contract doesn't interact directly with the
 * receiver account, which must withdraw its payments itself.
 *
 * Pull-payments are often considered the best practice when it comes to sending
 * Ether, security-wise. It prevents recipients from blocking execution, and
 * eliminates reentrancy concerns.
 *
 * 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].
 *
 * To use, derive from the `PullPayment` contract, and use {_asyncTransfer}
 * instead of Solidity's `transfer` function. Payees can query their due
 * payments with {payments}, and retrieve them with {withdrawPayments}.
 *
 * @custom:storage-size 51
 */
abstract contract PullPaymentUpgradeable is Initializable {
    EscrowUpgradeable private _escrow;

    function __PullPayment_init() internal onlyInitializing {
        __PullPayment_init_unchained();
    }

    function __PullPayment_init_unchained() internal onlyInitializing {
        _escrow = new EscrowUpgradeable();
        _escrow.initialize();
    }

    /**
     * @dev Withdraw accumulated payments, forwarding all gas to the recipient.
     *
     * Note that _any_ account can call this function, not just the `payee`.
     * This means that contracts unaware of the `PullPayment` protocol can still
     * receive funds this way, by having a separate account call
     * {withdrawPayments}.
     *
     * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities.
     * Make sure you trust the recipient, or are either following the
     * checks-effects-interactions pattern or using {ReentrancyGuard}.
     *
     * @param payee Whose payments will be withdrawn.
     *
     * Causes the `escrow` to emit a {Withdrawn} event.
     */
    function withdrawPayments(address payable payee) public virtual {
        _escrow.withdraw(payee);
    }

    /**
     * @dev Returns the payments owed to an address.
     * @param dest The creditor's address.
     */
    function payments(address dest) public view returns (uint256) {
        return _escrow.depositsOf(dest);
    }

    /**
     * @dev Called by the payer to store the sent amount as credit to be pulled.
     * Funds sent in this way are stored in an intermediate {Escrow} contract, so
     * there is no danger of them being spent before withdrawal.
     *
     * @param dest The destination address of the funds.
     * @param amount The amount to transfer.
     *
     * Causes the `escrow` to emit a {Deposited} event.
     */
    function _asyncTransfer(address dest, uint256 amount) internal virtual {
        _escrow.deposit{value: amount}(dest);
    }

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

File 15 of 34 : UUPSUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;

import "../../interfaces/draft-IERC1822Upgradeable.sol";
import "../ERC1967/ERC1967UpgradeUpgradeable.sol";
import "./Initializable.sol";

/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal onlyInitializing {
    }

    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

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

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

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

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeTo(address newImplementation) external virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, data, true);
    }

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

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

File 16 of 34 : ContextUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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

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

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

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

File 18 of 34 : EscrowUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/escrow/Escrow.sol)

pragma solidity ^0.8.0;

import "../../access/OwnableUpgradeable.sol";
import "../AddressUpgradeable.sol";
import "../../proxy/utils/Initializable.sol";

/**
 * @title Escrow
 * @dev Base escrow contract, holds funds designated for a payee until they
 * withdraw them.
 *
 * Intended usage: This contract (and derived escrow contracts) should be a
 * standalone contract, that only interacts with the contract that instantiated
 * it. That way, it is guaranteed that all Ether will be handled according to
 * the `Escrow` rules, and there is no need to check for payable functions or
 * transfers in the inheritance tree. The contract that uses the escrow as its
 * payment method should be its owner, and provide public methods redirecting
 * to the escrow's deposit and withdraw.
 */
contract EscrowUpgradeable is Initializable, OwnableUpgradeable {
    function __Escrow_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Escrow_init_unchained() internal onlyInitializing {
    }
    function initialize() public virtual initializer {
        __Escrow_init();
    }
    using AddressUpgradeable for address payable;

    event Deposited(address indexed payee, uint256 weiAmount);
    event Withdrawn(address indexed payee, uint256 weiAmount);

    mapping(address => uint256) private _deposits;

    function depositsOf(address payee) public view returns (uint256) {
        return _deposits[payee];
    }

    /**
     * @dev Stores the sent amount as credit to be withdrawn.
     * @param payee The destination address of the funds.
     *
     * Emits a {Deposited} event.
     */
    function deposit(address payee) public payable virtual onlyOwner {
        uint256 amount = msg.value;
        _deposits[payee] += amount;
        emit Deposited(payee, amount);
    }

    /**
     * @dev Withdraw accumulated balance for a payee, forwarding all gas to the
     * recipient.
     *
     * WARNING: Forwarding all gas opens the door to reentrancy vulnerabilities.
     * Make sure you trust the recipient, or are either following the
     * checks-effects-interactions pattern or using {ReentrancyGuard}.
     *
     * @param payee The address whose funds will be withdrawn and transferred to.
     *
     * Emits a {Withdrawn} event.
     */
    function withdraw(address payable payee) public virtual onlyOwner {
        uint256 payment = _deposits[payee];

        _deposits[payee] = 0;

        payee.sendValue(payment);

        emit Withdrawn(payee, payment);
    }

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.2;

import "../beacon/IBeaconUpgradeable.sol";
import "../../interfaces/draft-IERC1822Upgradeable.sol";
import "../../utils/AddressUpgradeable.sol";
import "../../utils/StorageSlotUpgradeable.sol";
import "../utils/Initializable.sol";

/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 *
 * @custom:oz-upgrades-unsafe-allow delegatecall
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable {
    function __ERC1967Upgrade_init() internal onlyInitializing {
    }

    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

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

    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    /**
     * @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) private returns (bytes memory) {
        require(AddressUpgradeable.isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return AddressUpgradeable.verifyCallResult(success, returndata, "Address: low-level delegate call failed");
    }

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

File 21 of 34 : StorageSlotUpgradeable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)

pragma solidity ^0.8.0;

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

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 23 of 34 : IAccessControlEnumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControlEnumerable.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable is IAccessControl {
    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

File 24 of 34 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

import "./IAccessControl.sol";
import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role);
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `_msgSender()` is missing `role`.
     * Overriding this function changes the behavior of the {onlyRole} modifier.
     *
     * Format of the revert message is described in {_checkRole}.
     *
     * _Available since v4.6._
     */
    function _checkRole(bytes32 role) internal view virtual {
        _checkRole(role, _msgSender());
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view virtual override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleGranted} event.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     *
     * May emit a {RoleRevoked} event.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been revoked `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     *
     * May emit a {RoleRevoked} event.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * May emit a {RoleGranted} event.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleGranted} event.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     *
     * May emit a {RoleRevoked} event.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 25 of 34 : EnumerableSet.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/structs/EnumerableSet.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

        return result;
    }
}

File 26 of 34 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {AccessControl-_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) external;

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) external;
}

File 27 of 34 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_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) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

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

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

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

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

File 28 of 34 : 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 29 of 34 : 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 30 of 34 : 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 31 of 34 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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 32 of 34 : 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 33 of 34 : 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 34 of 34 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"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":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"address","name":"owner","type":"address"}],"name":"CardMinted","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","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":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_RECORD","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ROYALTY_DIVISOR","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TOTAL_COPIES_EVER","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WITHDRAWER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mondoMarketplace","outputs":[{"internalType":"contract MondoMarketplace","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256","name":"_expiryTimestamp","type":"uint256"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"bytes32","name":"_messageHash","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"advancedMint","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"payable","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":[{"internalType":"uint8","name":"newMaxMintCountPerAddress","type":"uint8"}],"name":"changeMaxMintCountPerAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"newRoot","type":"bytes32"}],"name":"changeMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"changeSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"counts","type":"uint256[]"}],"name":"giveGiftTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newPauser","type":"address"}],"name":"grantPauserRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newWithdrawer","type":"address"}],"name":"grantWithdrawerRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"maxMintCountPerAddress","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"count","type":"uint8"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"mint","outputs":[{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"mintCount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingStatus","outputs":[{"internalType":"enum MondoTokens.MintingStatus","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"ownerNonces","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"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":[{"internalType":"address","name":"oldPauser","type":"address"}],"name":"removePauserRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"oldWithdrawer","type":"address"}],"name":"removeWithdrawerRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"id","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":"enum MondoTokens.MintingStatus","name":"status","type":"uint8"}],"name":"setMintingStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mondoMarketplaceAddress","type":"address"}],"name":"setMondoMarketplace","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"signer","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"totalMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistEnabled","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600980546000919060ff60a01b1916600160a01b8302179055507f36a3f277fab998f2083548bd5c2787cfea178f0898274a95941a60a2c72a3ca460001b600a5573f39fd6e51aad88f6f4ce6ab8827279cfffb92266600b60006101000a8154816001600160a01b0302191690836001600160a01b031602179055506000600c556001600d60006101000a81548160ff0219169083151502179055506005600d60016101000a81548160ff021916908360ff160217905550604051806201eec00160405280603f60ff168152602001600b60ff168152602001605060ff168152602001605160ff168152602001602a60ff168152602001606460ff168152602001603760ff168152602001603c60ff168152602001604b60ff168152602001601c60ff168152602001601060ff168152602001605660ff168152602001606060ff168152602001605160ff168152602001601660ff168152602001602760ff168152602001603e60ff168152602001605d60ff168152602001605360ff168152602001600560ff168152602001604160ff168152602001601f60ff168152602001601960ff168152602001600560ff168152602001601660ff168152602001601d60ff168152602001602f60ff168152602001603360ff168152602001600c60ff168152602001603e60ff168152602001605460ff168152602001606460ff168152602001606060ff168152602001601460ff168152602001606460ff168152602001604960ff168152602001604660ff168152602001603360ff168152602001602a60ff168152602001606160ff168152602001601d60ff168152602001602c60ff168152602001604b60ff168152602001603760ff168152602001605960ff168152602001603c60ff168152602001603160ff168152602001604360ff168152602001605760ff168152602001605d60ff168152602001606360ff168152602001603960ff168152602001602260ff168152602001605e60ff168152602001601860ff168152602001602d60ff168152602001601b60ff168152602001606360ff168152602001603760ff168152602001605f60ff168152602001603060ff168152602001601760ff168152602001604260ff168152602001605460ff168152602001601460ff168152602001601660ff168152602001600660ff168152602001605060ff168152602001602560ff168152602001604960ff168152602001603460ff168152602001605f60ff168152602001600360ff168152602001606060ff168152602001603760ff168152602001605a60ff168152602001600d60ff168152602001601b60ff168152602001605060ff168152602001605960ff168152602001606460ff168152602001602760ff168152602001603f60ff168152602001603a60ff168152602001605e60ff168152602001602d60ff168152602001600260ff168152602001604860ff168152602001603c60ff168152602001600560ff168152602001605560ff168152602001601060ff168152602001602460ff168152602001601360ff168152602001600e60ff168152602001603b60ff168152602001603760ff168152602001600760ff168152602001605a60ff168152602001600a60ff168152602001605360ff168152602001604960ff168152602001604b60ff168152602001605960ff168152602001605160ff168152602001602060ff168152602001603360ff168152602001601760ff168152602001600660ff168152602001605d60ff168152602001600f60ff168152602001603160ff168152602001606460ff168152602001606160ff168152602001601460ff168152602001603360ff168152602001602260ff168152602001603560ff168152602001603860ff168152602001603b60ff168152602001601660ff168152602001604b60ff168152602001601e60ff168152602001603f60ff168152602001602a60ff168152602001600d60ff168152602001604160ff168152602001600c60ff168152602001600a60ff168152602001600260ff168152602001600360ff168152602001602060ff168152602001606460ff168152602001605a60ff168152602001600260ff168152602001604960ff168152602001601360ff168152602001605960ff168152602001603f60ff168152602001605960ff168152602001604b60ff168152602001601560ff168152602001603760ff168152602001603560ff168152602001604b60ff168152602001605f60ff168152602001605e60ff168152602001605360ff168152602001605560ff168152602001604d60ff168152602001604b60ff168152602001603a60ff168152602001604660ff168152602001604c60ff168152602001602960ff168152602001604060ff168152602001600f60ff168152602001606160ff168152602001605160ff168152602001601360ff168152602001602060ff168152602001604e60ff168152602001600360ff168152602001602360ff168152602001604160ff168152602001602860ff168152602001602160ff168152602001605360ff168152602001601d60ff168152602001602b60ff168152602001604760ff168152602001604260ff168152602001603d60ff168152602001605c60ff168152602001608160ff168152602001600d60ff168152602001603e60ff168152602001602360ff168152602001600c60ff168152602001605060ff168152602001602160ff168152602001601c60ff168152602001601360ff168152602001602160ff168152602001605560ff168152602001603660ff168152602001605860ff168152602001603660ff168152602001604b60ff168152602001605b60ff168152602001600a60ff168152602001601d60ff168152602001604960ff168152602001603760ff168152602001601a60ff168152602001605960ff168152602001603160ff168152602001601f60ff168152602001606060ff168152602001605160ff168152602001603760ff168152602001600d60ff168152602001606460ff168152602001601c60ff168152602001600660ff168152602001600a60ff168152602001600460ff168152602001605860ff168152602001603160ff168152602001601960ff168152602001604260ff168152602001605560ff168152602001604860ff168152602001601e60ff168152602001604360ff168152602001603c60ff168152602001604060ff168152602001601a60ff168152602001600860ff168152602001602c60ff168152602001604160ff168152602001603160ff168152602001605e60ff168152602001605160ff168152602001604460ff168152602001600460ff168152602001604460ff168152602001600160ff168152602001604d60ff168152602001601060ff168152602001605a60ff168152602001603560ff168152602001602a60ff168152602001604360ff168152602001601560ff168152602001604960ff168152602001601260ff168152602001603e60ff168152602001601560ff168152602001603160ff168152602001603560ff168152602001605c60ff168152602001601660ff168152602001602060ff168152602001602a60ff168152602001603a60ff168152602001605960ff168152602001604860ff168152602001602c60ff168152602001600660ff168152602001602660ff168152602001602d60ff168152602001602c60ff168152602001602260ff168152602001603f60ff168152602001601b60ff168152602001605b60ff168152602001604660ff168152602001602360ff168152602001602560ff168152602001600960ff168152602001602d60ff168152602001603560ff168152602001605760ff168152602001601b60ff168152602001600a60ff168152602001603160ff168152602001605360ff168152602001601e60ff168152602001605960ff168152602001603960ff168152602001603760ff168152602001601f60ff168152602001604760ff168152602001600460ff168152602001605760ff168152602001600460ff168152602001604960ff168152602001605e60ff168152602001600760ff168152602001600960ff168152602001605160ff168152602001605860ff168152602001604660ff168152602001602a60ff168152602001603160ff168152602001601660ff168152602001601d60ff168152602001601b60ff168152602001604d60ff168152602001601b60ff168152602001602060ff168152602001603460ff168152602001601d60ff168152602001604960ff168152602001601560ff168152602001603e60ff168152602001602560ff168152602001604e60ff168152602001601260ff168152602001602060ff168152602001602260ff168152602001600e60ff168152602001600460ff168152602001605560ff168152602001601360ff168152602001601660ff168152602001602760ff168152602001602760ff168152602001605160ff168152602001605460ff168152602001605b60ff168152602001604b60ff168152602001602360ff168152602001601b60ff168152602001603c60ff168152602001604360ff168152602001600660ff168152602001605660ff168152602001603560ff168152602001603160ff168152602001605a60ff168152602001605e60ff168152602001602160ff168152602001607560ff168152602001601660ff168152602001600360ff168152602001604760ff168152602001605d60ff168152602001602060ff168152602001604560ff168152602001601560ff168152602001602460ff168152602001605460ff168152602001602560ff168152602001600660ff168152602001601d60ff168152602001601b60ff168152602001600260ff168152602001601d60ff168152602001601c60ff168152602001600860ff168152602001604f60ff168152602001603f60ff168152602001605460ff168152602001600560ff168152602001600d60ff168152602001605660ff168152602001604f60ff168152602001605e60ff168152602001604b60ff168152602001603360ff168152602001604b60ff168152602001600260ff168152602001600460ff168152602001605a60ff168152602001601060ff168152602001602d60ff168152602001602f60ff168152602001603160ff168152602001602a60ff168152602001604160ff168152602001601160ff168152602001600260ff168152602001603160ff168152602001605d60ff168152602001602460ff168152602001601f60ff168152602001603660ff168152602001601b60ff168152602001601360ff168152602001601960ff168152602001601660ff168152602001605460ff168152602001601b60ff168152602001602460ff168152602001605660ff168152602001606360ff168152602001603f60ff168152602001604260ff168152602001601960ff168152602001605760ff168152602001600460ff168152602001605c60ff168152602001605960ff168152602001605860ff168152602001600760ff168152602001602060ff168152602001600760ff168152602001605760ff168152602001602260ff168152602001600760ff168152602001601960ff168152602001600b60ff168152602001603760ff168152602001601760ff168152602001602760ff168152602001601560ff168152602001600a60ff168152602001601660ff168152602001601c60ff168152602001604c60ff168152602001602c60ff168152602001604c60ff168152602001604e60ff168152602001604360ff168152602001604e60ff168152602001604060ff168152602001603c60ff168152602001601660ff168152602001605560ff168152602001606360ff168152602001603c60ff168152602001605d60ff168152602001602f60ff168152602001602c60ff168152602001605f60ff168152602001605b60ff168152602001605460ff168152602001603f60ff168152602001600760ff168152602001604b60ff168152602001601560ff168152602001605d60ff168152602001603660ff168152602001601b60ff168152602001606360ff168152602001601e60ff168152602001605960ff168152602001602060ff168152602001600660ff168152602001602060ff168152602001600560ff168152602001605760ff168152602001602f60ff168152602001601e60ff168152602001600b60ff168152602001605160ff168152602001605660ff168152602001600c60ff168152602001604460ff168152602001602060ff168152602001603e60ff168152602001605960ff168152602001600760ff168152602001604f60ff168152602001600d60ff168152602001600760ff168152602001600c60ff168152602001605760ff168152602001606060ff168152602001603f60ff168152602001601960ff168152602001600660ff168152602001602660ff168152602001600f60ff168152602001606460ff168152602001605e60ff168152602001600d60ff168152602001604060ff168152602001602060ff168152602001605160ff168152602001603960ff168152602001606e60ff168152602001602260ff168152602001605360ff168152602001605a60ff168152602001600360ff168152602001605e60ff168152602001601c60ff168152602001603160ff168152602001600c60ff168152602001606160ff168152602001604c60ff168152602001602260ff168152602001601760ff168152602001604b60ff168152602001605e60ff168152602001605f60ff168152602001600560ff168152602001602c60ff168152602001601860ff168152602001600760ff168152602001606060ff168152602001605160ff168152602001604d60ff168152602001600160ff168152602001605f60ff168152602001605560ff168152602001606060ff168152602001605160ff168152602001600260ff168152602001601d60ff168152602001600a60ff168152602001604760ff168152602001602260ff168152602001606060ff168152602001601c60ff168152602001602a60ff168152602001601860ff168152602001605b60ff168152602001603660ff168152602001602c60ff168152602001601c60ff168152602001603e60ff168152602001603b60ff168152602001603860ff168152602001603160ff168152602001601960ff168152602001600860ff168152602001604260ff168152602001600260ff168152602001601e60ff168152602001605660ff168152602001605f60ff168152602001606360ff168152602001600e60ff168152602001605560ff168152602001600760ff168152602001600360ff168152602001606460ff168152602001601b60ff168152602001604e60ff168152602001600660ff168152602001605c60ff168152602001601a60ff168152602001600b60ff168152602001603d60ff168152602001600c60ff168152602001600760ff168152602001600d60ff168152602001606360ff168152602001603460ff168152602001604c60ff168152602001603160ff168152602001606a60ff168152602001602360ff168152602001601d60ff168152602001604e60ff168152602001603160ff168152602001601c60ff168152602001602160ff168152602001600360ff168152602001606960ff168152602001600760ff168152602001604460ff168152602001604560ff168152602001602260ff168152602001600660ff168152602001600c60ff168152602001604960ff168152602001605860ff168152602001603760ff168152602001603660ff168152602001604460ff168152602001600e60ff168152602001603f60ff168152602001603e60ff168152602001602f60ff168152602001604960ff168152602001602160ff168152602001603c60ff168152602001605960ff168152602001602460ff168152602001602a60ff168152602001600c60ff168152602001601b60ff168152602001607860ff168152602001600360ff168152602001605560ff168152602001600a60ff168152602001603960ff168152602001605960ff168152602001600960ff168152602001604260ff168152602001601f60ff168152602001600f60ff168152602001605360ff168152602001602060ff168152602001601660ff168152602001601060ff168152602001605160ff168152602001601d60ff168152602001604760ff168152602001600860ff168152602001601060ff168152602001601960ff168152602001604160ff168152602001606060ff168152602001603360ff168152602001604060ff168152602001604660ff168152602001605a60ff168152602001604460ff168152602001600760ff168152602001600760ff168152602001604c60ff168152602001604060ff168152602001600d60ff168152602001600760ff168152602001605e60ff168152602001603460ff168152602001603860ff168152602001601460ff168152602001604960ff168152602001603f60ff168152602001603160ff168152602001600760ff168152602001604760ff168152602001601f60ff168152602001601b60ff168152602001603460ff168152602001602760ff168152602001601b60ff168152602001605960ff168152602001600e60ff168152602001601860ff168152602001601660ff168152602001605060ff168152602001601460ff168152602001603660ff168152602001604460ff168152602001602a60ff168152602001600b60ff168152602001602760ff168152602001602c60ff168152602001600260ff168152602001604b60ff168152602001601160ff168152602001601760ff168152602001606360ff168152602001605c60ff168152602001604460ff168152602001600560ff168152602001605a60ff168152602001604860ff168152602001605160ff168152602001604c60ff168152602001600a60ff168152602001603160ff168152602001601760ff168152602001602f60ff168152602001604960ff168152602001605160ff168152602001605560ff168152602001603b60ff168152602001601960ff168152602001604760ff168152602001604360ff168152602001605a60ff168152602001602460ff168152602001605e60ff168152602001603f60ff168152602001605a60ff168152602001604c60ff168152602001602760ff168152602001604560ff168152602001601e60ff168152602001604560ff168152602001601860ff168152602001606460ff168152602001602a60ff168152602001602b60ff168152602001603760ff168152602001602b60ff168152602001602260ff168152602001600e60ff168152602001600660ff168152602001605a60ff168152602001604360ff168152602001604360ff168152602001600660ff168152602001603360ff168152602001600560ff168152602001603360ff168152602001603c60ff168152602001601660ff168152602001605b60ff168152602001605360ff168152602001602760ff168152602001601d60ff168152602001604560ff168152602001601360ff168152602001602260ff168152602001600b60ff168152602001604960ff168152602001602060ff168152602001601560ff168152602001602d60ff168152602001604e60ff168152602001601060ff168152602001603b60ff168152602001604d60ff168152602001603460ff168152602001606160ff168152602001601f60ff168152602001600460ff168152602001602c60ff168152602001601160ff168152602001600d60ff168152602001601960ff168152602001602a60ff168152602001601e60ff168152602001601c60ff168152602001605b60ff168152602001602160ff168152602001605b60ff168152602001604560ff168152602001600660ff168152602001603860ff168152602001600260ff168152602001600660ff168152602001600c60ff168152602001602760ff168152602001605660ff168152602001604460ff168152602001600f60ff168152602001604260ff168152602001600a60ff168152602001600960ff168152602001603460ff168152602001604b60ff168152602001606360ff168152602001601960ff168152602001600c60ff168152602001603860ff168152602001605360ff168152602001600560ff168152602001603460ff168152602001601060ff168152602001602560ff168152602001602360ff168152602001601260ff168152602001602060ff168152602001605a60ff168152602001603160ff168152602001604760ff168152602001600960ff168152602001601a60ff168152602001603360ff168152602001600760ff168152602001603f60ff168152602001603e60ff168152602001602c60ff168152602001604960ff168152602001601060ff168152602001604760ff168152602001606360ff168152602001601760ff168152602001602a60ff168152602001600660ff168152602001602160ff168152602001601360ff168152602001605560ff168152602001602160ff168152602001606460ff168152602001601760ff168152602001606060ff168152602001601560ff168152602001604c60ff168152602001602260ff168152602001600d60ff168152602001603360ff168152602001601e60ff168152602001601e60ff168152602001602a60ff168152602001601b60ff168152602001600b60ff168152602001603660ff168152602001605860ff168152602001600f60ff168152602001600660ff168152602001605860ff168152602001600b60ff168152602001605060ff168152602001601260ff168152602001602360ff168152602001600c60ff168152602001600f60ff168152602001600960ff168152602001602760ff168152602001602560ff168152602001604460ff168152602001606360ff168152602001602c60ff168152602001605360ff168152602001600860ff168152602001601e60ff168152602001601c60ff168152602001605e60ff168152602001601560ff168152602001605760ff168152602001600660ff168152602001601860ff168152602001602360ff168152602001603660ff168152602001604b60ff168152602001601060ff168152602001603a60ff168152602001606160ff168152602001605c60ff168152602001602760ff168152602001603e60ff168152602001602360ff168152602001603460ff168152602001600360ff168152602001604e60ff168152602001603060ff168152602001606160ff168152602001603b60ff168152602001604f60ff168152602001605860ff168152602001604c60ff168152602001600760ff168152602001602560ff168152602001605360ff168152602001600360ff168152602001601660ff168152602001604f60ff168152602001601660ff168152602001604060ff168152602001605560ff168152602001604460ff168152602001602260ff168152602001601a60ff168152602001601f60ff168152602001604b60ff168152602001602060ff168152602001600760ff168152602001604660ff168152602001605d60ff168152602001602f60ff168152602001602c60ff168152602001603e60ff168152602001606060ff168152602001600560ff168152602001606360ff168152602001605b60ff168152602001605460ff168152602001600360ff168152602001605660ff168152602001602f60ff168152602001604b60ff168152602001605560ff168152602001600960ff168152602001603360ff168152602001605060ff168152602001602760ff168152602001600660ff168152602001602060ff168152602001600b60ff168152602001604060ff168152602001603960ff168152602001603060ff168152602001605f60ff168152602001602f60ff168152602001605560ff168152602001602460ff168152602001601c60ff168152602001602760ff168152602001605160ff168152602001603960ff168152602001604b60ff168152602001604e60ff168152602001604960ff168152602001602a60ff168152602001603760ff168152602001602360ff168152602001605c60ff168152602001604160ff168152602001602460ff168152602001600560ff168152602001604260ff168152602001604560ff168152602001600860ff168152602001601360ff168152602001605760ff168152602001604560ff168152602001600660ff168152602001605c60ff168152602001605660ff168152602001605e60ff168152602001602560ff168152602001601360ff168152602001601c60ff168152602001604b60ff168152602001604860ff168152602001603460ff168152602001605860ff168152602001603e60ff168152602001604160ff168152602001603460ff168152602001600d60ff168152602001603e60ff168152602001600260ff168152602001604460ff168152602001606060ff168152602001602060ff168152602001600760ff168152602001603c60ff168152602001605660ff168152602001602c60ff168152602001604560ff168152602001605660ff168152602001601660ff168152602001605760ff168152602001600660ff168152602001600260ff168152602001601060ff168152602001600560ff168152602001604660ff168152602001601060ff168152602001604b60ff168152602001602f60ff168152602001600d60ff168152602001605a60ff168152602001603460ff168152602001600c60ff168152602001601c60ff168152602001604760ff168152602001600860ff168152602001601760ff168152602001604360ff168152602001605c60ff168152602001604660ff168152602001604b60ff168152602001604960ff168152602001603660ff168152602001605960ff168152602001600e60ff168152602001600660ff168152602001605060ff168152602001602c60ff168152602001604660ff168152602001605f60ff168152602001600360ff168152602001604b60ff168152602001604960ff168152602001604760ff168152602001602560ff168152602001600660ff168152602001600160ff168152602001605160ff168152602001601960ff168152602001602160ff168152602001605860ff168152602001600f60ff168152602001601d60ff168152602001605d60ff168152602001605d60ff168152602001600e60ff168152602001606460ff168152602001605160ff168152602001606460ff168152602001602c60ff168152602001602260ff168152602001602560ff168152602001600660ff168152602001600c60ff168152602001601260ff168152602001602460ff168152602001600460ff168152602001601460ff168152602001605660ff168152602001602660ff168152602001600460ff168152602001605360ff168152602001600460ff168152602001604b60ff168152602001603460ff168152602001603160ff168152602001606460ff168152602001603e60ff168152602001602160ff168152602001601660ff168152602001600b60ff168152602001600d60ff168152602001603e60ff168152602001606460ff168152602001602c60ff168152602001604760ff168152602001601060ff168152602001602f60ff168152602001604360ff168152602001602f60ff168152602001600660ff168152602001605160ff168152602001601660ff168152602001601f60ff168152602001604260ff168152602001601f60ff168152602001600c60ff168152602001604e60ff168152602001603660ff168152602001605e60ff168152602001602c60ff168152602001602760ff168152602001605d60ff168152602001605f60ff168152602001605660ff168152602001601460ff168152602001603d60ff168152602001605760ff168152602001600c60ff168152602001601260ff168152602001601760ff168152602001604c60ff168152602001600a60ff168152602001604760ff168152602001602460ff168152602001602760ff168152602001604160ff168152602001603960ff168152602001604260ff168152602001603f60ff168152602001603660ff168152602001601a60ff168152602001604860ff168152602001601060ff168152602001601a60ff168152602001606460ff168152602001603c60ff168152602001600460ff168152602001603560ff168152602001605f60ff168152602001604b60ff168152602001603e60ff168152602001602b60ff168152602001601260ff168152602001603760ff168152602001602060ff168152602001604160ff168152602001604260ff168152602001604b60ff168152602001601b60ff168152602001600260ff168152602001600360ff168152602001601160ff168152602001604d60ff168152602001603660ff168152602001602f60ff168152602001605360ff168152602001601b60ff168152602001601a60ff168152602001600b60ff168152602001603f60ff168152602001602360ff168152602001605960ff168152602001604e60ff168152602001603f60ff168152602001605b60ff168152602001604b60ff168152602001601160ff168152602001602460ff168152602001604b60ff168152602001601e60ff168152602001602c60ff168152602001605c60ff168152602001606f60ff168152602001602f60ff168152602001600e60ff168152602001600160ff168152602001604e60ff168152602001607d60ff168152602001605660ff168152602001602160ff168152602001605c60ff168152602001600860ff168152602001605460ff168152602001605160ff168152602001602360ff168152602001606460ff168152602001604260ff168152602001603760ff168152602001603060ff168152602001603e60ff168152602001601160ff168152602001602360ff168152602001600960ff168152602001604560ff168152602001605760ff168152602001605b60ff168152602001602560ff168152602001603f60ff168152602001602760ff168152602001600460ff168152602001602560ff168152602001605860ff168152602001601760ff168152602001604660ff168152602001601c60ff168152602001605660ff168152602001605760ff168152602001605d60ff168152602001600960ff168152602001601560ff168152602001605c60ff168152602001603360ff168152602001602260ff168152602001603e60ff168152602001605360ff168152602001605460ff168152602001601c60ff168152602001606360ff168152602001601260ff168152602001600b60ff168152602001601a60ff168152602001605960ff168152602001601360ff168152602001601d60ff168152602001603160ff168152602001605c60ff168152602001604960ff168152602001602760ff168152602001602060ff168152602001604b60ff168152602001601c60ff168152602001603f60ff168152602001605f60ff168152602001602360ff168152602001602660ff168152602001605a60ff168152602001601460ff168152602001600260ff168152602001605960ff168152602001605760ff168152602001601360ff168152602001602760ff168152602001603760ff168152602001604c60ff168152602001604c60ff168152602001601c60ff168152602001600a60ff168152602001601a60ff168152602001601e60ff168152602001604160ff168152602001603860ff168152602001602b60ff168152602001601960ff168152602001603560ff168152602001605460ff168152602001602260ff168152602001603560ff168152602001604d60ff168152602001602e60ff168152602001604360ff168152602001605560ff168152602001605a60ff168152602001601d60ff168152602001603060ff168152602001605560ff168152602001604d60ff168152602001604b60ff168152602001605a60ff168152602001605a60ff168152602001600660ff168152602001601860ff168152602001604560ff168152602001601560ff168152602001603160ff168152602001603660ff168152602001604960ff168152602001600f60ff168152602001605660ff168152602001606160ff168152602001604160ff168152602001600760ff168152602001603460ff168152602001604c60ff168152602001600760ff168152602001605860ff168152602001600660ff168152602001602260ff168152602001605760ff168152602001600960ff168152602001600160ff168152602001604560ff168152602001603c60ff168152602001604660ff168152602001601960ff168152602001600b60ff168152602001600f60ff168152602001605560ff168152602001600a60ff168152602001600760ff168152602001602a60ff168152602001604660ff168152602001601560ff168152602001602060ff168152602001603a60ff168152602001600f60ff168152602001604460ff168152602001601c60ff168152602001603160ff168152602001600760ff168152602001602c60ff168152602001602f60ff168152602001603e60ff168152602001601a60ff168152602001601a60ff168152602001605960ff168152602001601d60ff168152602001603c60ff168152602001601160ff168152602001603160ff168152602001601360ff168152602001601d60ff168152602001603960ff168152602001605760ff168152602001605160ff168152602001601e60ff168152602001605f60ff168152602001601560ff168152602001604960ff168152602001605d60ff168152602001604a60ff168152602001603c60ff168152602001601c60ff168152602001601660ff168152602001602060ff168152602001602260ff168152602001604960ff168152602001603460ff168152602001605760ff168152602001603e60ff168152602001600460ff168152602001606460ff168152602001605760ff168152602001601660ff168152602001605d60ff168152602001606260ff168152602001600e60ff168152602001603660ff168152602001605660ff168152602001604d60ff168152602001601160ff168152602001602260ff168152602001601d60ff168152602001605660ff168152602001600660ff168152602001602a60ff168152602001602260ff168152602001601c60ff168152602001605760ff168152602001604660ff168152602001604160ff168152602001606760ff168152602001603c60ff168152602001600460ff168152602001600d60ff168152602001605760ff168152602001602b60ff168152602001605860ff168152602001604860ff168152602001600360ff168152602001601d60ff168152602001602460ff168152602001605a60ff168152602001603160ff168152602001604960ff168152602001604c60ff168152602001605860ff168152602001603060ff168152602001605360ff168152602001605c60ff168152602001606660ff168152602001603460ff168152602001601c60ff168152602001606060ff168152602001600660ff168152602001602760ff168152602001603f60ff168152602001601f60ff168152602001602c60ff168152602001602f60ff168152602001605c60ff168152602001605160ff168152602001605a60ff168152602001601b60ff168152602001602160ff168152602001602160ff168152602001601e60ff168152602001602660ff168152602001601e60ff168152602001604660ff168152602001605d60ff168152602001606460ff168152602001604b60ff168152602001602760ff168152602001605760ff168152602001605460ff168152602001603e60ff168152602001601560ff168152602001605660ff168152602001605060ff168152602001605460ff168152602001604260ff168152602001600360ff168152602001605b60ff168152602001601c60ff168152602001606460ff168152602001605760ff168152602001600d60ff168152602001603c60ff168152602001603f60ff168152602001605d60ff168152602001602360ff168152602001602260ff168152602001602160ff168152602001604460ff168152602001600560ff168152602001600760ff168152602001603f60ff168152602001605f60ff168152602001607c60ff168152602001606360ff168152602001602660ff168152602001603a60ff168152602001605960ff168152602001605c60ff168152602001602c60ff168152602001604060ff168152602001604960ff168152602001603160ff168152602001601460ff168152602001602460ff168152602001605860ff168152602001602060ff168152602001604560ff168152602001602a60ff168152602001605160ff168152602001600660ff168152602001603f60ff168152602001605c60ff168152602001602460ff168152602001600960ff168152602001600d60ff168152602001600c60ff168152602001602360ff168152602001603960ff168152602001602260ff168152602001606360ff168152602001601b60ff168152602001600b60ff168152602001601d60ff168152602001601560ff168152602001605d60ff168152602001601f60ff168152602001603c60ff168152602001605660ff168152602001604b60ff168152602001605f60ff168152602001605a60ff168152602001605b60ff168152602001605b60ff168152602001606460ff168152602001605060ff168152602001600560ff168152602001603a60ff168152602001605d60ff168152602001605460ff168152602001605960ff168152602001603960ff168152602001601060ff168152602001604360ff168152602001605e60ff168152602001603e60ff168152602001603560ff168152602001607660ff168152602001605960ff168152602001604660ff168152602001602760ff168152602001605560ff168152602001604060ff168152602001601960ff168152602001605e60ff168152602001600960ff168152602001605860ff168152602001600a60ff168152602001603f60ff168152602001602560ff168152602001600160ff168152602001605360ff168152602001600a60ff168152602001601b60ff168152602001600f60ff168152602001601d60ff168152602001605e60ff168152602001601d60ff168152602001602c60ff168152602001603360ff168152602001604960ff168152602001603760ff168152602001600660ff168152602001601860ff168152602001600a60ff168152602001605960ff168152602001601d60ff168152602001601c60ff168152602001604960ff168152602001601960ff168152602001604760ff168152602001601a60ff168152602001601660ff168152602001600a60ff168152602001605f60ff168152602001601e60ff168152602001602a60ff168152602001601460ff168152602001600560ff168152602001603660ff168152602001607260ff168152602001600560ff168152602001602a60ff168152602001602460ff168152602001607360ff168152602001602d60ff168152602001604860ff168152602001601f60ff168152602001601d60ff168152602001604f60ff168152602001604f60ff168152602001600560ff168152602001602c60ff168152602001606160ff168152602001601760ff168152602001602360ff168152602001603560ff168152602001605760ff168152602001603e60ff168152602001605160ff168152602001604660ff168152602001603160ff168152602001606160ff168152602001604460ff168152602001606c60ff168152602001601a60ff168152602001603d60ff168152602001601d60ff168152602001606160ff168152602001603f60ff168152602001602d60ff168152602001605060ff168152602001605960ff168152602001602660ff168152602001604f60ff168152602001602360ff168152602001604660ff168152602001600260ff168152602001601b60ff168152602001603960ff168152602001600560ff168152602001603760ff168152602001601560ff168152602001605a60ff168152602001603d60ff168152602001603460ff168152602001604160ff168152602001606460ff168152602001603160ff168152602001601460ff168152602001603a60ff168152602001600460ff168152602001604f60ff168152602001604b60ff168152602001605160ff168152602001600360ff168152602001601360ff168152602001604c60ff168152602001605760ff168152602001605960ff168152602001602c60ff168152602001604060ff168152602001604960ff168152602001601760ff168152602001605f60ff168152602001602360ff168152602001606360ff168152602001600460ff168152602001604c60ff168152602001602a60ff168152602001601a60ff168152602001605e60ff168152602001602760ff168152602001602560ff168152602001603160ff168152602001605a60ff168152602001605360ff168152602001605c60ff168152602001606460ff168152602001600c60ff168152602001605860ff168152602001602560ff168152602001600960ff168152602001603060ff168152602001600d60ff168152602001600660ff168152602001605660ff168152602001600860ff168152602001600460ff168152602001604e60ff168152602001604060ff168152602001602560ff168152602001602760ff168152602001601360ff168152602001602660ff168152602001601e60ff168152602001601b60ff168152602001600660ff168152602001601c60ff168152602001605360ff168152602001601d60ff168152602001602060ff168152602001600960ff168152602001605660ff168152602001601360ff168152602001601460ff168152602001605e60ff168152602001601f60ff168152602001600d60ff168152602001600960ff168152602001605060ff168152602001600260ff168152602001601360ff168152602001605060ff168152602001604460ff168152602001601360ff168152602001604560ff168152602001603160ff168152602001600d60ff168152602001601f60ff168152602001604660ff168152602001601060ff168152602001601060ff168152602001605d60ff168152602001604c60ff168152602001604260ff168152602001605c60ff168152602001601d60ff168152602001602160ff168152602001601160ff168152602001603360ff168152602001601c60ff168152602001603460ff168152602001602760ff168152602001600160ff168152602001601660ff168152602001601e60ff168152602001603660ff168152602001607e60ff168152602001603060ff168152602001601060ff168152602001605a60ff168152602001603360ff168152602001604160ff168152602001602360ff168152602001605160ff168152602001602460ff168152602001604060ff168152602001604c60ff168152602001601960ff168152602001605860ff168152602001604e60ff168152602001605360ff168152602001600460ff168152602001605760ff168152602001605f60ff168152602001601a60ff168152602001602460ff168152602001605f60ff168152602001604560ff168152602001604f60ff168152602001600d60ff168152602001603660ff168152602001600660ff168152602001605760ff168152602001600960ff168152602001603e60ff168152602001604460ff168152602001601660ff168152602001604c60ff168152602001600360ff168152602001601e60ff168152602001602260ff168152602001603460ff168152602001600b60ff168152602001603160ff168152602001602560ff168152602001602160ff168152602001604560ff168152602001605160ff168152602001604e60ff168152602001604160ff168152602001600b60ff168152602001601d60ff168152602001604760ff168152602001600e60ff168152602001601b60ff168152602001604960ff168152602001605960ff168152602001603560ff168152602001600660ff168152602001601760ff168152602001604960ff168152602001603360ff168152602001602460ff168152602001605b60ff168152602001602d60ff168152602001604360ff168152602001604f60ff168152602001605b60ff168152602001600260ff168152602001603d60ff168152602001602360ff168152602001604960ff168152602001602c60ff168152602001604260ff168152602001600960ff168152602001601360ff168152602001600c60ff168152602001604560ff168152602001605d60ff168152602001601d60ff168152602001602f60ff168152602001605960ff168152602001603d60ff168152602001600660ff168152602001601c60ff168152602001601b60ff168152602001604360ff168152602001602360ff168152602001605960ff168152602001600760ff168152602001603e60ff168152602001601c60ff168152602001606360ff168152602001601860ff168152602001605e60ff168152602001600760ff168152602001604760ff168152602001601560ff168152602001605160ff168152602001604560ff168152602001605560ff168152602001605160ff168152602001604760ff168152602001604960ff168152602001601a60ff168152602001605860ff168152602001600c60ff168152602001602060ff168152602001605560ff168152602001605460ff168152602001604e60ff168152602001601c60ff168152602001600360ff168152602001603360ff168152602001604160ff168152602001600560ff168152602001602c60ff168152602001602760ff168152602001602360ff168152602001600d60ff168152602001605360ff168152602001605460ff168152602001602160ff168152602001604d60ff168152602001602360ff168152602001605d60ff168152602001600960ff168152602001603b60ff168152602001604460ff168152602001604c60ff168152602001601b60ff168152602001601460ff168152602001601360ff168152602001601b60ff168152602001605160ff168152602001603b60ff168152602001604f60ff168152602001604060ff168152602001604960ff168152602001605f60ff168152602001605560ff168152602001604d60ff168152602001600560ff168152602001604e60ff168152602001604b60ff168152602001603360ff168152602001600460ff168152602001601860ff168152602001603660ff168152602001600d60ff168152602001602160ff168152602001604660ff168152602001604b60ff168152602001600b60ff168152602001601860ff168152602001605360ff168152602001600360ff168152602001604f60ff168152602001601360ff168152602001606160ff168152602001604f60ff168152602001602260ff168152602001605f60ff168152602001602360ff168152602001605560ff168152602001602160ff168152602001603c60ff168152602001603d60ff168152602001605560ff168152602001604560ff168152602001605460ff168152602001606060ff168152602001606160ff168152602001605060ff168152602001604560ff168152602001600d60ff168152602001604960ff168152602001602560ff168152602001605e60ff168152602001606060ff168152602001604b60ff168152602001601660ff168152602001605e60ff168152602001603c60ff168152602001605a60ff168152602001601460ff168152602001600660ff168152602001605b60ff168152602001600b60ff168152602001604b60ff168152602001601560ff168152602001601060ff168152602001605d60ff168152602001605e60ff168152602001601160ff168152602001606160ff168152602001601f60ff168152602001604060ff168152602001604b60ff168152602001604260ff168152602001600160ff168152602001603a60ff168152602001605160ff168152602001606460ff168152602001603160ff168152602001602260ff168152602001603e60ff168152602001603b60ff168152602001600660ff168152602001601360ff168152602001606460ff168152602001601e60ff168152602001600360ff168152602001604760ff168152602001605660ff168152602001604f60ff168152602001603960ff168152602001603e60ff168152602001605b60ff168152602001601d60ff168152602001605760ff168152602001606460ff168152602001605e60ff168152602001603160ff168152602001602760ff168152602001601c60ff168152602001605d60ff168152602001604260ff168152602001600560ff168152602001602660ff168152602001601d60ff168152602001601b60ff168152602001600560ff168152602001601960ff168152602001603660ff168152602001605960ff168152602001604760ff168152602001605c60ff168152602001605b60ff168152602001605860ff168152602001603360ff168152602001602160ff168152602001606360ff168152602001604860ff168152602001601e60ff168152602001603660ff168152602001605960ff168152602001603760ff168152602001602360ff168152602001603660ff168152602001603160ff168152602001600460ff168152602001605460ff168152602001605360ff168152602001605260ff168152602001604460ff168152602001602060ff168152602001605a60ff168152602001601560ff168152602001600260ff168152602001602060ff168152602001603560ff168152602001603560ff168152602001601860ff168152602001602160ff168152602001602160ff168152602001602560ff168152602001604060ff168152602001603560ff168152602001600160ff168152602001604e60ff168152602001605460ff168152602001602760ff168152602001601360ff168152602001606360ff168152602001602160ff168152602001600760ff168152602001601060ff168152602001606160ff168152602001606360ff168152602001600d60ff168152602001601560ff168152602001604660ff168152602001603f60ff168152602001604860ff168152602001606860ff168152602001601c60ff168152602001603b60ff168152602001604260ff168152602001605060ff168152602001602760ff168152602001601660ff168152602001600660ff168152602001600d60ff168152602001605560ff168152602001601a60ff168152602001604860ff168152602001601460ff168152602001601c60ff168152602001605660ff168152602001604660ff168152602001603a60ff168152602001603f60ff168152602001606460ff168152602001600860ff168152602001605860ff168152602001605a60ff168152602001603460ff168152602001604660ff168152602001605560ff168152602001605160ff168152602001600560ff168152602001601560ff168152602001601660ff168152602001605560ff168152602001602060ff168152602001602360ff168152602001601f60ff168152602001604e60ff168152602001601660ff168152602001604660ff168152602001605460ff168152602001605a60ff168152602001603560ff168152602001600860ff168152602001601660ff168152602001604460ff168152602001605360ff168152602001604060ff168152602001601b60ff168152602001601e60ff168152602001605f60ff168152602001601d60ff168152602001606060ff168152602001605b60ff168152602001605360ff168152602001604060ff168152602001605960ff168152602001602760ff168152602001604e60ff168152602001605560ff168152602001605760ff168152602001601760ff168152602001601a60ff168152602001603560ff168152602001600360ff168152602001600860ff168152602001604060ff168152602001606060ff168152602001600e60ff168152602001601a60ff168152602001604360ff168152602001600160ff168152602001603f60ff168152602001604560ff168152602001605360ff168152602001606160ff168152602001603760ff168152602001601260ff168152602001601f60ff168152602001603460ff168152602001605360ff168152602001604b60ff168152602001605e60ff168152602001603760ff168152602001602460ff168152602001603e60ff168152602001600760ff168152602001602360ff168152602001604460ff168152602001605d60ff168152602001603960ff168152602001600360ff168152602001605560ff168152602001604b60ff168152602001606360ff168152602001605560ff168152602001601b60ff168152602001600160ff168152602001600960ff168152602001603960ff168152602001603e60ff168152602001605a60ff168152602001602760ff168152602001602260ff168152602001600660ff168152602001604260ff168152602001602560ff168152602001600760ff168152602001605560ff168152602001604760ff168152602001603660ff168152602001605660ff168152602001604560ff168152602001601960ff168152602001601b60ff168152602001606360ff168152602001603360ff168152602001602260ff168152602001601060ff168152602001601e60ff168152602001605f60ff168152602001604660ff168152602001606360ff168152602001605e60ff168152602001603e60ff168152602001604960ff168152602001606460ff168152602001603e60ff168152602001601660ff168152602001605560ff168152602001603160ff168152602001600460ff168152602001602360ff168152602001604960ff168152602001605460ff168152602001606d60ff168152602001604760ff168152602001602d60ff168152602001604460ff168152602001600e60ff168152602001600b60ff168152602001601b60ff168152602001602660ff168152602001606160ff168152602001603460ff168152602001602460ff168152602001605060ff168152602001606460ff168152602001603e60ff168152602001600c60ff168152602001600360ff168152602001601060ff168152602001602360ff168152602001600f60ff168152602001602060ff168152602001601860ff168152602001604f60ff168152602001603760ff168152602001603360ff168152602001605460ff168152602001601a60ff168152602001602b60ff168152602001603160ff168152602001600760ff168152602001602060ff168152602001605e60ff168152602001604660ff168152602001602b60ff168152602001605360ff168152602001606060ff168152602001602360ff168152602001603460ff168152602001605e60ff168152602001600560ff168152602001600d60ff168152602001604260ff168152602001603d60ff168152602001603060ff168152602001600160ff168152602001601960ff168152602001604060ff168152602001604060ff168152602001600e60ff168152602001600560ff168152602001605b60ff168152602001600e60ff168152602001600360ff168152602001605560ff168152602001600f60ff168152602001600660ff168152602001600460ff168152602001603f60ff168152602001606060ff168152602001600560ff168152602001601b60ff168152602001606460ff168152602001605e60ff168152602001601d60ff168152602001601760ff168152602001606560ff168152602001600560ff168152602001603860ff168152602001605a60ff168152602001600260ff168152602001600e60ff168152602001601f60ff168152602001604c60ff168152602001600260ff168152602001606460ff168152602001601c60ff168152602001605c60ff168152602001606160ff168152602001600160ff168152602001601360ff168152602001602160ff168152602001604d60ff168152602001605360ff168152602001603460ff168152602001600460ff168152602001601760ff168152602001600860ff168152602001602160ff168152602001602260ff168152602001601060ff168152602001604260ff168152602001604060ff168152602001601f60ff168152602001602c60ff168152602001601b60ff168152602001605060ff168152602001603460ff168152602001601960ff168152602001602660ff168152602001606160ff168152602001603360ff168152602001605960ff168152602001605e60ff168152602001601960ff168152602001601960ff168152602001600960ff168152602001600760ff168152602001600c60ff168152602001601860ff168152602001605b60ff168152602001601a60ff168152602001604860ff168152602001603360ff168152602001602260ff168152602001601660ff168152602001602160ff168152602001606160ff168152602001601d60ff168152602001604560ff168152602001601560ff168152602001600460ff168152602001601660ff168152602001605960ff168152602001601360ff168152602001600460ff168152602001602c60ff168152602001603060ff168152602001605c60ff168152602001603e60ff168152602001601960ff168152602001601560ff168152602001604360ff168152602001600660ff168152602001603f60ff168152602001606060ff168152602001603460ff168152602001604360ff168152602001605c60ff168152602001603f60ff168152602001601d60ff168152602001605f60ff168152602001604260ff168152602001603e60ff168152602001603360ff168152602001601760ff168152602001601c60ff168152602001605f60ff168152602001604f60ff168152602001604360ff168152602001603460ff168152602001605d60ff168152602001605360ff168152602001602360ff168152602001603a60ff168152602001600d60ff168152602001603360ff168152602001605760ff168152602001604660ff168152602001604f60ff168152602001603660ff168152602001601560ff168152602001606060ff168152602001603f60ff168152602001602360ff168152602001600260ff168152602001603f60ff168152602001603d60ff168152602001604960ff168152602001605e60ff168152602001604f60ff168152602001601360ff168152602001604360ff168152602001601c60ff168152602001603c60ff168152602001604e60ff168152602001600f60ff168152602001601d60ff168152602001602160ff168152602001602760ff168152602001604760ff168152602001603e60ff168152602001604b60ff168152602001602160ff168152602001601560ff168152602001604460ff168152602001604f60ff168152602001603760ff168152602001602460ff168152602001603460ff168152602001601960ff168152602001602560ff168152602001600c60ff168152602001601060ff168152602001605a60ff168152602001601f60ff168152602001602d60ff168152602001605b60ff168152602001600960ff168152602001600560ff168152602001605460ff168152602001605e60ff168152602001600560ff168152602001605360ff168152602001601e60ff168152602001602560ff168152602001605560ff168152602001602160ff168152602001600660ff168152602001605560ff168152602001601e60ff168152602001604b60ff168152602001603460ff168152602001602160ff168152602001605360ff168152602001601760ff168152602001605e60ff168152602001605460ff168152602001602360ff168152602001603c60ff168152602001605860ff168152602001605e60ff168152602001601960ff168152602001603760ff168152602001600d60ff168152602001602660ff168152602001606160ff168152602001602660ff168152602001601760ff168152602001606360ff168152602001603f60ff168152602001606460ff168152602001605160ff168152602001601360ff168152602001602560ff168152602001605960ff168152602001603160ff168152602001600760ff168152602001602360ff168152602001601a60ff168152602001605660ff168152602001600660ff168152602001605f60ff168152602001600260ff168152602001600960ff168152602001604560ff168152602001606160ff168152602001606460ff168152602001600860ff168152602001602260ff168152602001605160ff168152602001600460ff168152602001604560ff168152602001600b60ff168152602001601b60ff168152602001602560ff168152602001605560ff168152602001602c60ff168152602001602660ff168152602001603960ff168152602001601560ff168152602001604160ff168152602001602360ff168152602001603f60ff168152602001604560ff168152602001601e60ff168152602001604660ff168152602001603760ff168152602001600c60ff168152602001600460ff168152602001601060ff168152602001602460ff168152602001600660ff168152602001602160ff168152602001603760ff168152602001601860ff168152602001606460ff168152602001601560ff168152602001601360ff168152602001605e60ff168152602001604860ff168152602001601d60ff168152602001605e60ff168152602001605760ff168152602001601b60ff168152602001602660ff168152602001605b60ff168152602001601d60ff168152602001603360ff168152602001605160ff168152602001605360ff168152602001605e60ff168152602001601b60ff168152602001606460ff168152602001605f60ff168152602001604260ff168152602001600360ff168152602001605a60ff168152602001605a60ff168152602001604e60ff168152602001600360ff168152602001605360ff168152602001603560ff168152602001604960ff168152602001604460ff168152602001605d60ff168152602001601f60ff168152602001605e60ff168152602001605860ff168152602001602760ff168152602001602260ff168152602001602460ff168152602001604760ff168152602001602360ff168152602001601a60ff168152602001604260ff168152602001600260ff168152602001600e60ff168152602001604560ff168152602001603f60ff168152602001601160ff168152602001604060ff168152602001603460ff168152602001601960ff168152602001603d60ff168152602001605360ff168152602001605160ff168152602001605160ff168152602001604160ff168152602001605e60ff168152602001606060ff168152602001600b60ff168152602001602160ff168152602001600260ff168152602001601860ff168152602001604960ff168152602001602260ff168152602001600c60ff168152602001604160ff168152602001602460ff168152602001600260ff168152602001603060ff168152602001602b60ff168152602001603760ff168152602001606460ff168152602001601160ff168152602001606060ff168152602001604460ff168152602001603460ff168152602001600c60ff168152602001601b60ff168152602001603660ff168152602001601360ff168152602001602760ff168152602001604560ff168152602001602660ff168152602001601a60ff168152602001602160ff168152602001602c60ff168152602001605360ff168152602001603660ff168152602001600a60ff168152602001605860ff168152602001605060ff168152602001604060ff168152602001601a60ff168152602001604460ff168152602001603660ff168152602001600b60ff168152602001604c60ff168152602001606460ff168152602001605160ff168152602001603960ff168152602001603d60ff168152602001600360ff168152602001600e60ff168152602001602460ff168152602001600460ff168152602001602060ff168152602001604d60ff168152602001600960ff168152602001600b60ff168152602001604660ff168152602001600a60ff168152602001605460ff168152602001600c60ff168152602001604e60ff168152602001605360ff168152602001601960ff168152602001605960ff168152602001604060ff168152602001605360ff168152602001600860ff168152602001604260ff168152602001601b60ff168152602001601760ff168152602001600a60ff168152602001601d60ff168152602001601c60ff168152602001603560ff168152602001600560ff168152602001602c60ff168152602001606160ff168152602001604f60ff168152602001603560ff168152602001605560ff168152602001603560ff168152602001600c60ff168152602001600b60ff168152602001601360ff168152602001601160ff168152602001602160ff168152602001604060ff168152602001600f60ff168152602001605560ff168152602001604560ff168152602001602460ff168152602001601f60ff168152602001603360ff168152602001603c60ff168152602001601660ff168152602001603660ff168152602001604860ff168152602001603660ff168152602001601160ff168152602001601f60ff168152602001603960ff168152602001600560ff168152602001600e60ff168152602001603c60ff168152602001605d60ff168152602001602c60ff168152602001605c60ff168152602001602760ff168152602001603360ff168152602001602260ff168152602001605f60ff168152602001600f60ff168152602001602060ff168152602001603960ff168152602001603760ff168152602001602260ff168152602001604f60ff168152602001603660ff168152602001600660ff168152602001605960ff168152602001602a60ff168152602001601160ff168152602001602360ff168152602001600360ff168152602001603360ff168152602001604060ff168152602001602c60ff168152602001600d60ff168152602001600560ff168152602001605d60ff168152602001604b60ff168152602001605160ff168152602001602260ff168152602001602f60ff168152602001604060ff168152602001604c60ff168152602001605f60ff168152602001606460ff168152602001603f60ff168152602001603a60ff168152602001603760ff168152602001604260ff168152602001603b60ff168152602001603360ff168152602001601660ff168152602001600c60ff168152602001604660ff168152602001605160ff168152602001603160ff168152602001601160ff168152602001605160ff168152602001600160ff168152602001600560ff168152602001600960ff168152602001605560ff168152602001601e60ff168152602001601460ff168152602001600f60ff168152602001601660ff168152602001606160ff168152602001605060ff168152602001600160ff168152602001602560ff168152602001604b60ff168152602001602c60ff168152602001600960ff168152602001603360ff168152602001601460ff168152602001601860ff168152602001603e60ff168152602001600260ff168152602001603660ff168152602001605960ff168152602001601160ff168152602001600260ff168152602001604660ff168152602001605960ff168152602001605060ff168152602001601360ff168152602001602c60ff168152602001600e60ff168152602001601d60ff168152602001604760ff168152602001606460ff168152602001601460ff168152602001605d60ff168152602001601e60ff168152602001602c60ff168152602001601f60ff168152602001606160ff168152602001605360ff168152602001602a60ff168152602001603960ff168152602001600d60ff168152602001604460ff168152602001602d60ff168152602001605e60ff168152602001604360ff168152602001600960ff168152602001602560ff168152602001602a60ff168152602001603860ff168152602001606360ff168152602001601a60ff168152602001601660ff168152602001603e60ff168152602001605960ff168152602001604e60ff168152602001602360ff168152602001604760ff168152602001603760ff168152602001602160ff168152602001600d60ff168152602001605360ff168152602001601e60ff168152602001605660ff168152602001605360ff168152602001600560ff168152602001604d60ff168152602001605660ff168152602001600860ff168152602001606b60ff168152602001600c60ff168152602001604560ff168152602001605e60ff168152602001604960ff168152602001601f60ff168152602001606160ff168152602001605660ff168152602001601a60ff168152602001604960ff168152602001603960ff168152602001602560ff168152602001603160ff168152602001601e60ff168152602001605860ff168152602001601b60ff168152602001603960ff168152602001600d60ff168152602001602660ff168152602001601460ff168152602001602760ff168152602001604360ff168152602001605160ff168152602001605160ff168152602001606060ff168152602001608260ff168152602001605e60ff168152602001600960ff168152602001600760ff168152602001605560ff168152602001603360ff168152602001600460ff168152602001602160ff168152602001603c60ff168152602001601360ff168152602001602360ff168152602001603e60ff168152602001603460ff168152602001600460ff168152602001600960ff168152602001601c60ff168152602001602460ff168152602001600a60ff168152602001601f60ff168152602001601660ff168152602001600560ff168152602001601160ff168152602001603f60ff168152602001603e60ff168152602001603160ff168152602001600260ff168152602001603860ff168152602001601560ff168152602001603160ff168152602001601e60ff168152602001603160ff168152602001602160ff168152602001603460ff168152602001603560ff168152602001605f60ff168152602001605860ff168152602001601560ff168152602001603c60ff168152602001605860ff168152602001601d60ff168152602001604360ff168152602001605660ff168152602001602760ff168152602001604460ff168152602001605960ff168152602001601760ff168152602001601960ff168152602001605860ff168152602001602760ff168152602001602460ff168152602001600960ff168152602001603660ff168152602001600260ff168152602001601c60ff168152602001600560ff168152602001600a60ff168152602001600260ff168152602001604360ff168152602001604b60ff168152602001605160ff168152602001605b60ff168152602001606160ff168152602001602660ff168152602001602060ff168152602001605e60ff168152602001601360ff168152602001601660ff168152602001603360ff168152602001601a60ff168152602001606060ff168152602001600c60ff168152602001600660ff168152602001604f60ff168152602001603e60ff168152602001604460ff168152602001605560ff168152602001602260ff168152602001601960ff168152602001602760ff168152602001600e60ff168152602001600c60ff168152602001602360ff168152602001605360ff168152602001605d60ff168152602001602160ff168152602001607060ff168152602001602660ff168152602001603660ff168152602001605e60ff168152602001603560ff168152602001604660ff168152602001606160ff168152602001603760ff168152602001605f60ff168152602001602060ff168152602001602160ff168152602001600b60ff168152602001605560ff168152602001602160ff168152602001603160ff168152602001604c60ff168152602001601c60ff168152602001602260ff168152602001604960ff168152602001600260ff168152602001602260ff168152602001605660ff168152602001605760ff168152602001601160ff168152602001602b60ff168152602001605060ff168152602001601660ff168152602001602160ff168152602001608060ff168152602001604960ff168152602001603d60ff168152602001601e60ff168152602001602760ff168152602001601a60ff168152602001600a60ff168152602001603c60ff168152602001601460ff168152602001601660ff168152602001600260ff168152602001600660ff168152602001605760ff168152602001603e60ff168152602001604360ff168152602001603860ff168152602001601360ff168152602001604c60ff168152602001605c60ff168152602001603660ff168152602001604560ff168152602001601960ff168152602001604760ff168152602001603760ff168152602001601b60ff168152602001602560ff168152602001600660ff168152602001605160ff168152602001600a60ff168152602001600a60ff168152602001606460ff168152602001605760ff168152602001602b60ff168152602001604660ff168152602001605860ff168152602001605660ff168152602001607760ff168152602001602060ff168152602001604060ff168152602001605c60ff168152602001603660ff168152602001605a60ff168152602001601e60ff168152602001602760ff168152602001605960ff168152602001600760ff168152602001604c60ff168152602001605e60ff168152602001605160ff168152602001601560ff168152602001601b60ff168152602001605060ff168152602001601d60ff168152602001600960ff168152602001600260ff168152602001601c60ff168152602001605660ff168152602001606360ff168152602001601b60ff168152602001604860ff168152602001604b60ff168152602001604460ff168152602001601d60ff168152602001605a60ff168152602001600d60ff168152602001602f60ff168152602001600860ff168152602001603960ff168152602001603360ff168152602001600660ff168152602001604b60ff168152602001601b60ff168152602001605f60ff168152602001604960ff168152602001600d60ff168152602001605660ff168152602001604e60ff168152602001604d60ff168152602001605d60ff168152602001600260ff168152602001601460ff168152602001605060ff168152602001602660ff168152602001602660ff168152602001604b60ff168152602001603760ff168152602001605560ff168152602001606460ff168152602001605660ff168152602001604660ff168152602001604c60ff168152602001605360ff168152602001605b60ff168152602001606360ff168152602001601060ff168152602001603c60ff168152602001604b60ff168152602001603360ff168152602001604960ff168152602001602360ff168152602001600960ff168152602001600560ff168152602001607160ff168152602001606460ff168152602001604960ff168152602001602060ff168152602001605e60ff168152602001600d60ff168152602001601660ff168152602001603360ff168152602001604e60ff168152602001600560ff168152602001600560ff168152602001600660ff168152602001603e60ff168152602001600560ff168152602001605f60ff168152602001600560ff168152602001605160ff168152602001600860ff168152602001603a60ff168152602001601560ff168152602001603460ff168152602001605560ff168152602001600e60ff168152602001606160ff168152602001601960ff168152602001601a60ff168152602001600760ff168152602001602760ff168152602001605f60ff168152602001604c60ff168152602001605360ff168152602001601660ff168152602001604360ff168152602001601160ff168152602001603060ff168152602001605860ff168152602001606460ff168152602001601e60ff168152602001601b60ff168152602001604660ff168152602001605760ff168152602001602160ff168152602001601960ff168152602001603660ff168152602001600860ff168152602001603c60ff168152602001600860ff168152602001600760ff168152602001604860ff168152602001604e60ff168152602001604160ff168152602001600360ff168152602001606460ff168152602001602460ff168152602001604c60ff168152602001605560ff168152602001600d60ff168152602001600760ff168152602001601360ff168152602001604660ff168152602001601a60ff168152602001601060ff168152602001604e60ff168152602001605e60ff168152602001602f60ff168152602001605760ff168152602001601060ff168152602001603b60ff168152602001600260ff168152602001604e60ff168152602001603860ff168152602001600660ff168152602001603760ff168152602001602c60ff168152602001604160ff168152602001601f60ff168152602001604360ff168152602001603160ff168152602001602560ff168152602001603560ff168152602001600b60ff168152602001600e60ff168152602001601f60ff168152602001603e60ff168152602001600960ff168152602001605860ff168152602001603a60ff168152602001604860ff168152602001602560ff168152602001600960ff168152602001601b60ff168152602001604860ff168152602001601360ff168152602001602760ff168152602001603460ff168152602001604660ff168152602001601860ff168152602001603860ff168152602001602260ff168152602001603960ff168152602001604060ff168152602001602260ff168152602001600d60ff168152602001604960ff168152602001603560ff168152602001605460ff168152602001600360ff168152602001603760ff168152602001603760ff168152602001602d60ff168152602001602d60ff168152602001602160ff168152602001603f60ff168152602001604960ff168152602001606360ff168152602001606360ff168152602001602c60ff168152602001605e60ff168152602001601760ff168152602001603e60ff168152602001605160ff168152602001601360ff168152602001602160ff168152602001601d60ff168152602001600560ff168152602001601b60ff168152602001602760ff168152602001603a60ff168152602001602760ff168152602001600c60ff168152602001602460ff168152602001601060ff168152602001605760ff168152602001603560ff168152602001600560ff168152602001605660ff168152602001600d60ff168152602001604660ff168152602001605160ff168152602001601060ff168152602001600260ff168152602001603860ff168152602001604060ff168152602001601660ff168152602001603460ff168152602001605a60ff168152602001601660ff168152602001603960ff168152602001605560ff168152602001600d60ff168152602001604760ff168152602001602260ff168152602001603760ff168152602001602f60ff168152602001605b60ff168152602001604c60ff168152602001600960ff168152602001601660ff168152602001603960ff168152602001605560ff168152602001605f60ff168152602001602060ff168152602001602060ff168152602001600560ff168152602001604760ff168152602001605960ff168152602001602b60ff168152602001603f60ff168152602001600b60ff168152602001600160ff168152602001601260ff168152602001601d60ff168152602001605f60ff168152602001600d60ff168152602001602060ff168152602001604460ff168152602001604760ff168152602001603160ff168152602001602760ff168152602001603060ff168152602001601b60ff168152602001604b60ff168152602001602760ff168152602001603160ff168152602001606060ff168152602001604460ff168152602001602f60ff168152602001603160ff168152602001604460ff168152602001604460ff168152602001605860ff168152602001604660ff168152602001605760ff168152602001603f60ff168152602001604460ff168152602001601360ff168152602001601660ff168152602001601c60ff168152602001603c60ff168152602001601560ff168152602001604660ff168152602001603660ff168152602001601060ff168152602001604360ff168152602001608360ff168152602001601260ff168152602001600b60ff168152602001605560ff168152602001605360ff168152602001605960ff168152602001603460ff168152602001601260ff168152602001601a60ff168152602001602d60ff168152602001600360ff168152602001601d60ff168152602001601460ff168152602001600760ff168152602001603a60ff168152602001600460ff168152602001602260ff168152602001600160ff168152602001601e60ff168152602001603f60ff168152602001605660ff168152602001602660ff168152602001600e60ff168152602001604c60ff168152602001601a60ff168152602001605560ff168152602001604e60ff168152602001602460ff168152602001601160ff168152602001605860ff168152602001605360ff168152602001600560ff168152602001602260ff168152602001600560ff168152602001605460ff168152602001602260ff168152602001602060ff168152602001603960ff168152602001600760ff168152602001600860ff168152602001603e60ff168152602001602460ff168152602001604f60ff168152602001600260ff168152602001603e60ff168152602001603060ff168152602001602360ff168152602001600360ff168152602001600460ff168152602001603560ff168152602001604860ff168152602001600660ff168152602001605560ff168152602001603160ff168152602001604760ff168152602001600f60ff168152602001603c60ff168152602001602460ff168152602001600760ff168152602001606360ff168152602001604360ff168152602001603860ff168152602001602c60ff168152602001600560ff168152602001606060ff168152602001601a60ff168152602001601e60ff168152602001603e60ff168152602001603960ff168152602001605a60ff168152602001603460ff168152602001603a60ff168152602001606060ff168152602001600560ff168152602001601f60ff168152602001601560ff168152602001603660ff168152602001600760ff168152602001607b60ff168152602001605360ff168152602001606360ff168152602001604560ff168152602001603e60ff168152602001603660ff168152602001606360ff168152602001603c60ff168152602001605660ff168152602001604460ff168152602001600760ff168152602001601f60ff168152602001600560ff168152602001603460ff168152602001602160ff168152602001603160ff168152602001600760ff168152602001605760ff168152602001601a60ff168152602001604660ff168152602001605360ff168152602001600560ff168152602001605f60ff168152602001602a60ff168152602001607f60ff168152602001604760ff168152602001601e60ff168152602001600a60ff168152602001605960ff168152602001603060ff168152602001604060ff168152602001602160ff168152602001600b60ff168152602001605a60ff168152602001600d60ff168152602001600960ff168152602001604560ff168152602001602460ff168152602001602460ff168152602001604960ff168152602001603560ff168152602001600d60ff168152602001600b60ff168152602001600360ff168152602001600260ff168152602001601b60ff168152602001604c60ff168152602001604360ff168152602001606360ff168152602001601660ff168152602001600560ff168152602001601c60ff168152602001605b60ff168152602001603460ff168152602001606060ff168152602001604160ff168152602001604460ff168152602001601e60ff168152602001601360ff168152602001604b60ff168152602001600760ff168152602001601160ff168152602001600460ff168152602001600760ff168152602001605a60ff168152602001602160ff168152602001603760ff168152602001605660ff168152602001601760ff168152602001600960ff168152602001601360ff168152602001603460ff168152602001604360ff168152602001601760ff168152602001601060ff168152602001601060ff168152602001603460ff168152602001604f60ff168152602001605a60ff168152602001600e60ff168152602001604760ff168152602001603a60ff168152602001606360ff168152602001606460ff168152602001602c60ff168152602001601360ff168152602001605160ff168152602001602760ff168152602001606460ff168152602001605860ff168152602001602560ff168152602001602160ff168152602001600560ff168152602001600d60ff168152602001605960ff168152602001603b60ff168152602001601960ff168152602001600460ff168152602001604b60ff168152602001602760ff168152602001603160ff168152602001605360ff168152602001601560ff168152602001600160ff168152602001602c60ff168152602001603860ff168152602001601160ff168152602001606460ff168152602001600860ff168152602001604b60ff168152602001600460ff168152602001603360ff168152602001600660ff168152602001605760ff168152602001600c60ff168152602001605d60ff168152602001605a60ff168152602001604360ff168152602001604d60ff168152602001606460ff168152602001602760ff168152602001600560ff168152602001601e60ff168152602001600760ff168152602001605560ff168152602001603560ff168152602001604760ff168152602001605e60ff168152602001601f60ff168152602001605360ff168152602001602a60ff168152602001602060ff168152602001603060ff168152602001603f60ff168152602001604660ff168152602001606060ff168152602001603360ff168152602001604760ff168152602001606360ff168152602001602360ff168152602001606460ff168152602001602660ff168152602001606060ff168152602001604760ff168152602001600e60ff168152602001604560ff168152602001605560ff168152602001605860ff168152602001605f60ff168152602001601d60ff168152602001604460ff168152602001601660ff168152602001601760ff168152602001603560ff168152602001603160ff168152602001603f60ff168152602001601a60ff168152602001600c60ff168152602001603060ff168152602001601f60ff168152602001601560ff168152602001602160ff168152602001604060ff168152602001602060ff168152602001603b60ff168152602001600f60ff168152602001603560ff168152602001603460ff168152602001603e60ff168152602001600160ff168152602001603760ff168152602001601660ff168152602001604960ff168152602001602f60ff168152602001601060ff168152602001601360ff168152602001603d60ff168152602001605a60ff168152602001605160ff168152602001604160ff168152602001603b60ff168152602001606060ff168152602001605660ff168152602001602660ff168152602001605a60ff168152602001605460ff168152602001605660ff168152602001605160ff168152602001601b60ff168152602001604960ff168152602001604960ff168152602001604260ff168152602001603460ff168152602001603b60ff168152602001604c60ff168152602001601a60ff168152602001601a60ff168152602001605660ff168152602001604660ff168152602001603e60ff168152602001605760ff168152602001605760ff168152602001604d60ff168152602001601060ff168152602001602760ff168152602001604260ff168152602001602760ff168152602001605a60ff168152602001603960ff168152602001602c60ff168152602001604260ff168152602001604460ff168152602001600860ff168152602001603b60ff168152602001605360ff168152602001601060ff168152602001605e60ff168152602001602760ff168152602001601360ff168152602001603f60ff168152602001604c60ff168152602001604560ff168152602001600b60ff168152602001602260ff168152602001602360ff168152602001600160ff168152602001600960ff168152602001605360ff168152602001602360ff168152602001600d60ff168152602001604460ff168152602001604e60ff168152602001604460ff168152602001605860ff168152602001604760ff168152602001602360ff168152602001600960ff168152602001600660ff168152602001605e60ff168152602001604e60ff168152602001604060ff168152602001604e60ff168152602001605860ff168152602001601360ff168152602001601560ff168152602001602260ff168152602001601860ff168152602001602c60ff168152602001603960ff168152602001603960ff168152602001602360ff168152602001606460ff168152602001606460ff168152602001606460ff168152602001602f60ff168152602001601660ff168152602001605460ff168152602001602760ff168152602001604060ff168152602001602f60ff168152602001601c60ff168152602001604c60ff168152602001604b60ff168152602001601160ff168152602001600660ff168152602001605860ff168152602001605860ff168152602001603e60ff168152602001602660ff168152602001604e60ff168152602001601860ff168152602001602060ff168152602001605460ff168152602001601a60ff168152602001602560ff168152602001602c60ff168152602001604760ff168152602001601c60ff168152602001604560ff168152602001602160ff168152602001604060ff168152602001600960ff168152602001602260ff168152602001602a60ff168152602001605a60ff168152602001601e60ff168152602001602260ff168152602001605b60ff168152602001603c60ff168152602001602060ff168152602001603c60ff168152602001605a60ff168152602001603760ff168152602001601d60ff168152602001602560ff168152602001605860ff168152602001604960ff168152602001600e60ff168152602001603160ff168152602001605660ff168152602001606460ff168152602001601a60ff168152602001601360ff168152602001601a60ff168152602001604260ff168152602001605f60ff168152602001600760ff168152602001603360ff168152602001601a60ff168152602001600960ff168152602001605860ff168152602001602660ff168152602001604d60ff168152602001605f60ff168152602001600560ff168152602001605b60ff168152602001605760ff168152602001603e60ff168152602001605860ff168152602001600560ff168152602001605b60ff168152602001603560ff168152602001601660ff168152602001600c60ff168152602001605960ff168152602001606460ff168152602001605a60ff168152602001603460ff168152602001602060ff168152602001604960ff168152602001602460ff168152602001602260ff168152602001605a60ff168152602001601560ff168152602001606060ff168152602001604260ff168152602001604660ff168152602001603160ff168152602001602260ff168152602001600d60ff168152602001600f60ff168152602001605f60ff168152602001600d60ff168152602001605f60ff168152602001605c60ff168152602001600560ff168152602001600f60ff168152602001604360ff168152602001604160ff168152602001601960ff168152602001605860ff168152602001605160ff168152602001600f60ff168152602001605a60ff168152602001605d60ff168152602001601b60ff168152602001602060ff168152602001605660ff168152602001601d60ff168152602001604c60ff168152602001605360ff168152602001604560ff168152602001601660ff168152602001600760ff168152602001602d60ff168152602001604560ff168152602001603b60ff168152602001601f60ff168152602001604660ff168152602001600960ff168152602001602260ff168152602001603760ff168152602001603960ff168152602001600560ff168152602001603960ff168152602001604b60ff168152602001604460ff168152602001600b60ff168152602001600760ff168152602001600d60ff168152602001602160ff168152602001605960ff168152602001602660ff168152602001601660ff168152602001605360ff168152602001600e60ff168152602001601660ff168152602001604560ff168152602001604c60ff168152602001603660ff168152602001601860ff168152602001601f60ff168152602001606360ff168152602001602260ff168152602001600b60ff168152602001601d60ff168152602001605f60ff168152602001605660ff168152602001600860ff168152602001600260ff168152602001600460ff168152602001604360ff168152602001601a60ff168152602001602260ff168152602001602660ff168152602001605e60ff168152602001600760ff168152602001603160ff168152602001605760ff168152602001600d60ff168152602001601060ff168152602001605160ff168152602001602260ff168152602001603960ff168152602001601c60ff168152602001605760ff168152602001601a60ff168152602001603460ff168152602001603160ff168152602001604f60ff168152602001605160ff168152602001606460ff168152602001604760ff168152602001605f60ff168152602001600b60ff168152602001602360ff168152602001601a60ff168152602001602c60ff168152602001605b60ff168152602001604260ff168152602001604360ff168152602001601d60ff168152602001602160ff168152602001603f60ff168152602001603460ff168152602001605e60ff168152602001600f60ff168152602001604f60ff168152602001605860ff168152602001603460ff168152602001600160ff168152602001606060ff168152602001603460ff168152602001601560ff168152602001600b60ff168152602001603660ff168152602001605760ff168152602001601b60ff168152602001604460ff168152602001604660ff168152602001602160ff168152602001603760ff168152602001604460ff168152602001601f60ff168152602001600160ff168152602001606060ff168152602001602660ff168152602001604e60ff168152602001601560ff168152602001602360ff168152602001602360ff168152602001602460ff168152602001604760ff168152602001603460ff168152602001603960ff168152602001603e60ff168152602001602360ff168152602001600c60ff168152602001601560ff168152602001604560ff168152602001601960ff168152602001605560ff168152602001605a60ff168152602001602a60ff168152602001603960ff168152602001602260ff168152602001602160ff168152602001603a60ff168152602001604060ff168152602001603460ff168152602001604760ff168152602001602160ff168152602001604560ff168152602001601760ff168152602001606160ff168152602001604c60ff168152602001604160ff168152602001601560ff168152602001603760ff168152602001601b60ff168152602001601360ff168152602001605560ff168152602001601b60ff168152602001604060ff168152602001601b60ff168152602001603760ff168152602001601260ff168152602001601060ff168152602001603160ff168152602001605c60ff168152602001604660ff168152602001601160ff168152602001603c60ff168152602001600960ff168152602001600860ff168152602001601d60ff168152602001606060ff168152602001603560ff168152602001601960ff168152602001604f60ff168152602001600160ff168152602001601e60ff168152602001605f60ff168152602001604360ff168152602001602060ff168152602001604f60ff168152602001600960ff168152602001604960ff168152602001600b60ff168152602001603560ff168152602001605160ff168152602001606060ff168152602001600f60ff168152602001600860ff168152602001601760ff168152602001604260ff168152602001605a60ff168152602001600760ff168152602001604b60ff168152602001601360ff168152602001604e60ff168152602001600860ff168152602001602560ff168152602001600d60ff168152602001600b60ff168152602001602b60ff168152602001600b60ff168152602001602160ff168152602001605560ff168152602001601e60ff168152602001600860ff168152602001606360ff168152602001604960ff168152602001604c60ff168152602001603760ff168152602001603460ff168152602001600f60ff168152602001603060ff168152602001602560ff168152602001605360ff168152602001605c60ff168152602001601060ff168152602001601560ff168152602001600660ff168152602001603960ff168152602001604960ff168152602001605360ff168152602001605e60ff168152602001601860ff168152602001602360ff168152602001600f60ff168152602001604560ff168152602001600f60ff168152602001603960ff168152602001605a60ff168152602001604660ff168152602001602760ff168152602001601d60ff168152602001604560ff168152602001605160ff168152602001601860ff168152602001600960ff168152602001605060ff168152602001604e60ff168152602001605860ff168152602001603460ff168152602001603a60ff168152602001600760ff168152602001603e60ff168152602001605660ff168152602001604560ff168152602001604e60ff168152602001601560ff168152602001604460ff168152602001601f60ff168152602001602760ff168152602001604c60ff168152602001606460ff168152602001602760ff168152602001603660ff168152602001603460ff168152602001603c60ff168152602001604c60ff168152602001602c60ff168152602001603560ff168152602001601f60ff168152602001605b60ff168152602001603460ff168152602001603f60ff168152602001606360ff168152602001604f60ff168152602001605e60ff168152602001600360ff168152602001601860ff168152602001601e60ff168152602001604c60ff168152602001605b60ff168152602001605060ff168152602001603f60ff168152602001605b60ff168152602001603460ff168152602001605f60ff168152602001601360ff168152602001605760ff168152602001601b60ff168152602001601560ff168152602001600d60ff168152602001602360ff168152602001604960ff168152602001603e60ff168152602001604360ff168152602001600760ff168152602001601e60ff168152602001603560ff168152602001603760ff168152602001604060ff168152602001603860ff168152602001600160ff168152602001602260ff168152602001600160ff168152602001602460ff168152602001600b60ff168152602001603f60ff168152602001605560ff168152602001600960ff168152602001604960ff168152602001605d60ff168152602001606060ff168152602001603660ff168152602001605d60ff168152602001601160ff168152602001601a60ff168152602001605a60ff168152602001601b60ff168152602001605560ff168152602001605e60ff168152602001600360ff168152602001604060ff168152602001602560ff168152602001601460ff168152602001604c60ff168152602001603760ff168152602001601b60ff168152602001602b60ff168152602001604c60ff168152602001601060ff168152602001604260ff168152602001604360ff168152602001605a60ff168152602001600760ff168152602001606460ff168152602001601a60ff168152602001603660ff168152602001604b60ff168152602001603d60ff168152602001605160ff168152602001603160ff168152602001605860ff168152602001600660ff168152602001604560ff168152602001604060ff168152602001605860ff168152602001601c60ff168152602001601860ff168152602001600a60ff168152602001603160ff168152602001602d60ff168152602001603660ff168152602001602160ff168152602001605e60ff168152602001600260ff168152602001601d60ff168152602001602360ff168152602001605560ff168152602001605160ff168152602001605b60ff168152602001604160ff168152602001603060ff168152602001602b60ff168152602001605d60ff168152602001604e60ff168152602001600960ff168152602001600b60ff168152602001604460ff168152602001601b60ff168152602001601660ff168152602001605060ff168152602001601560ff168152602001600a60ff168152602001601060ff168152602001604060ff168152602001604960ff168152602001604060ff168152602001601060ff168152602001601960ff168152602001605a60ff168152602001601660ff168152602001601060ff168152602001604460ff168152602001600960ff168152602001602d60ff168152602001600760ff168152602001601260ff168152602001605a60ff168152602001603560ff168152602001603760ff168152602001601660ff168152602001601660ff168152602001604260ff168152602001601560ff168152602001604160ff168152602001601360ff168152602001600160ff168152602001603960ff168152602001600360ff168152602001602360ff168152602001601b60ff168152602001601460ff168152602001605d60ff168152602001601460ff168152602001601860ff168152602001606060ff168152602001604b60ff168152602001602a60ff168152602001601260ff168152602001601160ff168152602001606460ff168152602001605f60ff168152602001602f60ff168152602001602b60ff168152602001601860ff168152602001603160ff168152602001602b60ff168152602001603760ff168152602001601c60ff168152602001601760ff168152602001605660ff168152602001603660ff168152602001602d60ff168152602001601e60ff168152602001605660ff168152602001604060ff168152602001605f60ff168152602001604260ff168152602001604960ff168152602001600a60ff168152602001601e60ff168152602001601e60ff168152602001603560ff168152602001601460ff168152602001602560ff168152602001600e60ff168152602001604260ff168152602001601d60ff168152602001603460ff168152602001604660ff168152602001601d60ff168152602001605d60ff168152602001606460ff168152602001603e60ff168152602001605760ff168152602001602360ff168152602001604260ff168152602001604c60ff168152602001603560ff168152602001605860ff168152602001604960ff168152602001601160ff168152602001604d60ff168152602001603f60ff168152602001606060ff168152602001605f60ff168152602001603160ff168152602001604460ff168152602001600360ff168152602001605860ff168152602001603660ff168152602001605860ff168152602001603c60ff168152602001603e60ff168152602001602160ff168152602001601560ff168152602001600e60ff168152602001605660ff168152602001600d60ff168152602001600860ff168152602001603f60ff168152602001600c60ff168152602001602c60ff168152602001602c60ff168152602001604660ff168152602001600d60ff168152602001602360ff168152602001605060ff168152602001604060ff168152602001600160ff168152602001601460ff168152602001604060ff168152602001605560ff168152602001601560ff168152602001601060ff168152602001601d60ff168152602001601c60ff168152602001600960ff168152602001601060ff168152602001601560ff168152602001600860ff168152602001600960ff168152602001602760ff168152602001600460ff168152602001601460ff168152602001604460ff168152602001603660ff168152602001603e60ff168152602001600560ff168152602001600d60ff168152602001600360ff168152602001603960ff168152602001602560ff168152602001600160ff168152602001604c60ff168152602001605160ff168152602001604b60ff168152602001602760ff168152602001600360ff168152602001605360ff168152602001607960ff168152602001600660ff168152602001600660ff168152602001604260ff168152602001605d60ff168152602001602060ff168152602001601860ff168152602001605060ff168152602001605060ff168152602001601160ff168152602001601160ff168152602001600460ff168152602001604e60ff168152602001605e60ff168152602001604060ff168152602001603960ff168152602001601360ff168152602001607a60ff168152602001605360ff168152602001600460ff168152602001605060ff168152602001603c60ff168152602001605660ff168152602001604360ff168152602001602360ff168152602001600760ff168152602001605960ff168152602001606360ff168152602001605760ff168152602001602f60ff168152602001600160ff168152602001602b60ff168152602001601060ff168152602001605360ff168152602001602160ff168152602001600c60ff168152602001603d60ff168152602001604160ff168152602001601660ff168152602001604460ff168152602001600160ff168152602001601760ff168152602001601d60ff168152602001601a60ff168152602001605f60ff168152602001603c60ff168152602001605b60ff168152602001601960ff168152602001602f60ff168152602001604060ff168152602001602060ff168152602001605760ff168152602001604260ff168152602001601a60ff168152602001601f60ff168152602001603460ff168152602001602560ff168152602001605c60ff168152602001605360ff168152602001604060ff168152602001601960ff168152602001600a60ff168152602001607460ff168152602001605b60ff168152602001604560ff168152602001600960ff168152602001603760ff168152602001604c60ff168152602001605a60ff168152602001601d60ff168152602001600d60ff168152602001601660ff168152602001601060ff168152602001604560ff168152602001604560ff168152602001603d60ff168152602001602060ff168152602001602260ff168152602001603d60ff168152602001600d60ff168152602001600560ff168152602001600d60ff168152602001605a60ff168152602001604d60ff168152602001605360ff168152602001606460ff168152602001604360ff168152602001604360ff168152602001600d60ff168152602001601c60ff168152602001601c60ff168152602001604060ff168152602001605960ff168152602001605d60ff168152602001600760ff168152602001601060ff16815250600e90610f7662009b7692919062009eed565b506011805460ff1916905534801562009b8e57600080fd5b506040518060600160405280602781526020016200fa946027913962009bb48162009c7d565b506005805460ff19169055600160085562009bd160003362009c8f565b62009bfd7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a3362009c8f565b62009c297f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e43362009c8f565b62009c697f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e473e87f4610c48e17ee0ee0c72fe280450ca660399b62009c8f565b62009c77306103e862009cd2565b6200a121565b600262009c8b82826200a055565b5050565b62009ca6828262009dd760201b6200309d1760201c565b600082815260076020908152604090912062009ccd9183906200313f62009e7b821b17901c565b505050565b6127106001600160601b038216111562009d465760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b60648201526084015b60405180910390fd5b6001600160a01b03821662009d9e5760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640162009d3d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600355565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1662009c8b5760008281526006602090815260408083206001600160a01b03851684529091529020805460ff1916600117905562009e373390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062009e92836001600160a01b03841662009e9b565b90505b92915050565b600081815260018301602052604081205462009ee45750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915562009e95565b50600062009e95565b82805482825590600052602060002090601f0160209004810192821562009f885791602002820160005b8382111562009f5757835183826101000a81548160ff021916908360ff160217905550926020019260010160208160000104928301926001030262009f17565b801562009f865782816101000a81549060ff021916905560010160208160000104928301926001030262009f57565b505b5062009f9692915062009f9a565b5090565b5b8082111562009f96576000815560010162009f9b565b634e487b7160e01b600052604160045260246000fd5b600181811c9082168062009fdc57607f821691505b60208210810362009ffd57634e487b7160e01b600052602260045260246000fd5b50919050565b601f82111562009ccd57600081815260208120601f850160051c810160208610156200a02c5750805b601f850160051c820191505b818110156200a04d578281556001016200a038565b505050505050565b81516001600160401b038111156200a071576200a07162009fb1565b6200a089816200a082845462009fc7565b846200a003565b602080601f8311600181146200a0c157600084156200a0a85750858301515b600019600386901b1c1916600185901b1785556200a04d565b600085815260208120601f198616915b828110156200a0f2578886015182559484019460019091019084016200a0d1565b50858210156200a1115787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b615963806200a1316000396000f3fe60806040526004361061031d5760003560e01c806385f438c1116101a5578063ca15c873116100ec578063e985e9c511610095578063ed9ec8881161006f578063ed9ec88814610965578063f158904614610995578063f242432a146109b5578063f958a657146109d557600080fd5b8063e985e9c51461090f578063ebcea3db1461092f578063ebf0c7171461094f57600080fd5b8063e3f53787116100c6578063e3f53787146108a6578063e63ab1e9146108c6578063e8a3d485146108fa57600080fd5b8063ca15c87314610851578063d0c7e17314610871578063d547741f1461088657600080fd5b8063a2309ff81161014e578063b61c5e6911610128578063b61c5e6914610808578063bfad48871461081b578063c2bf2ced1461083c57600080fd5b8063a2309ff8146107a1578063aad2b723146107b7578063b29509f3146107d757600080fd5b8063985dc2d11161017f578063985dc2d11461074c578063a217fddf1461076c578063a22cb4651461078157600080fd5b806385f438c1146106b25780639010d07c146106e657806391d148541461070657600080fd5b806336568abe1161026957806351fb012d116102125780636c11c21c116101ec5780636c11c21c1461065d5780638250ddbf1461067d5780638456cb591461069d57600080fd5b806351fb012d146105e757806356916b04146106015780635c975abb1461064557600080fd5b806347e3e4621161024357806347e3e4621461057a5780634dd21c451461059a5780634e1273f4146105ba57600080fd5b806336568abe146105305780633ccfd60b146105505780633f4ba83a1461056557600080fd5b8063238ac933116102cb5780632eb2c2d6116102a55780632eb2c2d6146104b15780632f2ff15d146104d157806333abe544146104f157600080fd5b8063238ac9331461040a578063248a9ca3146104425780632a55205a1461047257600080fd5b80630e89341c116102fc5780630e89341c1461039b57806315bd2794146103c85780631e07dc09146103ea57600080fd5b8062fdd58e1461032257806301ffc9a7146103555780630cfd0e0b14610385575b600080fd5b34801561032e57600080fd5b5061034261033d366004614c67565b6109f5565b6040519081526020015b60405180910390f35b34801561036157600080fd5b50610375610370366004614cbf565b610aa1565b604051901515815260200161034c565b34801561039157600080fd5b50610342610fc681565b3480156103a757600080fd5b506103bb6103b6366004614cdc565b610aac565b60405161034c9190614d45565b3480156103d457600080fd5b506103e86103e3366004614d58565b610b40565b005b3480156103f657600080fd5b506103e8610405366004614d84565b610cd4565b34801561041657600080fd5b50600b5461042a906001600160a01b031681565b6040516001600160a01b03909116815260200161034c565b34801561044e57600080fd5b5061034261045d366004614cdc565b60009081526006602052604090206001015490565b34801561047e57600080fd5b5061049261048d366004614d9f565b610d19565b604080516001600160a01b03909316835260208301919091520161034c565b3480156104bd57600080fd5b506103e86104cc366004614f0d565b610df8565b3480156104dd57600080fd5b506103e86104ec366004614fb7565b610e9a565b3480156104fd57600080fd5b506009546105239074010000000000000000000000000000000000000000900460ff1681565b60405161034c9190614ff9565b34801561053c57600080fd5b506103e861054b366004614fb7565b610ec4565b34801561055c57600080fd5b506103e8610f4c565b34801561057157600080fd5b506103e8611010565b34801561058657600080fd5b506103e8610595366004615021565b611045565b3480156105a657600080fd5b506103e86105b5366004614d58565b6110aa565b3480156105c657600080fd5b506105da6105d5366004615042565b6110f0565b60405161034c9190615148565b3480156105f357600080fd5b50600d546103759060ff1681565b34801561060d57600080fd5b5061063261061c366004614d58565b60106020526000908152604090205461ffff1681565b60405161ffff909116815260200161034c565b34801561065157600080fd5b5060055460ff16610375565b34801561066957600080fd5b506103e8610678366004614d58565b61122e565b34801561068957600080fd5b506103e8610698366004614d58565b6113bf565b3480156106a957600080fd5b506103e861154f565b3480156106be57600080fd5b506103427f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e481565b3480156106f257600080fd5b5061042a610701366004614d9f565b611581565b34801561071257600080fd5b50610375610721366004614fb7565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561075857600080fd5b5060095461042a906001600160a01b031681565b34801561077857600080fd5b50610342600081565b34801561078d57600080fd5b506103e861079c36600461516b565b6115a0565b3480156107ad57600080fd5b50610342600c5481565b3480156107c357600080fd5b506103e86107d2366004614d58565b6115ab565b3480156107e357600080fd5b50600d546107f690610100900460ff1681565b60405160ff909116815260200161034c565b6105da6108163660046151da565b6115f1565b61082e61082936600461522d565b611cb8565b60405161034c929190615332565b34801561084857600080fd5b50610342601481565b34801561085d57600080fd5b5061034261086c366004614cdc565b6123c4565b34801561087d57600080fd5b506103bb6123db565b34801561089257600080fd5b506103e86108a1366004614fb7565b6123f7565b3480156108b257600080fd5b506103e86108c1366004615346565b61241c565b3480156108d257600080fd5b506103427f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561090657600080fd5b506103bb612dd1565b34801561091b57600080fd5b5061037561092a366004615393565b612df1565b34801561093b57600080fd5b506103e861094a366004614cdc565b612e41565b34801561095b57600080fd5b50610342600a5481565b34801561097157600080fd5b506107f6610980366004614d58565b600f6020526000908152604090205460ff1681565b3480156109a157600080fd5b506103e86109b0366004614d58565b612e52565b3480156109c157600080fd5b506103e86109d03660046153bd565b612fe3565b3480156109e157600080fd5b506103e86109f0366004615422565b61307e565b60006001600160a01b038316610a785760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e65720000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b6000610a9b82613154565b606060028054610abb9061543d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae79061543d565b8015610b345780601f10610b0957610100808354040283529160200191610b34565b820191906000526020600020905b815481529060010190602001808311610b1757829003601f168201915b50505050509050919050565b6000610b4b816131aa565b6001600160a01b038216610ba15760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b03831603610c1f5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f742072656d6f766520796f757273656c662066726f6d207468652060448201527f70617573657220726f6c650000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527fe09f975e15f8f53f24cbbc282b13c40b84df485fcdb8d3997fa103dc5a4ef841602052604090205460ff16610ca65760405162461bcd60e51b815260206004820152601960248201527f446f6573206e6f7420686176652070617573657220726f6c65000000000000006044820152606401610a6f565b610cd07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a836123f7565b5050565b6000610cdf816131aa565b50600d805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b60008281526004602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610dba5750604080518082019091526003546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610dde906bffffffffffffffffffffffff168761548d565b610de891906154c2565b91519350909150505b9250929050565b6001600160a01b038516331480610e145750610e148533612df1565b610e865760405162461bcd60e51b815260206004820152602f60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206e6f7220617070726f76656400000000000000000000000000000000006064820152608401610a6f565b610e9385858585856131b4565b5050505050565b600082815260066020526040902060010154610eb5816131aa565b610ebf8383613460565b505050565b6001600160a01b0381163314610f425760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610a6f565b610cd08282613482565b7f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4610f76816131aa565b6040514790600090339083908381818185875af1925050503d8060008114610fba576040519150601f19603f3d011682016040523d82523d6000602084013e610fbf565b606091505b5050905080610ebf5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610a6f565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61103a816131aa565b6110426134a4565b50565b6000611050816131aa565b600980548391907fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000008360048111156110a1576110a1614fe3565b02179055505050565b60006110b5816131aa565b50600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b606081518351146111695760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610a6f565b6000835167ffffffffffffffff81111561118557611185614dc1565b6040519080825280602002602001820160405280156111ae578160200160208202803683370190505b50905060005b8451811015611226576111f98582815181106111d2576111d26154d6565b60200260200101518583815181106111ec576111ec6154d6565b60200260200101516109f5565b82828151811061120b5761120b6154d6565b602090810291909101015261121f816154ec565b90506111b4565b509392505050565b6000611239816131aa565b6001600160a01b03821661128f5760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b0383160361130d5760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f74206772616e7420796f757273656c662070617573657220726f6c60448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527fe09f975e15f8f53f24cbbc282b13c40b84df485fcdb8d3997fa103dc5a4ef841602052604090205460ff16156113955760405162461bcd60e51b815260206004820152601760248201527f416c7265616479206861732070617573657220726f6c650000000000000000006044820152606401610a6f565b610cd07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a83610e9a565b60006113ca816131aa565b6001600160a01b0382166114205760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b0383160361149e5760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f742072656d6f766520796f757273656c662077697468647261776560448201527f7220726f6c6500000000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527f3e8e1598d25a7b16d97ade482ea553ff7b5d9f6960a499eb64072b931c50f091602052604090205460ff166115255760405162461bcd60e51b815260206004820152601d60248201527f446f6573206e6f742068617665207769746864726177657220726f6c650000006044820152606401610a6f565b610cd07f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4836123f7565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611579816131aa565b6110426134f6565b60008281526007602052604081206115999083613533565b9392505050565b610cd033838361353f565b60006115b6816131aa565b50600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600260095474010000000000000000000000000000000000000000900460ff16600481111561162457611624614fe3565b1461162e57600080fd5b61164360ff85166703782dace9d90000615506565b67ffffffffffffffff16341461169b5760405162461bcd60e51b815260206004820152601060248201527f496e636f72726563742070726963652e000000000000000000000000000000006044820152606401610a6f565b32331480156116a95750333b155b6116f55760405162461bcd60e51b815260206004820152601560248201527f436f6e7472616374732063616e2774206d696e742e00000000000000000000006044820152606401610a6f565b60008460ff16116117485760405162461bcd60e51b815260206004820152601460248201527f4d757374206d696e74206174206c6561737420310000000000000000000000006044820152606401610a6f565b610fc68460ff16600c5461175c9190615536565b11156117d05760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d696e74206d6f7265207468616e20746f74616c20636f706960448201527f65732065766572000000000000000000000000000000000000000000000000006064820152608401610a6f565b600d54336000908152600f602052604090205460ff6101009092048216916117fa91879116615549565b60ff16111561184b5760405162461bcd60e51b815260206004820152601960248201527f41626f7665206d6178206d696e7461626c652063617264732e000000000000006044820152606401610a6f565b600d5460ff16156118f6576040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526118aa908490849060340160405160208183030381529060405280519060200120613633565b6118f65760405162461bcd60e51b815260206004820152600f60248201527f4e6f742077686974656c697374656400000000000000000000000000000000006044820152606401610a6f565b8360ff1667ffffffffffffffff81111561191257611912614dc1565b60405190808252806020026020018201604052801561193b578160200160208202803683370190505b50905060005b8460ff168160ff161015611bc657600061195961364b565b600e5490915060009061196e90600190615562565b90506000600e8361ffff1681548110611989576119896154d6565b90600052602060002090602091828204019190069054906101000a900460ff1660ff1690508161ffff168361ffff16036119fd57600e8054806119ce576119ce61557d565b60019003818190600052602060002090602091828204019190066101000a81549060ff02191690559055611ab1565b600e8261ffff1681548110611a1457611a146154d6565b90600052602060002090602091828204019190069054906101000a900460ff16600e8461ffff1681548110611a4b57611a4b6154d6565b90600052602060002090602091828204019190066101000a81548160ff021916908360ff160217905550600e805480611a8657611a8661557d565b60019003818190600052602060002090602091828204019190066101000a81549060ff021916905590555b8061ffff16858560ff1681518110611acb57611acb6154d6565b602090810291909101810191909152336000908152600f90915260408120805460ff1691611af883615593565b91906101000a81548160ff021916908360ff16021790555050600c6000815480929190611b24906154ec565b9190505550610fc6600c5403611b7457600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740400000000000000000000000000000000000000001790555b6040805161ffff831681523360208201527fdc9b1db686f25ff45fe132c07de2357339444f86d5d8bc46d57b0abd6a12aeed910160405180910390a15050508080611bbe90615593565b915050611941565b508360ff16600103611c0d57611c083382600081518110611be957611be96154d6565b6020026020010151600160405180602001604052806000815250613668565b611599565b60008460ff1667ffffffffffffffff811115611c2b57611c2b614dc1565b604051908082528060200260200182016040528015611c54578160200160208202803683370190505b50905060005b8560ff168160ff161015611c9c576001828260ff1681518110611c7f57611c7f6154d6565b602090810291909101015280611c9481615593565b915050611c5a565b50611226338383604051806020016040528060008152506137a7565b366000600360095474010000000000000000000000000000000000000000900460ff166004811115611cec57611cec614fe3565b14611cf657600080fd5b8780611d445760405162461bcd60e51b815260206004820152601460248201527f4d757374206d696e74206174206c6561737420310000000000000000000000006044820152606401610a6f565b611d56816703782dace9d9000061548d565b3414611da45760405162461bcd60e51b815260206004820152601060248201527f496e636f72726563742070726963652e000000000000000000000000000000006044820152606401610a6f565b610fc681600c54611db59190615536565b1115611e295760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d696e74206d6f7265207468616e20746f74616c20636f706960448201527f65732065766572000000000000000000000000000000000000000000000000006064820152608401610a6f565b600d54336000908152600f602052604090205460ff610100909204821691611e5391849116615536565b1115611ea15760405162461bcd60e51b815260206004820152601960248201527f41626f7665206d6178206d696e7461626c652063617264732e000000000000006044820152606401610a6f565b3233148015611eaf5750333b155b611efb5760405162461bcd60e51b815260206004820152601560248201527f436f6e7472616374732063616e2774206d696e742e00000000000000000000006044820152606401610a6f565b874210611f705760405162461bcd60e51b815260206004820152603160248201527f457870697265642074696d657374616d702c2074727920616761696e20696e2060448201527f6120636f75706c65206d696e757465732e0000000000000000000000000000006064820152608401610a6f565b3360009081526010602052604090205461ffff168711611fd25760405162461bcd60e51b815260206004820152601360248201527f4e6f6e636520616c726561647920757365642e000000000000000000000000006044820152606401610a6f565b60008a8a8a338b604051602001611fed9594939291906155b2565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160405160208183030381529060405280519060200120905080871461209d5760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d65737361676520686173680000000000000000000000006044820152606401610a6f565b600b54604080516020601f89018190048102820181019092528781526001600160a01b03909216916120ec918491908a908a90819084018382808284376000920191909152506139ad92505050565b6001600160a01b0316146121425760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e61747572650000000000000000000000000000006044820152606401610a6f565b33600090815260106020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff8b161790555b828160ff16101561229957336000908152600f60205260408120805460ff16916121a783615593565b91906101000a81548160ff021916908360ff16021790555050600c60008154809291906121d3906154ec565b9190505550610fc6600c541061222357600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740400000000000000000000000000000000000000001790555b7fdc9b1db686f25ff45fe132c07de2357339444f86d5d8bc46d57b0abd6a12aeed8c8c8360ff16818110612259576122596154d6565b90506020020135336040516122819291909182526001600160a01b0316602082015260400190565b60405180910390a161229281615593565b905061217e565b50816001036122dc576122d7338c8c60008181106122b9576122b96154d6565b90506020020135600160405180602001604052806000815250613668565b6123b5565b60008267ffffffffffffffff8111156122f7576122f7614dc1565b604051908082528060200260200182016040528015612320578160200160208202803683370190505b50905060005b838160ff161015612365576001828260ff1681518110612348576123486154d6565b60209081029190910101528061235d81615593565b915050612326565b506123b3338d8d808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250604080516020810190915290815287935091506137a79050565b505b50989997985050505050505050565b6000818152600760205260408120610a9b906139c9565b6040518060a00160405280606d81526020016158c1606d913981565b600082815260066020526040902060010154612412816131aa565b610ebf8383613482565b60026008540361246e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a6f565b6002600855600061247e816131aa565b60115460ff16156124d15760405162461bcd60e51b815260206004820152601360248201527f416c7265616479206761766520746f6b656e73000000000000000000000000006044820152606401610a6f565b6011805460ff19166001179055600c8054605091906000906124f4908490615536565b9250508190555061252c73690892db2fa439a703115d36e4205088e0c55d1a602b600160405180602001604052806000815250613668565b61255d73c2f158234da1956623a0d0e4ceaacc764a609b81603d600160405180602001604052806000815250613668565b61258e7306056dcdc6471439e31e878492f594b6f0d8f9d06034600160405180602001604052806000815250613668565b6125bf731be4ab962fbca955de52450bb78b46052eac0a62603e600160405180602001604052806000815250613668565b6125f0733cb85f3c1e18f1ec13b425669cb8f6b7086f1d0c6032600160405180602001604052806000815250613668565b61262173cbc808e97dcc154b6e8df4c44f05d9c22011bed16012600160405180602001604052806000815250613668565b612652730faa2615bac776207034620bdb87d8f3d032ac90600d600160405180602001604052806000815250613668565b61268373229600cfd8e158a42527e09513bff42fdfd09fa8605e600160405180602001604052806000815250613668565b6126b473a4dd7f4a4baf918d97ed921dfd918fd2aef7e451601e600160405180602001604052806000815250613668565b6126e5736d8fb06f9233352cbf4f2274f22b13dd3b37015a605b600160405180602001604052806000815250613668565b61271673bcb5e08e412fa901973c638e59efda1ecb9ef3546030600160405180602001604052806000815250613668565b612747738a78ceef8752a7e90c27c4aeace13f3c4af56e33605b600160405180602001604052806000815250613668565b612778737c4a7d85623cdf7bbf67ceaf2b862e3028fe9acb6024600160405180602001604052806000815250613668565b6127a973e873e624431024e46de133987498d45ba9e8a1236059600160405180602001604052806000815250613668565b6127da73bf67e713ddef50496c6f27c41eaeecee3a9fa063605a600160405180602001604052806000815250613668565b61280b73395ff02870f6c146e2b50512b9755fecb57e83c06038600160405180602001604052806000815250613668565b61283c7385dc88dabe0fb9988190b5b228c9aa58040708646045600160405180602001604052806000815250613668565b61286d73ae17e8f2ac7c0b8c3a77d29ff60e73af1a5bf089602b600160405180602001604052806000815250613668565b61289e7319355237cdb7b76bc166e05f6338f270b084ecfc604c600160405180602001604052806000815250613668565b6128cf73524aa222370690cdc108a2a54d9054dc4c31146c6048600160405180602001604052806000815250613668565b61290073b7397e25a2e167941ded07e605953ee620756a226027600160405180602001604052806000815250613668565b61293173d4d3a6eacf401fa50033114a6952220d6f60b6486025600160405180602001604052806000815250613668565b612962730e6114613a5e28f628f41da0ec204ca505956be86038600160405180602001604052806000815250613668565b6129937381ed8bc0c08b6871738b7514c36d347b2cc172e8602a600160405180602001604052806000815250613668565b6129c473ba1a95c258290ae6a0cbdabfa8fb6e471a48032f600c600160405180602001604052806000815250613668565b6129f573ee34a1cce595270ad3ecc4d50d34df978954584c6014600160405180602001604052806000815250613668565b612a2673448a1bf01d6b7cc9d2c8cd1d05d246bcd840517f6014600160405180602001604052806000815250613668565b612a5773386fa68bef515dab808358935418e37fa1748c326007600160405180602001604052806000815250613668565b612a887330da874e35fbd3a1580ed1e9efaeee2e180b4acd605a600160405180602001604052806000815250613668565b612ab973bcb5e08e412fa901973c638e59efda1ecb9ef3546057600160405180602001604052806000815250613668565b612aea73ae17e8f2ac7c0b8c3a77d29ff60e73af1a5bf089603e600160405180602001604052806000815250613668565b612b1b73cab58f3bacdbe6f8f6e41ff322ce97b2196024f46035600160405180602001604052806000815250613668565b612b4c7343d588cb4411e83e860c6166763112e1ccf76ea96038600160405180602001604052806000815250613668565b612b7d7324ef7784cac2c628eef21b98be9f70044b5e3be4601f600160405180602001604052806000815250613668565b612bae73cac3ddd55551d0ec3176ffb7347c8c290dcb866f603c600160405180602001604052806000815250613668565b612bdf73229600cfd8e158a42527e09513bff42fdfd09fa86033600160405180602001604052806000815250613668565b612c1073240224ac042e7f0eb7a16af0a49907061c9894c86041600160405180602001604052806000815250613668565b612c4173dc5cbdf0ff309b49a332dbfa3264b775c2cafd096055600160405180602001604052806000815250613668565b612c7273b3407c29463951902aef4a6a87265ff0263b56896063600160405180602001604052806000815250613668565b612ca373e1677d385bc7c62486ed53c7b6cde63fe9ee1f2d6055600160405180602001604052806000815250613668565b612cd4731a6763326de2837048e72190d9842f38ee0c491b601e600160405180602001604052806000815250613668565b612d0573c665ab82bae93188d39bf6aa0c2cf2ca66fc66b46012600160405180602001604052806000815250613668565b612d3673df017621ebdfe522dba6f08a4a1db6e791216ecf6026600160405180602001604052806000815250613668565b612d6773aa608298ea894013ec76e5d963752bef6d097a856038600160405180602001604052806000815250613668565b612d9873aa608298ea894013ec76e5d963752bef6d097a856034600160405180602001604052806000815250613668565b612dc773d3deb100f6be210f29f087b707f29ffa93f7e50a8484604051806020016040528060008152506137a7565b5050600160085550565b60606040518060600160405280602b8152602001615896602b9139905090565b6009546000906001600160a01b0390811690831603612e1257506001610a9b565b506001600160a01b0382811660009081526001602090815260408083209385168352929052205460ff16610a9b565b6000612e4c816131aa565b50600a55565b6000612e5d816131aa565b6001600160a01b038216612eb35760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b03831603612f315760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74206772616e7420796f757273656c66207769746864726177657260448201527f20726f6c650000000000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527f3e8e1598d25a7b16d97ade482ea553ff7b5d9f6960a499eb64072b931c50f091602052604090205460ff1615612fb95760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920686173207769746864726177657220726f6c6500000000006044820152606401610a6f565b610cd07f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e483610e9a565b6001600160a01b038516331480612fff5750612fff8533612df1565b6130715760405162461bcd60e51b815260206004820152602f60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206e6f7220617070726f76656400000000000000000000000000000000006064820152608401610a6f565b610e9385858585856139d3565b6000613089816131aa565b50600d805460ff1916911515919091179055565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610cd05760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556130fb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611599836001600160a01b038416613bb7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f000000000000000000000000000000000000000000000000000000001480610a9b5750610a9b82613c06565b6110428133613c5c565b815183511461322b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b0384166132a75760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a6f565b336132b6818787878787613cdc565b60005b84518110156133f25760008582815181106132d6576132d66154d6565b6020026020010151905060008583815181106132f4576132f46154d6565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561339a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a6f565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906133d7908490615536565b92505081905550505050806133eb906154ec565b90506132b9565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516134429291906155ec565b60405180910390a4613458818787878787613ef2565b505050505050565b61346a828261309d565b6000828152600760205260409020610ebf908261313f565b61348c82826140f6565b6000828152600760205260409020610ebf9082614179565b6134ac61418e565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6134fe6141e2565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586134d93390565b60006115998383614235565b816001600160a01b0316836001600160a01b0316036135c65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006136438484600a548561425f565b949350505050565b600e54600090613659614277565b613663919061561a565b905090565b6001600160a01b0384166136e45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b3360006136f0856142b3565b905060006136fd856142b3565b905061370e83600089858589613cdc565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061373e908490615536565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461379e836000898989896142fe565b50505050505050565b6001600160a01b0384166138235760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b815183511461389a5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610a6f565b336138aa81600087878787613cdc565b60005b8451811015613945578381815181106138c8576138c86154d6565b60200260200101516000808784815181106138e5576138e56154d6565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461392d9190615536565b9091555081905061393d816154ec565b9150506138ad565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516139969291906155ec565b60405180910390a4610e9381600087878787613ef2565b60008060006139bc8585614459565b915091506112268161449b565b6000610a9b825490565b6001600160a01b038416613a4f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a6f565b336000613a5b856142b3565b90506000613a68856142b3565b9050613a78838989858589613cdc565b6000868152602081815260408083206001600160a01b038c16845290915290205485811015613b0f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a6f565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290613b4c908490615536565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613bac848a8a8a8a8a6142fe565b505050505050505050565b6000818152600183016020526040812054613bfe57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a9b565b506000610a9b565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610a9b5750610a9b82614687565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610cd057613c9a816001600160a01b031660146146dd565b613ca58360206146dd565b604051602001613cb692919061562e565b60408051601f198184030181529082905262461bcd60e51b8252610a6f91600401614d45565b613ce46141e2565b6001600160a01b0385161561345857825160005b8161ffff168161ffff161015613ee8576000613d2488878461ffff16815181106111ec576111ec6154d6565b60095487519192506000916001600160a01b039091169063313cbe0490899061ffff8716908110613d5757613d576154d6565b60200260200101518b6040518363ffffffff1660e01b8152600401613d8f9291909182526001600160a01b0316602082015260400190565b602060405180830381865afa158015613dac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dd091906156af565b90506000613dde8284615562565b9050600081888661ffff1681518110613df957613df96154d6565b6020026020010151613e0b9190615562565b905061ffff811615613ed15760095489516001600160a01b03909116906316a7ee4e908d908c9061ffff8a16908110613e4657613e466154d6565b60209081029190910101516040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039092166004830152602482015260ff84166044820152606401600060405180830381600087803b158015613eb857600080fd5b505af1158015613ecc573d6000803e3d6000fd5b505050505b505050508080613ee0906156c8565b915050613cf8565b5050505050505050565b6001600160a01b0384163b15613458576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190613f4f90899089908890889088906004016156e9565b6020604051808303816000875af1925050508015613f8a575060408051601f3d908101601f19168201909252613f8791810190615747565b60015b61403f57613f96615764565b806308c379a003613fcf5750613faa615780565b80613fb55750613fd1565b8060405162461bcd60e51b8152600401610a6f9190614d45565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a6f565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c81000000000000000000000000000000000000000000000000000000001461379e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a6f565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1615610cd05760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611599836001600160a01b038416614906565b60055460ff166141e05760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a6f565b565b60055460ff16156141e05760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a6f565b600082600001828154811061424c5761424c6154d6565b9060005260206000200154905092915050565b60008261426d868685614a00565b1495945050505050565b60004442604051602001614295929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c905090565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106142ed576142ed6154d6565b602090810291909101015292915050565b6001600160a01b0384163b15613458576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e619061435b9089908990889088908890600401615828565b6020604051808303816000875af1925050508015614396575060408051601f3d908101601f1916820190925261439391810190615747565b60015b6143a257613f96615764565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e61000000000000000000000000000000000000000000000000000000001461379e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a6f565b600080825160410361448f5760208301516040840151606085015160001a61448387828585614a4c565b94509450505050610df1565b50600090506002610df1565b60008160048111156144af576144af614fe3565b036144b75750565b60018160048111156144cb576144cb614fe3565b036145185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a6f565b600281600481111561452c5761452c614fe3565b036145795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a6f565b600381600481111561458d5761458d614fe3565b036146005760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b600481600481111561461457614614614fe3565b036110425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610a9b5750610a9b82614b39565b606060006146ec83600261548d565b6146f7906002615536565b67ffffffffffffffff81111561470f5761470f614dc1565b6040519080825280601f01601f191660200182016040528015614739576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110614770576147706154d6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106147d3576147d36154d6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061480f84600261548d565b61481a906001615536565b90505b60018111156148b7577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061485b5761485b6154d6565b1a60f81b828281518110614871576148716154d6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936148b08161586b565b905061481d565b5083156115995760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a6f565b600081815260018301602052604081205480156149ef57600061492a600183615882565b855490915060009061493e90600190615882565b90508181146149a357600086600001828154811061495e5761495e6154d6565b9060005260206000200154905080876000018481548110614981576149816154d6565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806149b4576149b461557d565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a9b565b6000915050610a9b565b5092915050565b600081815b84811015614a4357614a2f82878784818110614a2357614a236154d6565b90506020020135614c1c565b915080614a3b816154ec565b915050614a05565b50949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115614a835750600090506003614b30565b8460ff16601b14158015614a9b57508460ff16601c14155b15614aac5750600090506004614b30565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015614b00573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116614b2957600060019250925050614b30565b9150600090505b94509492505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480614bcc57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610a9b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610a9b565b6000818310614c38576000828152602084905260409020611599565b6000838152602083905260409020611599565b80356001600160a01b0381168114614c6257600080fd5b919050565b60008060408385031215614c7a57600080fd5b614c8383614c4b565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461104257600080fd5b600060208284031215614cd157600080fd5b813561159981614c91565b600060208284031215614cee57600080fd5b5035919050565b60005b83811015614d10578181015183820152602001614cf8565b50506000910152565b60008151808452614d31816020860160208601614cf5565b601f01601f19169290920160200192915050565b6020815260006115996020830184614d19565b600060208284031215614d6a57600080fd5b61159982614c4b565b803560ff81168114614c6257600080fd5b600060208284031215614d9657600080fd5b61159982614d73565b60008060408385031215614db257600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715614dfd57614dfd614dc1565b6040525050565b600067ffffffffffffffff821115614e1e57614e1e614dc1565b5060051b60200190565b600082601f830112614e3957600080fd5b81356020614e4682614e04565b604051614e538282614dd7565b83815260059390931b8501820192828101915086841115614e7357600080fd5b8286015b84811015614e8e5780358352918301918301614e77565b509695505050505050565b600082601f830112614eaa57600080fd5b813567ffffffffffffffff811115614ec457614ec4614dc1565b604051614edb6020601f19601f8501160182614dd7565b818152846020838601011115614ef057600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215614f2557600080fd5b614f2e86614c4b565b9450614f3c60208701614c4b565b9350604086013567ffffffffffffffff80821115614f5957600080fd5b614f6589838a01614e28565b94506060880135915080821115614f7b57600080fd5b614f8789838a01614e28565b93506080880135915080821115614f9d57600080fd5b50614faa88828901614e99565b9150509295509295909350565b60008060408385031215614fca57600080fd5b82359150614fda60208401614c4b565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b602081016005831061501b57634e487b7160e01b600052602160045260246000fd5b91905290565b60006020828403121561503357600080fd5b81356005811061159957600080fd5b6000806040838503121561505557600080fd5b823567ffffffffffffffff8082111561506d57600080fd5b818501915085601f83011261508157600080fd5b8135602061508e82614e04565b60405161509b8282614dd7565b83815260059390931b85018201928281019150898411156150bb57600080fd5b948201945b838610156150e0576150d186614c4b565b825294820194908201906150c0565b965050860135925050808211156150f657600080fd5b5061510385828601614e28565b9150509250929050565b600081518084526020808501945080840160005b8381101561513d57815187529582019590820190600101615121565b509495945050505050565b602081526000611599602083018461510d565b80358015158114614c6257600080fd5b6000806040838503121561517e57600080fd5b61518783614c4b565b9150614fda6020840161515b565b60008083601f8401126151a757600080fd5b50813567ffffffffffffffff8111156151bf57600080fd5b6020830191508360208260051b8501011115610df157600080fd5b6000806000604084860312156151ef57600080fd5b6151f884614d73565b9250602084013567ffffffffffffffff81111561521457600080fd5b61522086828701615195565b9497909650939450505050565b600080600080600080600060a0888a03121561524857600080fd5b873567ffffffffffffffff8082111561526057600080fd5b61526c8b838c01615195565b909950975060208a0135965060408a0135955060608a0135945060808a013591508082111561529a57600080fd5b818a0191508a601f8301126152ae57600080fd5b8135818111156152bd57600080fd5b8b60208285010111156152cf57600080fd5b60208301945080935050505092959891949750929550565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561531957600080fd5b8260051b80836020870137939093016020019392505050565b6020815260006136436020830184866152e7565b6000806040838503121561535957600080fd5b823567ffffffffffffffff8082111561537157600080fd5b61537d86838701614e28565b935060208501359150808211156150f657600080fd5b600080604083850312156153a657600080fd5b6153af83614c4b565b9150614fda60208401614c4b565b600080600080600060a086880312156153d557600080fd5b6153de86614c4b565b94506153ec60208701614c4b565b93506040860135925060608601359150608086013567ffffffffffffffff81111561541657600080fd5b614faa88828901614e99565b60006020828403121561543457600080fd5b6115998261515b565b600181811c9082168061545157607f821691505b60208210810361547157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156154a7576154a7615477565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826154d1576154d16154ac565b500490565b634e487b7160e01b600052603260045260246000fd5b600060001982036154ff576154ff615477565b5060010190565b600067ffffffffffffffff8083168185168183048111821515161561552d5761552d615477565b02949350505050565b80820180821115610a9b57610a9b615477565b60ff8181168382160190811115610a9b57610a9b615477565b61ffff8281168282160390808211156149f9576149f9615477565b634e487b7160e01b600052603160045260246000fd5b600060ff821660ff81036155a9576155a9615477565b60010192915050565b6080815260006155c66080830187896152e7565b6020830195909552506001600160a01b0392909216604083015260609091015292915050565b6040815260006155ff604083018561510d565b8281036020840152615611818561510d565b95945050505050565b600082615629576156296154ac565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615666816017850160208801614cf5565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516156a3816028840160208801614cf5565b01602801949350505050565b6000602082840312156156c157600080fd5b5051919050565b600061ffff8083168181036156df576156df615477565b6001019392505050565b60006001600160a01b03808816835280871660208401525060a0604083015261571560a083018661510d565b8281036060840152615727818661510d565b9050828103608084015261573b8185614d19565b98975050505050505050565b60006020828403121561575957600080fd5b815161159981614c91565b600060033d111561577d5760046000803e5060005160e01c5b90565b600060443d101561578e5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156157dc57505050505090565b82850191508151818111156157f45750505050505090565b843d870101602082850101111561580e5750505050505090565b61581d60208286010187614dd7565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261586060a0830184614d19565b979650505050505050565b60008161587a5761587a615477565b506000190190565b81810381811115610a9b57610a9b61547756fe68747470733a2f2f6d657461646174612e6d6f6e646f6d656761626974732e636f6d2f636f6e74726163746d61676e65743a3f78743d75726e3a627469683a3030303531396662653666356666623236663964353035623333343236356161306638623538633326646e3d4d6f6e646f2532304d6567616269747325323044726f70253230312532302d25323046616b6525323054656368a2646970667358221220957ff13e8b85d69bf79773a2a361fc36b8835e1450bb1458d582faaadef1a17e64736f6c6343000810003368747470733a2f2f6d657461646174612e6d6f6e646f6d656761626974732e636f6d2f7b69647d

Deployed Bytecode

0x60806040526004361061031d5760003560e01c806385f438c1116101a5578063ca15c873116100ec578063e985e9c511610095578063ed9ec8881161006f578063ed9ec88814610965578063f158904614610995578063f242432a146109b5578063f958a657146109d557600080fd5b8063e985e9c51461090f578063ebcea3db1461092f578063ebf0c7171461094f57600080fd5b8063e3f53787116100c6578063e3f53787146108a6578063e63ab1e9146108c6578063e8a3d485146108fa57600080fd5b8063ca15c87314610851578063d0c7e17314610871578063d547741f1461088657600080fd5b8063a2309ff81161014e578063b61c5e6911610128578063b61c5e6914610808578063bfad48871461081b578063c2bf2ced1461083c57600080fd5b8063a2309ff8146107a1578063aad2b723146107b7578063b29509f3146107d757600080fd5b8063985dc2d11161017f578063985dc2d11461074c578063a217fddf1461076c578063a22cb4651461078157600080fd5b806385f438c1146106b25780639010d07c146106e657806391d148541461070657600080fd5b806336568abe1161026957806351fb012d116102125780636c11c21c116101ec5780636c11c21c1461065d5780638250ddbf1461067d5780638456cb591461069d57600080fd5b806351fb012d146105e757806356916b04146106015780635c975abb1461064557600080fd5b806347e3e4621161024357806347e3e4621461057a5780634dd21c451461059a5780634e1273f4146105ba57600080fd5b806336568abe146105305780633ccfd60b146105505780633f4ba83a1461056557600080fd5b8063238ac933116102cb5780632eb2c2d6116102a55780632eb2c2d6146104b15780632f2ff15d146104d157806333abe544146104f157600080fd5b8063238ac9331461040a578063248a9ca3146104425780632a55205a1461047257600080fd5b80630e89341c116102fc5780630e89341c1461039b57806315bd2794146103c85780631e07dc09146103ea57600080fd5b8062fdd58e1461032257806301ffc9a7146103555780630cfd0e0b14610385575b600080fd5b34801561032e57600080fd5b5061034261033d366004614c67565b6109f5565b6040519081526020015b60405180910390f35b34801561036157600080fd5b50610375610370366004614cbf565b610aa1565b604051901515815260200161034c565b34801561039157600080fd5b50610342610fc681565b3480156103a757600080fd5b506103bb6103b6366004614cdc565b610aac565b60405161034c9190614d45565b3480156103d457600080fd5b506103e86103e3366004614d58565b610b40565b005b3480156103f657600080fd5b506103e8610405366004614d84565b610cd4565b34801561041657600080fd5b50600b5461042a906001600160a01b031681565b6040516001600160a01b03909116815260200161034c565b34801561044e57600080fd5b5061034261045d366004614cdc565b60009081526006602052604090206001015490565b34801561047e57600080fd5b5061049261048d366004614d9f565b610d19565b604080516001600160a01b03909316835260208301919091520161034c565b3480156104bd57600080fd5b506103e86104cc366004614f0d565b610df8565b3480156104dd57600080fd5b506103e86104ec366004614fb7565b610e9a565b3480156104fd57600080fd5b506009546105239074010000000000000000000000000000000000000000900460ff1681565b60405161034c9190614ff9565b34801561053c57600080fd5b506103e861054b366004614fb7565b610ec4565b34801561055c57600080fd5b506103e8610f4c565b34801561057157600080fd5b506103e8611010565b34801561058657600080fd5b506103e8610595366004615021565b611045565b3480156105a657600080fd5b506103e86105b5366004614d58565b6110aa565b3480156105c657600080fd5b506105da6105d5366004615042565b6110f0565b60405161034c9190615148565b3480156105f357600080fd5b50600d546103759060ff1681565b34801561060d57600080fd5b5061063261061c366004614d58565b60106020526000908152604090205461ffff1681565b60405161ffff909116815260200161034c565b34801561065157600080fd5b5060055460ff16610375565b34801561066957600080fd5b506103e8610678366004614d58565b61122e565b34801561068957600080fd5b506103e8610698366004614d58565b6113bf565b3480156106a957600080fd5b506103e861154f565b3480156106be57600080fd5b506103427f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e481565b3480156106f257600080fd5b5061042a610701366004614d9f565b611581565b34801561071257600080fd5b50610375610721366004614fb7565b60009182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b34801561075857600080fd5b5060095461042a906001600160a01b031681565b34801561077857600080fd5b50610342600081565b34801561078d57600080fd5b506103e861079c36600461516b565b6115a0565b3480156107ad57600080fd5b50610342600c5481565b3480156107c357600080fd5b506103e86107d2366004614d58565b6115ab565b3480156107e357600080fd5b50600d546107f690610100900460ff1681565b60405160ff909116815260200161034c565b6105da6108163660046151da565b6115f1565b61082e61082936600461522d565b611cb8565b60405161034c929190615332565b34801561084857600080fd5b50610342601481565b34801561085d57600080fd5b5061034261086c366004614cdc565b6123c4565b34801561087d57600080fd5b506103bb6123db565b34801561089257600080fd5b506103e86108a1366004614fb7565b6123f7565b3480156108b257600080fd5b506103e86108c1366004615346565b61241c565b3480156108d257600080fd5b506103427f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b34801561090657600080fd5b506103bb612dd1565b34801561091b57600080fd5b5061037561092a366004615393565b612df1565b34801561093b57600080fd5b506103e861094a366004614cdc565b612e41565b34801561095b57600080fd5b50610342600a5481565b34801561097157600080fd5b506107f6610980366004614d58565b600f6020526000908152604090205460ff1681565b3480156109a157600080fd5b506103e86109b0366004614d58565b612e52565b3480156109c157600080fd5b506103e86109d03660046153bd565b612fe3565b3480156109e157600080fd5b506103e86109f0366004615422565b61307e565b60006001600160a01b038316610a785760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a2061646472657373207a65726f206973206e6f742061207660448201527f616c6964206f776e65720000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000818152602081815260408083206001600160a01b03861684529091529020545b92915050565b6000610a9b82613154565b606060028054610abb9061543d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae79061543d565b8015610b345780601f10610b0957610100808354040283529160200191610b34565b820191906000526020600020905b815481529060010190602001808311610b1757829003601f168201915b50505050509050919050565b6000610b4b816131aa565b6001600160a01b038216610ba15760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b03831603610c1f5760405162461bcd60e51b815260206004820152602b60248201527f43616e6e6f742072656d6f766520796f757273656c662066726f6d207468652060448201527f70617573657220726f6c650000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527fe09f975e15f8f53f24cbbc282b13c40b84df485fcdb8d3997fa103dc5a4ef841602052604090205460ff16610ca65760405162461bcd60e51b815260206004820152601960248201527f446f6573206e6f7420686176652070617573657220726f6c65000000000000006044820152606401610a6f565b610cd07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a836123f7565b5050565b6000610cdf816131aa565b50600d805460ff909216610100027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff909216919091179055565b60008281526004602090815260408083208151808301909252546001600160a01b038116808352740100000000000000000000000000000000000000009091046bffffffffffffffffffffffff16928201929092528291610dba5750604080518082019091526003546001600160a01b03811682527401000000000000000000000000000000000000000090046bffffffffffffffffffffffff1660208201525b602081015160009061271090610dde906bffffffffffffffffffffffff168761548d565b610de891906154c2565b91519350909150505b9250929050565b6001600160a01b038516331480610e145750610e148533612df1565b610e865760405162461bcd60e51b815260206004820152602f60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206e6f7220617070726f76656400000000000000000000000000000000006064820152608401610a6f565b610e9385858585856131b4565b5050505050565b600082815260066020526040902060010154610eb5816131aa565b610ebf8383613460565b505050565b6001600160a01b0381163314610f425760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c6600000000000000000000000000000000006064820152608401610a6f565b610cd08282613482565b7f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4610f76816131aa565b6040514790600090339083908381818185875af1925050503d8060008114610fba576040519150601f19603f3d011682016040523d82523d6000602084013e610fbf565b606091505b5050905080610ebf5760405162461bcd60e51b815260206004820152601460248201527f4661696c656420746f2073656e642045746865720000000000000000000000006044820152606401610a6f565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61103a816131aa565b6110426134a4565b50565b6000611050816131aa565b600980548391907fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000008360048111156110a1576110a1614fe3565b02179055505050565b60006110b5816131aa565b50600980547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b606081518351146111695760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d6174636800000000000000000000000000000000000000000000006064820152608401610a6f565b6000835167ffffffffffffffff81111561118557611185614dc1565b6040519080825280602002602001820160405280156111ae578160200160208202803683370190505b50905060005b8451811015611226576111f98582815181106111d2576111d26154d6565b60200260200101518583815181106111ec576111ec6154d6565b60200260200101516109f5565b82828151811061120b5761120b6154d6565b602090810291909101015261121f816154ec565b90506111b4565b509392505050565b6000611239816131aa565b6001600160a01b03821661128f5760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b0383160361130d5760405162461bcd60e51b815260206004820152602160248201527f43616e6e6f74206772616e7420796f757273656c662070617573657220726f6c60448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527fe09f975e15f8f53f24cbbc282b13c40b84df485fcdb8d3997fa103dc5a4ef841602052604090205460ff16156113955760405162461bcd60e51b815260206004820152601760248201527f416c7265616479206861732070617573657220726f6c650000000000000000006044820152606401610a6f565b610cd07f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a83610e9a565b60006113ca816131aa565b6001600160a01b0382166114205760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b0383160361149e5760405162461bcd60e51b815260206004820152602660248201527f43616e6e6f742072656d6f766520796f757273656c662077697468647261776560448201527f7220726f6c6500000000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527f3e8e1598d25a7b16d97ade482ea553ff7b5d9f6960a499eb64072b931c50f091602052604090205460ff166115255760405162461bcd60e51b815260206004820152601d60248201527f446f6573206e6f742068617665207769746864726177657220726f6c650000006044820152606401610a6f565b610cd07f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e4836123f7565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a611579816131aa565b6110426134f6565b60008281526007602052604081206115999083613533565b9392505050565b610cd033838361353f565b60006115b6816131aa565b50600b80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6060600260095474010000000000000000000000000000000000000000900460ff16600481111561162457611624614fe3565b1461162e57600080fd5b61164360ff85166703782dace9d90000615506565b67ffffffffffffffff16341461169b5760405162461bcd60e51b815260206004820152601060248201527f496e636f72726563742070726963652e000000000000000000000000000000006044820152606401610a6f565b32331480156116a95750333b155b6116f55760405162461bcd60e51b815260206004820152601560248201527f436f6e7472616374732063616e2774206d696e742e00000000000000000000006044820152606401610a6f565b60008460ff16116117485760405162461bcd60e51b815260206004820152601460248201527f4d757374206d696e74206174206c6561737420310000000000000000000000006044820152606401610a6f565b610fc68460ff16600c5461175c9190615536565b11156117d05760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d696e74206d6f7265207468616e20746f74616c20636f706960448201527f65732065766572000000000000000000000000000000000000000000000000006064820152608401610a6f565b600d54336000908152600f602052604090205460ff6101009092048216916117fa91879116615549565b60ff16111561184b5760405162461bcd60e51b815260206004820152601960248201527f41626f7665206d6178206d696e7461626c652063617264732e000000000000006044820152606401610a6f565b600d5460ff16156118f6576040517fffffffffffffffffffffffffffffffffffffffff0000000000000000000000003360601b1660208201526118aa908490849060340160405160208183030381529060405280519060200120613633565b6118f65760405162461bcd60e51b815260206004820152600f60248201527f4e6f742077686974656c697374656400000000000000000000000000000000006044820152606401610a6f565b8360ff1667ffffffffffffffff81111561191257611912614dc1565b60405190808252806020026020018201604052801561193b578160200160208202803683370190505b50905060005b8460ff168160ff161015611bc657600061195961364b565b600e5490915060009061196e90600190615562565b90506000600e8361ffff1681548110611989576119896154d6565b90600052602060002090602091828204019190069054906101000a900460ff1660ff1690508161ffff168361ffff16036119fd57600e8054806119ce576119ce61557d565b60019003818190600052602060002090602091828204019190066101000a81549060ff02191690559055611ab1565b600e8261ffff1681548110611a1457611a146154d6565b90600052602060002090602091828204019190069054906101000a900460ff16600e8461ffff1681548110611a4b57611a4b6154d6565b90600052602060002090602091828204019190066101000a81548160ff021916908360ff160217905550600e805480611a8657611a8661557d565b60019003818190600052602060002090602091828204019190066101000a81549060ff021916905590555b8061ffff16858560ff1681518110611acb57611acb6154d6565b602090810291909101810191909152336000908152600f90915260408120805460ff1691611af883615593565b91906101000a81548160ff021916908360ff16021790555050600c6000815480929190611b24906154ec565b9190505550610fc6600c5403611b7457600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740400000000000000000000000000000000000000001790555b6040805161ffff831681523360208201527fdc9b1db686f25ff45fe132c07de2357339444f86d5d8bc46d57b0abd6a12aeed910160405180910390a15050508080611bbe90615593565b915050611941565b508360ff16600103611c0d57611c083382600081518110611be957611be96154d6565b6020026020010151600160405180602001604052806000815250613668565b611599565b60008460ff1667ffffffffffffffff811115611c2b57611c2b614dc1565b604051908082528060200260200182016040528015611c54578160200160208202803683370190505b50905060005b8560ff168160ff161015611c9c576001828260ff1681518110611c7f57611c7f6154d6565b602090810291909101015280611c9481615593565b915050611c5a565b50611226338383604051806020016040528060008152506137a7565b366000600360095474010000000000000000000000000000000000000000900460ff166004811115611cec57611cec614fe3565b14611cf657600080fd5b8780611d445760405162461bcd60e51b815260206004820152601460248201527f4d757374206d696e74206174206c6561737420310000000000000000000000006044820152606401610a6f565b611d56816703782dace9d9000061548d565b3414611da45760405162461bcd60e51b815260206004820152601060248201527f496e636f72726563742070726963652e000000000000000000000000000000006044820152606401610a6f565b610fc681600c54611db59190615536565b1115611e295760405162461bcd60e51b815260206004820152602760248201527f43616e6e6f74206d696e74206d6f7265207468616e20746f74616c20636f706960448201527f65732065766572000000000000000000000000000000000000000000000000006064820152608401610a6f565b600d54336000908152600f602052604090205460ff610100909204821691611e5391849116615536565b1115611ea15760405162461bcd60e51b815260206004820152601960248201527f41626f7665206d6178206d696e7461626c652063617264732e000000000000006044820152606401610a6f565b3233148015611eaf5750333b155b611efb5760405162461bcd60e51b815260206004820152601560248201527f436f6e7472616374732063616e2774206d696e742e00000000000000000000006044820152606401610a6f565b874210611f705760405162461bcd60e51b815260206004820152603160248201527f457870697265642074696d657374616d702c2074727920616761696e20696e2060448201527f6120636f75706c65206d696e757465732e0000000000000000000000000000006064820152608401610a6f565b3360009081526010602052604090205461ffff168711611fd25760405162461bcd60e51b815260206004820152601360248201527f4e6f6e636520616c726561647920757365642e000000000000000000000000006044820152606401610a6f565b60008a8a8a338b604051602001611fed9594939291906155b2565b60408051601f198184030181529082905280516020918201207f19457468657265756d205369676e6564204d6573736167653a0a33320000000091830191909152603c820152605c0160405160208183030381529060405280519060200120905080871461209d5760405162461bcd60e51b815260206004820152601460248201527f496e76616c6964206d65737361676520686173680000000000000000000000006044820152606401610a6f565b600b54604080516020601f89018190048102820181019092528781526001600160a01b03909216916120ec918491908a908a90819084018382808284376000920191909152506139ad92505050565b6001600160a01b0316146121425760405162461bcd60e51b815260206004820152601160248201527f496e76616c6964207369676e61747572650000000000000000000000000000006044820152606401610a6f565b33600090815260106020526040812080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00001661ffff8b161790555b828160ff16101561229957336000908152600f60205260408120805460ff16916121a783615593565b91906101000a81548160ff021916908360ff16021790555050600c60008154809291906121d3906154ec565b9190505550610fc6600c541061222357600980547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740400000000000000000000000000000000000000001790555b7fdc9b1db686f25ff45fe132c07de2357339444f86d5d8bc46d57b0abd6a12aeed8c8c8360ff16818110612259576122596154d6565b90506020020135336040516122819291909182526001600160a01b0316602082015260400190565b60405180910390a161229281615593565b905061217e565b50816001036122dc576122d7338c8c60008181106122b9576122b96154d6565b90506020020135600160405180602001604052806000815250613668565b6123b5565b60008267ffffffffffffffff8111156122f7576122f7614dc1565b604051908082528060200260200182016040528015612320578160200160208202803683370190505b50905060005b838160ff161015612365576001828260ff1681518110612348576123486154d6565b60209081029190910101528061235d81615593565b915050612326565b506123b3338d8d808060200260200160405190810160405280939291908181526020018383602002808284376000920182905250604080516020810190915290815287935091506137a79050565b505b50989997985050505050505050565b6000818152600760205260408120610a9b906139c9565b6040518060a00160405280606d81526020016158c1606d913981565b600082815260066020526040902060010154612412816131aa565b610ebf8383613482565b60026008540361246e5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a6f565b6002600855600061247e816131aa565b60115460ff16156124d15760405162461bcd60e51b815260206004820152601360248201527f416c7265616479206761766520746f6b656e73000000000000000000000000006044820152606401610a6f565b6011805460ff19166001179055600c8054605091906000906124f4908490615536565b9250508190555061252c73690892db2fa439a703115d36e4205088e0c55d1a602b600160405180602001604052806000815250613668565b61255d73c2f158234da1956623a0d0e4ceaacc764a609b81603d600160405180602001604052806000815250613668565b61258e7306056dcdc6471439e31e878492f594b6f0d8f9d06034600160405180602001604052806000815250613668565b6125bf731be4ab962fbca955de52450bb78b46052eac0a62603e600160405180602001604052806000815250613668565b6125f0733cb85f3c1e18f1ec13b425669cb8f6b7086f1d0c6032600160405180602001604052806000815250613668565b61262173cbc808e97dcc154b6e8df4c44f05d9c22011bed16012600160405180602001604052806000815250613668565b612652730faa2615bac776207034620bdb87d8f3d032ac90600d600160405180602001604052806000815250613668565b61268373229600cfd8e158a42527e09513bff42fdfd09fa8605e600160405180602001604052806000815250613668565b6126b473a4dd7f4a4baf918d97ed921dfd918fd2aef7e451601e600160405180602001604052806000815250613668565b6126e5736d8fb06f9233352cbf4f2274f22b13dd3b37015a605b600160405180602001604052806000815250613668565b61271673bcb5e08e412fa901973c638e59efda1ecb9ef3546030600160405180602001604052806000815250613668565b612747738a78ceef8752a7e90c27c4aeace13f3c4af56e33605b600160405180602001604052806000815250613668565b612778737c4a7d85623cdf7bbf67ceaf2b862e3028fe9acb6024600160405180602001604052806000815250613668565b6127a973e873e624431024e46de133987498d45ba9e8a1236059600160405180602001604052806000815250613668565b6127da73bf67e713ddef50496c6f27c41eaeecee3a9fa063605a600160405180602001604052806000815250613668565b61280b73395ff02870f6c146e2b50512b9755fecb57e83c06038600160405180602001604052806000815250613668565b61283c7385dc88dabe0fb9988190b5b228c9aa58040708646045600160405180602001604052806000815250613668565b61286d73ae17e8f2ac7c0b8c3a77d29ff60e73af1a5bf089602b600160405180602001604052806000815250613668565b61289e7319355237cdb7b76bc166e05f6338f270b084ecfc604c600160405180602001604052806000815250613668565b6128cf73524aa222370690cdc108a2a54d9054dc4c31146c6048600160405180602001604052806000815250613668565b61290073b7397e25a2e167941ded07e605953ee620756a226027600160405180602001604052806000815250613668565b61293173d4d3a6eacf401fa50033114a6952220d6f60b6486025600160405180602001604052806000815250613668565b612962730e6114613a5e28f628f41da0ec204ca505956be86038600160405180602001604052806000815250613668565b6129937381ed8bc0c08b6871738b7514c36d347b2cc172e8602a600160405180602001604052806000815250613668565b6129c473ba1a95c258290ae6a0cbdabfa8fb6e471a48032f600c600160405180602001604052806000815250613668565b6129f573ee34a1cce595270ad3ecc4d50d34df978954584c6014600160405180602001604052806000815250613668565b612a2673448a1bf01d6b7cc9d2c8cd1d05d246bcd840517f6014600160405180602001604052806000815250613668565b612a5773386fa68bef515dab808358935418e37fa1748c326007600160405180602001604052806000815250613668565b612a887330da874e35fbd3a1580ed1e9efaeee2e180b4acd605a600160405180602001604052806000815250613668565b612ab973bcb5e08e412fa901973c638e59efda1ecb9ef3546057600160405180602001604052806000815250613668565b612aea73ae17e8f2ac7c0b8c3a77d29ff60e73af1a5bf089603e600160405180602001604052806000815250613668565b612b1b73cab58f3bacdbe6f8f6e41ff322ce97b2196024f46035600160405180602001604052806000815250613668565b612b4c7343d588cb4411e83e860c6166763112e1ccf76ea96038600160405180602001604052806000815250613668565b612b7d7324ef7784cac2c628eef21b98be9f70044b5e3be4601f600160405180602001604052806000815250613668565b612bae73cac3ddd55551d0ec3176ffb7347c8c290dcb866f603c600160405180602001604052806000815250613668565b612bdf73229600cfd8e158a42527e09513bff42fdfd09fa86033600160405180602001604052806000815250613668565b612c1073240224ac042e7f0eb7a16af0a49907061c9894c86041600160405180602001604052806000815250613668565b612c4173dc5cbdf0ff309b49a332dbfa3264b775c2cafd096055600160405180602001604052806000815250613668565b612c7273b3407c29463951902aef4a6a87265ff0263b56896063600160405180602001604052806000815250613668565b612ca373e1677d385bc7c62486ed53c7b6cde63fe9ee1f2d6055600160405180602001604052806000815250613668565b612cd4731a6763326de2837048e72190d9842f38ee0c491b601e600160405180602001604052806000815250613668565b612d0573c665ab82bae93188d39bf6aa0c2cf2ca66fc66b46012600160405180602001604052806000815250613668565b612d3673df017621ebdfe522dba6f08a4a1db6e791216ecf6026600160405180602001604052806000815250613668565b612d6773aa608298ea894013ec76e5d963752bef6d097a856038600160405180602001604052806000815250613668565b612d9873aa608298ea894013ec76e5d963752bef6d097a856034600160405180602001604052806000815250613668565b612dc773d3deb100f6be210f29f087b707f29ffa93f7e50a8484604051806020016040528060008152506137a7565b5050600160085550565b60606040518060600160405280602b8152602001615896602b9139905090565b6009546000906001600160a01b0390811690831603612e1257506001610a9b565b506001600160a01b0382811660009081526001602090815260408083209385168352929052205460ff16610a9b565b6000612e4c816131aa565b50600a55565b6000612e5d816131aa565b6001600160a01b038216612eb35760405162461bcd60e51b815260206004820152601c60248201527f4d7573742070726f7669646520612076616c69642061646472657373000000006044820152606401610a6f565b336001600160a01b03831603612f315760405162461bcd60e51b815260206004820152602560248201527f43616e6e6f74206772616e7420796f757273656c66207769746864726177657260448201527f20726f6c650000000000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03821660009081527f3e8e1598d25a7b16d97ade482ea553ff7b5d9f6960a499eb64072b931c50f091602052604090205460ff1615612fb95760405162461bcd60e51b815260206004820152601b60248201527f416c726561647920686173207769746864726177657220726f6c6500000000006044820152606401610a6f565b610cd07f10dac8c06a04bec0b551627dad28bc00d6516b0caacd1c7b345fcdb5211334e483610e9a565b6001600160a01b038516331480612fff5750612fff8533612df1565b6130715760405162461bcd60e51b815260206004820152602f60248201527f455243313135353a2063616c6c6572206973206e6f7420746f6b656e206f776e60448201527f6572206e6f7220617070726f76656400000000000000000000000000000000006064820152608401610a6f565b610e9385858585856139d3565b6000613089816131aa565b50600d805460ff1916911515919091179055565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610cd05760008281526006602090815260408083206001600160a01b03851684529091529020805460ff191660011790556130fb3390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000611599836001600160a01b038416613bb7565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f5a05180f000000000000000000000000000000000000000000000000000000001480610a9b5750610a9b82613c06565b6110428133613c5c565b815183511461322b5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b0384166132a75760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a6f565b336132b6818787878787613cdc565b60005b84518110156133f25760008582815181106132d6576132d66154d6565b6020026020010151905060008583815181106132f4576132f46154d6565b602090810291909101810151600084815280835260408082206001600160a01b038e16835290935291909120549091508181101561339a5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a6f565b6000838152602081815260408083206001600160a01b038e8116855292528083208585039055908b168252812080548492906133d7908490615536565b92505081905550505050806133eb906154ec565b90506132b9565b50846001600160a01b0316866001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516134429291906155ec565b60405180910390a4613458818787878787613ef2565b505050505050565b61346a828261309d565b6000828152600760205260409020610ebf908261313f565b61348c82826140f6565b6000828152600760205260409020610ebf9082614179565b6134ac61418e565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6134fe6141e2565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586134d93390565b60006115998383614235565b816001600160a01b0316836001600160a01b0316036135c65760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c6600000000000000000000000000000000000000000000006064820152608401610a6f565b6001600160a01b03838116600081815260016020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b60006136438484600a548561425f565b949350505050565b600e54600090613659614277565b613663919061561a565b905090565b6001600160a01b0384166136e45760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b3360006136f0856142b3565b905060006136fd856142b3565b905061370e83600089858589613cdc565b6000868152602081815260408083206001600160a01b038b1684529091528120805487929061373e908490615536565b909155505060408051878152602081018790526001600160a01b03808a1692600092918716917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a461379e836000898989896142fe565b50505050505050565b6001600160a01b0384166138235760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f73000000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b815183511461389a5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d617463680000000000000000000000000000000000000000000000006064820152608401610a6f565b336138aa81600087878787613cdc565b60005b8451811015613945578381815181106138c8576138c86154d6565b60200260200101516000808784815181106138e5576138e56154d6565b602002602001015181526020019081526020016000206000886001600160a01b03166001600160a01b03168152602001908152602001600020600082825461392d9190615536565b9091555081905061393d816154ec565b9150506138ad565b50846001600160a01b031660006001600160a01b0316826001600160a01b03167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516139969291906155ec565b60405180910390a4610e9381600087878787613ef2565b60008060006139bc8585614459565b915091506112268161449b565b6000610a9b825490565b6001600160a01b038416613a4f5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610a6f565b336000613a5b856142b3565b90506000613a68856142b3565b9050613a78838989858589613cdc565b6000868152602081815260408083206001600160a01b038c16845290915290205485811015613b0f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e73666572000000000000000000000000000000000000000000006064820152608401610a6f565b6000878152602081815260408083206001600160a01b038d8116855292528083208985039055908a16825281208054889290613b4c908490615536565b909155505060408051888152602081018890526001600160a01b03808b16928c821692918816917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a4613bac848a8a8a8a8a6142fe565b505050505050505050565b6000818152600183016020526040812054613bfe57508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155610a9b565b506000610a9b565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f7965db0b000000000000000000000000000000000000000000000000000000001480610a9b5750610a9b82614687565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff16610cd057613c9a816001600160a01b031660146146dd565b613ca58360206146dd565b604051602001613cb692919061562e565b60408051601f198184030181529082905262461bcd60e51b8252610a6f91600401614d45565b613ce46141e2565b6001600160a01b0385161561345857825160005b8161ffff168161ffff161015613ee8576000613d2488878461ffff16815181106111ec576111ec6154d6565b60095487519192506000916001600160a01b039091169063313cbe0490899061ffff8716908110613d5757613d576154d6565b60200260200101518b6040518363ffffffff1660e01b8152600401613d8f9291909182526001600160a01b0316602082015260400190565b602060405180830381865afa158015613dac573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613dd091906156af565b90506000613dde8284615562565b9050600081888661ffff1681518110613df957613df96154d6565b6020026020010151613e0b9190615562565b905061ffff811615613ed15760095489516001600160a01b03909116906316a7ee4e908d908c9061ffff8a16908110613e4657613e466154d6565b60209081029190910101516040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b1681526001600160a01b039092166004830152602482015260ff84166044820152606401600060405180830381600087803b158015613eb857600080fd5b505af1158015613ecc573d6000803e3d6000fd5b505050505b505050508080613ee0906156c8565b915050613cf8565b5050505050505050565b6001600160a01b0384163b15613458576040517fbc197c810000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063bc197c8190613f4f90899089908890889088906004016156e9565b6020604051808303816000875af1925050508015613f8a575060408051601f3d908101601f19168201909252613f8791810190615747565b60015b61403f57613f96615764565b806308c379a003613fcf5750613faa615780565b80613fb55750613fd1565b8060405162461bcd60e51b8152600401610a6f9190614d45565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e7465720000000000000000000000006064820152608401610a6f565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c81000000000000000000000000000000000000000000000000000000001461379e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a6f565b60008281526006602090815260408083206001600160a01b038516845290915290205460ff1615610cd05760008281526006602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b6000611599836001600160a01b038416614906565b60055460ff166141e05760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610a6f565b565b60055460ff16156141e05760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610a6f565b600082600001828154811061424c5761424c6154d6565b9060005260206000200154905092915050565b60008261426d868685614a00565b1495945050505050565b60004442604051602001614295929190918252602082015260400190565b6040516020818303038152906040528051906020012060001c905090565b604080516001808252818301909252606091600091906020808301908036833701905050905082816000815181106142ed576142ed6154d6565b602090810291909101015292915050565b6001600160a01b0384163b15613458576040517ff23a6e610000000000000000000000000000000000000000000000000000000081526001600160a01b0385169063f23a6e619061435b9089908990889088908890600401615828565b6020604051808303816000875af1925050508015614396575060408051601f3d908101601f1916820190925261439391810190615747565b60015b6143a257613f96615764565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e61000000000000000000000000000000000000000000000000000000001461379e5760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e730000000000000000000000000000000000000000000000006064820152608401610a6f565b600080825160410361448f5760208301516040840151606085015160001a61448387828585614a4c565b94509450505050610df1565b50600090506002610df1565b60008160048111156144af576144af614fe3565b036144b75750565b60018160048111156144cb576144cb614fe3565b036145185760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a6f565b600281600481111561452c5761452c614fe3565b036145795760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a6f565b600381600481111561458d5761458d614fe3565b036146005760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b600481600481111561461457614614614fe3565b036110425760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f75650000000000000000000000000000000000000000000000000000000000006064820152608401610a6f565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f2a55205a000000000000000000000000000000000000000000000000000000001480610a9b5750610a9b82614b39565b606060006146ec83600261548d565b6146f7906002615536565b67ffffffffffffffff81111561470f5761470f614dc1565b6040519080825280601f01601f191660200182016040528015614739576020820181803683370190505b5090507f300000000000000000000000000000000000000000000000000000000000000081600081518110614770576147706154d6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106147d3576147d36154d6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600061480f84600261548d565b61481a906001615536565b90505b60018111156148b7577f303132333435363738396162636465660000000000000000000000000000000085600f166010811061485b5761485b6154d6565b1a60f81b828281518110614871576148716154d6565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535060049490941c936148b08161586b565b905061481d565b5083156115995760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152606401610a6f565b600081815260018301602052604081205480156149ef57600061492a600183615882565b855490915060009061493e90600190615882565b90508181146149a357600086600001828154811061495e5761495e6154d6565b9060005260206000200154905080876000018481548110614981576149816154d6565b6000918252602080832090910192909255918252600188019052604090208390555b85548690806149b4576149b461557d565b600190038181906000526020600020016000905590558560010160008681526020019081526020016000206000905560019350505050610a9b565b6000915050610a9b565b5092915050565b600081815b84811015614a4357614a2f82878784818110614a2357614a236154d6565b90506020020135614c1c565b915080614a3b816154ec565b915050614a05565b50949350505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115614a835750600090506003614b30565b8460ff16601b14158015614a9b57508460ff16601c14155b15614aac5750600090506004614b30565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015614b00573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116614b2957600060019250925050614b30565b9150600090505b94509492505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480614bcc57507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b80610a9b57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610a9b565b6000818310614c38576000828152602084905260409020611599565b6000838152602083905260409020611599565b80356001600160a01b0381168114614c6257600080fd5b919050565b60008060408385031215614c7a57600080fd5b614c8383614c4b565b946020939093013593505050565b7fffffffff000000000000000000000000000000000000000000000000000000008116811461104257600080fd5b600060208284031215614cd157600080fd5b813561159981614c91565b600060208284031215614cee57600080fd5b5035919050565b60005b83811015614d10578181015183820152602001614cf8565b50506000910152565b60008151808452614d31816020860160208601614cf5565b601f01601f19169290920160200192915050565b6020815260006115996020830184614d19565b600060208284031215614d6a57600080fd5b61159982614c4b565b803560ff81168114614c6257600080fd5b600060208284031215614d9657600080fd5b61159982614d73565b60008060408385031215614db257600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b601f19601f830116810181811067ffffffffffffffff82111715614dfd57614dfd614dc1565b6040525050565b600067ffffffffffffffff821115614e1e57614e1e614dc1565b5060051b60200190565b600082601f830112614e3957600080fd5b81356020614e4682614e04565b604051614e538282614dd7565b83815260059390931b8501820192828101915086841115614e7357600080fd5b8286015b84811015614e8e5780358352918301918301614e77565b509695505050505050565b600082601f830112614eaa57600080fd5b813567ffffffffffffffff811115614ec457614ec4614dc1565b604051614edb6020601f19601f8501160182614dd7565b818152846020838601011115614ef057600080fd5b816020850160208301376000918101602001919091529392505050565b600080600080600060a08688031215614f2557600080fd5b614f2e86614c4b565b9450614f3c60208701614c4b565b9350604086013567ffffffffffffffff80821115614f5957600080fd5b614f6589838a01614e28565b94506060880135915080821115614f7b57600080fd5b614f8789838a01614e28565b93506080880135915080821115614f9d57600080fd5b50614faa88828901614e99565b9150509295509295909350565b60008060408385031215614fca57600080fd5b82359150614fda60208401614c4b565b90509250929050565b634e487b7160e01b600052602160045260246000fd5b602081016005831061501b57634e487b7160e01b600052602160045260246000fd5b91905290565b60006020828403121561503357600080fd5b81356005811061159957600080fd5b6000806040838503121561505557600080fd5b823567ffffffffffffffff8082111561506d57600080fd5b818501915085601f83011261508157600080fd5b8135602061508e82614e04565b60405161509b8282614dd7565b83815260059390931b85018201928281019150898411156150bb57600080fd5b948201945b838610156150e0576150d186614c4b565b825294820194908201906150c0565b965050860135925050808211156150f657600080fd5b5061510385828601614e28565b9150509250929050565b600081518084526020808501945080840160005b8381101561513d57815187529582019590820190600101615121565b509495945050505050565b602081526000611599602083018461510d565b80358015158114614c6257600080fd5b6000806040838503121561517e57600080fd5b61518783614c4b565b9150614fda6020840161515b565b60008083601f8401126151a757600080fd5b50813567ffffffffffffffff8111156151bf57600080fd5b6020830191508360208260051b8501011115610df157600080fd5b6000806000604084860312156151ef57600080fd5b6151f884614d73565b9250602084013567ffffffffffffffff81111561521457600080fd5b61522086828701615195565b9497909650939450505050565b600080600080600080600060a0888a03121561524857600080fd5b873567ffffffffffffffff8082111561526057600080fd5b61526c8b838c01615195565b909950975060208a0135965060408a0135955060608a0135945060808a013591508082111561529a57600080fd5b818a0191508a601f8301126152ae57600080fd5b8135818111156152bd57600080fd5b8b60208285010111156152cf57600080fd5b60208301945080935050505092959891949750929550565b81835260007f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561531957600080fd5b8260051b80836020870137939093016020019392505050565b6020815260006136436020830184866152e7565b6000806040838503121561535957600080fd5b823567ffffffffffffffff8082111561537157600080fd5b61537d86838701614e28565b935060208501359150808211156150f657600080fd5b600080604083850312156153a657600080fd5b6153af83614c4b565b9150614fda60208401614c4b565b600080600080600060a086880312156153d557600080fd5b6153de86614c4b565b94506153ec60208701614c4b565b93506040860135925060608601359150608086013567ffffffffffffffff81111561541657600080fd5b614faa88828901614e99565b60006020828403121561543457600080fd5b6115998261515b565b600181811c9082168061545157607f821691505b60208210810361547157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b60008160001904831182151516156154a7576154a7615477565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826154d1576154d16154ac565b500490565b634e487b7160e01b600052603260045260246000fd5b600060001982036154ff576154ff615477565b5060010190565b600067ffffffffffffffff8083168185168183048111821515161561552d5761552d615477565b02949350505050565b80820180821115610a9b57610a9b615477565b60ff8181168382160190811115610a9b57610a9b615477565b61ffff8281168282160390808211156149f9576149f9615477565b634e487b7160e01b600052603160045260246000fd5b600060ff821660ff81036155a9576155a9615477565b60010192915050565b6080815260006155c66080830187896152e7565b6020830195909552506001600160a01b0392909216604083015260609091015292915050565b6040815260006155ff604083018561510d565b8281036020840152615611818561510d565b95945050505050565b600082615629576156296154ac565b500690565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351615666816017850160208801614cf5565b7f206973206d697373696e6720726f6c652000000000000000000000000000000060179184019182015283516156a3816028840160208801614cf5565b01602801949350505050565b6000602082840312156156c157600080fd5b5051919050565b600061ffff8083168181036156df576156df615477565b6001019392505050565b60006001600160a01b03808816835280871660208401525060a0604083015261571560a083018661510d565b8281036060840152615727818661510d565b9050828103608084015261573b8185614d19565b98975050505050505050565b60006020828403121561575957600080fd5b815161159981614c91565b600060033d111561577d5760046000803e5060005160e01c5b90565b600060443d101561578e5790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff81602484011181841117156157dc57505050505090565b82850191508151818111156157f45750505050505090565b843d870101602082850101111561580e5750505050505090565b61581d60208286010187614dd7565b509095945050505050565b60006001600160a01b03808816835280871660208401525084604083015283606083015260a0608083015261586060a0830184614d19565b979650505050505050565b60008161587a5761587a615477565b506000190190565b81810381811115610a9b57610a9b61547756fe68747470733a2f2f6d657461646174612e6d6f6e646f6d656761626974732e636f6d2f636f6e74726163746d61676e65743a3f78743d75726e3a627469683a3030303531396662653666356666623236663964353035623333343236356161306638623538633326646e3d4d6f6e646f2532304d6567616269747325323044726f70253230312532302d25323046616b6525323054656368a2646970667358221220957ff13e8b85d69bf79773a2a361fc36b8835e1450bb1458d582faaadef1a17e64736f6c63430008100033

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

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