ETH Price: $3,299.69 (-1.64%)

Token

Grimbogs (GRIMBOG)
 

Overview

Max Total Supply

10,000 GRIMBOG

Holders

3,083

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
1 GRIMBOG
0xE02A4807A4ac77B79a60e6F1e1E2374F69db0544
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:
Grimbogs

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : Grimbogs.sol
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

//                                                                        '^^^^^^^^^.
//                                                                   t&&&&%$$$$$$$$$%&&&v,
//                                                              {k#$$$$$$Z///////////w$$$$$Wak]
//                                                          -0k$$$dnn|???????????????????/nnk$$$b+
//                                                       <zm$$hYj?????????????????????????????ra$$$Zi
//                                                     lL$$*0u???????????????????????????????????c#$$JI
//                                                   :z$$WX????????????????????????????????????????U&$$u,
//                                                  {$$8L????????????????????????????????????????????0%$t`
//                                                .)$$BZ??????????????????????????????????????????????w@$$]
//                                                }$$p[????????????????????????????????????????????????[b$%-
//                                               }$$b)??????????????????????????????????????????????????)h$o~
//                                              [$$p[????????????????????????????????????????????????????fo$pi
//                                             [$$d{??????????????????????????????????????????????????????n#$t^
//                                            IJ$Mc????????????????????????????????????????????????????????b$$-
//                                            ]$$p????????????????????????????????????/nnnnnn/[?????????????b$Ol
//                                           ]$$p??????????????????????????????1/m@$$$$$$$$$$$$$$$J/}???????b$$_
//                                           }$@w????????????????????????????[0$$$%&&|        Y&&B$$$c]??????b$$_
//                                          ?@$d????????????????????????????JB$$x^.              '^0$$u??????b$$_
//                                          ]$$p????????????????????????????L$$M)                uM@$U}??????b$$_
//                                          ]$#v?????????????????????????????|p$$$$h0000000000#$$$$0n1????????k$@+
//                                         ?$$d?????????????????????????????????fYYk$$$$$$$$$oQYY|????????????k$$+
//                                         ?$$d????????????????/YYYYYYYYYYYYYt???????????????????????xYYYYu{??k$$+
//                                         ?$$d?????????)nnO$$$$$$$$$$$$$$$$$$$$qu/[?????????/nca$$$$$$$$$$$$$$$$r"
//                                         ?$$d??????}va$$$WkkQ_             /kkW$$$U?????)p$$$@*kkk-      Xkk8$$$+
//                                         ?$@p?????{C$B&X                        c$$Y???Z$$%1               `w$$$+
//                                        >d$d]?????v$$J                         nB$$Y???Z$$(             _p&B$$$$+
//                                        -$$d??????}J$$&kx                  /kM$$$0{????)p$$$$*kkkkkk8$$$$$$X/a$$+
//                                        -$$d????????)0$$$$$$*000000000a$$$$$$$wn(????????|nnn0W$$$%Lnnnnr}???]h$L;
//                                        -$$d????????????|YYYOM$$$$$$MOYYYYYt??????????????????????????????????k$$~
//                                        -$$d??????????????????????????????????????????????????????????????????k$$~
//                                        -$$d?????????????????????????????????????????????????/k@u?????????????k$$~
//                                       `/$h1?????????????????????????????????L@0{???????????)p@@u?????????????k$$~
//                                       -$$d??????????????????????????????????L@@@J[????????[w@@%n?????????????k$$~
//                                       -$$d??????????????????????????????????[0@@@%z?????08B@@z]??????????????k$$~
//                                       -$$d????????????????????????????????????1m@@@@@@@@@@@J|}???????????????k$$~
//                                      ip$h(???????????????????????????????????????/nnnnnnnn)??????????????????k$$~
//                                      -$$b????????????????????????????????????????????????????????????????????k$$~
//                                      -$$b????????????????????????????????????????????????????????????????????k$$~
//                                      -$8L????????????????????????????????????????????????????????????????????k$$~
//                                     _$$b?????????????????????????????????????????????????????????????????????k$$~
//                                     _$$b?????????????????????????????????????????????????????????????????????k$$~
//                                     _$$b?????????????????????????????????????????????????????????????????????k$$~
//                                     _$*j?????????????????????????????????????????????????????????????????????k$$~
//                                    _$$b??????????????????????????????????????????????????????????????????????k$$~
//                                    _$$b??????????????????????????????????????????????????????????????????????k$$~
//                                    _$$b??????????????????????????????????????????????????????????????????????k$$~
//                                   !p$k???????????????????????????????????????????????????????????????????????k$$~
//                                   +$$k???????????????????????????????????????????????????????????????????????{a$1'
//                                  .]$@d????????????????????????????????????????????????????????????????????????h$$~
//                                  +$$k?????????????????????????????????????????????????????????????????????????h$$~
//                                 IZ$@p?????????????????????????????????????????????????????????????????????????]h$$o!
//                                 ~$$k????????????????????????????????????????????????????????????????????????????j#$$wI
//                                ~$$Mu??????????????????????????????????????????????????????????????????????????????vW$$L,
//                               <$$WY?????????????????????????????????????????????????????????????????????????????????U&$${'
//                             ^j$$8L???????????1Q$q??????????????????????????????????????????????????????p@$C{??????????o$$t`
//                           '{$$Bm????????????n$$8Q???????????????????????????????????????????????????????O%$$r??????????qB$$[.
//                          +$$@k?????????????n$$@m?????????????????????????????????????????????????????????p@$$r???????????a@$o;
//                        l8$$o[?????????????x%$$p???????????????????????????????????????????????????????????[k$Bj???????????#$$8;
//                     ;ka$$#(??????????????jM$$p?????????????????????????????????????????????????????????????(a$$j???????????|M$$a,
//                   ,m$$8Qr????????????????x$$p???????????????????????????????????????????????????????????????f*$$f????????????r&$8:
//                ^zJ$$&c??????????????????x$$d??????????????????????????????????????????????????????????????????h$$f????????????c8$$U^
//              `x$$BaJ???????????????????r$$d????????????????????????????????????????????????????????????????????h$$j]????????????C%$$x'
//            .)$$BZ?????????????????????rB$&J?????????????????????????????????????????????????????????????????????h$$j]?????????????W$$).
//          ._$$@b??????????????????????[X$%O???????????????????????????????????????????????????????????????????????h$$t??????????????b@$$_
//        .<$$@#????????????????????????r$$b?????????????????????????????????????????????????????????????????????????a$$t???????????????#@$$;
//       >%$$8}????????????????????????j%$k[?????????????????????????????????????????????????????????????????????????[o$%/???????????????}8$$8`
//     'h$$%/?????????????????????????tM$$b???????????????????????????????????????????????????????????????????????????(#$#(????????????????/%$$'
//   .O$$Bx???????????????????????????j$$b?????????????????????????????????????????????????????????????????????????????X&$k)????????????????xB$$'
//  .$$BX????????????????????????????j$$h}??????????????????????????????????????????????????????????????????????????????o$$w1?????????????????%$$'

// Contract by: @backseats_eth

