ETH Price: $3,343.12 (-1.35%)

Contract

0x22d847F58E64c09F42a2c23544b2B154cb7093f2
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...214023522024-12-14 17:50:1114 days ago1734198611IN
SabertoothPokerClub: SPC Token
0 ETH0.0005179911.10085393
Set Approval For...214023392024-12-14 17:47:3514 days ago1734198455IN
SabertoothPokerClub: SPC Token
0 ETH0.0005034310.76933718
Set Approval For...207889442024-09-20 2:53:23100 days ago1726800803IN
SabertoothPokerClub: SPC Token
0 ETH0.000251585.39162947
Set Approval For...206978262024-09-07 9:28:47113 days ago1725701327IN
SabertoothPokerClub: SPC Token
0 ETH0.000177853.8055482
Set Approval For...203503562024-07-20 21:13:47161 days ago1721510027IN
SabertoothPokerClub: SPC Token
0 ETH0.000151653.25005823
Set Approval For...195580922024-04-01 2:42:11272 days ago1711939331IN
SabertoothPokerClub: SPC Token
0 ETH0.0007638616.36992844
Set Approval For...191562522024-02-04 16:52:35329 days ago1707065555IN
SabertoothPokerClub: SPC Token
0 ETH0.000479319.36513075
Set Approval For...184839372023-11-02 10:54:59423 days ago1698922499IN
SabertoothPokerClub: SPC Token
0 ETH0.0008511218.23982371
Set Approval For...175471612023-06-24 4:57:35554 days ago1687582655IN
SabertoothPokerClub: SPC Token
0 ETH0.0003230713.00871599
Transfer From165609642023-02-05 7:02:23693 days ago1675580543IN
SabertoothPokerClub: SPC Token
0 ETH0.0009904815.63413703
Set Approval For...164538112023-01-21 7:54:23708 days ago1674287663IN
SabertoothPokerClub: SPC Token
0 ETH0.0004547118.37153891
Safe Transfer Fr...163221442023-01-02 22:42:23726 days ago1672699343IN
SabertoothPokerClub: SPC Token
0 ETH0.0008107516.52036852
Set Approval For...162717242022-12-26 21:50:47733 days ago1672091447IN
SabertoothPokerClub: SPC Token
0 ETH0.0003064412.38116943
Set Approval For...162717082022-12-26 21:47:35733 days ago1672091255IN
SabertoothPokerClub: SPC Token
0 ETH0.0005658312.12595433
Set Approval For...161804122022-12-14 4:00:23746 days ago1670990423IN
SabertoothPokerClub: SPC Token
0 ETH0.0006726514.41518625
Safe Transfer Fr...161002232022-12-02 22:51:47757 days ago1670021507IN
SabertoothPokerClub: SPC Token
0 ETH0.000755711.41967767
Set Approval For...160127882022-11-20 17:42:35769 days ago1668966155IN
SabertoothPokerClub: SPC Token
0 ETH0.0006303813.50933673
Set Approval For...159715272022-11-14 23:21:23775 days ago1668468083IN
SabertoothPokerClub: SPC Token
0 ETH0.0004680118.84506351
Set Approval For...159485662022-11-11 18:28:47778 days ago1668191327IN
SabertoothPokerClub: SPC Token
0 ETH0.0004556718.41043364
Set Approval For...159067032022-11-05 22:09:35784 days ago1667686175IN
SabertoothPokerClub: SPC Token
0 ETH0.0006249613.3932178
Set Approval For...158490762022-10-28 20:53:59792 days ago1666990439IN
SabertoothPokerClub: SPC Token
0 ETH0.0011142223.8351166
Transfer From158096232022-10-23 8:29:23798 days ago1666513763IN
SabertoothPokerClub: SPC Token
0 ETH0.0006702710.58187225
Set Approval For...157901952022-10-20 15:26:35801 days ago1666279595IN
SabertoothPokerClub: SPC Token
0 ETH0.0009543338.55739952
Set Approval For...157043162022-10-08 15:37:35813 days ago1665243455IN
SabertoothPokerClub: SPC Token
0 ETH0.0005291511.34
Transfer From157042552022-10-08 15:25:23813 days ago1665242723IN
SabertoothPokerClub: SPC Token
0 ETH0.0006560710.35772413
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block
From
To
146161432022-04-19 14:50:30985 days ago1650379830
SabertoothPokerClub: SPC Token
10.81 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SPCSmartContract

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : SPCSmartContract.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import "erc721a/contracts/ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/draft-EIP712.sol";



contract SPCSmartContract is ERC721A, EIP712, Ownable {
    using Strings for uint256;
    
  string public baseURI;
  string public baseExtension = ".json";
  string public notRevealedUri;
  string private constant SIGNING_DOMAIN = "SMC";
  string private constant SIGNATURE_VERSION = "1";
  uint256 public cost = 0.06 ether;
  uint256 public referenceCost = 0.06 ether;
  uint256 public reservedCost = 0.00 ether;
  uint256 public maxSupply = 3334;
  uint256 public maxReserved = 200;
  bool public paused = true;
  bool public revealed = false;
  bool public onlyWhitelisted = true;
  address[] public reservedAddresses;

  constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI,
    string memory _initNotRevealedUri
  ) ERC721A(_name, _symbol) EIP712(SIGNING_DOMAIN, SIGNATURE_VERSION) {
    setBaseURI(_initBaseURI);
    setNotRevealedURI(_initNotRevealedUri);
  }

    // internal
    function _baseURI() internal view override returns (string memory) {
        return baseURI;
    }

  // public
  function mint(uint256 _mintAmount, bytes memory signature) external payable {
    require(!paused, "the contract is paused");
    cost = referenceCost;
    uint256 supply = totalSupply();
    require(_mintAmount > 0, "need to mint at least 1 NFT");
    if(msg.sender == owner() || isReserved(msg.sender)){
        require(supply + _mintAmount <= maxSupply, "max NFT limit exceeded");
        cost = reservedCost;
    }
    else{
        require(supply + _mintAmount <= maxSupply - maxReserved, "max NFT limit exceeded");
        if(onlyWhitelisted == true) {
            require(owner() == _verify(msg.sender, signature), "user is not whitelisted");
        }
        require(msg.value >= cost * _mintAmount, "insufficient funds");
    }
    _safeMint(msg.sender, _mintAmount);
  }

  function isReserved(address _user) public view returns (bool) {
    for (uint i = 0; i < reservedAddresses.length; i++) {
      if (reservedAddresses[i] == _user) {
          return true;
      }
    }
    return false;
  }

  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );
    
    if(revealed == false) {
        return notRevealedUri;
    }

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

  //only owner
  function reveal() public onlyOwner {
      revealed = true;
  }
 
  function setCost(uint256 _newCost) public onlyOwner {
    cost = _newCost;
  }

  function setReservedCost(uint256 _newReservedCost) public onlyOwner {
    reservedCost = _newReservedCost;
  }

  function setReferenceCost(uint256 _newReferenceCost) public onlyOwner {
    referenceCost = _newReferenceCost;
  }

  function setBaseURI(string memory _newBaseURI) public onlyOwner {
    baseURI = _newBaseURI;
  }
  
  function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
    notRevealedUri = _notRevealedURI;
  }

  function pause(bool _state) public onlyOwner {
    paused = _state;
  }
  
  function setOnlyWhitelisted(bool _state) public onlyOwner {
    onlyWhitelisted = _state;
  }
  
  function reserveUsers(address[] calldata _users) public onlyOwner {
    delete reservedAddresses;
    reservedAddresses = _users;
  }
 
  function withdraw() external payable onlyOwner {
    (bool os, ) = payable(owner()).call{value: address(this).balance}("");
    require(os);
  }

  function _verify(address walletAddress, bytes memory signature) internal view returns(address){
      bytes32 digest = _hash(walletAddress);
      return ECDSA.recover(digest, signature);
  }

  function _hash(address walletAddress) internal view returns (bytes32){
      return _hashTypedDataV4(keccak256(abi.encode(keccak256("SMCStruct(address walletAddress)"), walletAddress)));
  }
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import '@openzeppelin/contracts/token/ERC721/IERC721.sol';
import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.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';

error ApprovalCallerNotOwnerNorApproved();
error ApprovalQueryForNonexistentToken();
error ApproveToCaller();
error ApprovalToCurrentOwner();
error BalanceQueryForZeroAddress();
error MintToZeroAddress();
error MintZeroQuantity();
error OwnerQueryForNonexistentToken();
error TransferCallerNotOwnerNorApproved();
error TransferFromIncorrectOwner();
error TransferToNonERC721ReceiverImplementer();
error TransferToZeroAddress();
error URIQueryForNonexistentToken();