// Audited by: @SuperShyGuy0

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/common/ERC2981.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract Grimbogs is ERC721A, ERC2981, Ownable {
  using ECDSA for bytes32;

  // 10,000 Grimbogs that need a home
  uint256 public constant MAX_SUPPLY = 10_000;
  uint256 public constant TEAM_RESERVE = 50;

  uint256 public price = 0.125 ether;

  // The IPFS URI where our data can be found
  string public _baseTokenURI;

  // The Merkle root for our allow list
  bytes32 public merkleRoot;

  // Tracking if an address minted during the claim period
  mapping(address => bool) public claimMinted;

  // Tracking nonces used to provent botting
  mapping(string => bool) public usedNonces;

  // Tracks which token Ids from the below collections have been used to cliam Grimbogs. These can be used before you buy one of these collections off of secondary
  mapping(uint256 => bool) public warpyIdsUsed;
  mapping(uint256 => bool) public fiveFiveFiveIdsUsed;
  mapping(uint256 => bool) public euphoricWorldIdsUsed;

  // The address of the private key that creates nonces and signs signatures for mint
  address public systemAddress;

  // The contract or wallet this contract withdraws to
  address public withdrawAddress;

  // A boolean representing whether the team has reserved their allotment
  bool public teamReserveUsed;

  // An enum and associated variable tracking the state of the mint
  enum MintState {
    CLOSED,
    PRESALE,
    OPEN
  }

  MintState public _mintState;

  // Constructor

  constructor() ERC721A("Grimbogs", "GRIMBOG") {}

  // Mint Functions

  /**
  * @notice Presale mint. Free to claim. Requires you to either be on the allow list, be a holder of EuphoricWorld, 555, or Warpy collections, or both.
  */
  function claimYourGrimbog(
    bytes32[] calldata _merkleProof,
    string memory _nonce,
    bytes calldata _signature,
    uint256[] calldata _warpyIds,
    uint256[] calldata _555Ids,
    uint256[] calldata _euphoricWorldIds
  ) external {
    require(_mintState == MintState.PRESALE, "Presale closed");
    require(msg.sender == tx.origin, "Real users only");
    require(!usedNonces[_nonce], "Nonce already used");
    require(isValidSignature(
      keccak256(
        abi.encodePacked(
          msg.sender,
          _nonce,
          _warpyIds,
          _555Ids,
          _euphoricWorldIds
        )
      ), _signature
    ), "Invalid signature");

    // Begin the count at 0. Minter could be on the allow list and entitled to 1 or a collector from the other collections and entitled to 1 Grimbog
    // per piece they own
    uint256 count = 0;

    // If your address is in the Merkle tree and you haven't minted, increase count to 1.
    bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
    if (MerkleProof.verify(_merkleProof, merkleRoot, leaf) && !claimMinted[msg.sender]) {
      unchecked { ++count; }
      claimMinted[msg.sender] = true;
    }

    // Check that the token IDs you're sending into the contract haven't been used to claim already
    // The mint site will validate that your wallet owns these pieces before sending the IDs in the various arrays this function takes
    uint256 warpyLength = _warpyIds.length;
    for(uint256 i; i < warpyLength;) {
      if (warpyIdsUsed[_warpyIds[i]] == false) {
        unchecked { ++count; }
        warpyIdsUsed[_warpyIds[i]] = true;
      }
      unchecked { ++i; }
    }

    uint256 fiveFiveFiveLength = _555Ids.length;
    for(uint256 i; i < fiveFiveFiveLength;) {
      if (fiveFiveFiveIdsUsed[_555Ids[i]] == false) {
        unchecked { ++count; }
        fiveFiveFiveIdsUsed[_555Ids[i]] = true;
      }
      unchecked { ++i; }
    }

    uint256 euphoricWorldLength = _euphoricWorldIds.length;
    for(uint256 i; i < euphoricWorldLength;) {
      if (euphoricWorldIdsUsed[_euphoricWorldIds[i]] == false) {
        unchecked { ++count; }
        euphoricWorldIdsUsed[_euphoricWorldIds[i]] = true;
      }
      unchecked { ++i; }
    }

    // Ensure that the current supply + what you can mint will not exceed the 10,000 piece collection
    require(totalSupply() + count <= MAX_SUPPLY, "Exceeds max supply");

    // Ensure nonce isn't re-used
    usedNonces[_nonce] = true;

    require(count > 0, "Can't mint 0");

    // Protect the Grimbogs!
    _mint(msg.sender, count);
  }

  /**
  * @notice Public sale functionality. Can only be invoked from bedbugsnft.com since it requires private key signing
  */
  function mintYourGrimbog(string calldata _nonce, uint _amount, bytes calldata _signature) external payable {
    require(_mintState == MintState.OPEN, "Mint closed");
    require(msg.sender == tx.origin, "Real users only");
    require(_amount < 6, "Mint 1-5");
    require(totalSupply() + _amount <= MAX_SUPPLY, 'Exceeds max supply');
    require(price * _amount == msg.value, "Wrong ETH amount");
    require(!usedNonces[_nonce], "Nonce already used");
    require(isValidSignature(keccak256(abi.encodePacked(msg.sender, _amount, _nonce)), _signature), "Invalid signature");

    usedNonces[_nonce] = true;

    _mint(msg.sender, _amount);
  }

  /**
  * @notice Allows the team to mint directly to addresses for marketing or promotional purposes
  */
  function promoMint(address _to, uint256 _amount) external onlyOwner {
    require(totalSupply() + _amount <= MAX_SUPPLY, 'Exceeds max supply');
    _mint(_to, _amount);
  }

  /**
  * @notice Reserves 50 Grimbogs for the team for marketing and promotional purposes
  */
  function teamReserve() external onlyOwner {
    require(!teamReserveUsed, "Already reserved");
    require(totalSupply() + TEAM_RESERVE <= MAX_SUPPLY, 'Exceeds max supply');

    teamReserveUsed = true;
    _mint(msg.sender, TEAM_RESERVE);
  }

  // Setters

  /**
  * @notice Sets the system address that corresponds to the private key signing on the server.
  * @dev Ensure that you update the private key on the server between testnet and mainnet deploys and that the address used here reflects the correct private key
  */
  function setSystemAddress(address _systemAddress) external onlyOwner {
    systemAddress = _systemAddress;
  }

  /**
  * @notice Sets the withdraw address of the contract for fund withdrawal
  */
  function setWithdrawAddress(address _address) external onlyOwner {
    withdrawAddress = _address;
  }

  /**
  * @notice Sets the Merkle tree root for the presale/allowlist functionality
  */
  function setMerkleRoot(bytes32 _root) external onlyOwner {
    merkleRoot = _root;
  }

  /**
  @notice Sets the contract-wide royalty info
  */
  function setRoyaltyInfo(address receiver, uint96 feeBasisPoints) external onlyOwner {
    _setDefaultRoyalty(receiver, feeBasisPoints);
  }

  /**
  @notice Sets the baseURI for the collection
  */
  function setBaseURI(string calldata _baseURI) external onlyOwner {
    _baseTokenURI = _baseURI;
  }

  /**
  @notice Sets the mint state for the contract
  */
  function setMintState(uint256 status) external onlyOwner {
    require(status <= uint256(MintState.OPEN), "Bad status");

    _mintState = MintState(status);
  }

  /**
  * @notice Important: Set new price in wei (i.e. 50000000000000000 for 0.05 ETH)
  */
  function setPrice(uint _newPrice) external onlyOwner {
    price = _newPrice;
  }

  // View Functions

  /**
  * @notice Returns the starting token ID.
  */
  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }

  /**
  @notice Returns the baseURI of the collection
  */
  function _baseURI() internal view virtual override returns (string memory) {
    return _baseTokenURI;
  }

  /**
  * @notice Boilerplate to support ERC721A and ERC2981
  */
  function supportsInterface(bytes4 interfaceId) public view override (ERC721A, ERC2981) returns (bool) {
    return super.supportsInterface(interfaceId);
  }

  /**
  * @notice Checks if the private key that singed the nonce matches the system address of the contract
  */
  function isValidSignature(bytes32 hash, bytes calldata signature) internal view returns (bool) {
    require(systemAddress != address(0), "Missing system address");
    bytes32 signedHash = hash.toEthSignedMessageHash();
    return signedHash.recover(signature) == systemAddress;
  }

  // Withdraw

  function withdrawFunds() external onlyOwner {
    require(withdrawAddress != address(0), "Missing withdraw address");
    uint balance = address(this).balance;
    (bool sent, ) = withdrawAddress.call{value: balance}("");
    require(sent, "Withdraw failed");
  }

}