/**
 * @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, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // 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;
    }

    // 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 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 && 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 && !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() && !_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;
    }

    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 {
        _mint(to, quantity, _data, true);
    }

    /**
     * @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,
        bytes memory _data,
        bool safe
    ) 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 (safe && 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 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 This is 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 13 : 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 13 : draft-EIP712.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/draft-EIP712.sol)

pragma solidity ^0.8.0;

import "./ECDSA.sol";

/**
 * @dev https://eips.ethereum.org/EIPS/eip-712[EIP 712] is a standard for hashing and signing of typed structured data.
 *
 * The encoding specified in the EIP is very generic, and such a generic implementation in Solidity is not feasible,
 * thus this contract does not implement the encoding itself. Protocols need to implement the type-specific encoding
 * they need in their contracts using a combination of `abi.encode` and `keccak256`.
 *
 * This contract implements the EIP 712 domain separator ({_domainSeparatorV4}) that is used as part of the encoding
 * scheme, and the final step of the encoding to obtain the message digest that is then signed via ECDSA
 * ({_hashTypedDataV4}).
 *
 * The implementation of the domain separator was designed to be as efficient as possible while still properly updating
 * the chain id to protect against replay attacks on an eventual fork of the chain.
 *
 * NOTE: This contract implements the version of the encoding known as "v4", as implemented by the JSON RPC method
 * https://docs.metamask.io/guide/signing-data.html[`eth_signTypedDataV4` in MetaMask].
 *
 * _Available since v3.4._
 */
abstract contract EIP712 {
    /* solhint-disable var-name-mixedcase */
    // Cache the domain separator as an immutable value, but also store the chain id that it corresponds to, in order to
    // invalidate the cached domain separator if the chain id changes.
    bytes32 private immutable _CACHED_DOMAIN_SEPARATOR;
    uint256 private immutable _CACHED_CHAIN_ID;
    address private immutable _CACHED_THIS;

    bytes32 private immutable _HASHED_NAME;
    bytes32 private immutable _HASHED_VERSION;
    bytes32 private immutable _TYPE_HASH;

    /* solhint-enable var-name-mixedcase */

    /**
     * @dev Initializes the domain separator and parameter caches.
     *
     * The meaning of `name` and `version` is specified in
     * https://eips.ethereum.org/EIPS/eip-712#definition-of-domainseparator[EIP 712]:
     *
     * - `name`: the user readable name of the signing domain, i.e. the name of the DApp or the protocol.
     * - `version`: the current major version of the signing domain.
     *
     * NOTE: These parameters cannot be changed except through a xref:learn::upgrading-smart-contracts.adoc[smart
     * contract upgrade].
     */
    constructor(string memory name, string memory version) {
        bytes32 hashedName = keccak256(bytes(name));
        bytes32 hashedVersion = keccak256(bytes(version));
        bytes32 typeHash = keccak256(
            "EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"
        );
        _HASHED_NAME = hashedName;
        _HASHED_VERSION = hashedVersion;
        _CACHED_CHAIN_ID = block.chainid;
        _CACHED_DOMAIN_SEPARATOR = _buildDomainSeparator(typeHash, hashedName, hashedVersion);
        _CACHED_THIS = address(this);
        _TYPE_HASH = typeHash;
    }

    /**
     * @dev Returns the domain separator for the current chain.
     */
    function _domainSeparatorV4() internal view returns (bytes32) {
        if (address(this) == _CACHED_THIS && block.chainid == _CACHED_CHAIN_ID) {
            return _CACHED_DOMAIN_SEPARATOR;
        } else {
            return _buildDomainSeparator(_TYPE_HASH, _HASHED_NAME, _HASHED_VERSION);
        }
    }

    function _buildDomainSeparator(
        bytes32 typeHash,
        bytes32 nameHash,
        bytes32 versionHash
    ) private view returns (bytes32) {
        return keccak256(abi.encode(typeHash, nameHash, versionHash, block.chainid, address(this)));
    }

    /**
     * @dev Given an already https://eips.ethereum.org/EIPS/eip-712#definition-of-hashstruct[hashed struct], this
     * function returns the hash of the fully encoded EIP712 message for this domain.
     *
     * This hash can be used together with {ECDSA-recover} to obtain the signer of a message. For example:
     *
     * ```solidity
     * bytes32 digest = _hashTypedDataV4(keccak256(abi.encode(
     *     keccak256("Mail(address to,string contents)"),
     *     mailTo,
     *     keccak256(bytes(mailContents))
     * )));
     * address signer = ECDSA.recover(digest, signature);
     * ```
     */
    function _hashTypedDataV4(bytes32 structHash) internal view virtual returns (bytes32) {
        return ECDSA.toTypedDataHash(_domainSeparatorV4(), structHash);
    }
}

File 5 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

File 6 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

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

pragma solidity ^0.8.0;

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

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

File 10 of 13 : 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 11 of 13 : 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 12 of 13 : 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 13 of 13 : 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));
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedUri","type":"string"}],"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"},{"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":[{"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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isReserved","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxReserved","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"referenceCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"reserveUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"reservedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reservedCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newReferenceCost","type":"uint256"}],"name":"setReferenceCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newReservedCost","type":"uint256"}],"name":"setReservedCost","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":[{"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":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

6101406040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600a90805190602001906200005292919062000545565b5066d529ae9e860000600c5566d529ae9e860000600d556000600e55610d06600f5560c86010556001601160006101000a81548160ff0219169083151502179055506000601160016101000a81548160ff0219169083151502179055506001601160026101000a81548160ff021916908315150217905550348015620000d757600080fd5b5060405162005794380380620057948339818101604052810190620000fd919062000667565b6040518060400160405280600381526020017f534d4300000000000000000000000000000000000000000000000000000000008152506040518060400160405280600181526020017f3100000000000000000000000000000000000000000000000000000000000000815250858581600290805190602001906200018392919062000545565b5080600390805190602001906200019c92919062000545565b50620001ad620002b660201b60201c565b600081905550505060008280519060200120905060008280519060200120905060007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f90508260e081815250508161010081815250504660a081815250506200021e818484620002bb60201b60201c565b608081815250503073ffffffffffffffffffffffffffffffffffffffff1660c08173ffffffffffffffffffffffffffffffffffffffff1660601b8152505080610120818152505050505050506200028a6200027e620002f760201b60201c565b620002ff60201b60201c565b6200029b82620003c560201b60201c565b620002ac816200047060201b60201c565b5050505062000a02565b600090565b60008383834630604051602001620002d895949392919062000791565b6040516020818303038152906040528051906020012090509392505050565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003d5620002f760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620003fb6200051b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000454576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200044b90620007ee565b60405180910390fd5b80600990805190602001906200046c92919062000545565b5050565b62000480620002f760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16620004a66200051b60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620004ff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004f690620007ee565b60405180910390fd5b80600b90805190602001906200051792919062000545565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b8280546200055390620008fe565b90600052602060002090601f016020900481019282620005775760008555620005c3565b82601f106200059257805160ff1916838001178555620005c3565b82800160010185558215620005c3579182015b82811115620005c2578251825591602001919060010190620005a5565b5b509050620005d29190620005d6565b5090565b5b80821115620005f1576000816000905550600101620005d7565b5090565b60006200060c620006068462000839565b62000810565b9050828152602081018484840111156200062557600080fd5b62000632848285620008c8565b509392505050565b600082601f8301126200064c57600080fd5b81516200065e848260208601620005f5565b91505092915050565b600080600080608085870312156200067e57600080fd5b600085015167ffffffffffffffff8111156200069957600080fd5b620006a7878288016200063a565b945050602085015167ffffffffffffffff811115620006c557600080fd5b620006d3878288016200063a565b935050604085015167ffffffffffffffff811115620006f157600080fd5b620006ff878288016200063a565b925050606085015167ffffffffffffffff8111156200071d57600080fd5b6200072b878288016200063a565b91505092959194509250565b620007428162000880565b82525050565b620007538162000894565b82525050565b6000620007686020836200086f565b91506200077582620009d9565b602082019050919050565b6200078b81620008be565b82525050565b600060a082019050620007a8600083018862000748565b620007b7602083018762000748565b620007c6604083018662000748565b620007d5606083018562000780565b620007e4608083018462000737565b9695505050505050565b60006020820190508181036000830152620008098162000759565b9050919050565b60006200081c6200082f565b90506200082a828262000934565b919050565b6000604051905090565b600067ffffffffffffffff82111562000857576200085662000999565b5b6200086282620009c8565b9050602081019050919050565b600082825260208201905092915050565b60006200088d826200089e565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b83811015620008e8578082015181840152602081019050620008cb565b83811115620008f8576000848401525b50505050565b600060028204905060018216806200091757607f821691505b602082108114156200092e576200092d6200096a565b5b50919050565b6200093f82620009c8565b810181811067ffffffffffffffff8211171562000961576200096062000999565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60805160a05160c05160601c60e0516101005161012051614d3f62000a5560003960006135fe015260006136400152600061361f01526000613554015260006135aa015260006135d30152614d3f6000f3fe6080604052600436106102465760003560e01c806370a0823111610139578063b88d4fde116100b6578063db7fd4081161007a578063db7fd40814610849578063e985e9c514610865578063eb89f70e146108a2578063ee15ae0f146108cd578063f2c4ce1e146108f8578063f2fde38b1461092157610246565b8063b88d4fde14610750578063c0f50e3714610779578063c6682862146107b6578063c87b56dd146107e1578063d5abeb011461081e57610246565b806395d89b41116100fd57806395d89b411461068f5780639c70b512146106ba578063a22cb465146106e5578063a475b5dd1461070e578063a9898fd91461072557610246565b806370a08231146105be578063715018a6146105fb57806385047c70146106125780638da5cb5b1461063b578063928c68141461066657610246565b80633c952764116101c757806355f804b31161018b57806355f804b3146104c557806357c3f997146104ee5780635c975abb1461052b5780636352211e146105565780636c0360eb1461059357610246565b80633c952764146104155780633ccfd60b1461043e57806342842e0e1461044857806344a0d68a14610471578063518302271461049a57610246565b8063095ea7b31161020e578063095ea7b31461034457806313faede61461036d57806318160ddd1461039857806323b872dd146103c35780632b61d490146103ec57610246565b806301ffc9a71461024b57806302329a291461028857806306fdde03146102b1578063081812fc146102dc578063081c8c4414610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613d82565b61094a565b60405161027f91906142e4565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613d59565b610a2c565b005b3480156102bd57600080fd5b506102c6610ac5565b6040516102d391906143c0565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613e15565b610b57565b604051610310919061427d565b60405180910390f35b34801561032557600080fd5b5061032e610bd3565b60405161033b91906143c0565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190613cd8565b610c61565b005b34801561037957600080fd5b50610382610d6c565b60405161038f9190614562565b60405180910390f35b3480156103a457600080fd5b506103ad610d72565b6040516103ba9190614562565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e59190613bd2565b610d89565b005b3480156103f857600080fd5b50610413600480360381019061040e9190613e15565b610d99565b005b34801561042157600080fd5b5061043c60048036038101906104379190613d59565b610e1f565b005b610446610eb8565b005b34801561045457600080fd5b5061046f600480360381019061046a9190613bd2565b610fb4565b005b34801561047d57600080fd5b5061049860048036038101906104939190613e15565b610fd4565b005b3480156104a657600080fd5b506104af61105a565b6040516104bc91906142e4565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e79190613dd4565b61106d565b005b3480156104fa57600080fd5b5061051560048036038101906105109190613b6d565b611103565b60405161052291906142e4565b60405180910390f35b34801561053757600080fd5b506105406111d8565b60405161054d91906142e4565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613e15565b6111eb565b60405161058a919061427d565b60405180910390f35b34801561059f57600080fd5b506105a8611201565b6040516105b591906143c0565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e09190613b6d565b61128f565b6040516105f29190614562565b60405180910390f35b34801561060757600080fd5b5061061061135f565b005b34801561061e57600080fd5b5061063960048036038101906106349190613e15565b6113e7565b005b34801561064757600080fd5b5061065061146d565b60405161065d919061427d565b60405180910390f35b34801561067257600080fd5b5061068d60048036038101906106889190613d14565b611497565b005b34801561069b57600080fd5b506106a4611537565b6040516106b191906143c0565b60405180910390f35b3480156106c657600080fd5b506106cf6115c9565b6040516106dc91906142e4565b60405180910390f35b3480156106f157600080fd5b5061070c60048036038101906107079190613c9c565b6115dc565b005b34801561071a57600080fd5b50610723611754565b005b34801561073157600080fd5b5061073a6117ed565b6040516107479190614562565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190613c21565b6117f3565b005b34801561078557600080fd5b506107a0600480360381019061079b9190613e15565b61186f565b6040516107ad919061427d565b60405180910390f35b3480156107c257600080fd5b506107cb6118ae565b6040516107d891906143c0565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613e15565b61193c565b60405161081591906143c0565b60405180910390f35b34801561082a57600080fd5b50610833611a95565b6040516108409190614562565b60405180910390f35b610863600480360381019061085e9190613e3e565b611a9b565b005b34801561087157600080fd5b5061088c60048036038101906108879190613b96565b611d44565b60405161089991906142e4565b60405180910390f35b3480156108ae57600080fd5b506108b7611dd8565b6040516108c49190614562565b60405180910390f35b3480156108d957600080fd5b506108e2611dde565b6040516108ef9190614562565b60405180910390f35b34801561090457600080fd5b5061091f600480360381019061091a9190613dd4565b611de4565b005b34801561092d57600080fd5b5061094860048036038101906109439190613b6d565b611e7a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a255750610a2482611f72565b5b9050919050565b610a34611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610a5261146d565b73ffffffffffffffffffffffffffffffffffffffff1614610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f906144a2565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b606060028054610ad490614849565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0090614849565b8015610b4d5780601f10610b2257610100808354040283529160200191610b4d565b820191906000526020600020905b815481529060010190602001808311610b3057829003601f168201915b5050505050905090565b6000610b6282611fe4565b610b98576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b8054610be090614849565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0c90614849565b8015610c595780601f10610c2e57610100808354040283529160200191610c59565b820191906000526020600020905b815481529060010190602001808311610c3c57829003601f168201915b505050505081565b6000610c6c826111eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd4576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cf3611fdc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d255750610d2381610d1e611fdc565b611d44565b155b15610d5c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d67838383612032565b505050565b600c5481565b6000610d7c6120e4565b6001546000540303905090565b610d948383836120e9565b505050565b610da1611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610dbf61146d565b73ffffffffffffffffffffffffffffffffffffffff1614610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c906144a2565b60405180910390fd5b80600d8190555050565b610e27611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610e4561146d565b73ffffffffffffffffffffffffffffffffffffffff1614610e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e92906144a2565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b610ec0611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610ede61146d565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906144a2565b60405180910390fd5b6000610f3e61146d565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f6190614268565b60006040518083038185875af1925050503d8060008114610f9e576040519150601f19603f3d011682016040523d82523d6000602084013e610fa3565b606091505b5050905080610fb157600080fd5b50565b610fcf838383604051806020016040528060008152506117f3565b505050565b610fdc611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610ffa61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611047906144a2565b60405180910390fd5b80600c8190555050565b601160019054906101000a900460ff1681565b611075611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661109361146d565b73ffffffffffffffffffffffffffffffffffffffff16146110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e0906144a2565b60405180910390fd5b80600990805190602001906110ff929190613843565b5050565b600080600090505b6012805490508110156111cd578273ffffffffffffffffffffffffffffffffffffffff1660128281548110611169577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156111ba5760019150506111d3565b80806111c5906148ac565b91505061110b565b50600090505b919050565b601160009054906101000a900460ff1681565b60006111f68261259f565b600001519050919050565b6009805461120e90614849565b80601f016020809104026020016040519081016040528092919081815260200182805461123a90614849565b80156112875780601f1061125c57610100808354040283529160200191611287565b820191906000526020600020905b81548152906001019060200180831161126a57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112f7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611367611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661138561146d565b73ffffffffffffffffffffffffffffffffffffffff16146113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d2906144a2565b60405180910390fd5b6113e5600061282e565b565b6113ef611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661140d61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a906144a2565b60405180910390fd5b80600e8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61149f611fdc565b73ffffffffffffffffffffffffffffffffffffffff166114bd61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a906144a2565b60405180910390fd5b6012600061152191906138c9565b8181601291906115329291906138ea565b505050565b60606003805461154690614849565b80601f016020809104026020016040519081016040528092919081815260200182805461157290614849565b80156115bf5780601f10611594576101008083540402835291602001916115bf565b820191906000526020600020905b8154815290600101906020018083116115a257829003601f168201915b5050505050905090565b601160029054906101000a900460ff1681565b6115e4611fdc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611649576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611656611fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611703611fdc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174891906142e4565b60405180910390a35050565b61175c611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661177a61146d565b73ffffffffffffffffffffffffffffffffffffffff16146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c7906144a2565b60405180910390fd5b6001601160016101000a81548160ff021916908315150217905550565b60105481565b6117fe8484846120e9565b61181d8373ffffffffffffffffffffffffffffffffffffffff166128f4565b8015611832575061183084848484612917565b155b15611869576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6012818154811061187f57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a80546118bb90614849565b80601f01602080910402602001604051908101604052809291908181526020018280546118e790614849565b80156119345780601f1061190957610100808354040283529160200191611934565b820191906000526020600020905b81548152906001019060200180831161191757829003601f168201915b505050505081565b606061194782611fe4565b611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906144e2565b60405180910390fd5b60001515601160019054906101000a900460ff1615151415611a3457600b80546119af90614849565b80601f01602080910402602001604051908101604052809291908181526020018280546119db90614849565b8015611a285780601f106119fd57610100808354040283529160200191611a28565b820191906000526020600020905b815481529060010190602001808311611a0b57829003601f168201915b50505050509050611a90565b6000611a3e612a77565b90506000815111611a5e5760405180602001604052806000815250611a8c565b80611a6884612b09565b600a604051602001611a7c93929190614200565b6040516020818303038152906040525b9150505b919050565b600f5481565b601160009054906101000a900460ff1615611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae2906144c2565b60405180910390fd5b600d54600c819055506000611afe610d72565b905060008311611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90614542565b60405180910390fd5b611b4b61146d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b895750611b8833611103565b5b15611bec57600f548382611b9d9190614667565b1115611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd590614462565b60405180910390fd5b600e54600c81905550611d35565b601054600f54611bfc9190614748565b8382611c089190614667565b1115611c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4090614462565b60405180910390fd5b60011515601160029054906101000a900460ff1615151415611ce457611c6f3383612cb6565b73ffffffffffffffffffffffffffffffffffffffff16611c8d61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90614522565b60405180910390fd5b5b82600c54611cf291906146ee565b341015611d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2b90614502565b60405180910390fd5b5b611d3f3384612cd7565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b600d5481565b611dec611fdc565b73ffffffffffffffffffffffffffffffffffffffff16611e0a61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e57906144a2565b60405180910390fd5b80600b9080519060200190611e76929190613843565b5050565b611e82611fdc565b73ffffffffffffffffffffffffffffffffffffffff16611ea061146d565b73ffffffffffffffffffffffffffffffffffffffff1614611ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eed906144a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5d90614422565b60405180910390fd5b611f6f8161282e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081611fef6120e4565b11158015611ffe575060005482105b801561202b575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006120f48261259f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461215f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612180611fdc565b73ffffffffffffffffffffffffffffffffffffffff1614806121af57506121ae856121a9611fdc565b611d44565b5b806121f457506121bd611fdc565b73ffffffffffffffffffffffffffffffffffffffff166121dc84610b57565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061222d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612294576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122a18585856001612cf5565b6122ad60008487612032565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561252d57600054821461252c57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125988585856001612cfb565b5050505050565b6125a761398a565b6000829050806125b56120e4565b111580156125c4575060005481105b156127f7576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516127f557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126d9578092505050612829565b5b6001156127f457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127ef578092505050612829565b6126da565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261293d611fdc565b8786866040518563ffffffff1660e01b815260040161295f9493929190614298565b602060405180830381600087803b15801561297957600080fd5b505af19250505080156129aa57506040513d601f19601f820116820180604052508101906129a79190613dab565b60015b612a24573d80600081146129da576040519150601f19603f3d011682016040523d82523d6000602084013e6129df565b606091505b50600081511415612a1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612a8690614849565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab290614849565b8015612aff5780601f10612ad457610100808354040283529160200191612aff565b820191906000526020600020905b815481529060010190602001808311612ae257829003601f168201915b5050505050905090565b60606000821415612b51576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb1565b600082905060005b60008214612b83578080612b6c906148ac565b915050600a82612b7c91906146bd565b9150612b59565b60008167ffffffffffffffff811115612bc5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bf75781602001600182028036833780820191505090505b5090505b60008514612caa57600182612c109190614748565b9150600a85612c1f91906148ff565b6030612c2b9190614667565b60f81b818381518110612c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca391906146bd565b9450612bfb565b8093505050505b919050565b600080612cc284612d01565b9050612cce8184612d5b565b91505092915050565b612cf1828260405180602001604052806000815250612d82565b5050565b50505050565b50505050565b6000612d547fba3c15cb409eb1e2e50deb3152aa60ed6a8bd690bdad89b52c7f98d7701ed74683604051602001612d399291906142ff565b60405160208183030381529060405280519060200120612d94565b9050919050565b6000806000612d6a8585612dae565b91509150612d7781612e31565b819250505092915050565b612d8f8383836001613182565b505050565b6000612da7612da1613550565b8361366a565b9050919050565b600080604183511415612df05760008060006020860151925060408601519150606086015160001a9050612de48782858561369d565b94509450505050612e2a565b604083511415612e21576000806020850151915060408501519050612e168683836137aa565b935093505050612e2a565b60006002915091505b9250929050565b60006004811115612e6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ea4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612eaf5761317f565b60016004811115612ee9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612f22577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a906143e2565b60405180910390fd5b60026004811115612f9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612fd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300e90614402565b60405180910390fd5b60036004811115613051577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561308a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156130cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c290614442565b60405180910390fd5b600480811115613104577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561313d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561317e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317590614482565b60405180910390fd5b5b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156131ef576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561322a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132376000868387612cf5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561340157506134008773ffffffffffffffffffffffffffffffffffffffff166128f4565b5b156134c7575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134766000888480600101955088612917565b6134ac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156134075782600054146134c257600080fd5b613533565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156134c8575b8160008190555050506135496000868387612cfb565b5050505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156135cc57507f000000000000000000000000000000000000000000000000000000000000000046145b156135f9577f00000000000000000000000000000000000000000000000000000000000000009050613667565b6136647f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000613809565b90505b90565b6000828260405160200161367f929190614231565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156136d85760006003915091506137a1565b601b8560ff16141580156136f05750601c8560ff1614155b156137025760006004915091506137a1565b600060018787878760405160008152602001604052604051613727949392919061437b565b6020604051602081039080840390855afa158015613749573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613798576000600192509250506137a1565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6137ed9190614667565b90506137fb8782888561369d565b935093505050935093915050565b60008383834630604051602001613824959493929190614328565b6040516020818303038152906040528051906020012090509392505050565b82805461384f90614849565b90600052602060002090601f01602090048101928261387157600085556138b8565b82601f1061388a57805160ff19168380011785556138b8565b828001600101855582156138b8579182015b828111156138b757825182559160200191906001019061389c565b5b5090506138c591906139cd565b5090565b50805460008255906000526020600020908101906138e791906139cd565b50565b828054828255906000526020600020908101928215613979579160200282015b8281111561397857823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061390a565b5b50905061398691906139cd565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156139e65760008160009055506001016139ce565b5090565b60006139fd6139f8846145a2565b61457d565b905082815260208101848484011115613a1557600080fd5b613a20848285614807565b509392505050565b6000613a3b613a36846145d3565b61457d565b905082815260208101848484011115613a5357600080fd5b613a5e848285614807565b509392505050565b600081359050613a7581614cad565b92915050565b60008083601f840112613a8d57600080fd5b8235905067ffffffffffffffff811115613aa657600080fd5b602083019150836020820283011115613abe57600080fd5b9250929050565b600081359050613ad481614cc4565b92915050565b600081359050613ae981614cdb565b92915050565b600081519050613afe81614cdb565b92915050565b600082601f830112613b1557600080fd5b8135613b258482602086016139ea565b91505092915050565b600082601f830112613b3f57600080fd5b8135613b4f848260208601613a28565b91505092915050565b600081359050613b6781614cf2565b92915050565b600060208284031215613b7f57600080fd5b6000613b8d84828501613a66565b91505092915050565b60008060408385031215613ba957600080fd5b6000613bb785828601613a66565b9250506020613bc885828601613a66565b9150509250929050565b600080600060608486031215613be757600080fd5b6000613bf586828701613a66565b9350506020613c0686828701613a66565b9250506040613c1786828701613b58565b9150509250925092565b60008060008060808587031215613c3757600080fd5b6000613c4587828801613a66565b9450506020613c5687828801613a66565b9350506040613c6787828801613b58565b925050606085013567ffffffffffffffff811115613c8457600080fd5b613c9087828801613b04565b91505092959194509250565b60008060408385031215613caf57600080fd5b6000613cbd85828601613a66565b9250506020613cce85828601613ac5565b9150509250929050565b60008060408385031215613ceb57600080fd5b6000613cf985828601613a66565b9250506020613d0a85828601613b58565b9150509250929050565b60008060208385031215613d2757600080fd5b600083013567ffffffffffffffff811115613d4157600080fd5b613d4d85828601613a7b565b92509250509250929050565b600060208284031215613d6b57600080fd5b6000613d7984828501613ac5565b91505092915050565b600060208284031215613d9457600080fd5b6000613da284828501613ada565b91505092915050565b600060208284031215613dbd57600080fd5b6000613dcb84828501613aef565b91505092915050565b600060208284031215613de657600080fd5b600082013567ffffffffffffffff811115613e0057600080fd5b613e0c84828501613b2e565b91505092915050565b600060208284031215613e2757600080fd5b6000613e3584828501613b58565b91505092915050565b60008060408385031215613e5157600080fd5b6000613e5f85828601613b58565b925050602083013567ffffffffffffffff811115613e7c57600080fd5b613e8885828601613b04565b9150509250929050565b613e9b8161477c565b82525050565b613eaa8161478e565b82525050565b613eb98161479a565b82525050565b613ed0613ecb8261479a565b6148f5565b82525050565b6000613ee182614619565b613eeb818561462f565b9350613efb818560208601614816565b613f04816149ec565b840191505092915050565b6000613f1a82614624565b613f24818561464b565b9350613f34818560208601614816565b613f3d816149ec565b840191505092915050565b6000613f5382614624565b613f5d818561465c565b9350613f6d818560208601614816565b80840191505092915050565b60008154613f8681614849565b613f90818661465c565b94506001821660008114613fab5760018114613fbc57613fef565b60ff19831686528186019350613fef565b613fc585614604565b60005b83811015613fe757815481890152600182019150602081019050613fc8565b838801955050505b50505092915050565b600061400560188361464b565b9150614010826149fd565b602082019050919050565b6000614028601f8361464b565b915061403382614a26565b602082019050919050565b600061404b60268361464b565b915061405682614a4f565b604082019050919050565b600061406e60028361465c565b915061407982614a9e565b600282019050919050565b600061409160228361464b565b915061409c82614ac7565b604082019050919050565b60006140b460168361464b565b91506140bf82614b16565b602082019050919050565b60006140d760228361464b565b91506140e282614b3f565b604082019050919050565b60006140fa60208361464b565b915061410582614b8e565b602082019050919050565b600061411d60168361464b565b915061412882614bb7565b602082019050919050565b6000614140602f8361464b565b915061414b82614be0565b604082019050919050565b6000614163600083614640565b915061416e82614c2f565b600082019050919050565b600061418660128361464b565b915061419182614c32565b602082019050919050565b60006141a960178361464b565b91506141b482614c5b565b602082019050919050565b60006141cc601b8361464b565b91506141d782614c84565b602082019050919050565b6141eb816147f0565b82525050565b6141fa816147fa565b82525050565b600061420c8286613f48565b91506142188285613f48565b91506142248284613f79565b9150819050949350505050565b600061423c82614061565b91506142488285613ebf565b6020820191506142588284613ebf565b6020820191508190509392505050565b600061427382614156565b9150819050919050565b60006020820190506142926000830184613e92565b92915050565b60006080820190506142ad6000830187613e92565b6142ba6020830186613e92565b6142c760408301856141e2565b81810360608301526142d98184613ed6565b905095945050505050565b60006020820190506142f96000830184613ea1565b92915050565b60006040820190506143146000830185613eb0565b6143216020830184613e92565b9392505050565b600060a08201905061433d6000830188613eb0565b61434a6020830187613eb0565b6143576040830186613eb0565b61436460608301856141e2565b6143716080830184613e92565b9695505050505050565b60006080820190506143906000830187613eb0565b61439d60208301866141f1565b6143aa6040830185613eb0565b6143b76060830184613eb0565b95945050505050565b600060208201905081810360008301526143da8184613f0f565b905092915050565b600060208201905081810360008301526143fb81613ff8565b9050919050565b6000602082019050818103600083015261441b8161401b565b9050919050565b6000602082019050818103600083015261443b8161403e565b9050919050565b6000602082019050818103600083015261445b81614084565b9050919050565b6000602082019050818103600083015261447b816140a7565b9050919050565b6000602082019050818103600083015261449b816140ca565b9050919050565b600060208201905081810360008301526144bb816140ed565b9050919050565b600060208201905081810360008301526144db81614110565b9050919050565b600060208201905081810360008301526144fb81614133565b9050919050565b6000602082019050818103600083015261451b81614179565b9050919050565b6000602082019050818103600083015261453b8161419c565b9050919050565b6000602082019050818103600083015261455b816141bf565b9050919050565b600060208201905061457760008301846141e2565b92915050565b6000614587614598565b9050614593828261487b565b919050565b6000604051905090565b600067ffffffffffffffff8211156145bd576145bc6149bd565b5b6145c6826149ec565b9050602081019050919050565b600067ffffffffffffffff8211156145ee576145ed6149bd565b5b6145f7826149ec565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614672826147f0565b915061467d836147f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b2576146b1614930565b5b828201905092915050565b60006146c8826147f0565b91506146d3836147f0565b9250826146e3576146e261495f565b5b828204905092915050565b60006146f9826147f0565b9150614704836147f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561473d5761473c614930565b5b828202905092915050565b6000614753826147f0565b915061475e836147f0565b92508282101561477157614770614930565b5b828203905092915050565b6000614787826147d0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614834578082015181840152602081019050614819565b83811115614843576000848401525b50505050565b6000600282049050600182168061486157607f821691505b602082108114156148755761487461498e565b5b50919050565b614884826149ec565b810181811067ffffffffffffffff821117156148a3576148a26149bd565b5b80604052505050565b60006148b7826147f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ea576148e9614930565b5b600182019050919050565b6000819050919050565b600061490a826147f0565b9150614915836147f0565b9250826149255761492461495f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b614cb68161477c565b8114614cc157600080fd5b50565b614ccd8161478e565b8114614cd857600080fd5b50565b614ce4816147a4565b8114614cef57600080fd5b50565b614cfb816147f0565b8114614d0657600080fd5b5056fea2646970667358221220bb371d8077dbcfacb89e1380de7304aad5c7f1081e4434d57dbe467206074f9e64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000135361626572746f6f7468506f6b6572436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353504300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d536975646763476379626a5548315a336b776a6362703650556173326274435652646a4b73446b6b47784e652f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d55454c417071555a4435615772544a316d51734a715255355155574843546d346a317839374736434b7369712f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102465760003560e01c806370a0823111610139578063b88d4fde116100b6578063db7fd4081161007a578063db7fd40814610849578063e985e9c514610865578063eb89f70e146108a2578063ee15ae0f146108cd578063f2c4ce1e146108f8578063f2fde38b1461092157610246565b8063b88d4fde14610750578063c0f50e3714610779578063c6682862146107b6578063c87b56dd146107e1578063d5abeb011461081e57610246565b806395d89b41116100fd57806395d89b411461068f5780639c70b512146106ba578063a22cb465146106e5578063a475b5dd1461070e578063a9898fd91461072557610246565b806370a08231146105be578063715018a6146105fb57806385047c70146106125780638da5cb5b1461063b578063928c68141461066657610246565b80633c952764116101c757806355f804b31161018b57806355f804b3146104c557806357c3f997146104ee5780635c975abb1461052b5780636352211e146105565780636c0360eb1461059357610246565b80633c952764146104155780633ccfd60b1461043e57806342842e0e1461044857806344a0d68a14610471578063518302271461049a57610246565b8063095ea7b31161020e578063095ea7b31461034457806313faede61461036d57806318160ddd1461039857806323b872dd146103c35780632b61d490146103ec57610246565b806301ffc9a71461024b57806302329a291461028857806306fdde03146102b1578063081812fc146102dc578063081c8c4414610319575b600080fd5b34801561025757600080fd5b50610272600480360381019061026d9190613d82565b61094a565b60405161027f91906142e4565b60405180910390f35b34801561029457600080fd5b506102af60048036038101906102aa9190613d59565b610a2c565b005b3480156102bd57600080fd5b506102c6610ac5565b6040516102d391906143c0565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613e15565b610b57565b604051610310919061427d565b60405180910390f35b34801561032557600080fd5b5061032e610bd3565b60405161033b91906143c0565b60405180910390f35b34801561035057600080fd5b5061036b60048036038101906103669190613cd8565b610c61565b005b34801561037957600080fd5b50610382610d6c565b60405161038f9190614562565b60405180910390f35b3480156103a457600080fd5b506103ad610d72565b6040516103ba9190614562565b60405180910390f35b3480156103cf57600080fd5b506103ea60048036038101906103e59190613bd2565b610d89565b005b3480156103f857600080fd5b50610413600480360381019061040e9190613e15565b610d99565b005b34801561042157600080fd5b5061043c60048036038101906104379190613d59565b610e1f565b005b610446610eb8565b005b34801561045457600080fd5b5061046f600480360381019061046a9190613bd2565b610fb4565b005b34801561047d57600080fd5b5061049860048036038101906104939190613e15565b610fd4565b005b3480156104a657600080fd5b506104af61105a565b6040516104bc91906142e4565b60405180910390f35b3480156104d157600080fd5b506104ec60048036038101906104e79190613dd4565b61106d565b005b3480156104fa57600080fd5b5061051560048036038101906105109190613b6d565b611103565b60405161052291906142e4565b60405180910390f35b34801561053757600080fd5b506105406111d8565b60405161054d91906142e4565b60405180910390f35b34801561056257600080fd5b5061057d60048036038101906105789190613e15565b6111eb565b60405161058a919061427d565b60405180910390f35b34801561059f57600080fd5b506105a8611201565b6040516105b591906143c0565b60405180910390f35b3480156105ca57600080fd5b506105e560048036038101906105e09190613b6d565b61128f565b6040516105f29190614562565b60405180910390f35b34801561060757600080fd5b5061061061135f565b005b34801561061e57600080fd5b5061063960048036038101906106349190613e15565b6113e7565b005b34801561064757600080fd5b5061065061146d565b60405161065d919061427d565b60405180910390f35b34801561067257600080fd5b5061068d60048036038101906106889190613d14565b611497565b005b34801561069b57600080fd5b506106a4611537565b6040516106b191906143c0565b60405180910390f35b3480156106c657600080fd5b506106cf6115c9565b6040516106dc91906142e4565b60405180910390f35b3480156106f157600080fd5b5061070c60048036038101906107079190613c9c565b6115dc565b005b34801561071a57600080fd5b50610723611754565b005b34801561073157600080fd5b5061073a6117ed565b6040516107479190614562565b60405180910390f35b34801561075c57600080fd5b5061077760048036038101906107729190613c21565b6117f3565b005b34801561078557600080fd5b506107a0600480360381019061079b9190613e15565b61186f565b6040516107ad919061427d565b60405180910390f35b3480156107c257600080fd5b506107cb6118ae565b6040516107d891906143c0565b60405180910390f35b3480156107ed57600080fd5b5061080860048036038101906108039190613e15565b61193c565b60405161081591906143c0565b60405180910390f35b34801561082a57600080fd5b50610833611a95565b6040516108409190614562565b60405180910390f35b610863600480360381019061085e9190613e3e565b611a9b565b005b34801561087157600080fd5b5061088c60048036038101906108879190613b96565b611d44565b60405161089991906142e4565b60405180910390f35b3480156108ae57600080fd5b506108b7611dd8565b6040516108c49190614562565b60405180910390f35b3480156108d957600080fd5b506108e2611dde565b6040516108ef9190614562565b60405180910390f35b34801561090457600080fd5b5061091f600480360381019061091a9190613dd4565b611de4565b005b34801561092d57600080fd5b5061094860048036038101906109439190613b6d565b611e7a565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610a1557507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610a255750610a2482611f72565b5b9050919050565b610a34611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610a5261146d565b73ffffffffffffffffffffffffffffffffffffffff1614610aa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9f906144a2565b60405180910390fd5b80601160006101000a81548160ff02191690831515021790555050565b606060028054610ad490614849565b80601f0160208091040260200160405190810160405280929190818152602001828054610b0090614849565b8015610b4d5780601f10610b2257610100808354040283529160200191610b4d565b820191906000526020600020905b815481529060010190602001808311610b3057829003601f168201915b5050505050905090565b6000610b6282611fe4565b610b98576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600b8054610be090614849565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0c90614849565b8015610c595780601f10610c2e57610100808354040283529160200191610c59565b820191906000526020600020905b815481529060010190602001808311610c3c57829003601f168201915b505050505081565b6000610c6c826111eb565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610cd4576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610cf3611fdc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610d255750610d2381610d1e611fdc565b611d44565b155b15610d5c576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610d67838383612032565b505050565b600c5481565b6000610d7c6120e4565b6001546000540303905090565b610d948383836120e9565b505050565b610da1611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610dbf61146d565b73ffffffffffffffffffffffffffffffffffffffff1614610e15576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e0c906144a2565b60405180910390fd5b80600d8190555050565b610e27611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610e4561146d565b73ffffffffffffffffffffffffffffffffffffffff1614610e9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e92906144a2565b60405180910390fd5b80601160026101000a81548160ff02191690831515021790555050565b610ec0611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610ede61146d565b73ffffffffffffffffffffffffffffffffffffffff1614610f34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f2b906144a2565b60405180910390fd5b6000610f3e61146d565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f6190614268565b60006040518083038185875af1925050503d8060008114610f9e576040519150601f19603f3d011682016040523d82523d6000602084013e610fa3565b606091505b5050905080610fb157600080fd5b50565b610fcf838383604051806020016040528060008152506117f3565b505050565b610fdc611fdc565b73ffffffffffffffffffffffffffffffffffffffff16610ffa61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611050576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611047906144a2565b60405180910390fd5b80600c8190555050565b601160019054906101000a900460ff1681565b611075611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661109361146d565b73ffffffffffffffffffffffffffffffffffffffff16146110e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110e0906144a2565b60405180910390fd5b80600990805190602001906110ff929190613843565b5050565b600080600090505b6012805490508110156111cd578273ffffffffffffffffffffffffffffffffffffffff1660128281548110611169577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156111ba5760019150506111d3565b80806111c5906148ac565b91505061110b565b50600090505b919050565b601160009054906101000a900460ff1681565b60006111f68261259f565b600001519050919050565b6009805461120e90614849565b80601f016020809104026020016040519081016040528092919081815260200182805461123a90614849565b80156112875780601f1061125c57610100808354040283529160200191611287565b820191906000526020600020905b81548152906001019060200180831161126a57829003601f168201915b505050505081565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156112f7576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b611367611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661138561146d565b73ffffffffffffffffffffffffffffffffffffffff16146113db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113d2906144a2565b60405180910390fd5b6113e5600061282e565b565b6113ef611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661140d61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611463576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145a906144a2565b60405180910390fd5b80600e8190555050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61149f611fdc565b73ffffffffffffffffffffffffffffffffffffffff166114bd61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611513576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150a906144a2565b60405180910390fd5b6012600061152191906138c9565b8181601291906115329291906138ea565b505050565b60606003805461154690614849565b80601f016020809104026020016040519081016040528092919081815260200182805461157290614849565b80156115bf5780601f10611594576101008083540402835291602001916115bf565b820191906000526020600020905b8154815290600101906020018083116115a257829003601f168201915b5050505050905090565b601160029054906101000a900460ff1681565b6115e4611fdc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611649576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611656611fdc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611703611fdc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405161174891906142e4565b60405180910390a35050565b61175c611fdc565b73ffffffffffffffffffffffffffffffffffffffff1661177a61146d565b73ffffffffffffffffffffffffffffffffffffffff16146117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c7906144a2565b60405180910390fd5b6001601160016101000a81548160ff021916908315150217905550565b60105481565b6117fe8484846120e9565b61181d8373ffffffffffffffffffffffffffffffffffffffff166128f4565b8015611832575061183084848484612917565b155b15611869576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b6012818154811061187f57600080fd5b906000526020600020016000915054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600a80546118bb90614849565b80601f01602080910402602001604051908101604052809291908181526020018280546118e790614849565b80156119345780601f1061190957610100808354040283529160200191611934565b820191906000526020600020905b81548152906001019060200180831161191757829003601f168201915b505050505081565b606061194782611fe4565b611986576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161197d906144e2565b60405180910390fd5b60001515601160019054906101000a900460ff1615151415611a3457600b80546119af90614849565b80601f01602080910402602001604051908101604052809291908181526020018280546119db90614849565b8015611a285780601f106119fd57610100808354040283529160200191611a28565b820191906000526020600020905b815481529060010190602001808311611a0b57829003601f168201915b50505050509050611a90565b6000611a3e612a77565b90506000815111611a5e5760405180602001604052806000815250611a8c565b80611a6884612b09565b600a604051602001611a7c93929190614200565b6040516020818303038152906040525b9150505b919050565b600f5481565b601160009054906101000a900460ff1615611aeb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae2906144c2565b60405180910390fd5b600d54600c819055506000611afe610d72565b905060008311611b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3a90614542565b60405180910390fd5b611b4b61146d565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611b895750611b8833611103565b5b15611bec57600f548382611b9d9190614667565b1115611bde576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bd590614462565b60405180910390fd5b600e54600c81905550611d35565b601054600f54611bfc9190614748565b8382611c089190614667565b1115611c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c4090614462565b60405180910390fd5b60011515601160029054906101000a900460ff1615151415611ce457611c6f3383612cb6565b73ffffffffffffffffffffffffffffffffffffffff16611c8d61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611ce3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cda90614522565b60405180910390fd5b5b82600c54611cf291906146ee565b341015611d34576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2b90614502565b60405180910390fd5b5b611d3f3384612cd7565b505050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e5481565b600d5481565b611dec611fdc565b73ffffffffffffffffffffffffffffffffffffffff16611e0a61146d565b73ffffffffffffffffffffffffffffffffffffffff1614611e60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e57906144a2565b60405180910390fd5b80600b9080519060200190611e76929190613843565b5050565b611e82611fdc565b73ffffffffffffffffffffffffffffffffffffffff16611ea061146d565b73ffffffffffffffffffffffffffffffffffffffff1614611ef6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eed906144a2565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f66576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f5d90614422565b60405180910390fd5b611f6f8161282e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600033905090565b600081611fef6120e4565b11158015611ffe575060005482105b801561202b575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006120f48261259f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461215f576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612180611fdc565b73ffffffffffffffffffffffffffffffffffffffff1614806121af57506121ae856121a9611fdc565b611d44565b5b806121f457506121bd611fdc565b73ffffffffffffffffffffffffffffffffffffffff166121dc84610b57565b73ffffffffffffffffffffffffffffffffffffffff16145b90508061222d576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612294576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122a18585856001612cf5565b6122ad60008487612032565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16141561252d57600054821461252c57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46125988585856001612cfb565b5050505050565b6125a761398a565b6000829050806125b56120e4565b111580156125c4575060005481105b156127f7576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516127f557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126d9578092505050612829565b5b6001156127f457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127ef578092505050612829565b6126da565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261293d611fdc565b8786866040518563ffffffff1660e01b815260040161295f9493929190614298565b602060405180830381600087803b15801561297957600080fd5b505af19250505080156129aa57506040513d601f19601f820116820180604052508101906129a79190613dab565b60015b612a24573d80600081146129da576040519150601f19603f3d011682016040523d82523d6000602084013e6129df565b606091505b50600081511415612a1c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060098054612a8690614849565b80601f0160208091040260200160405190810160405280929190818152602001828054612ab290614849565b8015612aff5780601f10612ad457610100808354040283529160200191612aff565b820191906000526020600020905b815481529060010190602001808311612ae257829003601f168201915b5050505050905090565b60606000821415612b51576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612cb1565b600082905060005b60008214612b83578080612b6c906148ac565b915050600a82612b7c91906146bd565b9150612b59565b60008167ffffffffffffffff811115612bc5577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015612bf75781602001600182028036833780820191505090505b5090505b60008514612caa57600182612c109190614748565b9150600a85612c1f91906148ff565b6030612c2b9190614667565b60f81b818381518110612c67577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612ca391906146bd565b9450612bfb565b8093505050505b919050565b600080612cc284612d01565b9050612cce8184612d5b565b91505092915050565b612cf1828260405180602001604052806000815250612d82565b5050565b50505050565b50505050565b6000612d547fba3c15cb409eb1e2e50deb3152aa60ed6a8bd690bdad89b52c7f98d7701ed74683604051602001612d399291906142ff565b60405160208183030381529060405280519060200120612d94565b9050919050565b6000806000612d6a8585612dae565b91509150612d7781612e31565b819250505092915050565b612d8f8383836001613182565b505050565b6000612da7612da1613550565b8361366a565b9050919050565b600080604183511415612df05760008060006020860151925060408601519150606086015160001a9050612de48782858561369d565b94509450505050612e2a565b604083511415612e21576000806020850151915060408501519050612e168683836137aa565b935093505050612e2a565b60006002915091505b9250929050565b60006004811115612e6b577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612ea4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612eaf5761317f565b60016004811115612ee9577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612f22577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415612f63576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5a906143e2565b60405180910390fd5b60026004811115612f9d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b816004811115612fd6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b1415613017576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161300e90614402565b60405180910390fd5b60036004811115613051577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561308a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14156130cb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130c290614442565b60405180910390fd5b600480811115613104577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b81600481111561313d577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b141561317e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161317590614482565b60405180910390fd5b5b50565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff1614156131ef576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600084141561322a576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132376000868387612cf5565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060008190506000858201905083801561340157506134008773ffffffffffffffffffffffffffffffffffffffff166128f4565b5b156134c7575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46134766000888480600101955088612917565b6134ac576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808214156134075782600054146134c257600080fd5b613533565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808214156134c8575b8160008190555050506135496000868387612cfb565b5050505050565b60007f00000000000000000000000022d847f58e64c09f42a2c23544b2b154cb7093f273ffffffffffffffffffffffffffffffffffffffff163073ffffffffffffffffffffffffffffffffffffffff161480156135cc57507f000000000000000000000000000000000000000000000000000000000000000146145b156135f9577f5138f91fd4f4d6ad15e0c2acf711d27b5051109cc4aee78f289045e76e2c8e239050613667565b6136647f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f7fc962501fc19a264289df458401069a4297a1167b0630c661fd88f1dfebb2cc1a7fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc6613809565b90505b90565b6000828260405160200161367f929190614231565b60405160208183030381529060405280519060200120905092915050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c11156136d85760006003915091506137a1565b601b8560ff16141580156136f05750601c8560ff1614155b156137025760006004915091506137a1565b600060018787878760405160008152602001604052604051613727949392919061437b565b6020604051602081039080840390855afa158015613749573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415613798576000600192509250506137a1565b80600092509250505b94509492505050565b60008060007f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff60001b841690506000601b60ff8660001c901c6137ed9190614667565b90506137fb8782888561369d565b935093505050935093915050565b60008383834630604051602001613824959493929190614328565b6040516020818303038152906040528051906020012090509392505050565b82805461384f90614849565b90600052602060002090601f01602090048101928261387157600085556138b8565b82601f1061388a57805160ff19168380011785556138b8565b828001600101855582156138b8579182015b828111156138b757825182559160200191906001019061389c565b5b5090506138c591906139cd565b5090565b50805460008255906000526020600020908101906138e791906139cd565b50565b828054828255906000526020600020908101928215613979579160200282015b8281111561397857823573ffffffffffffffffffffffffffffffffffffffff168260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509160200191906001019061390a565b5b50905061398691906139cd565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156139e65760008160009055506001016139ce565b5090565b60006139fd6139f8846145a2565b61457d565b905082815260208101848484011115613a1557600080fd5b613a20848285614807565b509392505050565b6000613a3b613a36846145d3565b61457d565b905082815260208101848484011115613a5357600080fd5b613a5e848285614807565b509392505050565b600081359050613a7581614cad565b92915050565b60008083601f840112613a8d57600080fd5b8235905067ffffffffffffffff811115613aa657600080fd5b602083019150836020820283011115613abe57600080fd5b9250929050565b600081359050613ad481614cc4565b92915050565b600081359050613ae981614cdb565b92915050565b600081519050613afe81614cdb565b92915050565b600082601f830112613b1557600080fd5b8135613b258482602086016139ea565b91505092915050565b600082601f830112613b3f57600080fd5b8135613b4f848260208601613a28565b91505092915050565b600081359050613b6781614cf2565b92915050565b600060208284031215613b7f57600080fd5b6000613b8d84828501613a66565b91505092915050565b60008060408385031215613ba957600080fd5b6000613bb785828601613a66565b9250506020613bc885828601613a66565b9150509250929050565b600080600060608486031215613be757600080fd5b6000613bf586828701613a66565b9350506020613c0686828701613a66565b9250506040613c1786828701613b58565b9150509250925092565b60008060008060808587031215613c3757600080fd5b6000613c4587828801613a66565b9450506020613c5687828801613a66565b9350506040613c6787828801613b58565b925050606085013567ffffffffffffffff811115613c8457600080fd5b613c9087828801613b04565b91505092959194509250565b60008060408385031215613caf57600080fd5b6000613cbd85828601613a66565b9250506020613cce85828601613ac5565b9150509250929050565b60008060408385031215613ceb57600080fd5b6000613cf985828601613a66565b9250506020613d0a85828601613b58565b9150509250929050565b60008060208385031215613d2757600080fd5b600083013567ffffffffffffffff811115613d4157600080fd5b613d4d85828601613a7b565b92509250509250929050565b600060208284031215613d6b57600080fd5b6000613d7984828501613ac5565b91505092915050565b600060208284031215613d9457600080fd5b6000613da284828501613ada565b91505092915050565b600060208284031215613dbd57600080fd5b6000613dcb84828501613aef565b91505092915050565b600060208284031215613de657600080fd5b600082013567ffffffffffffffff811115613e0057600080fd5b613e0c84828501613b2e565b91505092915050565b600060208284031215613e2757600080fd5b6000613e3584828501613b58565b91505092915050565b60008060408385031215613e5157600080fd5b6000613e5f85828601613b58565b925050602083013567ffffffffffffffff811115613e7c57600080fd5b613e8885828601613b04565b9150509250929050565b613e9b8161477c565b82525050565b613eaa8161478e565b82525050565b613eb98161479a565b82525050565b613ed0613ecb8261479a565b6148f5565b82525050565b6000613ee182614619565b613eeb818561462f565b9350613efb818560208601614816565b613f04816149ec565b840191505092915050565b6000613f1a82614624565b613f24818561464b565b9350613f34818560208601614816565b613f3d816149ec565b840191505092915050565b6000613f5382614624565b613f5d818561465c565b9350613f6d818560208601614816565b80840191505092915050565b60008154613f8681614849565b613f90818661465c565b94506001821660008114613fab5760018114613fbc57613fef565b60ff19831686528186019350613fef565b613fc585614604565b60005b83811015613fe757815481890152600182019150602081019050613fc8565b838801955050505b50505092915050565b600061400560188361464b565b9150614010826149fd565b602082019050919050565b6000614028601f8361464b565b915061403382614a26565b602082019050919050565b600061404b60268361464b565b915061405682614a4f565b604082019050919050565b600061406e60028361465c565b915061407982614a9e565b600282019050919050565b600061409160228361464b565b915061409c82614ac7565b604082019050919050565b60006140b460168361464b565b91506140bf82614b16565b602082019050919050565b60006140d760228361464b565b91506140e282614b3f565b604082019050919050565b60006140fa60208361464b565b915061410582614b8e565b602082019050919050565b600061411d60168361464b565b915061412882614bb7565b602082019050919050565b6000614140602f8361464b565b915061414b82614be0565b604082019050919050565b6000614163600083614640565b915061416e82614c2f565b600082019050919050565b600061418660128361464b565b915061419182614c32565b602082019050919050565b60006141a960178361464b565b91506141b482614c5b565b602082019050919050565b60006141cc601b8361464b565b91506141d782614c84565b602082019050919050565b6141eb816147f0565b82525050565b6141fa816147fa565b82525050565b600061420c8286613f48565b91506142188285613f48565b91506142248284613f79565b9150819050949350505050565b600061423c82614061565b91506142488285613ebf565b6020820191506142588284613ebf565b6020820191508190509392505050565b600061427382614156565b9150819050919050565b60006020820190506142926000830184613e92565b92915050565b60006080820190506142ad6000830187613e92565b6142ba6020830186613e92565b6142c760408301856141e2565b81810360608301526142d98184613ed6565b905095945050505050565b60006020820190506142f96000830184613ea1565b92915050565b60006040820190506143146000830185613eb0565b6143216020830184613e92565b9392505050565b600060a08201905061433d6000830188613eb0565b61434a6020830187613eb0565b6143576040830186613eb0565b61436460608301856141e2565b6143716080830184613e92565b9695505050505050565b60006080820190506143906000830187613eb0565b61439d60208301866141f1565b6143aa6040830185613eb0565b6143b76060830184613eb0565b95945050505050565b600060208201905081810360008301526143da8184613f0f565b905092915050565b600060208201905081810360008301526143fb81613ff8565b9050919050565b6000602082019050818103600083015261441b8161401b565b9050919050565b6000602082019050818103600083015261443b8161403e565b9050919050565b6000602082019050818103600083015261445b81614084565b9050919050565b6000602082019050818103600083015261447b816140a7565b9050919050565b6000602082019050818103600083015261449b816140ca565b9050919050565b600060208201905081810360008301526144bb816140ed565b9050919050565b600060208201905081810360008301526144db81614110565b9050919050565b600060208201905081810360008301526144fb81614133565b9050919050565b6000602082019050818103600083015261451b81614179565b9050919050565b6000602082019050818103600083015261453b8161419c565b9050919050565b6000602082019050818103600083015261455b816141bf565b9050919050565b600060208201905061457760008301846141e2565b92915050565b6000614587614598565b9050614593828261487b565b919050565b6000604051905090565b600067ffffffffffffffff8211156145bd576145bc6149bd565b5b6145c6826149ec565b9050602081019050919050565b600067ffffffffffffffff8211156145ee576145ed6149bd565b5b6145f7826149ec565b9050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614672826147f0565b915061467d836147f0565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146b2576146b1614930565b5b828201905092915050565b60006146c8826147f0565b91506146d3836147f0565b9250826146e3576146e261495f565b5b828204905092915050565b60006146f9826147f0565b9150614704836147f0565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561473d5761473c614930565b5b828202905092915050565b6000614753826147f0565b915061475e836147f0565b92508282101561477157614770614930565b5b828203905092915050565b6000614787826147d0565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614834578082015181840152602081019050614819565b83811115614843576000848401525b50505050565b6000600282049050600182168061486157607f821691505b602082108114156148755761487461498e565b5b50919050565b614884826149ec565b810181811067ffffffffffffffff821117156148a3576148a26149bd565b5b80604052505050565b60006148b7826147f0565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156148ea576148e9614930565b5b600182019050919050565b6000819050919050565b600061490a826147f0565b9150614915836147f0565b9250826149255761492461495f565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f1901000000000000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f6d6178204e4654206c696d697420657863656564656400000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f74686520636f6e74726163742069732070617573656400000000000000000000600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b50565b7f696e73756666696369656e742066756e64730000000000000000000000000000600082015250565b7f75736572206973206e6f742077686974656c6973746564000000000000000000600082015250565b7f6e65656420746f206d696e74206174206c656173742031204e46540000000000600082015250565b614cb68161477c565b8114614cc157600080fd5b50565b614ccd8161478e565b8114614cd857600080fd5b50565b614ce4816147a4565b8114614cef57600080fd5b50565b614cfb816147f0565b8114614d0657600080fd5b5056fea2646970667358221220bb371d8077dbcfacb89e1380de7304aad5c7f1081e4434d57dbe467206074f9e64736f6c63430008040033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c00000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000000135361626572746f6f7468506f6b6572436c756200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000353504300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d536975646763476379626a5548315a336b776a6362703650556173326274435652646a4b73446b6b47784e652f000000000000000000000000000000000000000000000000000000000000000000000000000000000041697066733a2f2f516d55454c417071555a4435615772544a316d51734a715255355155574843546d346a317839374736434b7369712f68696464656e2e6a736f6e00000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): SabertoothPokerClub
Arg [1] : _symbol (string): SPC
Arg [2] : _initBaseURI (string): ipfs://QmSiudgcGcybjUH1Z3kwjcbp6PUas2btCVRdjKsDkkGxNe/
Arg [3] : _initNotRevealedUri (string): ipfs://QmUELApqUZD5aWrTJ1mQsJqRU5QUWHCTm4j1x97G6CKsiq/hidden.json

-----Encoded View---------------
15 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000160
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000013
Arg [5] : 5361626572746f6f7468506f6b6572436c756200000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5350430000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [9] : 697066733a2f2f516d536975646763476379626a5548315a336b776a63627036
Arg [10] : 50556173326274435652646a4b73446b6b47784e652f00000000000000000000
Arg [11] : 0000000000000000000000000000000000000000000000000000000000000041
Arg [12] : 697066733a2f2f516d55454c417071555a4435615772544a316d51734a715255
Arg [13] : 355155574843546d346a317839374736434b7369712f68696464656e2e6a736f
Arg [14] : 6e00000000000000000000000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Sabertooth NFTs that earn active (Play-to-Earn) and passive (NFT rental) income in the metaverse

Validator Index Block Amount
View All Withdrawals

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

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