File 2 of 16 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/utils/Address.sol';
import '@openzeppelin/contracts/utils/Context.sol';
import '@openzeppelin/contracts/utils/Strings.sol';
import '@openzeppelin/contracts/utils/introspection/ERC165.sol';

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..).
 *
 * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 *
 * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is Context, ERC165, IERC721A {
    using Address for address;
    using Strings for uint256;

    // The tokenId of the next token to be minted.
    uint256 internal _currentIndex;

    // The number of tokens burned.
    uint256 internal _burnCounter;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to ownership details
    // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details.
    mapping(uint256 => TokenOwnership) internal _ownerships;

    // Mapping owner address to address data
    mapping(address => AddressData) private _addressData;

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

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

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

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

    /**
     * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens.
     */
    function totalSupply() public view override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than _currentIndex - _startTokenId() times
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

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

    /**
     * @dev See {IERC721-balanceOf}.
     */
    function balanceOf(address owner) public view override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return uint256(_addressData[owner].balance);
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberMinted);
    }

    /**
     * Returns the number of tokens burned by or on behalf of `owner`.
     */
    function _numberBurned(address owner) internal view returns (uint256) {
        return uint256(_addressData[owner].numberBurned);
    }

    /**
     * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     */
    function _getAux(address owner) internal view returns (uint64) {
        return _addressData[owner].aux;
    }

    /**
     * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used).
     * If there are multiple variables, please pack them into a uint64.
     */
    function _setAux(address owner, uint64 aux) internal {
        _addressData[owner].aux = aux;
    }

    /**
     * Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around in the collection over time.
     */
    function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr) if (curr < _currentIndex) {
                TokenOwnership memory ownership = _ownerships[curr];
                if (!ownership.burned) {
                    if (ownership.addr != address(0)) {
                        return ownership;
                    }
                    // Invariant:
                    // There will always be an ownership that has an address and is not burned
                    // before an ownership that does not have an address and is not burned.
                    // Hence, curr will not underflow.
                    while (true) {
                        curr--;
                        ownership = _ownerships[curr];
                        if (ownership.addr != address(0)) {
                            return ownership;
                        }
                    }
                }
            }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _ownershipOf(tokenId).addr;
    }

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!_exists(tokenId)) revert URIQueryForNonexistentToken();

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        if (to == owner) revert ApprovalToCurrentOwner();

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

        _approve(to, tokenId, owner);
    }

    /**
     * @dev See {IERC721-getApproved}.
     */
    function getApproved(uint256 tokenId) public view override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId];
    }

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

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_msgSender(), operator, approved);
    }

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

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

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        _transfer(from, to, tokenId);
        if (to.isContract()) if(!_checkContractOnERC721Received(from, to, tokenId, _data)) {
            revert TransferToNonERC721ReceiverImplementer();
        }
    }

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

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

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

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            if (to.isContract()) {
                do {
                    emit Transfer(address(0), to, updatedIndex);
                    if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (updatedIndex < end);
                // Reentrancy protection
                if (_currentIndex != startTokenId) revert();
            } else {
                do {
                    emit Transfer(address(0), to, updatedIndex++);
                } while (updatedIndex < end);
            }
            _currentIndex = updatedIndex;
        }
        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 quantity) internal {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1
        // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint64(quantity);
            _addressData[to].numberMinted += uint64(quantity);

            _ownerships[startTokenId].addr = to;
            _ownerships[startTokenId].startTimestamp = uint64(block.timestamp);

            uint256 updatedIndex = startTokenId;
            uint256 end = updatedIndex + quantity;

            do {
                emit Transfer(address(0), to, updatedIndex++);
            } while (updatedIndex < end);

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) private {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        if (prevOwnership.addr != from) revert TransferFromIncorrectOwner();

        bool isApprovedOrOwner = (_msgSender() == from ||
            isApprovedForAll(from, _msgSender()) ||
            getApproved(tokenId) == _msgSender());

        if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            _addressData[from].balance -= 1;
            _addressData[to].balance += 1;

            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = to;
            currSlot.startTimestamp = uint64(block.timestamp);

            // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, to, tokenId);
        _afterTokenTransfers(from, to, tokenId, 1);
    }

    /**
     * @dev Equivalent to `_burn(tokenId, false)`.
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId, bool approvalCheck) internal virtual {
        TokenOwnership memory prevOwnership = _ownershipOf(tokenId);

        address from = prevOwnership.addr;

        if (approvalCheck) {
            bool isApprovedOrOwner = (_msgSender() == from ||
                isApprovedForAll(from, _msgSender()) ||
                getApproved(tokenId) == _msgSender());

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

        _beforeTokenTransfers(from, address(0), tokenId, 1);

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

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256.
        unchecked {
            AddressData storage addressData = _addressData[from];
            addressData.balance -= 1;
            addressData.numberBurned += 1;

            // Keep track of who burned the token, and the timestamp of burning.
            TokenOwnership storage currSlot = _ownerships[tokenId];
            currSlot.addr = from;
            currSlot.startTimestamp = uint64(block.timestamp);
            currSlot.burned = true;

            // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it.
            // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
            uint256 nextTokenId = tokenId + 1;
            TokenOwnership storage nextSlot = _ownerships[nextTokenId];
            if (nextSlot.addr == address(0)) {
                // This will suffice for checking _exists(nextTokenId),
                // as a burned slot cannot contain the zero address.
                if (nextTokenId != _currentIndex) {
                    nextSlot.addr = from;
                    nextSlot.startTimestamp = prevOwnership.startTimestamp;
                }
            }
        }

        emit Transfer(from, address(0), tokenId);
        _afterTokenTransfers(from, address(0), tokenId, 1);

        // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times.
        unchecked {
            _burnCounter++;
        }
    }

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

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

    /**
     * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
     * And also called before burning one token.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, `tokenId` will be burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _beforeTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}

    /**
     * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
     * minting.
     * And also called after one token has been burned.
     *
     * startTokenId - the first token id to be transferred
     * quantity - the amount to be transferred
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been
     * transferred to `to`.
     * - When `from` is zero, `tokenId` has been minted for `to`.
     * - When `to` is zero, `tokenId` has been burned by `from`.
     * - `from` and `to` are never both zero.
     */
    function _afterTokenTransfers(
        address from,
        address to,
        uint256 startTokenId,
        uint256 quantity
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 16 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.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:
     *
     * - `tokenId` must be already minted.
     * - `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 5 of 16 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        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.
            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 if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } 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 6 of 16 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees 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 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++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = _efficientHash(computedHash, proofElement);
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = _efficientHash(proofElement, computedHash);
            }
        }
        return computedHash;
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 of 16 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v3.3.0
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol';

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

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

    /**
     * The caller cannot approve to their own address.
     */
    error ApproveToCaller();

    /**
     * The caller cannot approve to the current owner.
     */
    error ApprovalToCurrentOwner();

    /**
     * Cannot query the balance for the zero address.
     */
    error BalanceQueryForZeroAddress();

    /**
     * Cannot mint to the zero address.
     */
    error MintToZeroAddress();

    /**
     * The quantity of tokens minted must be more than zero.
     */
    error MintZeroQuantity();

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

    /**
     * The caller must own the token or be an approved operator.
     */
    error TransferCallerNotOwnerNorApproved();

    /**
     * The token must be owned by `from`.
     */
    error TransferFromIncorrectOwner();

    /**
     * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface.
     */
    error TransferToNonERC721ReceiverImplementer();

    /**
     * Cannot transfer to the zero address.
     */
    error TransferToZeroAddress();

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

    // Compiler will pack this into a single 256bit word.
    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Keeps track of the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
    }

    // Compiler will pack this into a single 256bit word.
    struct AddressData {
        // Realistically, 2**64-1 is more than enough.
        uint64 balance;
        // Keeps track of mint count with minimal overhead for tokenomics.
        uint64 numberMinted;
        // Keeps track of burn count with minimal overhead for tokenomics.
        uint64 numberBurned;
        // For miscellaneous variable(s) pertaining to the address
        // (e.g. number of whitelist mint slots used).
        // If there are multiple variables, please pack them into a uint64.
        uint64 aux;
    }

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     * 
     * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens.
     */
    function totalSupply() external view returns (uint256);
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 16 : 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 11 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 15 of 16 : 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 16 of 16 : 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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"TEAM_RESERVE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_mintState","outputs":[{"internalType":"enum Grimbogs.MintState","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"},{"internalType":"string","name":"_nonce","type":"string"},{"internalType":"bytes","name":"_signature","type":"bytes"},{"internalType":"uint256[]","name":"_warpyIds","type":"uint256[]"},{"internalType":"uint256[]","name":"_555Ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_euphoricWorldIds","type":"uint256[]"}],"name":"claimYourGrimbog","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"euphoricWorldIdsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"fiveFiveFiveIdsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_nonce","type":"string"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"mintYourGrimbog","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"promoMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"status","type":"uint256"}],"name":"setMintState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeBasisPoints","type":"uint96"}],"name":"setRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_systemAddress","type":"address"}],"name":"setSystemAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setWithdrawAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"systemAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamReserve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"teamReserveUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"usedNonces","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"warpyIdsUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawFunds","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526701bc16d674ec8000600b553480156200001d57600080fd5b506040518060400160405280600881526020017f4772696d626f67730000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f4752494d424f47000000000000000000000000000000000000000000000000008152508160029080519060200190620000a2929190620001d1565b508060039080519060200190620000bb929190620001d1565b50620000cc620000fa60201b60201c565b6000819055505050620000f4620000e86200010360201b60201c565b6200010b60201b60201c565b620002e6565b60006001905090565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001df90620002b0565b90600052602060002090601f0160209004810192826200020357600085556200024f565b82601f106200021e57805160ff19168380011785556200024f565b828001600101855582156200024f579182015b828111156200024e57825182559160200191906001019062000231565b5b5090506200025e919062000262565b5090565b5b808211156200027d57600081600090555060010162000263565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002c957607f821691505b60208210811415620002e057620002df62000281565b5b50919050565b615f5b80620002f66000396000f3fe6080604052600436106102675760003560e01c8063715018a611610144578063a779240a116100b6578063cfc86f7b1161007a578063cfc86f7b1461091c578063d3e848f114610947578063e4f376f014610972578063e5408eae146109af578063e985e9c5146109da578063f2fde38b14610a1757610267565b8063a779240a14610811578063ab9795461461083c578063b88d4fde14610879578063b8946878146108a2578063c87b56dd146108df57610267565b8063935449de11610108578063935449de1461070357806395d89b411461072c5780639619918e14610757578063a035b1fe14610794578063a22cb465146107bf578063a2a3eb4d146107e857610267565b8063715018a61461065357806375f52d191461066a5780637cb64759146106865780638da5cb5b146106af57806391b7f5ed146106da57610267565b80632a55205a116101dd5780634287f14a116101a15780634287f14a1461053157806355f804b3146105485780636352211e146105715780636c81ec61146105ae5780636f3a1b40146105eb57806370a082311461061657610267565b80632a55205a1461044b5780632eb4a7ab1461048957806332cb6b0c146104b45780633ab1a494146104df57806342842e0e1461050857610267565b8063095ea7b31161022f578063095ea7b3146103635780630bb862d11461038c5780631581b600146103b557806318160ddd146103e057806323b872dd1461040b57806324600fc31461043457610267565b806301ffc9a71461026c57806302fa7c47146102a957806306210197146102d257806306fdde03146102fb578063081812fc14610326575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190614298565b610a40565b6040516102a091906142e0565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb919061439d565b610a52565b005b3480156102de57600080fd5b506102f960048036038101906102f491906143dd565b610adc565b005b34801561030757600080fd5b50610310610b9c565b60405161031d91906144a3565b60405180910390f35b34801561033257600080fd5b5061034d600480360381019061034891906144fb565b610c2e565b60405161035a9190614537565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190614552565b610caa565b005b34801561039857600080fd5b506103b360048036038101906103ae91906144fb565b610daf565b005b3480156103c157600080fd5b506103ca610ebf565b6040516103d79190614537565b60405180910390f35b3480156103ec57600080fd5b506103f5610ee5565b60405161040291906145a1565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d91906145bc565b610efc565b005b34801561044057600080fd5b50610449610f0c565b005b34801561045757600080fd5b50610472600480360381019061046d919061460f565b6110f1565b60405161048092919061464f565b60405180910390f35b34801561049557600080fd5b5061049e6112dc565b6040516104ab9190614691565b60405180910390f35b3480156104c057600080fd5b506104c96112e2565b6040516104d691906145a1565b60405180910390f35b3480156104eb57600080fd5b50610506600480360381019061050191906143dd565b6112e8565b005b34801561051457600080fd5b5061052f600480360381019061052a91906145bc565b6113a8565b005b34801561053d57600080fd5b506105466113c8565b005b34801561055457600080fd5b5061056f600480360381019061056a9190614711565b611511565b005b34801561057d57600080fd5b50610598600480360381019061059391906144fb565b6115a3565b6040516105a59190614537565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d091906144fb565b6115b9565b6040516105e291906142e0565b60405180910390f35b3480156105f757600080fd5b506106006115d9565b60405161060d91906147d5565b60405180910390f35b34801561062257600080fd5b5061063d600480360381019061063891906143dd565b6115ec565b60405161064a91906145a1565b60405180910390f35b34801561065f57600080fd5b506106686116bc565b005b610684600480360381019061067f9190614846565b611744565b005b34801561069257600080fd5b506106ad60048036038101906106a89190614907565b611a3e565b005b3480156106bb57600080fd5b506106c4611ac4565b6040516106d19190614537565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc91906144fb565b611aee565b005b34801561070f57600080fd5b5061072a60048036038101906107259190614b10565b611b74565b005b34801561073857600080fd5b50610741612176565b60405161074e91906144a3565b60405180910390f35b34801561076357600080fd5b5061077e600480360381019061077991906144fb565b612208565b60405161078b91906142e0565b60405180910390f35b3480156107a057600080fd5b506107a9612228565b6040516107b691906145a1565b60405180910390f35b3480156107cb57600080fd5b506107e660048036038101906107e19190614c89565b61222e565b005b3480156107f457600080fd5b5061080f600480360381019061080a9190614552565b6123a6565b005b34801561081d57600080fd5b50610826612487565b60405161083391906142e0565b60405180910390f35b34801561084857600080fd5b50610863600480360381019061085e91906143dd565b612498565b60405161087091906142e0565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190614d6a565b6124b8565b005b3480156108ae57600080fd5b506108c960048036038101906108c491906144fb565b612530565b6040516108d691906142e0565b60405180910390f35b3480156108eb57600080fd5b50610906600480360381019061090191906144fb565b612550565b60405161091391906144a3565b60405180910390f35b34801561092857600080fd5b506109316125ef565b60405161093e91906144a3565b60405180910390f35b34801561095357600080fd5b5061095c61267d565b6040516109699190614537565b60405180910390f35b34801561097e57600080fd5b5061099960048036038101906109949190614ded565b6126a3565b6040516109a691906142e0565b60405180910390f35b3480156109bb57600080fd5b506109c46126d9565b6040516109d191906145a1565b60405180910390f35b3480156109e657600080fd5b50610a0160048036038101906109fc9190614e36565b6126de565b604051610a0e91906142e0565b60405180910390f35b348015610a2357600080fd5b50610a3e6004803603810190610a3991906143dd565b612772565b005b6000610a4b8261286a565b9050919050565b610a5a6128e4565b73ffffffffffffffffffffffffffffffffffffffff16610a78611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac590614ec2565b60405180910390fd5b610ad882826128ec565b5050565b610ae46128e4565b73ffffffffffffffffffffffffffffffffffffffff16610b02611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4f90614ec2565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060028054610bab90614f11565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd790614f11565b8015610c245780601f10610bf957610100808354040283529160200191610c24565b820191906000526020600020905b815481529060010190602001808311610c0757829003601f168201915b5050505050905090565b6000610c3982612a82565b610c6f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cb5826115a3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d1d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d3c6128e4565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f57610d6881610d636128e4565b6126de565b610d9e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610daa838383612ad0565b505050565b610db76128e4565b73ffffffffffffffffffffffffffffffffffffffff16610dd5611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2290614ec2565b60405180910390fd5b600280811115610e3e57610e3d61475e565b5b811115610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7790614f8f565b60405180910390fd5b806002811115610e9357610e9261475e565b5b601460156101000a81548160ff02191690836002811115610eb757610eb661475e565b5b021790555050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610eef612b82565b6001546000540303905090565b610f07838383612b8b565b505050565b610f146128e4565b73ffffffffffffffffffffffffffffffffffffffff16610f32611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7f90614ec2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561101a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101190614ffb565b60405180910390fd5b60004790506000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516110679061504c565b60006040518083038185875af1925050503d80600081146110a4576040519150601f19603f3d011682016040523d82523d6000602084013e6110a9565b606091505b50509050806110ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e4906150ad565b60405180910390fd5b5050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156112875760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611291613041565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112bd91906150fc565b6112c79190615185565b90508160000151819350935050509250929050565b600d5481565b61271081565b6112f06128e4565b73ffffffffffffffffffffffffffffffffffffffff1661130e611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90614ec2565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6113c3838383604051806020016040528060008152506124b8565b505050565b6113d06128e4565b73ffffffffffffffffffffffffffffffffffffffff166113ee611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90614ec2565b60405180910390fd5b60148054906101000a900460ff1615611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990615202565b60405180910390fd5b612710603261149f610ee5565b6114a99190615222565b11156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e1906152c4565b60405180910390fd5b60016014806101000a81548160ff02191690831515021790555061150f33603261304b565b565b6115196128e4565b73ffffffffffffffffffffffffffffffffffffffff16611537611ac4565b73ffffffffffffffffffffffffffffffffffffffff161461158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490614ec2565b60405180910390fd5b8181600c919061159e929190614146565b505050565b60006115ae82613327565b600001519050919050565b60126020528060005260406000206000915054906101000a900460ff1681565b601460159054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611654576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6116c46128e4565b73ffffffffffffffffffffffffffffffffffffffff166116e2611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172f90614ec2565b60405180910390fd5b61174260006135b2565b565b6002808111156117575761175661475e565b5b601460159054906101000a900460ff1660028111156117795761177861475e565b5b146117b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b090615330565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181e9061539c565b60405180910390fd5b6006831061186a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186190615408565b60405180910390fd5b61271083611876610ee5565b6118809190615222565b11156118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b8906152c4565b60405180910390fd5b3483600b546118d091906150fc565b14611910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190790615474565b60405180910390fd5b600f85856040516119229291906154c4565b908152602001604051809103902060009054906101000a900460ff161561197e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197590615529565b60405180910390fd5b6119b53384878760405160200161199894939291906155b2565b604051602081830303815290604052805190602001208383613678565b6119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90615639565b60405180910390fd5b6001600f8686604051611a089291906154c4565b908152602001604051809103902060006101000a81548160ff021916908315150217905550611a37338461304b565b5050505050565b611a466128e4565b73ffffffffffffffffffffffffffffffffffffffff16611a64611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614ec2565b60405180910390fd5b80600d8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611af66128e4565b73ffffffffffffffffffffffffffffffffffffffff16611b14611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190614ec2565b60405180910390fd5b80600b8190555050565b60016002811115611b8857611b8761475e565b5b601460159054906101000a900460ff166002811115611baa57611ba961475e565b5b14611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906156a5565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f9061539c565b60405180910390fd5b600f89604051611c6891906156f6565b908152602001604051809103902060009054906101000a900460ff1615611cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbb90615529565b60405180910390fd5b611d03338a888888888888604051602001611ce6989796959493929190615779565b604051602081830303815290604052805190602001208989613678565b611d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3990615639565b60405180910390fd5b60008033604051602001611d5691906157ce565b604051602081830303815290604052805190602001209050611dbc8d8d80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836137c9565b8015611e125750600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611e76578160010191506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600088889050905060005b81811015611f265760001515601060008c8c85818110611ea457611ea36157e9565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1615151415611f1b578360010193506001601060008c8c85818110611eee57611eed6157e9565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050611e81565b50600087879050905060005b81811015611fd75760001515601160008b8b85818110611f5557611f546157e9565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1615151415611fcc578460010194506001601160008b8b85818110611f9f57611f9e6157e9565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050611f32565b50600086869050905060005b818110156120885760001515601260008a8a85818110612006576120056157e9565b5b90506020020135815260200190815260200160002060009054906101000a900460ff161515141561207d578560010195506001601260008a8a858181106120505761204f6157e9565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050611fe3565b5061271085612095610ee5565b61209f9190615222565b11156120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d7906152c4565b60405180910390fd5b6001600f8f6040516120f291906156f6565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000851161215a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215190615864565b60405180910390fd5b612164338661304b565b50505050505050505050505050505050565b60606003805461218590614f11565b80601f01602080910402602001604051908101604052809291908181526020018280546121b190614f11565b80156121fe5780601f106121d3576101008083540402835291602001916121fe565b820191906000526020600020905b8154815290600101906020018083116121e157829003601f168201915b5050505050905090565b60106020528060005260406000206000915054906101000a900460ff1681565b600b5481565b6122366128e4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122a86128e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123556128e4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161239a91906142e0565b60405180910390a35050565b6123ae6128e4565b73ffffffffffffffffffffffffffffffffffffffff166123cc611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241990614ec2565b60405180910390fd5b6127108161242e610ee5565b6124389190615222565b1115612479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612470906152c4565b60405180910390fd5b612483828261304b565b5050565b60148054906101000a900460ff1681565b600e6020528060005260406000206000915054906101000a900460ff1681565b6124c3848484612b8b565b6124e28373ffffffffffffffffffffffffffffffffffffffff166137e0565b1561252a576124f384848484613803565b612529576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60116020528060005260406000206000915054906101000a900460ff1681565b606061255b82612a82565b612591576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061259b613954565b90506000815114156125bc57604051806020016040528060008152506125e7565b806125c6846139e6565b6040516020016125d7929190615884565b6040516020818303038152906040525b915050919050565b600c80546125fc90614f11565b80601f016020809104026020016040519081016040528092919081815260200182805461262890614f11565b80156126755780601f1061264a57610100808354040283529160200191612675565b820191906000526020600020905b81548152906001019060200180831161265857829003601f168201915b505050505081565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b603281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61277a6128e4565b73ffffffffffffffffffffffffffffffffffffffff16612798611ac4565b73ffffffffffffffffffffffffffffffffffffffff16146127ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e590614ec2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561285e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128559061591a565b60405180910390fd5b612867816135b2565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128dd57506128dc82613b47565b5b9050919050565b600033905090565b6128f4613041565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612952576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612949906159ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b990615a18565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612a8d612b82565b11158015612a9c575060005482105b8015612ac9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612b9682613327565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c01576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c226128e4565b73ffffffffffffffffffffffffffffffffffffffff161480612c515750612c5085612c4b6128e4565b6126de565b5b80612c965750612c5f6128e4565b73ffffffffffffffffffffffffffffffffffffffff16612c7e84610c2e565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ccf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d36576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d438585856001613c29565b612d4f60008487612ad0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612fcf576000548214612fce57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461303a8585856001613c2f565b5050505050565b6000612710905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130b8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156130f3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131006000848385613c29565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106132a3578160008190555050506133226000848385613c2f565b505050565b61332f6141cc565b60008290508061333d612b82565b1161357b5760005481101561357a576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161357857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461345c5780925050506135ad565b5b60011561357757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135725780925050506135ad565b61345d565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561370b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370290615a84565b60405180910390fd5b600061371685613c35565b9050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166137a885858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083613c6590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b6000826137d68584613c8c565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138296128e4565b8786866040518563ffffffff1660e01b815260040161384b9493929190615af9565b6020604051808303816000875af192505050801561388757506040513d601f19601f820116820180604052508101906138849190615b5a565b60015b613901573d80600081146138b7576040519150601f19603f3d011682016040523d82523d6000602084013e6138bc565b606091505b506000815114156138f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c805461396390614f11565b80601f016020809104026020016040519081016040528092919081815260200182805461398f90614f11565b80156139dc5780601f106139b1576101008083540402835291602001916139dc565b820191906000526020600020905b8154815290600101906020018083116139bf57829003601f168201915b5050505050905090565b60606000821415613a2e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b42565b600082905060005b60008214613a60578080613a4990615b87565b915050600a82613a599190615185565b9150613a36565b60008167ffffffffffffffff811115613a7c57613a7b61498f565b5b6040519080825280601f01601f191660200182016040528015613aae5781602001600182028036833780820191505090505b5090505b60008514613b3b57600182613ac79190615bd0565b9150600a85613ad69190615c04565b6030613ae29190615222565b60f81b818381518110613af857613af76157e9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613b349190615185565b9450613ab2565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613c1257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613c225750613c2182613d01565b5b9050919050565b50505050565b50505050565b600081604051602001613c489190615ca2565b604051602081830303815290604052805190602001209050919050565b6000806000613c748585613d6b565b91509150613c8181613dee565b819250505092915050565b60008082905060005b8451811015613cf6576000858281518110613cb357613cb26157e9565b5b60200260200101519050808311613cd557613cce8382613fc3565b9250613ce2565b613cdf8184613fc3565b92505b508080613cee90615b87565b915050613c95565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080604183511415613dad5760008060006020860151925060408601519150606086015160001a9050613da187828585613fda565b94509450505050613de7565b604083511415613dde576000806020850151915060408501519050613dd38683836140e7565b935093505050613de7565b60006002915091505b9250929050565b60006004811115613e0257613e0161475e565b5b816004811115613e1557613e1461475e565b5b1415613e2057613fc0565b60016004811115613e3457613e3361475e565b5b816004811115613e4757613e4661475e565b5b1415613e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7f90615d14565b60405180910390fd5b60026004811115613e9c57613e9b61475e565b5b816004811115613eaf57613eae61475e565b5b1415613ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee790615d80565b60405180910390fd5b60036004811115613f0457613f0361475e565b5b816004811115613f1757613f1661475e565b5b1415613f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4f90615e12565b60405180910390fd5b600480811115613f6b57613f6a61475e565b5b816004811115613f7e57613f7d61475e565b5b1415613fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb690615ea4565b60405180910390fd5b5b50565b600082600052816020526040600020905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156140155760006003915091506140de565b601b8560ff161415801561402d5750601c8560ff1614155b1561403f5760006004915091506140de565b6000600187878787604051600081526020016040526040516140649493929190615ee0565b6020604051602081039080840390855afa158015614086573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156140d5576000600192509250506140de565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61412a9190615222565b905061413887828885613fda565b935093505050935093915050565b82805461415290614f11565b90600052602060002090601f01602090048101928261417457600085556141bb565b82601f1061418d57803560ff19168380011785556141bb565b828001600101855582156141bb579182015b828111156141ba57823582559160200191906001019061419f565b5b5090506141c8919061420f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115614228576000816000905550600101614210565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61427581614240565b811461428057600080fd5b50565b6000813590506142928161426c565b92915050565b6000602082840312156142ae576142ad614236565b5b60006142bc84828501614283565b91505092915050565b60008115159050919050565b6142da816142c5565b82525050565b60006020820190506142f560008301846142d1565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614326826142fb565b9050919050565b6143368161431b565b811461434157600080fd5b50565b6000813590506143538161432d565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61437a81614359565b811461438557600080fd5b50565b60008135905061439781614371565b92915050565b600080604083850312156143b4576143b3614236565b5b60006143c285828601614344565b92505060206143d385828601614388565b9150509250929050565b6000602082840312156143f3576143f2614236565b5b600061440184828501614344565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614444578082015181840152602081019050614429565b83811115614453576000848401525b50505050565b6000601f19601f8301169050919050565b60006144758261440a565b61447f8185614415565b935061448f818560208601614426565b61449881614459565b840191505092915050565b600060208201905081810360008301526144bd818461446a565b905092915050565b6000819050919050565b6144d8816144c5565b81146144e357600080fd5b50565b6000813590506144f5816144cf565b92915050565b60006020828403121561451157614510614236565b5b600061451f848285016144e6565b91505092915050565b6145318161431b565b82525050565b600060208201905061454c6000830184614528565b92915050565b6000806040838503121561456957614568614236565b5b600061457785828601614344565b9250506020614588858286016144e6565b9150509250929050565b61459b816144c5565b82525050565b60006020820190506145b66000830184614592565b92915050565b6000806000606084860312156145d5576145d4614236565b5b60006145e386828701614344565b93505060206145f486828701614344565b9250506040614605868287016144e6565b9150509250925092565b6000806040838503121561462657614625614236565b5b6000614634858286016144e6565b9250506020614645858286016144e6565b9150509250929050565b60006040820190506146646000830185614528565b6146716020830184614592565b9392505050565b6000819050919050565b61468b81614678565b82525050565b60006020820190506146a66000830184614682565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126146d1576146d06146ac565b5b8235905067ffffffffffffffff8111156146ee576146ed6146b1565b5b60208301915083600182028301111561470a576147096146b6565b5b9250929050565b6000806020838503121561472857614727614236565b5b600083013567ffffffffffffffff8111156147465761474561423b565b5b614752858286016146bb565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061479e5761479d61475e565b5b50565b60008190506147af8261478d565b919050565b60006147bf826147a1565b9050919050565b6147cf816147b4565b82525050565b60006020820190506147ea60008301846147c6565b92915050565b60008083601f840112614806576148056146ac565b5b8235905067ffffffffffffffff811115614823576148226146b1565b5b60208301915083600182028301111561483f5761483e6146b6565b5b9250929050565b60008060008060006060868803121561486257614861614236565b5b600086013567ffffffffffffffff8111156148805761487f61423b565b5b61488c888289016146bb565b9550955050602061489f888289016144e6565b935050604086013567ffffffffffffffff8111156148c0576148bf61423b565b5b6148cc888289016147f0565b92509250509295509295909350565b6148e481614678565b81146148ef57600080fd5b50565b600081359050614901816148db565b92915050565b60006020828403121561491d5761491c614236565b5b600061492b848285016148f2565b91505092915050565b60008083601f84011261494a576149496146ac565b5b8235905067ffffffffffffffff811115614967576149666146b1565b5b602083019150836020820283011115614983576149826146b6565b5b9250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149c782614459565b810181811067ffffffffffffffff821117156149e6576149e561498f565b5b80604052505050565b60006149f961422c565b9050614a0582826149be565b919050565b600067ffffffffffffffff821115614a2557614a2461498f565b5b614a2e82614459565b9050602081019050919050565b82818337600083830152505050565b6000614a5d614a5884614a0a565b6149ef565b905082815260208101848484011115614a7957614a7861498a565b5b614a84848285614a3b565b509392505050565b600082601f830112614aa157614aa06146ac565b5b8135614ab1848260208601614a4a565b91505092915050565b60008083601f840112614ad057614acf6146ac565b5b8235905067ffffffffffffffff811115614aed57614aec6146b1565b5b602083019150836020820283011115614b0957614b086146b6565b5b9250929050565b600080600080600080600080600080600060c08c8e031215614b3557614b34614236565b5b60008c013567ffffffffffffffff811115614b5357614b5261423b565b5b614b5f8e828f01614934565b9b509b505060208c013567ffffffffffffffff811115614b8257614b8161423b565b5b614b8e8e828f01614a8c565b99505060408c013567ffffffffffffffff811115614baf57614bae61423b565b5b614bbb8e828f016147f0565b985098505060608c013567ffffffffffffffff811115614bde57614bdd61423b565b5b614bea8e828f01614aba565b965096505060808c013567ffffffffffffffff811115614c0d57614c0c61423b565b5b614c198e828f01614aba565b945094505060a08c013567ffffffffffffffff811115614c3c57614c3b61423b565b5b614c488e828f01614aba565b92509250509295989b509295989b9093969950565b614c66816142c5565b8114614c7157600080fd5b50565b600081359050614c8381614c5d565b92915050565b60008060408385031215614ca057614c9f614236565b5b6000614cae85828601614344565b9250506020614cbf85828601614c74565b9150509250929050565b600067ffffffffffffffff821115614ce457614ce361498f565b5b614ced82614459565b9050602081019050919050565b6000614d0d614d0884614cc9565b6149ef565b905082815260208101848484011115614d2957614d2861498a565b5b614d34848285614a3b565b509392505050565b600082601f830112614d5157614d506146ac565b5b8135614d61848260208601614cfa565b91505092915050565b60008060008060808587031215614d8457614d83614236565b5b6000614d9287828801614344565b9450506020614da387828801614344565b9350506040614db4878288016144e6565b925050606085013567ffffffffffffffff811115614dd557614dd461423b565b5b614de187828801614d3c565b91505092959194509250565b600060208284031215614e0357614e02614236565b5b600082013567ffffffffffffffff811115614e2157614e2061423b565b5b614e2d84828501614a8c565b91505092915050565b60008060408385031215614e4d57614e4c614236565b5b6000614e5b85828601614344565b9250506020614e6c85828601614344565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614eac602083614415565b9150614eb782614e76565b602082019050919050565b60006020820190508181036000830152614edb81614e9f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614f2957607f821691505b60208210811415614f3d57614f3c614ee2565b5b50919050565b7f4261642073746174757300000000000000000000000000000000000000000000600082015250565b6000614f79600a83614415565b9150614f8482614f43565b602082019050919050565b60006020820190508181036000830152614fa881614f6c565b9050919050565b7f4d697373696e6720776974686472617720616464726573730000000000000000600082015250565b6000614fe5601883614415565b9150614ff082614faf565b602082019050919050565b6000602082019050818103600083015261501481614fd8565b9050919050565b600081905092915050565b50565b600061503660008361501b565b915061504182615026565b600082019050919050565b600061505782615029565b9150819050919050565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b6000615097600f83614415565b91506150a282615061565b602082019050919050565b600060208201905081810360008301526150c68161508a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000615107826144c5565b9150615112836144c5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514b5761514a6150cd565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615190826144c5565b915061519b836144c5565b9250826151ab576151aa615156565b5b828204905092915050565b7f416c726561647920726573657276656400000000000000000000000000000000600082015250565b60006151ec601083614415565b91506151f7826151b6565b602082019050919050565b6000602082019050818103600083015261521b816151df565b9050919050565b600061522d826144c5565b9150615238836144c5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561526d5761526c6150cd565b5b828201905092915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006152ae601283614415565b91506152b982615278565b602082019050919050565b600060208201905081810360008301526152dd816152a1565b9050919050565b7f4d696e7420636c6f736564000000000000000000000000000000000000000000600082015250565b600061531a600b83614415565b9150615325826152e4565b602082019050919050565b600060208201905081810360008301526153498161530d565b9050919050565b7f5265616c207573657273206f6e6c790000000000000000000000000000000000600082015250565b6000615386600f83614415565b915061539182615350565b602082019050919050565b600060208201905081810360008301526153b581615379565b9050919050565b7f4d696e7420312d35000000000000000000000000000000000000000000000000600082015250565b60006153f2600883614415565b91506153fd826153bc565b602082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f57726f6e672045544820616d6f756e7400000000000000000000000000000000600082015250565b600061545e601083614415565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b600081905092915050565b60006154ab8385615494565b93506154b8838584614a3b565b82840190509392505050565b60006154d182848661549f565b91508190509392505050565b7f4e6f6e636520616c726561647920757365640000000000000000000000000000600082015250565b6000615513601283614415565b915061551e826154dd565b602082019050919050565b6000602082019050818103600083015261554281615506565b9050919050565b60008160601b9050919050565b600061556182615549565b9050919050565b600061557382615556565b9050919050565b61558b6155868261431b565b615568565b82525050565b6000819050919050565b6155ac6155a7826144c5565b615591565b82525050565b60006155be828761557a565b6014820191506155ce828661559b565b6020820191506155df82848661549f565b915081905095945050505050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000615623601183614415565b915061562e826155ed565b602082019050919050565b6000602082019050818103600083015261565281615616565b9050919050565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b600061568f600e83614415565b915061569a82615659565b602082019050919050565b600060208201905081810360008301526156be81615682565b9050919050565b60006156d08261440a565b6156da8185615494565b93506156ea818560208601614426565b80840191505092915050565b600061570282846156c5565b915081905092915050565b600081905092915050565b600080fd5b6000615729838561570d565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561575c5761575b615718565b5b60208302925061576d838584614a3b565b82840190509392505050565b6000615785828b61557a565b601482019150615795828a6156c5565b91506157a282888a61571d565b91506157af82868861571d565b91506157bc82848661571d565b91508190509998505050505050505050565b60006157da828461557a565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43616e2774206d696e7420300000000000000000000000000000000000000000600082015250565b600061584e600c83614415565b915061585982615818565b602082019050919050565b6000602082019050818103600083015261587d81615841565b9050919050565b600061589082856156c5565b915061589c82846156c5565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615904602683614415565b915061590f826158a8565b604082019050919050565b60006020820190508181036000830152615933816158f7565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615996602a83614415565b91506159a18261593a565b604082019050919050565b600060208201905081810360008301526159c581615989565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615a02601983614415565b9150615a0d826159cc565b602082019050919050565b60006020820190508181036000830152615a31816159f5565b9050919050565b7f4d697373696e672073797374656d206164647265737300000000000000000000600082015250565b6000615a6e601683614415565b9150615a7982615a38565b602082019050919050565b60006020820190508181036000830152615a9d81615a61565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615acb82615aa4565b615ad58185615aaf565b9350615ae5818560208601614426565b615aee81614459565b840191505092915050565b6000608082019050615b0e6000830187614528565b615b1b6020830186614528565b615b286040830185614592565b8181036060830152615b3a8184615ac0565b905095945050505050565b600081519050615b548161426c565b92915050565b600060208284031215615b7057615b6f614236565b5b6000615b7e84828501615b45565b91505092915050565b6000615b92826144c5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615bc557615bc46150cd565b5b600182019050919050565b6000615bdb826144c5565b9150615be6836144c5565b925082821015615bf957615bf86150cd565b5b828203905092915050565b6000615c0f826144c5565b9150615c1a836144c5565b925082615c2a57615c29615156565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615c6b601c83615494565b9150615c7682615c35565b601c82019050919050565b6000819050919050565b615c9c615c9782614678565b615c81565b82525050565b6000615cad82615c5e565b9150615cb98284615c8b565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615cfe601883614415565b9150615d0982615cc8565b602082019050919050565b60006020820190508181036000830152615d2d81615cf1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615d6a601f83614415565b9150615d7582615d34565b602082019050919050565b60006020820190508181036000830152615d9981615d5d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615dfc602283614415565b9150615e0782615da0565b604082019050919050565b60006020820190508181036000830152615e2b81615def565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e8e602283614415565b9150615e9982615e32565b604082019050919050565b60006020820190508181036000830152615ebd81615e81565b9050919050565b600060ff82169050919050565b615eda81615ec4565b82525050565b6000608082019050615ef56000830187614682565b615f026020830186615ed1565b615f0f6040830185614682565b615f1c6060830184614682565b9594505050505056fea2646970667358221220f5aa8dcd48abcf1b6f85c8b679574c35eaa4e79d820a81bd5f121aa509380e7564736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106102675760003560e01c8063715018a611610144578063a779240a116100b6578063cfc86f7b1161007a578063cfc86f7b1461091c578063d3e848f114610947578063e4f376f014610972578063e5408eae146109af578063e985e9c5146109da578063f2fde38b14610a1757610267565b8063a779240a14610811578063ab9795461461083c578063b88d4fde14610879578063b8946878146108a2578063c87b56dd146108df57610267565b8063935449de11610108578063935449de1461070357806395d89b411461072c5780639619918e14610757578063a035b1fe14610794578063a22cb465146107bf578063a2a3eb4d146107e857610267565b8063715018a61461065357806375f52d191461066a5780637cb64759146106865780638da5cb5b146106af57806391b7f5ed146106da57610267565b80632a55205a116101dd5780634287f14a116101a15780634287f14a1461053157806355f804b3146105485780636352211e146105715780636c81ec61146105ae5780636f3a1b40146105eb57806370a082311461061657610267565b80632a55205a1461044b5780632eb4a7ab1461048957806332cb6b0c146104b45780633ab1a494146104df57806342842e0e1461050857610267565b8063095ea7b31161022f578063095ea7b3146103635780630bb862d11461038c5780631581b600146103b557806318160ddd146103e057806323b872dd1461040b57806324600fc31461043457610267565b806301ffc9a71461026c57806302fa7c47146102a957806306210197146102d257806306fdde03146102fb578063081812fc14610326575b600080fd5b34801561027857600080fd5b50610293600480360381019061028e9190614298565b610a40565b6040516102a091906142e0565b60405180910390f35b3480156102b557600080fd5b506102d060048036038101906102cb919061439d565b610a52565b005b3480156102de57600080fd5b506102f960048036038101906102f491906143dd565b610adc565b005b34801561030757600080fd5b50610310610b9c565b60405161031d91906144a3565b60405180910390f35b34801561033257600080fd5b5061034d600480360381019061034891906144fb565b610c2e565b60405161035a9190614537565b60405180910390f35b34801561036f57600080fd5b5061038a60048036038101906103859190614552565b610caa565b005b34801561039857600080fd5b506103b360048036038101906103ae91906144fb565b610daf565b005b3480156103c157600080fd5b506103ca610ebf565b6040516103d79190614537565b60405180910390f35b3480156103ec57600080fd5b506103f5610ee5565b60405161040291906145a1565b60405180910390f35b34801561041757600080fd5b50610432600480360381019061042d91906145bc565b610efc565b005b34801561044057600080fd5b50610449610f0c565b005b34801561045757600080fd5b50610472600480360381019061046d919061460f565b6110f1565b60405161048092919061464f565b60405180910390f35b34801561049557600080fd5b5061049e6112dc565b6040516104ab9190614691565b60405180910390f35b3480156104c057600080fd5b506104c96112e2565b6040516104d691906145a1565b60405180910390f35b3480156104eb57600080fd5b50610506600480360381019061050191906143dd565b6112e8565b005b34801561051457600080fd5b5061052f600480360381019061052a91906145bc565b6113a8565b005b34801561053d57600080fd5b506105466113c8565b005b34801561055457600080fd5b5061056f600480360381019061056a9190614711565b611511565b005b34801561057d57600080fd5b50610598600480360381019061059391906144fb565b6115a3565b6040516105a59190614537565b60405180910390f35b3480156105ba57600080fd5b506105d560048036038101906105d091906144fb565b6115b9565b6040516105e291906142e0565b60405180910390f35b3480156105f757600080fd5b506106006115d9565b60405161060d91906147d5565b60405180910390f35b34801561062257600080fd5b5061063d600480360381019061063891906143dd565b6115ec565b60405161064a91906145a1565b60405180910390f35b34801561065f57600080fd5b506106686116bc565b005b610684600480360381019061067f9190614846565b611744565b005b34801561069257600080fd5b506106ad60048036038101906106a89190614907565b611a3e565b005b3480156106bb57600080fd5b506106c4611ac4565b6040516106d19190614537565b60405180910390f35b3480156106e657600080fd5b5061070160048036038101906106fc91906144fb565b611aee565b005b34801561070f57600080fd5b5061072a60048036038101906107259190614b10565b611b74565b005b34801561073857600080fd5b50610741612176565b60405161074e91906144a3565b60405180910390f35b34801561076357600080fd5b5061077e600480360381019061077991906144fb565b612208565b60405161078b91906142e0565b60405180910390f35b3480156107a057600080fd5b506107a9612228565b6040516107b691906145a1565b60405180910390f35b3480156107cb57600080fd5b506107e660048036038101906107e19190614c89565b61222e565b005b3480156107f457600080fd5b5061080f600480360381019061080a9190614552565b6123a6565b005b34801561081d57600080fd5b50610826612487565b60405161083391906142e0565b60405180910390f35b34801561084857600080fd5b50610863600480360381019061085e91906143dd565b612498565b60405161087091906142e0565b60405180910390f35b34801561088557600080fd5b506108a0600480360381019061089b9190614d6a565b6124b8565b005b3480156108ae57600080fd5b506108c960048036038101906108c491906144fb565b612530565b6040516108d691906142e0565b60405180910390f35b3480156108eb57600080fd5b50610906600480360381019061090191906144fb565b612550565b60405161091391906144a3565b60405180910390f35b34801561092857600080fd5b506109316125ef565b60405161093e91906144a3565b60405180910390f35b34801561095357600080fd5b5061095c61267d565b6040516109699190614537565b60405180910390f35b34801561097e57600080fd5b5061099960048036038101906109949190614ded565b6126a3565b6040516109a691906142e0565b60405180910390f35b3480156109bb57600080fd5b506109c46126d9565b6040516109d191906145a1565b60405180910390f35b3480156109e657600080fd5b50610a0160048036038101906109fc9190614e36565b6126de565b604051610a0e91906142e0565b60405180910390f35b348015610a2357600080fd5b50610a3e6004803603810190610a3991906143dd565b612772565b005b6000610a4b8261286a565b9050919050565b610a5a6128e4565b73ffffffffffffffffffffffffffffffffffffffff16610a78611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610ace576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac590614ec2565b60405180910390fd5b610ad882826128ec565b5050565b610ae46128e4565b73ffffffffffffffffffffffffffffffffffffffff16610b02611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610b58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4f90614ec2565b60405180910390fd5b80601360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b606060028054610bab90614f11565b80601f0160208091040260200160405190810160405280929190818152602001828054610bd790614f11565b8015610c245780601f10610bf957610100808354040283529160200191610c24565b820191906000526020600020905b815481529060010190602001808311610c0757829003601f168201915b5050505050905090565b6000610c3982612a82565b610c6f576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cb5826115a3565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d1d576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d3c6128e4565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f57610d6881610d636128e4565b6126de565b610d9e576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610daa838383612ad0565b505050565b610db76128e4565b73ffffffffffffffffffffffffffffffffffffffff16610dd5611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610e2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2290614ec2565b60405180910390fd5b600280811115610e3e57610e3d61475e565b5b811115610e80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7790614f8f565b60405180910390fd5b806002811115610e9357610e9261475e565b5b601460156101000a81548160ff02191690836002811115610eb757610eb661475e565b5b021790555050565b601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000610eef612b82565b6001546000540303905090565b610f07838383612b8b565b505050565b610f146128e4565b73ffffffffffffffffffffffffffffffffffffffff16610f32611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614610f88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f7f90614ec2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561101a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101190614ffb565b60405180910390fd5b60004790506000601460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16826040516110679061504c565b60006040518083038185875af1925050503d80600081146110a4576040519150601f19603f3d011682016040523d82523d6000602084013e6110a9565b606091505b50509050806110ed576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e4906150ad565b60405180910390fd5b5050565b6000806000600960008681526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614156112875760086040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a90046bffffffffffffffffffffffff166bffffffffffffffffffffffff166bffffffffffffffffffffffff168152505090505b6000611291613041565b6bffffffffffffffffffffffff1682602001516bffffffffffffffffffffffff16866112bd91906150fc565b6112c79190615185565b90508160000151819350935050509250929050565b600d5481565b61271081565b6112f06128e4565b73ffffffffffffffffffffffffffffffffffffffff1661130e611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611364576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135b90614ec2565b60405180910390fd5b80601460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6113c3838383604051806020016040528060008152506124b8565b505050565b6113d06128e4565b73ffffffffffffffffffffffffffffffffffffffff166113ee611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611444576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161143b90614ec2565b60405180910390fd5b60148054906101000a900460ff1615611492576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161148990615202565b60405180910390fd5b612710603261149f610ee5565b6114a99190615222565b11156114ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e1906152c4565b60405180910390fd5b60016014806101000a81548160ff02191690831515021790555061150f33603261304b565b565b6115196128e4565b73ffffffffffffffffffffffffffffffffffffffff16611537611ac4565b73ffffffffffffffffffffffffffffffffffffffff161461158d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161158490614ec2565b60405180910390fd5b8181600c919061159e929190614146565b505050565b60006115ae82613327565b600001519050919050565b60126020528060005260406000206000915054906101000a900460ff1681565b601460159054906101000a900460ff1681565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611654576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6116c46128e4565b73ffffffffffffffffffffffffffffffffffffffff166116e2611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611738576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161172f90614ec2565b60405180910390fd5b61174260006135b2565b565b6002808111156117575761175661475e565b5b601460159054906101000a900460ff1660028111156117795761177861475e565b5b146117b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117b090615330565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611827576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181e9061539c565b60405180910390fd5b6006831061186a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186190615408565b60405180910390fd5b61271083611876610ee5565b6118809190615222565b11156118c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b8906152c4565b60405180910390fd5b3483600b546118d091906150fc565b14611910576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190790615474565b60405180910390fd5b600f85856040516119229291906154c4565b908152602001604051809103902060009054906101000a900460ff161561197e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197590615529565b60405180910390fd5b6119b53384878760405160200161199894939291906155b2565b604051602081830303815290604052805190602001208383613678565b6119f4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119eb90615639565b60405180910390fd5b6001600f8686604051611a089291906154c4565b908152602001604051809103902060006101000a81548160ff021916908315150217905550611a37338461304b565b5050505050565b611a466128e4565b73ffffffffffffffffffffffffffffffffffffffff16611a64611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611aba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab190614ec2565b60405180910390fd5b80600d8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611af66128e4565b73ffffffffffffffffffffffffffffffffffffffff16611b14611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614611b6a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6190614ec2565b60405180910390fd5b80600b8190555050565b60016002811115611b8857611b8761475e565b5b601460159054906101000a900460ff166002811115611baa57611ba961475e565b5b14611bea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611be1906156a5565b60405180910390fd5b3273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4f9061539c565b60405180910390fd5b600f89604051611c6891906156f6565b908152602001604051809103902060009054906101000a900460ff1615611cc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cbb90615529565b60405180910390fd5b611d03338a888888888888604051602001611ce6989796959493929190615779565b604051602081830303815290604052805190602001208989613678565b611d42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d3990615639565b60405180910390fd5b60008033604051602001611d5691906157ce565b604051602081830303815290604052805190602001209050611dbc8d8d80806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600d54836137c9565b8015611e125750600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16155b15611e76578160010191506001600e60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505b600088889050905060005b81811015611f265760001515601060008c8c85818110611ea457611ea36157e9565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1615151415611f1b578360010193506001601060008c8c85818110611eee57611eed6157e9565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050611e81565b50600087879050905060005b81811015611fd75760001515601160008b8b85818110611f5557611f546157e9565b5b90506020020135815260200190815260200160002060009054906101000a900460ff1615151415611fcc578460010194506001601160008b8b85818110611f9f57611f9e6157e9565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050611f32565b50600086869050905060005b818110156120885760001515601260008a8a85818110612006576120056157e9565b5b90506020020135815260200190815260200160002060009054906101000a900460ff161515141561207d578560010195506001601260008a8a858181106120505761204f6157e9565b5b90506020020135815260200190815260200160002060006101000a81548160ff0219169083151502179055505b806001019050611fe3565b5061271085612095610ee5565b61209f9190615222565b11156120e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d7906152c4565b60405180910390fd5b6001600f8f6040516120f291906156f6565b908152602001604051809103902060006101000a81548160ff0219169083151502179055506000851161215a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161215190615864565b60405180910390fd5b612164338661304b565b50505050505050505050505050505050565b60606003805461218590614f11565b80601f01602080910402602001604051908101604052809291908181526020018280546121b190614f11565b80156121fe5780601f106121d3576101008083540402835291602001916121fe565b820191906000526020600020905b8154815290600101906020018083116121e157829003601f168201915b5050505050905090565b60106020528060005260406000206000915054906101000a900460ff1681565b600b5481565b6122366128e4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561229b576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006122a86128e4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166123556128e4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161239a91906142e0565b60405180910390a35050565b6123ae6128e4565b73ffffffffffffffffffffffffffffffffffffffff166123cc611ac4565b73ffffffffffffffffffffffffffffffffffffffff1614612422576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241990614ec2565b60405180910390fd5b6127108161242e610ee5565b6124389190615222565b1115612479576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612470906152c4565b60405180910390fd5b612483828261304b565b5050565b60148054906101000a900460ff1681565b600e6020528060005260406000206000915054906101000a900460ff1681565b6124c3848484612b8b565b6124e28373ffffffffffffffffffffffffffffffffffffffff166137e0565b1561252a576124f384848484613803565b612529576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b60116020528060005260406000206000915054906101000a900460ff1681565b606061255b82612a82565b612591576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061259b613954565b90506000815114156125bc57604051806020016040528060008152506125e7565b806125c6846139e6565b6040516020016125d7929190615884565b6040516020818303038152906040525b915050919050565b600c80546125fc90614f11565b80601f016020809104026020016040519081016040528092919081815260200182805461262890614f11565b80156126755780601f1061264a57610100808354040283529160200191612675565b820191906000526020600020905b81548152906001019060200180831161265857829003601f168201915b505050505081565b601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600f818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b603281565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61277a6128e4565b73ffffffffffffffffffffffffffffffffffffffff16612798611ac4565b73ffffffffffffffffffffffffffffffffffffffff16146127ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127e590614ec2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561285e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128559061591a565b60405180910390fd5b612867816135b2565b50565b60007f2a55205a000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806128dd57506128dc82613b47565b5b9050919050565b600033905090565b6128f4613041565b6bffffffffffffffffffffffff16816bffffffffffffffffffffffff161115612952576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612949906159ac565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156129c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129b990615a18565b60405180910390fd5b60405180604001604052808373ffffffffffffffffffffffffffffffffffffffff168152602001826bffffffffffffffffffffffff16815250600860008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a8154816bffffffffffffffffffffffff02191690836bffffffffffffffffffffffff1602179055509050505050565b600081612a8d612b82565b11158015612a9c575060005482105b8015612ac9575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b6000612b9682613327565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612c01576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612c226128e4565b73ffffffffffffffffffffffffffffffffffffffff161480612c515750612c5085612c4b6128e4565b6126de565b5b80612c965750612c5f6128e4565b73ffffffffffffffffffffffffffffffffffffffff16612c7e84610c2e565b73ffffffffffffffffffffffffffffffffffffffff16145b905080612ccf576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612d36576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d438585856001613c29565b612d4f60008487612ad0565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612fcf576000548214612fce57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461303a8585856001613c2f565b5050505050565b6000612710905090565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156130b8576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008214156130f3576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6131006000848385613c29565b81600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550826004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000819050600083820190505b818060010192508573ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a48082106132a3578160008190555050506133226000848385613c2f565b505050565b61332f6141cc565b60008290508061333d612b82565b1161357b5760005481101561357a576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050806040015161357857600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461345c5780925050506135ad565b5b60011561357757818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146135725780925050506135ad565b61345d565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b60008073ffffffffffffffffffffffffffffffffffffffff16601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561370b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161370290615a84565b60405180910390fd5b600061371685613c35565b9050601360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166137a885858080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505083613c6590919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff16149150509392505050565b6000826137d68584613c8c565b1490509392505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a026138296128e4565b8786866040518563ffffffff1660e01b815260040161384b9493929190615af9565b6020604051808303816000875af192505050801561388757506040513d601f19601f820116820180604052508101906138849190615b5a565b60015b613901573d80600081146138b7576040519150601f19603f3d011682016040523d82523d6000602084013e6138bc565b606091505b506000815114156138f9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600c805461396390614f11565b80601f016020809104026020016040519081016040528092919081815260200182805461398f90614f11565b80156139dc5780601f106139b1576101008083540402835291602001916139dc565b820191906000526020600020905b8154815290600101906020018083116139bf57829003601f168201915b5050505050905090565b60606000821415613a2e576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613b42565b600082905060005b60008214613a60578080613a4990615b87565b915050600a82613a599190615185565b9150613a36565b60008167ffffffffffffffff811115613a7c57613a7b61498f565b5b6040519080825280601f01601f191660200182016040528015613aae5781602001600182028036833780820191505090505b5090505b60008514613b3b57600182613ac79190615bd0565b9150600a85613ad69190615c04565b6030613ae29190615222565b60f81b818381518110613af857613af76157e9565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85613b349190615185565b9450613ab2565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613c1257507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613c225750613c2182613d01565b5b9050919050565b50505050565b50505050565b600081604051602001613c489190615ca2565b604051602081830303815290604052805190602001209050919050565b6000806000613c748585613d6b565b91509150613c8181613dee565b819250505092915050565b60008082905060005b8451811015613cf6576000858281518110613cb357613cb26157e9565b5b60200260200101519050808311613cd557613cce8382613fc3565b9250613ce2565b613cdf8184613fc3565b92505b508080613cee90615b87565b915050613c95565b508091505092915050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080604183511415613dad5760008060006020860151925060408601519150606086015160001a9050613da187828585613fda565b94509450505050613de7565b604083511415613dde576000806020850151915060408501519050613dd38683836140e7565b935093505050613de7565b60006002915091505b9250929050565b60006004811115613e0257613e0161475e565b5b816004811115613e1557613e1461475e565b5b1415613e2057613fc0565b60016004811115613e3457613e3361475e565b5b816004811115613e4757613e4661475e565b5b1415613e88576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613e7f90615d14565b60405180910390fd5b60026004811115613e9c57613e9b61475e565b5b816004811115613eaf57613eae61475e565b5b1415613ef0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613ee790615d80565b60405180910390fd5b60036004811115613f0457613f0361475e565b5b816004811115613f1757613f1661475e565b5b1415613f58576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613f4f90615e12565b60405180910390fd5b600480811115613f6b57613f6a61475e565b5b816004811115613f7e57613f7d61475e565b5b1415613fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613fb690615ea4565b60405180910390fd5b5b50565b600082600052816020526040600020905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156140155760006003915091506140de565b601b8560ff161415801561402d5750601c8560ff1614155b1561403f5760006004915091506140de565b6000600187878787604051600081526020016040526040516140649493929190615ee0565b6020604051602081039080840390855afa158015614086573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156140d5576000600192509250506140de565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c61412a9190615222565b905061413887828885613fda565b935093505050935093915050565b82805461415290614f11565b90600052602060002090601f01602090048101928261417457600085556141bb565b82601f1061418d57803560ff19168380011785556141bb565b828001600101855582156141bb579182015b828111156141ba57823582559160200191906001019061419f565b5b5090506141c8919061420f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115614228576000816000905550600101614210565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61427581614240565b811461428057600080fd5b50565b6000813590506142928161426c565b92915050565b6000602082840312156142ae576142ad614236565b5b60006142bc84828501614283565b91505092915050565b60008115159050919050565b6142da816142c5565b82525050565b60006020820190506142f560008301846142d1565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000614326826142fb565b9050919050565b6143368161431b565b811461434157600080fd5b50565b6000813590506143538161432d565b92915050565b60006bffffffffffffffffffffffff82169050919050565b61437a81614359565b811461438557600080fd5b50565b60008135905061439781614371565b92915050565b600080604083850312156143b4576143b3614236565b5b60006143c285828601614344565b92505060206143d385828601614388565b9150509250929050565b6000602082840312156143f3576143f2614236565b5b600061440184828501614344565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015614444578082015181840152602081019050614429565b83811115614453576000848401525b50505050565b6000601f19601f8301169050919050565b60006144758261440a565b61447f8185614415565b935061448f818560208601614426565b61449881614459565b840191505092915050565b600060208201905081810360008301526144bd818461446a565b905092915050565b6000819050919050565b6144d8816144c5565b81146144e357600080fd5b50565b6000813590506144f5816144cf565b92915050565b60006020828403121561451157614510614236565b5b600061451f848285016144e6565b91505092915050565b6145318161431b565b82525050565b600060208201905061454c6000830184614528565b92915050565b6000806040838503121561456957614568614236565b5b600061457785828601614344565b9250506020614588858286016144e6565b9150509250929050565b61459b816144c5565b82525050565b60006020820190506145b66000830184614592565b92915050565b6000806000606084860312156145d5576145d4614236565b5b60006145e386828701614344565b93505060206145f486828701614344565b9250506040614605868287016144e6565b9150509250925092565b6000806040838503121561462657614625614236565b5b6000614634858286016144e6565b9250506020614645858286016144e6565b9150509250929050565b60006040820190506146646000830185614528565b6146716020830184614592565b9392505050565b6000819050919050565b61468b81614678565b82525050565b60006020820190506146a66000830184614682565b92915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126146d1576146d06146ac565b5b8235905067ffffffffffffffff8111156146ee576146ed6146b1565b5b60208301915083600182028301111561470a576147096146b6565b5b9250929050565b6000806020838503121561472857614727614236565b5b600083013567ffffffffffffffff8111156147465761474561423b565b5b614752858286016146bb565b92509250509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6003811061479e5761479d61475e565b5b50565b60008190506147af8261478d565b919050565b60006147bf826147a1565b9050919050565b6147cf816147b4565b82525050565b60006020820190506147ea60008301846147c6565b92915050565b60008083601f840112614806576148056146ac565b5b8235905067ffffffffffffffff811115614823576148226146b1565b5b60208301915083600182028301111561483f5761483e6146b6565b5b9250929050565b60008060008060006060868803121561486257614861614236565b5b600086013567ffffffffffffffff8111156148805761487f61423b565b5b61488c888289016146bb565b9550955050602061489f888289016144e6565b935050604086013567ffffffffffffffff8111156148c0576148bf61423b565b5b6148cc888289016147f0565b92509250509295509295909350565b6148e481614678565b81146148ef57600080fd5b50565b600081359050614901816148db565b92915050565b60006020828403121561491d5761491c614236565b5b600061492b848285016148f2565b91505092915050565b60008083601f84011261494a576149496146ac565b5b8235905067ffffffffffffffff811115614967576149666146b1565b5b602083019150836020820283011115614983576149826146b6565b5b9250929050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6149c782614459565b810181811067ffffffffffffffff821117156149e6576149e561498f565b5b80604052505050565b60006149f961422c565b9050614a0582826149be565b919050565b600067ffffffffffffffff821115614a2557614a2461498f565b5b614a2e82614459565b9050602081019050919050565b82818337600083830152505050565b6000614a5d614a5884614a0a565b6149ef565b905082815260208101848484011115614a7957614a7861498a565b5b614a84848285614a3b565b509392505050565b600082601f830112614aa157614aa06146ac565b5b8135614ab1848260208601614a4a565b91505092915050565b60008083601f840112614ad057614acf6146ac565b5b8235905067ffffffffffffffff811115614aed57614aec6146b1565b5b602083019150836020820283011115614b0957614b086146b6565b5b9250929050565b600080600080600080600080600080600060c08c8e031215614b3557614b34614236565b5b60008c013567ffffffffffffffff811115614b5357614b5261423b565b5b614b5f8e828f01614934565b9b509b505060208c013567ffffffffffffffff811115614b8257614b8161423b565b5b614b8e8e828f01614a8c565b99505060408c013567ffffffffffffffff811115614baf57614bae61423b565b5b614bbb8e828f016147f0565b985098505060608c013567ffffffffffffffff811115614bde57614bdd61423b565b5b614bea8e828f01614aba565b965096505060808c013567ffffffffffffffff811115614c0d57614c0c61423b565b5b614c198e828f01614aba565b945094505060a08c013567ffffffffffffffff811115614c3c57614c3b61423b565b5b614c488e828f01614aba565b92509250509295989b509295989b9093969950565b614c66816142c5565b8114614c7157600080fd5b50565b600081359050614c8381614c5d565b92915050565b60008060408385031215614ca057614c9f614236565b5b6000614cae85828601614344565b9250506020614cbf85828601614c74565b9150509250929050565b600067ffffffffffffffff821115614ce457614ce361498f565b5b614ced82614459565b9050602081019050919050565b6000614d0d614d0884614cc9565b6149ef565b905082815260208101848484011115614d2957614d2861498a565b5b614d34848285614a3b565b509392505050565b600082601f830112614d5157614d506146ac565b5b8135614d61848260208601614cfa565b91505092915050565b60008060008060808587031215614d8457614d83614236565b5b6000614d9287828801614344565b9450506020614da387828801614344565b9350506040614db4878288016144e6565b925050606085013567ffffffffffffffff811115614dd557614dd461423b565b5b614de187828801614d3c565b91505092959194509250565b600060208284031215614e0357614e02614236565b5b600082013567ffffffffffffffff811115614e2157614e2061423b565b5b614e2d84828501614a8c565b91505092915050565b60008060408385031215614e4d57614e4c614236565b5b6000614e5b85828601614344565b9250506020614e6c85828601614344565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614eac602083614415565b9150614eb782614e76565b602082019050919050565b60006020820190508181036000830152614edb81614e9f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614f2957607f821691505b60208210811415614f3d57614f3c614ee2565b5b50919050565b7f4261642073746174757300000000000000000000000000000000000000000000600082015250565b6000614f79600a83614415565b9150614f8482614f43565b602082019050919050565b60006020820190508181036000830152614fa881614f6c565b9050919050565b7f4d697373696e6720776974686472617720616464726573730000000000000000600082015250565b6000614fe5601883614415565b9150614ff082614faf565b602082019050919050565b6000602082019050818103600083015261501481614fd8565b9050919050565b600081905092915050565b50565b600061503660008361501b565b915061504182615026565b600082019050919050565b600061505782615029565b9150819050919050565b7f5769746864726177206661696c65640000000000000000000000000000000000600082015250565b6000615097600f83614415565b91506150a282615061565b602082019050919050565b600060208201905081810360008301526150c68161508a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000615107826144c5565b9150615112836144c5565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561514b5761514a6150cd565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000615190826144c5565b915061519b836144c5565b9250826151ab576151aa615156565b5b828204905092915050565b7f416c726561647920726573657276656400000000000000000000000000000000600082015250565b60006151ec601083614415565b91506151f7826151b6565b602082019050919050565b6000602082019050818103600083015261521b816151df565b9050919050565b600061522d826144c5565b9150615238836144c5565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561526d5761526c6150cd565b5b828201905092915050565b7f45786365656473206d617820737570706c790000000000000000000000000000600082015250565b60006152ae601283614415565b91506152b982615278565b602082019050919050565b600060208201905081810360008301526152dd816152a1565b9050919050565b7f4d696e7420636c6f736564000000000000000000000000000000000000000000600082015250565b600061531a600b83614415565b9150615325826152e4565b602082019050919050565b600060208201905081810360008301526153498161530d565b9050919050565b7f5265616c207573657273206f6e6c790000000000000000000000000000000000600082015250565b6000615386600f83614415565b915061539182615350565b602082019050919050565b600060208201905081810360008301526153b581615379565b9050919050565b7f4d696e7420312d35000000000000000000000000000000000000000000000000600082015250565b60006153f2600883614415565b91506153fd826153bc565b602082019050919050565b60006020820190508181036000830152615421816153e5565b9050919050565b7f57726f6e672045544820616d6f756e7400000000000000000000000000000000600082015250565b600061545e601083614415565b915061546982615428565b602082019050919050565b6000602082019050818103600083015261548d81615451565b9050919050565b600081905092915050565b60006154ab8385615494565b93506154b8838584614a3b565b82840190509392505050565b60006154d182848661549f565b91508190509392505050565b7f4e6f6e636520616c726561647920757365640000000000000000000000000000600082015250565b6000615513601283614415565b915061551e826154dd565b602082019050919050565b6000602082019050818103600083015261554281615506565b9050919050565b60008160601b9050919050565b600061556182615549565b9050919050565b600061557382615556565b9050919050565b61558b6155868261431b565b615568565b82525050565b6000819050919050565b6155ac6155a7826144c5565b615591565b82525050565b60006155be828761557a565b6014820191506155ce828661559b565b6020820191506155df82848661549f565b915081905095945050505050565b7f496e76616c6964207369676e6174757265000000000000000000000000000000600082015250565b6000615623601183614415565b915061562e826155ed565b602082019050919050565b6000602082019050818103600083015261565281615616565b9050919050565b7f50726573616c6520636c6f736564000000000000000000000000000000000000600082015250565b600061568f600e83614415565b915061569a82615659565b602082019050919050565b600060208201905081810360008301526156be81615682565b9050919050565b60006156d08261440a565b6156da8185615494565b93506156ea818560208601614426565b80840191505092915050565b600061570282846156c5565b915081905092915050565b600081905092915050565b600080fd5b6000615729838561570d565b93507f07ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff83111561575c5761575b615718565b5b60208302925061576d838584614a3b565b82840190509392505050565b6000615785828b61557a565b601482019150615795828a6156c5565b91506157a282888a61571d565b91506157af82868861571d565b91506157bc82848661571d565b91508190509998505050505050505050565b60006157da828461557a565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f43616e2774206d696e7420300000000000000000000000000000000000000000600082015250565b600061584e600c83614415565b915061585982615818565b602082019050919050565b6000602082019050818103600083015261587d81615841565b9050919050565b600061589082856156c5565b915061589c82846156c5565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000615904602683614415565b915061590f826158a8565b604082019050919050565b60006020820190508181036000830152615933816158f7565b9050919050565b7f455243323938313a20726f79616c7479206665652077696c6c2065786365656460008201527f2073616c65507269636500000000000000000000000000000000000000000000602082015250565b6000615996602a83614415565b91506159a18261593a565b604082019050919050565b600060208201905081810360008301526159c581615989565b9050919050565b7f455243323938313a20696e76616c696420726563656976657200000000000000600082015250565b6000615a02601983614415565b9150615a0d826159cc565b602082019050919050565b60006020820190508181036000830152615a31816159f5565b9050919050565b7f4d697373696e672073797374656d206164647265737300000000000000000000600082015250565b6000615a6e601683614415565b9150615a7982615a38565b602082019050919050565b60006020820190508181036000830152615a9d81615a61565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615acb82615aa4565b615ad58185615aaf565b9350615ae5818560208601614426565b615aee81614459565b840191505092915050565b6000608082019050615b0e6000830187614528565b615b1b6020830186614528565b615b286040830185614592565b8181036060830152615b3a8184615ac0565b905095945050505050565b600081519050615b548161426c565b92915050565b600060208284031215615b7057615b6f614236565b5b6000615b7e84828501615b45565b91505092915050565b6000615b92826144c5565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415615bc557615bc46150cd565b5b600182019050919050565b6000615bdb826144c5565b9150615be6836144c5565b925082821015615bf957615bf86150cd565b5b828203905092915050565b6000615c0f826144c5565b9150615c1a836144c5565b925082615c2a57615c29615156565b5b828206905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000615c6b601c83615494565b9150615c7682615c35565b601c82019050919050565b6000819050919050565b615c9c615c9782614678565b615c81565b82525050565b6000615cad82615c5e565b9150615cb98284615c8b565b60208201915081905092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b6000615cfe601883614415565b9150615d0982615cc8565b602082019050919050565b60006020820190508181036000830152615d2d81615cf1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b6000615d6a601f83614415565b9150615d7582615d34565b602082019050919050565b60006020820190508181036000830152615d9981615d5d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615dfc602283614415565b9150615e0782615da0565b604082019050919050565b60006020820190508181036000830152615e2b81615def565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b6000615e8e602283614415565b9150615e9982615e32565b604082019050919050565b60006020820190508181036000830152615ebd81615e81565b9050919050565b600060ff82169050919050565b615eda81615ec4565b82525050565b6000608082019050615ef56000830187614682565b615f026020830186615ed1565b615f0f6040830185614682565b615f1c6060830184614682565b9594505050505056fea2646970667358221220f5aa8dcd48abcf1b6f85c8b679574c35eaa4e79d820a81bd5f121aa509380e7564736f6c634300080a0033

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.