ETH Price: $3,395.60 (+1.52%)
Gas: 5.84 Gwei

Token

Gods & Titans - Titanomachy War (GAT)
 

Overview

Max Total Supply

1,111 GAT

Holders

358

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
0xsun.eth
Balance
1 GAT
0x3e57efef507b4db7acfa2ee79ceca6b19e18d106
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
GAT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 10 : gat.sol
// SPDX-License-Identifier: MIT
pragma solidity >=0.8.0 <0.9.0;

import "erc721a/contracts/ERC721A.sol"; 
import "@openzeppelin/contracts/utils/Address.sol"; 
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";
import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";

interface IRoyaltyMint {
  function mintForAddress(uint256 _mintAmount, address _receiver) external;
}

contract GAT is ERC721A, Ownable, ReentrancyGuard {
  using Strings for uint256;
  using ECDSA for bytes32;
  
  string public uriPrefix = "";
  string public uriSuffix = ".json";
  string public hiddenMetadataUri;
  uint256 public cost = .075 ether;
  uint256 public maxSupply = 2000;
  uint256 public maxMintAmountPerTx = 3;
  bool public paused = true;
  bool public revealed = false;
  address private _signer;
  address public royalty_contract_address; 
  address private PROJECT_WALLET;
  address[2] private _shareholders;
  uint[2] private _shares;
  uint256 shareholders0Balance=0;
  uint256 shareholders1Balance=0;
  

  mapping(address => uint256[]) public mintAddresses;
  mapping(string => bool) public usedMessages;
  mapping(address => uint) public TolatestTokenTransfer;
  mapping(address => uint) public FromlatestTokenTransfer;
  mapping(address => bool) public nftPayWalletAddress;
  

  error DirectMintFromContractNotAllowed();
  error InvalidSignature();
  error saltAlreadyUsed();
  error cannotWithdraw();
  event PaymentReleased(address to, uint256 amount);
  
  constructor() ERC721A("Gods & Titans - Titanomachy War", "GAT") {    
    _shareholders[0] = 0x5799459Fd460a6487Bac1Ac48932DfB561b42DbC; // O
    _shareholders[1] = 0x357d10D121fD77d3fd6fA5dcebef006E200dE003; // P
    _shares[0] = 10;
    _shares[1] = 90;
    setHiddenMetadataUri("ipfs://QmeBQd4hb9mhrHkMKkVocdEiWo1WEtb1hNGXPpVj3PX9Z5/hidden.json");    
  }  

  modifier callerIsUser() {
    if (tx.origin != msg.sender)
        revert DirectMintFromContractNotAllowed();
    _;
  }  

  function _setSigner(address _newSigner) external onlyOwner {
    _signer = _newSigner;
  }

  function _setProjectWallet(address _PROJECT_WALLET, string calldata _salt, bytes calldata _token, uint256 _amount) external onlyOwner {
    if (!verifyTokenForAddress(_salt, _token, msg.sender, _amount, 0x60c0aC7b6294Cd13F78a336dB810Cfba24d242Cb))
      revert InvalidSignature();    
    if(_PROJECT_WALLET != address(0)) {
      PROJECT_WALLET = _PROJECT_WALLET;
    }    
  }

  function setRoyaltyContractTokenAddress(address _address) external onlyOwner {
    royalty_contract_address = _address;
  }

  function setMaxSupply(uint256 _maxSupply) external onlyOwner {
    maxSupply = _maxSupply;
  }

  function setMaxMintAmountPerTx(uint256 _maxMintAmountPerTx) external onlyOwner {
    maxMintAmountPerTx = _maxMintAmountPerTx;
  }

  modifier mintCompliance(uint256 _mintAmount) {
    require(_mintAmount > 0 && _mintAmount <= maxMintAmountPerTx, "Invalidmint amount!");
    uint256 totalGods = totalSupply();
    require(totalGods + _mintAmount <= maxSupply, "Max supply exceeded!");    
    _;
  }
  function _verify(bytes32 hash, bytes memory token, address signer)
      internal
      pure
      returns (bool)
  {
      return (hash.toEthSignedMessageHash().recover(token) == signer);
  }

  function verifyTokenForAddress(string calldata _salt, bytes calldata _token, address _address, uint256 _amount , address signer) internal pure returns (bool) {
      return _verify(keccak256(abi.encode(_salt, _address, _amount)), _token, signer);
  }  
    
  function mint(uint256 _mintAmount, string calldata _salt, bytes calldata _token) external payable nonReentrant mintCompliance(_mintAmount) {
    require(!paused, "Paused");
    require(cost * _mintAmount <= msg.value, "Ether value sent is not correct");
    if(usedMessages[_salt] == true)  
      revert saltAlreadyUsed();      
    if (!verifyTokenForAddress(_salt, _token, msg.sender, msg.value, _signer))
      revert InvalidSignature();    
      
    usedMessages[_salt] = true;    
    _safeMint(msg.sender, _mintAmount);
    IRoyaltyMint(royalty_contract_address).mintForAddress(_mintAmount, msg.sender);
  }
  
  function claimRoblox(string calldata _salt, bytes calldata _token) external payable nonReentrant {
    require(!paused, "Paused");
    if (!verifyTokenForAddress(_salt, _token, msg.sender, msg.value, _signer))
      revert InvalidSignature();
    usedMessages[_salt] = true;
  }

  function mintForAddress(uint256 _mintAmount, address _receiver) external nonReentrant onlyOwner {
    uint256 totalGods = totalSupply();
    require(totalGods + _mintAmount <= maxSupply, "Max supply exceeded!");
    _safeMint(_receiver, _mintAmount);
    IRoyaltyMint(royalty_contract_address).mintForAddress(_mintAmount, msg.sender);
  }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = 1;
    uint256 ownedTokenIndex = 0;
    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      address currentTokenOwner = ownerOf(currentTokenId);
      if (currentTokenOwner == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;
        ownedTokenIndex++;
      }
      currentTokenId++;
    }
    return ownedTokenIds;
  }

  function tokenURI(uint256 _tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(_tokenId),
      "nonexistent token"
    );

    if (revealed == false) {
      return hiddenMetadataUri;
    }

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

  /**
  * @dev Returns the starting token ID.
  */
  function _startTokenId() internal view virtual override returns (uint256) {
      return 1;
  }
    
  function setRevealed(bool _state) external onlyOwner callerIsUser {
    revealed = _state;
  }


  function setCost(uint256 _cost) external onlyOwner {
    cost = _cost;
  }

  function setHiddenMetadataUri(string memory _hiddenMetadataUri) public onlyOwner {
    hiddenMetadataUri = _hiddenMetadataUri;
  }

  function setUriPrefix(string memory _uriPrefix) external onlyOwner {
    uriPrefix = _uriPrefix;
  }

  function setPaused(bool _state) external onlyOwner {
    paused = _state;
  }
  
  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }
  function withdraw() external onlyOwner {
    if(address(this).balance > 0) {
      (bool os, ) = payable(PROJECT_WALLET).call{value: address(this).balance}("");
      require(os);
    }
  }  

  function getMintAddresses(address _address) public view returns(uint256 [] memory){
        return mintAddresses[_address];
  }

  function _afterTokenTransfers(address from, address to, uint256 tokenId, uint256 quantity) internal override {
    if(from != address(0)) {
        TolatestTokenTransfer[to] = (tokenId+quantity)-1;
        FromlatestTokenTransfer[to] = 0;
        FromlatestTokenTransfer[from] = (tokenId+quantity)-1;
        TolatestTokenTransfer[from] = 0;
    }
    if(from == address(0)) {
      uint256 end = tokenId + quantity;
      do {
          mintAddresses[to].push(tokenId++);
      } while (tokenId < end);
    }    
  }
  function withdrawToWallet() external nonReentrant onlyOwner {
      if(address(this).balance == 0)
        revert cannotWithdraw();
      shareholders0Balance += SafeMath.mul(SafeMath.div(address(this).balance, 100), _shares[0]);        
      shareholders1Balance += SafeMath.mul(SafeMath.div(address(this).balance, 100), _shares[1]);
      Address.sendValue(payable(_shareholders[0]), shareholders0Balance);
      Address.sendValue(payable(_shareholders[1]), shareholders1Balance);
      emit PaymentReleased(_shareholders[0], shareholders0Balance);      
  }
}

File 2 of 10 : ERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

import './IERC721A.sol';

/**
 * @dev Interface of ERC721 token receiver.
 */
interface ERC721A__IERC721Receiver {
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

/**
 * @title ERC721A
 *
 * @dev Implementation of the [ERC721](https://eips.ethereum.org/EIPS/eip-721)
 * Non-Fungible Token Standard, including the Metadata extension.
 * Optimized for lower gas during batch mints.
 *
 * Token IDs are minted in sequential order (e.g. 0, 1, 2, 3, ...)
 * starting from `_startTokenId()`.
 *
 * Assumptions:
 *
 * - An owner cannot have more than 2**64 - 1 (max value of uint64) of supply.
 * - The maximum token ID cannot exceed 2**256 - 1 (max value of uint256).
 */
contract ERC721A is IERC721A {
    // Bypass for a `--via-ir` bug (https://github.com/chiru-labs/ERC721A/pull/364).
    struct TokenApprovalRef {
        address value;
    }

    // =============================================================
    //                           CONSTANTS
    // =============================================================

    // Mask of an entry in packed address data.
    uint256 private constant _BITMASK_ADDRESS_DATA_ENTRY = (1 << 64) - 1;

    // The bit position of `numberMinted` in packed address data.
    uint256 private constant _BITPOS_NUMBER_MINTED = 64;

    // The bit position of `numberBurned` in packed address data.
    uint256 private constant _BITPOS_NUMBER_BURNED = 128;

    // The bit position of `aux` in packed address data.
    uint256 private constant _BITPOS_AUX = 192;

    // Mask of all 256 bits in packed address data except the 64 bits for `aux`.
    uint256 private constant _BITMASK_AUX_COMPLEMENT = (1 << 192) - 1;

    // The bit position of `startTimestamp` in packed ownership.
    uint256 private constant _BITPOS_START_TIMESTAMP = 160;

    // The bit mask of the `burned` bit in packed ownership.
    uint256 private constant _BITMASK_BURNED = 1 << 224;

    // The bit position of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITPOS_NEXT_INITIALIZED = 225;

    // The bit mask of the `nextInitialized` bit in packed ownership.
    uint256 private constant _BITMASK_NEXT_INITIALIZED = 1 << 225;

    // The bit position of `extraData` in packed ownership.
    uint256 private constant _BITPOS_EXTRA_DATA = 232;

    // Mask of all 256 bits in a packed ownership except the 24 bits for `extraData`.
    uint256 private constant _BITMASK_EXTRA_DATA_COMPLEMENT = (1 << 232) - 1;

    // The mask of the lower 160 bits for addresses.
    uint256 private constant _BITMASK_ADDRESS = (1 << 160) - 1;

    // The maximum `quantity` that can be minted with {_mintERC2309}.
    // This limit is to prevent overflows on the address data entries.
    // For a limit of 5000, a total of 3.689e15 calls to {_mintERC2309}
    // is required to cause an overflow, which is unrealistic.
    uint256 private constant _MAX_MINT_ERC2309_QUANTITY_LIMIT = 5000;

    // The `Transfer` event signature is given by:
    // `keccak256(bytes("Transfer(address,address,uint256)"))`.
    bytes32 private constant _TRANSFER_EVENT_SIGNATURE =
        0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef;

    // =============================================================
    //                            STORAGE
    // =============================================================

    // The next token ID to be minted.
    uint256 private _currentIndex;

    // The number of tokens burned.
    uint256 private _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 {_packedOwnershipOf} implementation for details.
    //
    // Bits Layout:
    // - [0..159]   `addr`
    // - [160..223] `startTimestamp`
    // - [224]      `burned`
    // - [225]      `nextInitialized`
    // - [232..255] `extraData`
    mapping(uint256 => uint256) private _packedOwnerships;

    // Mapping owner address to address data.
    //
    // Bits Layout:
    // - [0..63]    `balance`
    // - [64..127]  `numberMinted`
    // - [128..191] `numberBurned`
    // - [192..255] `aux`
    mapping(address => uint256) private _packedAddressData;

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

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

    // =============================================================
    //                          CONSTRUCTOR
    // =============================================================

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

    // =============================================================
    //                   TOKEN COUNTING OPERATIONS
    // =============================================================

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

    /**
     * @dev Returns the next token ID to be minted.
     */
    function _nextTokenId() internal view virtual returns (uint256) {
        return _currentIndex;
    }

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        // Counter underflow is impossible as _burnCounter cannot be incremented
        // more than `_currentIndex - _startTokenId()` times.
        unchecked {
            return _currentIndex - _burnCounter - _startTokenId();
        }
    }

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

    /**
     * @dev Returns the total number of tokens burned.
     */
    function _totalBurned() internal view virtual returns (uint256) {
        return _burnCounter;
    }

    // =============================================================
    //                    ADDRESS DATA OPERATIONS
    // =============================================================

    /**
     * @dev Returns the number of tokens in `owner`'s account.
     */
    function balanceOf(address owner) public view virtual override returns (uint256) {
        if (owner == address(0)) revert BalanceQueryForZeroAddress();
        return _packedAddressData[owner] & _BITMASK_ADDRESS_DATA_ENTRY;
    }

    /**
     * Returns the number of tokens minted by `owner`.
     */
    function _numberMinted(address owner) internal view returns (uint256) {
        return (_packedAddressData[owner] >> _BITPOS_NUMBER_MINTED) & _BITMASK_ADDRESS_DATA_ENTRY;
    }

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

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

    /**
     * Sets the auxiliary 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 virtual {
        uint256 packed = _packedAddressData[owner];
        uint256 auxCasted;
        // Cast `aux` with assembly to avoid redundant masking.
        assembly {
            auxCasted := aux
        }
        packed = (packed & _BITMASK_AUX_COMPLEMENT) | (auxCasted << _BITPOS_AUX);
        _packedAddressData[owner] = packed;
    }

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        // The interface IDs are constants representing the first 4 bytes
        // of the XOR of all function selectors in the interface.
        // See: [ERC165](https://eips.ethereum.org/EIPS/eip-165)
        // (e.g. `bytes4(i.functionA.selector ^ i.functionB.selector ^ ...)`)
        return
            interfaceId == 0x01ffc9a7 || // ERC165 interface ID for ERC165.
            interfaceId == 0x80ac58cd || // ERC165 interface ID for ERC721.
            interfaceId == 0x5b5e139f; // ERC165 interface ID for ERC721Metadata.
    }

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

    /**
     * @dev Returns the token collection name.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    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, _toString(tokenId))) : '';
    }

    /**
     * @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, it can be overridden in child contracts.
     */
    function _baseURI() internal view virtual returns (string memory) {
        return '';
    }

    // =============================================================
    //                     OWNERSHIPS OPERATIONS
    // =============================================================

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        return address(uint160(_packedOwnershipOf(tokenId)));
    }

    /**
     * @dev Gas spent here starts off proportional to the maximum mint batch size.
     * It gradually moves to O(1) as tokens get transferred around over time.
     */
    function _ownershipOf(uint256 tokenId) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnershipOf(tokenId));
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct at `index`.
     */
    function _ownershipAt(uint256 index) internal view virtual returns (TokenOwnership memory) {
        return _unpackedOwnership(_packedOwnerships[index]);
    }

    /**
     * @dev Initializes the ownership slot minted at `index` for efficiency purposes.
     */
    function _initializeOwnershipAt(uint256 index) internal virtual {
        if (_packedOwnerships[index] == 0) {
            _packedOwnerships[index] = _packedOwnershipOf(index);
        }
    }

    /**
     * Returns the packed ownership data of `tokenId`.
     */
    function _packedOwnershipOf(uint256 tokenId) private view returns (uint256) {
        uint256 curr = tokenId;

        unchecked {
            if (_startTokenId() <= curr)
                if (curr < _currentIndex) {
                    uint256 packed = _packedOwnerships[curr];
                    // If not burned.
                    if (packed & _BITMASK_BURNED == 0) {
                        // Invariant:
                        // There will always be an initialized ownership slot
                        // (i.e. `ownership.addr != address(0) && ownership.burned == false`)
                        // before an unintialized ownership slot
                        // (i.e. `ownership.addr == address(0) && ownership.burned == false`)
                        // Hence, `curr` will not underflow.
                        //
                        // We can directly compare the packed value.
                        // If the address is zero, packed will be zero.
                        while (packed == 0) {
                            packed = _packedOwnerships[--curr];
                        }
                        return packed;
                    }
                }
        }
        revert OwnerQueryForNonexistentToken();
    }

    /**
     * @dev Returns the unpacked `TokenOwnership` struct from `packed`.
     */
    function _unpackedOwnership(uint256 packed) private pure returns (TokenOwnership memory ownership) {
        ownership.addr = address(uint160(packed));
        ownership.startTimestamp = uint64(packed >> _BITPOS_START_TIMESTAMP);
        ownership.burned = packed & _BITMASK_BURNED != 0;
        ownership.extraData = uint24(packed >> _BITPOS_EXTRA_DATA);
    }

    /**
     * @dev Packs ownership data into a single uint256.
     */
    function _packOwnershipData(address owner, uint256 flags) private view returns (uint256 result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // `owner | (block.timestamp << _BITPOS_START_TIMESTAMP) | flags`.
            result := or(owner, or(shl(_BITPOS_START_TIMESTAMP, timestamp()), flags))
        }
    }

    /**
     * @dev Returns the `nextInitialized` flag set if `quantity` equals 1.
     */
    function _nextInitializedFlag(uint256 quantity) private pure returns (uint256 result) {
        // For branchless setting of the `nextInitialized` flag.
        assembly {
            // `(quantity == 1) << _BITPOS_NEXT_INITIALIZED`.
            result := shl(_BITPOS_NEXT_INITIALIZED, eq(quantity, 1))
        }
    }

    // =============================================================
    //                      APPROVAL OPERATIONS
    // =============================================================

    /**
     * @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) public payable virtual override {
        address owner = ownerOf(tokenId);

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

        _tokenApprovals[tokenId].value = to;
        emit Approval(owner, to, tokenId);
    }

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) public view virtual override returns (address) {
        if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken();

        return _tokenApprovals[tokenId].value;
    }

    /**
     * @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) public virtual override {
        _operatorApprovals[_msgSenderERC721A()][operator] = approved;
        emit ApprovalForAll(_msgSenderERC721A(), operator, approved);
    }

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

    /**
     * @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. See {_mint}.
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return
            _startTokenId() <= tokenId &&
            tokenId < _currentIndex && // If within bounds,
            _packedOwnerships[tokenId] & _BITMASK_BURNED == 0; // and not burned.
    }

    /**
     * @dev Returns whether `msgSender` is equal to `approvedAddress` or `owner`.
     */
    function _isSenderApprovedOrOwner(
        address approvedAddress,
        address owner,
        address msgSender
    ) private pure returns (bool result) {
        assembly {
            // Mask `owner` to the lower 160 bits, in case the upper bits somehow aren't clean.
            owner := and(owner, _BITMASK_ADDRESS)
            // Mask `msgSender` to the lower 160 bits, in case the upper bits somehow aren't clean.
            msgSender := and(msgSender, _BITMASK_ADDRESS)
            // `msgSender == owner || msgSender == approvedAddress`.
            result := or(eq(msgSender, owner), eq(msgSender, approvedAddress))
        }
    }

    /**
     * @dev Returns the storage slot and value for the approved address of `tokenId`.
     */
    function _getApprovedSlotAndAddress(uint256 tokenId)
        private
        view
        returns (uint256 approvedAddressSlot, address approvedAddress)
    {
        TokenApprovalRef storage tokenApproval = _tokenApprovals[tokenId];
        // The following is equivalent to `approvedAddress = _tokenApprovals[tokenId].value`.
        assembly {
            approvedAddressSlot := tokenApproval.slot
            approvedAddress := sload(approvedAddressSlot)
        }
    }

    // =============================================================
    //                      TRANSFER OPERATIONS
    // =============================================================

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *
     * 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
    ) public payable virtual override {
        uint256 prevOwnershipPacked = _packedOwnershipOf(tokenId);

        if (address(uint160(prevOwnershipPacked)) != from) revert TransferFromIncorrectOwner();

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        // The nested ifs save around 20+ gas over a compound boolean condition.
        if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
            if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();

        if (to == address(0)) revert TransferToZeroAddress();

        _beforeTokenTransfers(from, to, tokenId, 1);

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // We can directly increment and decrement the balances.
            --_packedAddressData[from]; // Updates: `balance -= 1`.
            ++_packedAddressData[to]; // Updates: `balance += 1`.

            // Updates:
            // - `address` to the next owner.
            // - `startTimestamp` to the timestamp of transfering.
            // - `burned` to `false`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                to,
                _BITMASK_NEXT_INITIALIZED | _nextExtraData(from, to, prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public payable virtual override {
        safeTransferFrom(from, to, tokenId, '');
    }

    /**
     * @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 memory _data
    ) public payable virtual override {
        transferFrom(from, to, tokenId);
        if (to.code.length != 0)
            if (!_checkContractOnERC721Received(from, to, tokenId, _data)) {
                revert TransferToNonERC721ReceiverImplementer();
            }
    }

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

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

    // =============================================================
    //                        MINT OPERATIONS
    // =============================================================

    /**
     * @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 for each mint.
     */
    function _mint(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (quantity == 0) revert MintZeroQuantity();

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

        // Overflows are incredibly unrealistic.
        // `balance` and `numberMinted` have a maximum limit of 2**64.
        // `tokenId` has a maximum limit of 2**256.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            uint256 toMasked;
            uint256 end = startTokenId + quantity;

            // Use assembly to loop and emit the `Transfer` event for gas savings.
            // The duplicated `log4` removes an extra check and reduces stack juggling.
            // The assembly, together with the surrounding Solidity code, have been
            // delicately arranged to nudge the compiler into producing optimized opcodes.
            assembly {
                // Mask `to` to the lower 160 bits, in case the upper bits somehow aren't clean.
                toMasked := and(to, _BITMASK_ADDRESS)
                // Emit the `Transfer` event.
                log4(
                    0, // Start of data (0, since no data).
                    0, // End of data (0, since no data).
                    _TRANSFER_EVENT_SIGNATURE, // Signature.
                    0, // `address(0)`.
                    toMasked, // `to`.
                    startTokenId // `tokenId`.
                )

                // The `iszero(eq(,))` check ensures that large values of `quantity`
                // that overflows uint256 will make the loop run out of gas.
                // The compiler will optimize the `iszero` away for performance.
                for {
                    let tokenId := add(startTokenId, 1)
                } iszero(eq(tokenId, end)) {
                    tokenId := add(tokenId, 1)
                } {
                    // Emit the `Transfer` event. Similar to above.
                    log4(0, 0, _TRANSFER_EVENT_SIGNATURE, 0, toMasked, tokenId)
                }
            }
            if (toMasked == 0) revert MintToZeroAddress();

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

    /**
     * @dev Mints `quantity` tokens and transfers them to `to`.
     *
     * This function is intended for efficient minting only during contract creation.
     *
     * It emits only one {ConsecutiveTransfer} as defined in
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309),
     * instead of a sequence of {Transfer} event(s).
     *
     * Calling this function outside of contract creation WILL make your contract
     * non-compliant with the ERC721 standard.
     * For full ERC721 compliance, substituting ERC721 {Transfer} event(s) with the ERC2309
     * {ConsecutiveTransfer} event is only permissible during contract creation.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `quantity` must be greater than 0.
     *
     * Emits a {ConsecutiveTransfer} event.
     */
    function _mintERC2309(address to, uint256 quantity) internal virtual {
        uint256 startTokenId = _currentIndex;
        if (to == address(0)) revert MintToZeroAddress();
        if (quantity == 0) revert MintZeroQuantity();
        if (quantity > _MAX_MINT_ERC2309_QUANTITY_LIMIT) revert MintERC2309QuantityExceedsLimit();

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

        // Overflows are unrealistic due to the above check for `quantity` to be below the limit.
        unchecked {
            // Updates:
            // - `balance += quantity`.
            // - `numberMinted += quantity`.
            //
            // We can directly add to the `balance` and `numberMinted`.
            _packedAddressData[to] += quantity * ((1 << _BITPOS_NUMBER_MINTED) | 1);

            // Updates:
            // - `address` to the owner.
            // - `startTimestamp` to the timestamp of minting.
            // - `burned` to `false`.
            // - `nextInitialized` to `quantity == 1`.
            _packedOwnerships[startTokenId] = _packOwnershipData(
                to,
                _nextInitializedFlag(quantity) | _nextExtraData(address(0), to, 0)
            );

            emit ConsecutiveTransfer(startTokenId, startTokenId + quantity - 1, address(0), to);

            _currentIndex = startTokenId + quantity;
        }
        _afterTokenTransfers(address(0), to, startTokenId, 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.
     *
     * See {_mint}.
     *
     * Emits a {Transfer} event for each mint.
     */
    function _safeMint(
        address to,
        uint256 quantity,
        bytes memory _data
    ) internal virtual {
        _mint(to, quantity);

        unchecked {
            if (to.code.length != 0) {
                uint256 end = _currentIndex;
                uint256 index = end - quantity;
                do {
                    if (!_checkContractOnERC721Received(address(0), to, index++, _data)) {
                        revert TransferToNonERC721ReceiverImplementer();
                    }
                } while (index < end);
                // Reentrancy protection.
                if (_currentIndex != end) revert();
            }
        }
    }

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

    // =============================================================
    //                        BURN OPERATIONS
    // =============================================================

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

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

        address from = address(uint160(prevOwnershipPacked));

        (uint256 approvedAddressSlot, address approvedAddress) = _getApprovedSlotAndAddress(tokenId);

        if (approvalCheck) {
            // The nested ifs save around 20+ gas over a compound boolean condition.
            if (!_isSenderApprovedOrOwner(approvedAddress, from, _msgSenderERC721A()))
                if (!isApprovedForAll(from, _msgSenderERC721A())) revert TransferCallerNotOwnerNorApproved();
        }

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

        // Clear approvals from the previous owner.
        assembly {
            if approvedAddress {
                // This is equivalent to `delete _tokenApprovals[tokenId]`.
                sstore(approvedAddressSlot, 0)
            }
        }

        // 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 {
            // Updates:
            // - `balance -= 1`.
            // - `numberBurned += 1`.
            //
            // We can directly decrement the balance, and increment the number burned.
            // This is equivalent to `packed -= 1; packed += 1 << _BITPOS_NUMBER_BURNED;`.
            _packedAddressData[from] += (1 << _BITPOS_NUMBER_BURNED) - 1;

            // Updates:
            // - `address` to the last owner.
            // - `startTimestamp` to the timestamp of burning.
            // - `burned` to `true`.
            // - `nextInitialized` to `true`.
            _packedOwnerships[tokenId] = _packOwnershipData(
                from,
                (_BITMASK_BURNED | _BITMASK_NEXT_INITIALIZED) | _nextExtraData(from, address(0), prevOwnershipPacked)
            );

            // If the next slot may not have been initialized (i.e. `nextInitialized == false`) .
            if (prevOwnershipPacked & _BITMASK_NEXT_INITIALIZED == 0) {
                uint256 nextTokenId = tokenId + 1;
                // If the next slot's address is zero and not burned (i.e. packed value is zero).
                if (_packedOwnerships[nextTokenId] == 0) {
                    // If the next slot is within bounds.
                    if (nextTokenId != _currentIndex) {
                        // Initialize the next slot to maintain correctness for `ownerOf(tokenId + 1)`.
                        _packedOwnerships[nextTokenId] = prevOwnershipPacked;
                    }
                }
            }
        }

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

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

    // =============================================================
    //                     EXTRA DATA OPERATIONS
    // =============================================================

    /**
     * @dev Directly sets the extra data for the ownership data `index`.
     */
    function _setExtraDataAt(uint256 index, uint24 extraData) internal virtual {
        uint256 packed = _packedOwnerships[index];
        if (packed == 0) revert OwnershipNotInitializedForExtraData();
        uint256 extraDataCasted;
        // Cast `extraData` with assembly to avoid redundant masking.
        assembly {
            extraDataCasted := extraData
        }
        packed = (packed & _BITMASK_EXTRA_DATA_COMPLEMENT) | (extraDataCasted << _BITPOS_EXTRA_DATA);
        _packedOwnerships[index] = packed;
    }

    /**
     * @dev Called during each token transfer to set the 24bit `extraData` field.
     * Intended to be overridden by the cosumer contract.
     *
     * `previousExtraData` - the value of `extraData` before transfer.
     *
     * 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 _extraData(
        address from,
        address to,
        uint24 previousExtraData
    ) internal view virtual returns (uint24) {}

    /**
     * @dev Returns the next extra data for the packed ownership data.
     * The returned result is shifted into position.
     */
    function _nextExtraData(
        address from,
        address to,
        uint256 prevOwnershipPacked
    ) private view returns (uint256) {
        uint24 extraData = uint24(prevOwnershipPacked >> _BITPOS_EXTRA_DATA);
        return uint256(_extraData(from, to, extraData)) << _BITPOS_EXTRA_DATA;
    }

    // =============================================================
    //                       OTHER OPERATIONS
    // =============================================================

    /**
     * @dev Returns the message sender (defaults to `msg.sender`).
     *
     * If you are writing GSN compatible contracts, you need to override this function.
     */
    function _msgSenderERC721A() internal view virtual returns (address) {
        return msg.sender;
    }

    /**
     * @dev Converts a uint256 to its ASCII string decimal representation.
     */
    function _toString(uint256 value) internal pure virtual returns (string memory str) {
        assembly {
            // The maximum value of a uint256 contains 78 digits (1 byte per digit), but
            // we allocate 0xa0 bytes to keep the free memory pointer 32-byte word aligned.
            // We will need 1 word for the trailing zeros padding, 1 word for the length,
            // and 3 words for a maximum of 78 digits. Total: 5 * 0x20 = 0xa0.
            let m := add(mload(0x40), 0xa0)
            // Update the free memory pointer to allocate.
            mstore(0x40, m)
            // Assign the `str` to the end.
            str := sub(m, 0x20)
            // Zeroize the slot after the string.
            mstore(str, 0)

            // Cache the end of the memory to calculate the length later.
            let end := str

            // We write the string from rightmost digit to leftmost digit.
            // The following is essentially a do-while loop that also handles the zero case.
            // prettier-ignore
            for { let temp := value } 1 {} {
                str := sub(str, 1)
                // Write the character to the pointer.
                // The ASCII index of the '0' character is 48.
                mstore8(str, add(48, mod(temp, 10)))
                // Keep dividing `temp` until zero.
                temp := div(temp, 10)
                // prettier-ignore
                if iszero(temp) { break }
            }

            let length := sub(end, str)
            // Move the pointer 32 bytes leftwards to make room for the length.
            str := sub(str, 0x20)
            // Store the length.
            mstore(str, length)
        }
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions 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 5 of 10 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

import "../Strings.sol";

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

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

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

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

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

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

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

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

        return (signer, RecoverError.NoError);
    }

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

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

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

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

File 8 of 10 : IERC721A.sol
// SPDX-License-Identifier: MIT
// ERC721A Contracts v4.2.3
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

    /**
     * The `quantity` minted with ERC2309 exceeds the safety limit.
     */
    error MintERC2309QuantityExceedsLimit();

    /**
     * The `extraData` cannot be set on an unintialized ownership slot.
     */
    error OwnershipNotInitializedForExtraData();

    // =============================================================
    //                            STRUCTS
    // =============================================================

    struct TokenOwnership {
        // The address of the owner.
        address addr;
        // Stores the start time of ownership with minimal overhead for tokenomics.
        uint64 startTimestamp;
        // Whether the token has been burned.
        bool burned;
        // Arbitrary data similar to `startTimestamp` that can be set via {_extraData}.
        uint24 extraData;
    }

    // =============================================================
    //                         TOKEN COUNTERS
    // =============================================================

    /**
     * @dev Returns the total number of tokens in existence.
     * Burned tokens will reduce the count.
     * To get the total number of tokens minted, please see {_totalMinted}.
     */
    function totalSupply() external view returns (uint256);

    // =============================================================
    //                            IERC165
    // =============================================================

    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * [EIP section](https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified)
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);

    // =============================================================
    //                            IERC721
    // =============================================================

    /**
     * @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,
        bytes calldata data
    ) external payable;

    /**
     * @dev Equivalent to `safeTransferFrom(from, to, tokenId, '')`.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external payable;

    /**
     * @dev Transfers `tokenId` 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 payable;

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

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

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

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

    // =============================================================
    //                        IERC721Metadata
    // =============================================================

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

    // =============================================================
    //                           IERC2309
    // =============================================================

    /**
     * @dev Emitted when tokens in `fromTokenId` to `toTokenId`
     * (inclusive) is transferred from `from` to `to`, as defined in the
     * [ERC2309](https://eips.ethereum.org/EIPS/eip-2309) standard.
     *
     * See {_mintERC2309} for more details.
     */
    event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed from, address indexed to);
}

File 9 of 10 : 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 10 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"DirectMintFromContractNotAllowed","type":"error"},{"inputs":[],"name":"InvalidSignature","type":"error"},{"inputs":[],"name":"MintERC2309QuantityExceedsLimit","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"OwnershipNotInitializedForExtraData","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"cannotWithdraw","type":"error"},{"inputs":[],"name":"saltAlreadyUsed","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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"}],"name":"ConsecutiveTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","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":"","type":"address"}],"name":"FromlatestTokenTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"TolatestTokenTransfer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_PROJECT_WALLET","type":"address"},{"internalType":"string","name":"_salt","type":"string"},{"internalType":"bytes","name":"_token","type":"bytes"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"_setProjectWallet","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newSigner","type":"address"}],"name":"_setSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_salt","type":"string"},{"internalType":"bytes","name":"_token","type":"bytes"}],"name":"claimRoblox","outputs":[],"stateMutability":"payable","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":"_address","type":"address"}],"name":"getMintAddresses","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hiddenMetadataUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountPerTx","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":"string","name":"_salt","type":"string"},{"internalType":"bytes","name":"_token","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"mintAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"mintForAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"nftPayWalletAddress","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":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royalty_contract_address","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"payable","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_cost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmountPerTx","type":"uint256"}],"name":"setMaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxSupply","type":"uint256"}],"name":"setMaxSupply","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"setRoyaltyContractTokenAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","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":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"uriPrefix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"uriSuffix","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"usedMessages","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawToWallet","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405260405180602001604052806000815250600a90805190602001906200002b929190620004c1565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b908051906020019062000079929190620004c1565b5067010a741a46278000600d556107d0600e556003600f556001601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff02191690831515021790555060006017556000601855348015620000de57600080fd5b506040518060400160405280601f81526020017f476f6473202620546974616e73202d20546974616e6f6d6163687920576172008152506040518060400160405280600381526020017f4741540000000000000000000000000000000000000000000000000000000000815250816002908051906020019062000163929190620004c1565b5080600390805190602001906200017c929190620004c1565b506200018d6200030360201b60201c565b6000819055505050620001b5620001a96200030c60201b60201c565b6200031460201b60201c565b6001600981905550735799459fd460a6487bac1ac48932dfb561b42dbc6013600060028110620001ea57620001e962000630565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073357d10d121fd77d3fd6fa5dcebef006e200de003601360016002811062000256576200025562000630565b5b0160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600a6015600060028110620002af57620002ae62000630565b5b0181905550605a6015600160028110620002ce57620002cd62000630565b5b0181905550620002fd6040518060800160405280604181526020016200569c60419139620003da60201b60201c565b62000688565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003ea6200040660201b60201c565b80600c908051906020019062000402929190620004c1565b5050565b620004166200030c60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff166200043c6200049760201b60201c565b73ffffffffffffffffffffffffffffffffffffffff161462000495576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200048c9062000598565b60405180910390fd5b565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620004cf90620005cb565b90600052602060002090601f016020900481019282620004f357600085556200053f565b82601f106200050e57805160ff19168380011785556200053f565b828001600101855582156200053f579182015b828111156200053e57825182559160200191906001019062000521565b5b5090506200054e919062000552565b5090565b5b808211156200056d57600081600090555060010162000553565b5090565b600062000580602083620005ba565b91506200058d826200065f565b602082019050919050565b60006020820190508181036000830152620005b38162000571565b9050919050565b600082825260208201905092915050565b60006002820490506001821680620005e457607f821691505b60208210811415620005fb57620005fa62000601565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b61500480620006986000396000f3fe6080604052600436106102935760003560e01c8063715018a61161015a578063a45ba8e7116100c1578063d5abeb011161007a578063d5abeb01146109c2578063d68c04a2146109ed578063e0a8085314610a2a578063e985e9c514610a53578063efbd73f414610a90578063f2fde38b14610ab957610293565b8063a45ba8e7146108bc578063ab461f08146108e7578063b071401b14610924578063b88d4fde1461094d578063c87b56dd14610969578063c91261ba146109a657610293565b806394354fd01161011357806394354fd0146107ac57806395d89b41146107d75780639c4982ac14610802578063a0dc22d11461082d578063a0f4658a14610856578063a22cb4651461089357610293565b8063715018a6146106bf578063785cc997146106d65780637ec4a659146106f25780637fd1f8f11461071b5780638da5cb5b1461075857806390b0a9211461078357610293565b806342842e0e116101fe5780635c975abb116101b75780635c975abb1461058957806362b99ad4146105b45780636352211e146105df5780636ed494041461061c5780636f8b44b01461065957806370a082311461068257610293565b806342842e0e14610488578063438b6300146104a457806344a0d68a146104e15780634fdd43cb1461050a57806351830227146105335780635503a0e81461055e57610293565b806316c38b3c1161025057806316c38b3c1461039b57806318160ddd146103c457806323b872dd146103ef5780632fb6317f1461040b57806337645617146104345780633ccfd60b1461047157610293565b806301ffc9a71461029857806303ba27f6146102d557806306fdde03146102ec578063081812fc14610317578063095ea7b31461035457806313faede614610370575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613c8d565b610ae2565b6040516102cc9190614475565b60405180910390f35b3480156102e157600080fd5b506102ea610b74565b005b3480156102f857600080fd5b50610301610d88565b60405161030e9190614515565b60405180910390f35b34801561032357600080fd5b5061033e60048036038101906103399190613db1565b610e1a565b60405161034b91906143c3565b60405180910390f35b61036e60048036038101906103699190613c20565b610e99565b005b34801561037c57600080fd5b50610385610fdd565b60405161039291906146f7565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613c60565b610fe3565b005b3480156103d057600080fd5b506103d9611008565b6040516103e691906146f7565b60405180910390f35b61040960048036038101906104049190613a63565b61101f565b005b34801561041757600080fd5b50610432600480360381019061042d91906139f6565b611344565b005b34801561044057600080fd5b5061045b600480360381019061045691906139f6565b611390565b60405161046891906146f7565b60405180910390f35b34801561047d57600080fd5b506104866113a8565b005b6104a2600480360381019061049d9190613a63565b611455565b005b3480156104b057600080fd5b506104cb60048036038101906104c691906139f6565b611475565b6040516104d89190614453565b60405180910390f35b3480156104ed57600080fd5b5061050860048036038101906105039190613db1565b611580565b005b34801561051657600080fd5b50610531600480360381019061052c9190613d68565b611592565b005b34801561053f57600080fd5b506105486115b4565b6040516105559190614475565b60405180910390f35b34801561056a57600080fd5b506105736115c7565b6040516105809190614515565b60405180910390f35b34801561059557600080fd5b5061059e611655565b6040516105ab9190614475565b60405180910390f35b3480156105c057600080fd5b506105c9611668565b6040516105d69190614515565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190613db1565b6116f6565b60405161061391906143c3565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e91906139f6565b611708565b60405161065091906146f7565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b9190613db1565b611720565b005b34801561068e57600080fd5b506106a960048036038101906106a491906139f6565b611732565b6040516106b691906146f7565b60405180910390f35b3480156106cb57600080fd5b506106d46117eb565b005b6106f060048036038101906106eb9190613e1e565b6117ff565b005b3480156106fe57600080fd5b5061071960048036038101906107149190613d68565b611b51565b005b34801561072757600080fd5b50610742600480360381019061073d91906139f6565b611b73565b60405161074f9190614475565b60405180910390f35b34801561076457600080fd5b5061076d611b93565b60405161077a91906143c3565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190613b79565b611bbd565b005b3480156107b857600080fd5b506107c1611c9c565b6040516107ce91906146f7565b60405180910390f35b3480156107e357600080fd5b506107ec611ca2565b6040516107f99190614515565b60405180910390f35b34801561080e57600080fd5b50610817611d34565b60405161082491906143c3565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f91906139f6565b611d5a565b005b34801561086257600080fd5b5061087d60048036038101906108789190613d68565b611da6565b60405161088a9190614475565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613b39565b611ddc565b005b3480156108c857600080fd5b506108d1611ee7565b6040516108de9190614515565b60405180910390f35b3480156108f357600080fd5b5061090e600480360381019061090991906139f6565b611f75565b60405161091b9190614453565b60405180910390f35b34801561093057600080fd5b5061094b60048036038101906109469190613db1565b61200c565b005b61096760048036038101906109629190613ab6565b61201e565b005b34801561097557600080fd5b50610990600480360381019061098b9190613db1565b612091565b60405161099d9190614515565b60405180910390f35b6109c060048036038101906109bb9190613ce7565b6121ea565b005b3480156109ce57600080fd5b506109d7612336565b6040516109e491906146f7565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190613c20565b61233c565b604051610a2191906146f7565b60405180910390f35b348015610a3657600080fd5b50610a516004803603810190610a4c9190613c60565b61236d565b005b348015610a5f57600080fd5b50610a7a6004803603810190610a759190613a23565b6123f7565b604051610a879190614475565b60405180910390f35b348015610a9c57600080fd5b50610ab76004803603810190610ab29190613dde565b61248b565b005b348015610ac557600080fd5b50610ae06004803603810190610adb91906139f6565b6125e3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b3d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b6d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60026009541415610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb1906146d7565b60405180910390fd5b6002600981905550610bca612667565b6000471415610c05576040517f64d1255600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c2f610c134760646126e5565b6015600060028110610c2857610c27614be3565b5b01546126fb565b60176000828254610c40919061485e565b92505081905550610c71610c554760646126e5565b6015600160028110610c6a57610c69614be3565b5b01546126fb565b60186000828254610c82919061485e565b92505081905550610ccb6013600060028110610ca157610ca0614be3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601754612711565b610d0d6013600160028110610ce357610ce2614be3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601854612711565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566013600060028110610d4357610d42614be3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601754604051610d7692919061442a565b60405180910390a16001600981905550565b606060028054610d9790614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc390614a40565b8015610e105780601f10610de557610100808354040283529160200191610e10565b820191906000526020600020905b815481529060010190602001808311610df357829003601f168201915b5050505050905090565b6000610e2582612805565b610e5b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ea4826116f6565b90508073ffffffffffffffffffffffffffffffffffffffff16610ec5612864565b73ffffffffffffffffffffffffffffffffffffffff1614610f2857610ef181610eec612864565b6123f7565b610f27576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610feb612667565b80601060006101000a81548160ff02191690831515021790555050565b600061101261286c565b6001546000540303905090565b600061102a82612875565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611091576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061109d84612943565b915091506110b381876110ae612864565b61296a565b6110ff576110c8866110c3612864565b6123f7565b6110fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611166576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61117386868660016129ae565b801561117e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061124c856112288888876129b4565b7c0200000000000000000000000000000000000000000000000000000000176129dc565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112d45760006001850190506000600460008381526020019081526020016000205414156112d25760005481146112d1578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461133c8686866001612a07565b505050505050565b61134c612667565b80601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601b6020528060005260406000206000915090505481565b6113b0612667565b6000471115611453576000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611401906143ae565b60006040518083038185875af1925050503d806000811461143e576040519150601f19603f3d011682016040523d82523d6000602084013e611443565b606091505b505090508061145157600080fd5b505b565b6114708383836040518060200160405280600081525061201e565b505050565b6060600061148283611732565b905060008167ffffffffffffffff8111156114a05761149f614c12565b5b6040519080825280602002602001820160405280156114ce5781602001602082028036833780820191505090505b50905060006001905060005b83811080156114eb5750600e548211155b156115745760006114fb836116f6565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611560578284838151811061154557611544614be3565b5b602002602001018181525050818061155c90614aa3565b9250505b828061156b90614aa3565b935050506114da565b82945050505050919050565b611588612667565b80600d8190555050565b61159a612667565b80600c90805190602001906115b092919061375e565b5050565b601060019054906101000a900460ff1681565b600b80546115d490614a40565b80601f016020809104026020016040519081016040528092919081815260200182805461160090614a40565b801561164d5780601f106116225761010080835404028352916020019161164d565b820191906000526020600020905b81548152906001019060200180831161163057829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b600a805461167590614a40565b80601f01602080910402602001604051908101604052809291908181526020018280546116a190614a40565b80156116ee5780601f106116c3576101008083540402835291602001916116ee565b820191906000526020600020905b8154815290600101906020018083116116d157829003601f168201915b505050505081565b600061170182612875565b9050919050565b601c6020528060005260406000206000915090505481565b611728612667565b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561179a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117f3612667565b6117fd6000612c43565b565b60026009541415611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c906146d7565b60405180910390fd5b6002600981905550846000811180156118605750600f548111155b61189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690614697565b60405180910390fd5b60006118a9611008565b9050600e5482826118ba919061485e565b11156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f2906146b7565b60405180910390fd5b601060009054906101000a900460ff161561194b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194290614557565b60405180910390fd5b3487600d5461195a91906148e5565b111561199b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611992906145b7565b60405180910390fd5b60011515601a87876040516119b192919061433e565b908152602001604051809103902060009054906101000a900460ff1615151415611a07576040517f7ac10d4e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a38868686863334601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612d09565b611a6e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601a8787604051611a8292919061433e565b908152602001604051809103902060006101000a81548160ff021916908315150217905550611ab13388612d93565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663efbd73f488336040518363ffffffff1660e01b8152600401611b0e929190614712565b600060405180830381600087803b158015611b2857600080fd5b505af1158015611b3c573d6000803e3d6000fd5b50505050505060016009819055505050505050565b611b59612667565b80600a9080519060200190611b6f92919061375e565b5050565b601d6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bc5612667565b611be88585858533867360c0ac7b6294cd13f78a336db810cfba24d242cb612d09565b611c1e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614611c945785601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050505050565b600f5481565b606060038054611cb190614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdd90614a40565b8015611d2a5780601f10611cff57610100808354040283529160200191611d2a565b820191906000526020600020905b815481529060010190602001808311611d0d57829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d62612667565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601a818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b8060076000611de9612864565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e96612864565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611edb9190614475565b60405180910390a35050565b600c8054611ef490614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2090614a40565b8015611f6d5780601f10611f4257610100808354040283529160200191611f6d565b820191906000526020600020905b815481529060010190602001808311611f5057829003601f168201915b505050505081565b6060601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561200057602002820191906000526020600020905b815481526020019060010190808311611fec575b50505050509050919050565b612014612667565b80600f8190555050565b61202984848461101f565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461208b5761205484848484612db1565b61208a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061209c82612805565b6120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290614657565b60405180910390fd5b60001515601060019054906101000a900460ff161515141561218957600c805461210490614a40565b80601f016020809104026020016040519081016040528092919081815260200182805461213090614a40565b801561217d5780601f106121525761010080835404028352916020019161217d565b820191906000526020600020905b81548152906001019060200180831161216057829003601f168201915b505050505090506121e5565b6000612193612f11565b905060008151116121b357604051806020016040528060008152506121e1565b806121bd84612fa3565b600b6040516020016121d193929190614357565b6040516020818303038152906040525b9150505b919050565b60026009541415612230576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612227906146d7565b60405180910390fd5b6002600981905550601060009054906101000a900460ff1615612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614557565b60405180910390fd5b6122b9848484843334601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612d09565b6122ef576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601a858560405161230392919061433e565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160098190555050505050565b600e5481565b6019602052816000526040600020818154811061235857600080fd5b90600052602060002001600091509150505481565b612375612667565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146123da576040517f3458477700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260095414156124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c8906146d7565b60405180910390fd5b60026009819055506124e1612667565b60006124eb611008565b9050600e5483826124fc919061485e565b111561253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906146b7565b60405180910390fd5b6125478284612d93565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663efbd73f484336040518363ffffffff1660e01b81526004016125a4929190614712565b600060405180830381600087803b1580156125be57600080fd5b505af11580156125d2573d6000803e3d6000fd5b505050505060016009819055505050565b6125eb612667565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561265b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265290614597565b60405180910390fd5b61266481612c43565b50565b61266f613104565b73ffffffffffffffffffffffffffffffffffffffff1661268d611b93565b73ffffffffffffffffffffffffffffffffffffffff16146126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da90614677565b60405180910390fd5b565b600081836126f391906148b4565b905092915050565b6000818361270991906148e5565b905092915050565b80471015612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b90614617565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161277a906143ae565b60006040518083038185875af1925050503d80600081146127b7576040519150601f19603f3d011682016040523d82523d6000602084013e6127bc565b606091505b5050905080612800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f7906145d7565b60405180910390fd5b505050565b60008161281061286c565b1115801561281f575060005482105b801561285d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061288461286c565b1161290c5760005481101561290b5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612909575b60008114156128ff5760046000836001900393508381526020019081526020016000205490506128d4565b809250505061293e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86129cb86868461310c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612b7c5760018183612a49919061485e565b612a53919061493f565b601b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060018183612ae9919061485e565b612af3919061493f565b601c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c3d5760008183612bbf919061485e565b90505b601960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208380612c0c90614aa3565b94509080600181540180825580915050600190039060005260206000200160009091909190915055808310612bc257505b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612d8688888686604051602001612d2594939291906144d5565b6040516020818303038152906040528051906020012087878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505084613115565b9050979650505050505050565b612dad828260405180602001604052806000815250613169565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dd7612864565b8786866040518563ffffffff1660e01b8152600401612df994939291906143de565b602060405180830381600087803b158015612e1357600080fd5b505af1925050508015612e4457506040513d601f19601f82011682018060405250810190612e419190613cba565b60015b612ebe573d8060008114612e74576040519150601f19603f3d011682016040523d82523d6000602084013e612e79565b606091505b50600081511415612eb6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612f2090614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054612f4c90614a40565b8015612f995780601f10612f6e57610100808354040283529160200191612f99565b820191906000526020600020905b815481529060010190602001808311612f7c57829003601f168201915b5050505050905090565b60606000821415612feb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ff565b600082905060005b6000821461301d57808061300690614aa3565b915050600a8261301691906148b4565b9150612ff3565b60008167ffffffffffffffff81111561303957613038614c12565b5b6040519080825280601f01601f19166020018201604052801561306b5781602001600182028036833780820191505090505b5090505b600085146130f857600182613084919061493f565b9150600a856130939190614af6565b603061309f919061485e565b60f81b8183815181106130b5576130b4614be3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130f191906148b4565b945061306f565b8093505050505b919050565b600033905090565b60009392505050565b60008173ffffffffffffffffffffffffffffffffffffffff166131498461313b87613206565b61323690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b613173838361325d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461320157600080549050600083820390505b6131b36000868380600101945086612db1565b6131e9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106131a05781600054146131fe57600080fd5b50505b505050565b6000816040516020016132199190614388565b604051602081830303815290604052805190602001209050919050565b6000806000613245858561341a565b915091506132528161346c565b819250505092915050565b600080549050600082141561329e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132ab60008483856129ae565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133228361331360008660006129b4565b61331c85613641565b176129dc565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146133c357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613388565b5060008214156133ff576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506134156000848385612a07565b505050565b60008060418351141561345c5760008060006020860151925060408601519150606086015160001a905061345087828585613651565b94509450505050613465565b60006002915091505b9250929050565b600060048111156134805761347f614b85565b5b81600481111561349357613492614b85565b5b141561349e5761363e565b600160048111156134b2576134b1614b85565b5b8160048111156134c5576134c4614b85565b5b1415613506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fd90614537565b60405180910390fd5b6002600481111561351a57613519614b85565b5b81600481111561352d5761352c614b85565b5b141561356e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356590614577565b60405180910390fd5b6003600481111561358257613581614b85565b5b81600481111561359557613594614b85565b5b14156135d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cd906145f7565b60405180910390fd5b6004808111156135e9576135e8614b85565b5b8160048111156135fc576135fb614b85565b5b141561363d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363490614637565b60405180910390fd5b5b50565b60006001821460e11b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561368c576000600391509150613755565b601b8560ff16141580156136a45750601c8560ff1614155b156136b6576000600491509150613755565b6000600187878787604051600081526020016040526040516136db9493929190614490565b6020604051602081039080840390855afa1580156136fd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561374c57600060019250925050613755565b80600092509250505b94509492505050565b82805461376a90614a40565b90600052602060002090601f01602090048101928261378c57600085556137d3565b82601f106137a557805160ff19168380011785556137d3565b828001600101855582156137d3579182015b828111156137d25782518255916020019190600101906137b7565b5b5090506137e091906137e4565b5090565b5b808211156137fd5760008160009055506001016137e5565b5090565b600061381461380f84614760565b61473b565b9050828152602081018484840111156138305761382f614c50565b5b61383b8482856149fe565b509392505050565b600061385661385184614791565b61473b565b90508281526020810184848401111561387257613871614c50565b5b61387d8482856149fe565b509392505050565b60008135905061389481614f72565b92915050565b6000813590506138a981614f89565b92915050565b6000813590506138be81614fa0565b92915050565b6000815190506138d381614fa0565b92915050565b60008083601f8401126138ef576138ee614c46565b5b8235905067ffffffffffffffff81111561390c5761390b614c41565b5b60208301915083600182028301111561392857613927614c4b565b5b9250929050565b600082601f83011261394457613943614c46565b5b8135613954848260208601613801565b91505092915050565b60008083601f84011261397357613972614c46565b5b8235905067ffffffffffffffff8111156139905761398f614c41565b5b6020830191508360018202830111156139ac576139ab614c4b565b5b9250929050565b600082601f8301126139c8576139c7614c46565b5b81356139d8848260208601613843565b91505092915050565b6000813590506139f081614fb7565b92915050565b600060208284031215613a0c57613a0b614c5a565b5b6000613a1a84828501613885565b91505092915050565b60008060408385031215613a3a57613a39614c5a565b5b6000613a4885828601613885565b9250506020613a5985828601613885565b9150509250929050565b600080600060608486031215613a7c57613a7b614c5a565b5b6000613a8a86828701613885565b9350506020613a9b86828701613885565b9250506040613aac868287016139e1565b9150509250925092565b60008060008060808587031215613ad057613acf614c5a565b5b6000613ade87828801613885565b9450506020613aef87828801613885565b9350506040613b00878288016139e1565b925050606085013567ffffffffffffffff811115613b2157613b20614c55565b5b613b2d8782880161392f565b91505092959194509250565b60008060408385031215613b5057613b4f614c5a565b5b6000613b5e85828601613885565b9250506020613b6f8582860161389a565b9150509250929050565b60008060008060008060808789031215613b9657613b95614c5a565b5b6000613ba489828a01613885565b965050602087013567ffffffffffffffff811115613bc557613bc4614c55565b5b613bd189828a0161395d565b9550955050604087013567ffffffffffffffff811115613bf457613bf3614c55565b5b613c0089828a016138d9565b93509350506060613c1389828a016139e1565b9150509295509295509295565b60008060408385031215613c3757613c36614c5a565b5b6000613c4585828601613885565b9250506020613c56858286016139e1565b9150509250929050565b600060208284031215613c7657613c75614c5a565b5b6000613c848482850161389a565b91505092915050565b600060208284031215613ca357613ca2614c5a565b5b6000613cb1848285016138af565b91505092915050565b600060208284031215613cd057613ccf614c5a565b5b6000613cde848285016138c4565b91505092915050565b60008060008060408587031215613d0157613d00614c5a565b5b600085013567ffffffffffffffff811115613d1f57613d1e614c55565b5b613d2b8782880161395d565b9450945050602085013567ffffffffffffffff811115613d4e57613d4d614c55565b5b613d5a878288016138d9565b925092505092959194509250565b600060208284031215613d7e57613d7d614c5a565b5b600082013567ffffffffffffffff811115613d9c57613d9b614c55565b5b613da8848285016139b3565b91505092915050565b600060208284031215613dc757613dc6614c5a565b5b6000613dd5848285016139e1565b91505092915050565b60008060408385031215613df557613df4614c5a565b5b6000613e03858286016139e1565b9250506020613e1485828601613885565b9150509250929050565b600080600080600060608688031215613e3a57613e39614c5a565b5b6000613e48888289016139e1565b955050602086013567ffffffffffffffff811115613e6957613e68614c55565b5b613e758882890161395d565b9450945050604086013567ffffffffffffffff811115613e9857613e97614c55565b5b613ea4888289016138d9565b92509250509295509295909350565b6000613ebf8383614311565b60208301905092915050565b613ed481614973565b82525050565b6000613ee5826147e7565b613eef8185614815565b9350613efa836147c2565b8060005b83811015613f2b578151613f128882613eb3565b9750613f1d83614808565b925050600181019050613efe565b5085935050505092915050565b613f4181614985565b82525050565b613f5081614991565b82525050565b613f67613f6282614991565b614aec565b82525050565b6000613f78826147f2565b613f828185614826565b9350613f92818560208601614a0d565b613f9b81614c5f565b840191505092915050565b6000613fb28385614842565b9350613fbf8385846149fe565b613fc883614c5f565b840190509392505050565b6000613fdf8385614853565b9350613fec8385846149fe565b82840190509392505050565b6000614003826147fd565b61400d8185614842565b935061401d818560208601614a0d565b61402681614c5f565b840191505092915050565b600061403c826147fd565b6140468185614853565b9350614056818560208601614a0d565b80840191505092915050565b6000815461406f81614a40565b6140798186614853565b9450600182166000811461409457600181146140a5576140d8565b60ff198316865281860193506140d8565b6140ae856147d2565b60005b838110156140d0578154818901526001820191506020810190506140b1565b838801955050505b50505092915050565b60006140ee601883614842565b91506140f982614c70565b602082019050919050565b6000614111600683614842565b915061411c82614c99565b602082019050919050565b6000614134601f83614842565b915061413f82614cc2565b602082019050919050565b6000614157601c83614853565b915061416282614ceb565b601c82019050919050565b600061417a602683614842565b915061418582614d14565b604082019050919050565b600061419d601f83614842565b91506141a882614d63565b602082019050919050565b60006141c0603a83614842565b91506141cb82614d8c565b604082019050919050565b60006141e3602283614842565b91506141ee82614ddb565b604082019050919050565b6000614206601d83614842565b915061421182614e2a565b602082019050919050565b6000614229602283614842565b915061423482614e53565b604082019050919050565b600061424c601183614842565b915061425782614ea2565b602082019050919050565b600061426f602083614842565b915061427a82614ecb565b602082019050919050565b6000614292601383614842565b915061429d82614ef4565b602082019050919050565b60006142b5600083614837565b91506142c082614f1d565b600082019050919050565b60006142d8601483614842565b91506142e382614f20565b602082019050919050565b60006142fb601f83614842565b915061430682614f49565b602082019050919050565b61431a816149e7565b82525050565b614329816149e7565b82525050565b614338816149f1565b82525050565b600061434b828486613fd3565b91508190509392505050565b60006143638286614031565b915061436f8285614031565b915061437b8284614062565b9150819050949350505050565b60006143938261414a565b915061439f8284613f56565b60208201915081905092915050565b60006143b9826142a8565b9150819050919050565b60006020820190506143d86000830184613ecb565b92915050565b60006080820190506143f36000830187613ecb565b6144006020830186613ecb565b61440d6040830185614320565b818103606083015261441f8184613f6d565b905095945050505050565b600060408201905061443f6000830185613ecb565b61444c6020830184614320565b9392505050565b6000602082019050818103600083015261446d8184613eda565b905092915050565b600060208201905061448a6000830184613f38565b92915050565b60006080820190506144a56000830187613f47565b6144b2602083018661432f565b6144bf6040830185613f47565b6144cc6060830184613f47565b95945050505050565b600060608201905081810360008301526144f0818688613fa6565b90506144ff6020830185613ecb565b61450c6040830184614320565b95945050505050565b6000602082019050818103600083015261452f8184613ff8565b905092915050565b60006020820190508181036000830152614550816140e1565b9050919050565b6000602082019050818103600083015261457081614104565b9050919050565b6000602082019050818103600083015261459081614127565b9050919050565b600060208201905081810360008301526145b08161416d565b9050919050565b600060208201905081810360008301526145d081614190565b9050919050565b600060208201905081810360008301526145f0816141b3565b9050919050565b60006020820190508181036000830152614610816141d6565b9050919050565b60006020820190508181036000830152614630816141f9565b9050919050565b600060208201905081810360008301526146508161421c565b9050919050565b600060208201905081810360008301526146708161423f565b9050919050565b6000602082019050818103600083015261469081614262565b9050919050565b600060208201905081810360008301526146b081614285565b9050919050565b600060208201905081810360008301526146d0816142cb565b9050919050565b600060208201905081810360008301526146f0816142ee565b9050919050565b600060208201905061470c6000830184614320565b92915050565b60006040820190506147276000830185614320565b6147346020830184613ecb565b9392505050565b6000614745614756565b90506147518282614a72565b919050565b6000604051905090565b600067ffffffffffffffff82111561477b5761477a614c12565b5b61478482614c5f565b9050602081019050919050565b600067ffffffffffffffff8211156147ac576147ab614c12565b5b6147b582614c5f565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614869826149e7565b9150614874836149e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148a9576148a8614b27565b5b828201905092915050565b60006148bf826149e7565b91506148ca836149e7565b9250826148da576148d9614b56565b5b828204905092915050565b60006148f0826149e7565b91506148fb836149e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561493457614933614b27565b5b828202905092915050565b600061494a826149e7565b9150614955836149e7565b92508282101561496857614967614b27565b5b828203905092915050565b600061497e826149c7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a2b578082015181840152602081019050614a10565b83811115614a3a576000848401525b50505050565b60006002820490506001821680614a5857607f821691505b60208210811415614a6c57614a6b614bb4565b5b50919050565b614a7b82614c5f565b810181811067ffffffffffffffff82111715614a9a57614a99614c12565b5b80604052505050565b6000614aae826149e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ae157614ae0614b27565b5b600182019050919050565b6000819050919050565b6000614b01826149e7565b9150614b0c836149e7565b925082614b1c57614b1b614b56565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c69646d696e7420616d6f756e742100000000000000000000000000600082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614f7b81614973565b8114614f8657600080fd5b50565b614f9281614985565b8114614f9d57600080fd5b50565b614fa98161499b565b8114614fb457600080fd5b50565b614fc0816149e7565b8114614fcb57600080fd5b5056fea26469706673582212207f820ffb2418964ee79850cff183ec3da4ceccde8755af90726e6c166549cdc764736f6c63430008070033697066733a2f2f516d65425164346862396d6872486b4d4b6b566f63644569576f315745746231684e47585070566a335058395a352f68696464656e2e6a736f6e

Deployed Bytecode

0x6080604052600436106102935760003560e01c8063715018a61161015a578063a45ba8e7116100c1578063d5abeb011161007a578063d5abeb01146109c2578063d68c04a2146109ed578063e0a8085314610a2a578063e985e9c514610a53578063efbd73f414610a90578063f2fde38b14610ab957610293565b8063a45ba8e7146108bc578063ab461f08146108e7578063b071401b14610924578063b88d4fde1461094d578063c87b56dd14610969578063c91261ba146109a657610293565b806394354fd01161011357806394354fd0146107ac57806395d89b41146107d75780639c4982ac14610802578063a0dc22d11461082d578063a0f4658a14610856578063a22cb4651461089357610293565b8063715018a6146106bf578063785cc997146106d65780637ec4a659146106f25780637fd1f8f11461071b5780638da5cb5b1461075857806390b0a9211461078357610293565b806342842e0e116101fe5780635c975abb116101b75780635c975abb1461058957806362b99ad4146105b45780636352211e146105df5780636ed494041461061c5780636f8b44b01461065957806370a082311461068257610293565b806342842e0e14610488578063438b6300146104a457806344a0d68a146104e15780634fdd43cb1461050a57806351830227146105335780635503a0e81461055e57610293565b806316c38b3c1161025057806316c38b3c1461039b57806318160ddd146103c457806323b872dd146103ef5780632fb6317f1461040b57806337645617146104345780633ccfd60b1461047157610293565b806301ffc9a71461029857806303ba27f6146102d557806306fdde03146102ec578063081812fc14610317578063095ea7b31461035457806313faede614610370575b600080fd5b3480156102a457600080fd5b506102bf60048036038101906102ba9190613c8d565b610ae2565b6040516102cc9190614475565b60405180910390f35b3480156102e157600080fd5b506102ea610b74565b005b3480156102f857600080fd5b50610301610d88565b60405161030e9190614515565b60405180910390f35b34801561032357600080fd5b5061033e60048036038101906103399190613db1565b610e1a565b60405161034b91906143c3565b60405180910390f35b61036e60048036038101906103699190613c20565b610e99565b005b34801561037c57600080fd5b50610385610fdd565b60405161039291906146f7565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613c60565b610fe3565b005b3480156103d057600080fd5b506103d9611008565b6040516103e691906146f7565b60405180910390f35b61040960048036038101906104049190613a63565b61101f565b005b34801561041757600080fd5b50610432600480360381019061042d91906139f6565b611344565b005b34801561044057600080fd5b5061045b600480360381019061045691906139f6565b611390565b60405161046891906146f7565b60405180910390f35b34801561047d57600080fd5b506104866113a8565b005b6104a2600480360381019061049d9190613a63565b611455565b005b3480156104b057600080fd5b506104cb60048036038101906104c691906139f6565b611475565b6040516104d89190614453565b60405180910390f35b3480156104ed57600080fd5b5061050860048036038101906105039190613db1565b611580565b005b34801561051657600080fd5b50610531600480360381019061052c9190613d68565b611592565b005b34801561053f57600080fd5b506105486115b4565b6040516105559190614475565b60405180910390f35b34801561056a57600080fd5b506105736115c7565b6040516105809190614515565b60405180910390f35b34801561059557600080fd5b5061059e611655565b6040516105ab9190614475565b60405180910390f35b3480156105c057600080fd5b506105c9611668565b6040516105d69190614515565b60405180910390f35b3480156105eb57600080fd5b5061060660048036038101906106019190613db1565b6116f6565b60405161061391906143c3565b60405180910390f35b34801561062857600080fd5b50610643600480360381019061063e91906139f6565b611708565b60405161065091906146f7565b60405180910390f35b34801561066557600080fd5b50610680600480360381019061067b9190613db1565b611720565b005b34801561068e57600080fd5b506106a960048036038101906106a491906139f6565b611732565b6040516106b691906146f7565b60405180910390f35b3480156106cb57600080fd5b506106d46117eb565b005b6106f060048036038101906106eb9190613e1e565b6117ff565b005b3480156106fe57600080fd5b5061071960048036038101906107149190613d68565b611b51565b005b34801561072757600080fd5b50610742600480360381019061073d91906139f6565b611b73565b60405161074f9190614475565b60405180910390f35b34801561076457600080fd5b5061076d611b93565b60405161077a91906143c3565b60405180910390f35b34801561078f57600080fd5b506107aa60048036038101906107a59190613b79565b611bbd565b005b3480156107b857600080fd5b506107c1611c9c565b6040516107ce91906146f7565b60405180910390f35b3480156107e357600080fd5b506107ec611ca2565b6040516107f99190614515565b60405180910390f35b34801561080e57600080fd5b50610817611d34565b60405161082491906143c3565b60405180910390f35b34801561083957600080fd5b50610854600480360381019061084f91906139f6565b611d5a565b005b34801561086257600080fd5b5061087d60048036038101906108789190613d68565b611da6565b60405161088a9190614475565b60405180910390f35b34801561089f57600080fd5b506108ba60048036038101906108b59190613b39565b611ddc565b005b3480156108c857600080fd5b506108d1611ee7565b6040516108de9190614515565b60405180910390f35b3480156108f357600080fd5b5061090e600480360381019061090991906139f6565b611f75565b60405161091b9190614453565b60405180910390f35b34801561093057600080fd5b5061094b60048036038101906109469190613db1565b61200c565b005b61096760048036038101906109629190613ab6565b61201e565b005b34801561097557600080fd5b50610990600480360381019061098b9190613db1565b612091565b60405161099d9190614515565b60405180910390f35b6109c060048036038101906109bb9190613ce7565b6121ea565b005b3480156109ce57600080fd5b506109d7612336565b6040516109e491906146f7565b60405180910390f35b3480156109f957600080fd5b50610a146004803603810190610a0f9190613c20565b61233c565b604051610a2191906146f7565b60405180910390f35b348015610a3657600080fd5b50610a516004803603810190610a4c9190613c60565b61236d565b005b348015610a5f57600080fd5b50610a7a6004803603810190610a759190613a23565b6123f7565b604051610a879190614475565b60405180910390f35b348015610a9c57600080fd5b50610ab76004803603810190610ab29190613dde565b61248b565b005b348015610ac557600080fd5b50610ae06004803603810190610adb91906139f6565b6125e3565b005b60006301ffc9a760e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610b3d57506380ac58cd60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b6d5750635b5e139f60e01b827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b9050919050565b60026009541415610bba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bb1906146d7565b60405180910390fd5b6002600981905550610bca612667565b6000471415610c05576040517f64d1255600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610c2f610c134760646126e5565b6015600060028110610c2857610c27614be3565b5b01546126fb565b60176000828254610c40919061485e565b92505081905550610c71610c554760646126e5565b6015600160028110610c6a57610c69614be3565b5b01546126fb565b60186000828254610c82919061485e565b92505081905550610ccb6013600060028110610ca157610ca0614be3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601754612711565b610d0d6013600160028110610ce357610ce2614be3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601854612711565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0566013600060028110610d4357610d42614be3565b5b0160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16601754604051610d7692919061442a565b60405180910390a16001600981905550565b606060028054610d9790614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054610dc390614a40565b8015610e105780601f10610de557610100808354040283529160200191610e10565b820191906000526020600020905b815481529060010190602001808311610df357829003601f168201915b5050505050905090565b6000610e2582612805565b610e5b576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ea4826116f6565b90508073ffffffffffffffffffffffffffffffffffffffff16610ec5612864565b73ffffffffffffffffffffffffffffffffffffffff1614610f2857610ef181610eec612864565b6123f7565b610f27576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b826006600084815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600d5481565b610feb612667565b80601060006101000a81548160ff02191690831515021790555050565b600061101261286c565b6001546000540303905090565b600061102a82612875565b90508373ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614611091576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008061109d84612943565b915091506110b381876110ae612864565b61296a565b6110ff576110c8866110c3612864565b6123f7565b6110fe576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415611166576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61117386868660016129ae565b801561117e57600082555b600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001900391905081905550600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600081546001019190508190555061124c856112288888876129b4565b7c0200000000000000000000000000000000000000000000000000000000176129dc565b600460008681526020019081526020016000208190555060007c0200000000000000000000000000000000000000000000000000000000841614156112d45760006001850190506000600460008381526020019081526020016000205414156112d25760005481146112d1578360046000838152602001908152602001600020819055505b5b505b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461133c8686866001612a07565b505050505050565b61134c612667565b80601060026101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601b6020528060005260406000206000915090505481565b6113b0612667565b6000471115611453576000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1647604051611401906143ae565b60006040518083038185875af1925050503d806000811461143e576040519150601f19603f3d011682016040523d82523d6000602084013e611443565b606091505b505090508061145157600080fd5b505b565b6114708383836040518060200160405280600081525061201e565b505050565b6060600061148283611732565b905060008167ffffffffffffffff8111156114a05761149f614c12565b5b6040519080825280602002602001820160405280156114ce5781602001602082028036833780820191505090505b50905060006001905060005b83811080156114eb5750600e548211155b156115745760006114fb836116f6565b90508673ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611560578284838151811061154557611544614be3565b5b602002602001018181525050818061155c90614aa3565b9250505b828061156b90614aa3565b935050506114da565b82945050505050919050565b611588612667565b80600d8190555050565b61159a612667565b80600c90805190602001906115b092919061375e565b5050565b601060019054906101000a900460ff1681565b600b80546115d490614a40565b80601f016020809104026020016040519081016040528092919081815260200182805461160090614a40565b801561164d5780601f106116225761010080835404028352916020019161164d565b820191906000526020600020905b81548152906001019060200180831161163057829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b600a805461167590614a40565b80601f01602080910402602001604051908101604052809291908181526020018280546116a190614a40565b80156116ee5780601f106116c3576101008083540402835291602001916116ee565b820191906000526020600020905b8154815290600101906020018083116116d157829003601f168201915b505050505081565b600061170182612875565b9050919050565b601c6020528060005260406000206000915090505481565b611728612667565b80600e8190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561179a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b67ffffffffffffffff600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054169050919050565b6117f3612667565b6117fd6000612c43565b565b60026009541415611845576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183c906146d7565b60405180910390fd5b6002600981905550846000811180156118605750600f548111155b61189f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189690614697565b60405180910390fd5b60006118a9611008565b9050600e5482826118ba919061485e565b11156118fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f2906146b7565b60405180910390fd5b601060009054906101000a900460ff161561194b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161194290614557565b60405180910390fd5b3487600d5461195a91906148e5565b111561199b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611992906145b7565b60405180910390fd5b60011515601a87876040516119b192919061433e565b908152602001604051809103902060009054906101000a900460ff1615151415611a07576040517f7ac10d4e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b611a38868686863334601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612d09565b611a6e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601a8787604051611a8292919061433e565b908152602001604051809103902060006101000a81548160ff021916908315150217905550611ab13388612d93565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663efbd73f488336040518363ffffffff1660e01b8152600401611b0e929190614712565b600060405180830381600087803b158015611b2857600080fd5b505af1158015611b3c573d6000803e3d6000fd5b50505050505060016009819055505050505050565b611b59612667565b80600a9080519060200190611b6f92919061375e565b5050565b601d6020528060005260406000206000915054906101000a900460ff1681565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b611bc5612667565b611be88585858533867360c0ac7b6294cd13f78a336db810cfba24d242cb612d09565b611c1e576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614611c945785601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b505050505050565b600f5481565b606060038054611cb190614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054611cdd90614a40565b8015611d2a5780601f10611cff57610100808354040283529160200191611d2a565b820191906000526020600020905b815481529060010190602001808311611d0d57829003601f168201915b5050505050905090565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b611d62612667565b80601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b601a818051602081018201805184825260208301602085012081835280955050505050506000915054906101000a900460ff1681565b8060076000611de9612864565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611e96612864565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611edb9190614475565b60405180910390a35050565b600c8054611ef490614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054611f2090614a40565b8015611f6d5780601f10611f4257610100808354040283529160200191611f6d565b820191906000526020600020905b815481529060010190602001808311611f5057829003601f168201915b505050505081565b6060601960008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561200057602002820191906000526020600020905b815481526020019060010190808311611fec575b50505050509050919050565b612014612667565b80600f8190555050565b61202984848461101f565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461208b5761205484848484612db1565b61208a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b606061209c82612805565b6120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290614657565b60405180910390fd5b60001515601060019054906101000a900460ff161515141561218957600c805461210490614a40565b80601f016020809104026020016040519081016040528092919081815260200182805461213090614a40565b801561217d5780601f106121525761010080835404028352916020019161217d565b820191906000526020600020905b81548152906001019060200180831161216057829003601f168201915b505050505090506121e5565b6000612193612f11565b905060008151116121b357604051806020016040528060008152506121e1565b806121bd84612fa3565b600b6040516020016121d193929190614357565b6040516020818303038152906040525b9150505b919050565b60026009541415612230576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612227906146d7565b60405180910390fd5b6002600981905550601060009054906101000a900460ff1615612288576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161227f90614557565b60405180910390fd5b6122b9848484843334601060029054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612d09565b6122ef576040517f8baa579f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001601a858560405161230392919061433e565b908152602001604051809103902060006101000a81548160ff021916908315150217905550600160098190555050505050565b600e5481565b6019602052816000526040600020818154811061235857600080fd5b90600052602060002001600091509150505481565b612375612667565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff16146123da576040517f3458477700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600260095414156124d1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124c8906146d7565b60405180910390fd5b60026009819055506124e1612667565b60006124eb611008565b9050600e5483826124fc919061485e565b111561253d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612534906146b7565b60405180910390fd5b6125478284612d93565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663efbd73f484336040518363ffffffff1660e01b81526004016125a4929190614712565b600060405180830381600087803b1580156125be57600080fd5b505af11580156125d2573d6000803e3d6000fd5b505050505060016009819055505050565b6125eb612667565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561265b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265290614597565b60405180910390fd5b61266481612c43565b50565b61266f613104565b73ffffffffffffffffffffffffffffffffffffffff1661268d611b93565b73ffffffffffffffffffffffffffffffffffffffff16146126e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126da90614677565b60405180910390fd5b565b600081836126f391906148b4565b905092915050565b6000818361270991906148e5565b905092915050565b80471015612754576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161274b90614617565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161277a906143ae565b60006040518083038185875af1925050503d80600081146127b7576040519150601f19603f3d011682016040523d82523d6000602084013e6127bc565b606091505b5050905080612800576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127f7906145d7565b60405180910390fd5b505050565b60008161281061286c565b1115801561281f575060005482105b801561285d575060007c0100000000000000000000000000000000000000000000000000000000600460008581526020019081526020016000205416145b9050919050565b600033905090565b60006001905090565b6000808290508061288461286c565b1161290c5760005481101561290b5760006004600083815260200190815260200160002054905060007c010000000000000000000000000000000000000000000000000000000082161415612909575b60008114156128ff5760046000836001900393508381526020019081526020016000205490506128d4565b809250505061293e565b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b60008060006006600085815260200190815260200160002090508092508254915050915091565b600073ffffffffffffffffffffffffffffffffffffffff8316925073ffffffffffffffffffffffffffffffffffffffff821691508382148383141790509392505050565b50505050565b60008060e883901c905060e86129cb86868461310c565b62ffffff16901b9150509392505050565b600073ffffffffffffffffffffffffffffffffffffffff83169250814260a01b178317905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614612b7c5760018183612a49919061485e565b612a53919061493f565b601b60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601c60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060018183612ae9919061485e565b612af3919061493f565b601c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055506000601b60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612c3d5760008183612bbf919061485e565b90505b601960008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208380612c0c90614aa3565b94509080600181540180825580915050600190039060005260206000200160009091909190915055808310612bc257505b50505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612d8688888686604051602001612d2594939291906144d5565b6040516020818303038152906040528051906020012087878080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505084613115565b9050979650505050505050565b612dad828260405180602001604052806000815250613169565b5050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612dd7612864565b8786866040518563ffffffff1660e01b8152600401612df994939291906143de565b602060405180830381600087803b158015612e1357600080fd5b505af1925050508015612e4457506040513d601f19601f82011682018060405250810190612e419190613cba565b60015b612ebe573d8060008114612e74576040519150601f19603f3d011682016040523d82523d6000602084013e612e79565b606091505b50600081511415612eb6576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612f2090614a40565b80601f0160208091040260200160405190810160405280929190818152602001828054612f4c90614a40565b8015612f995780601f10612f6e57610100808354040283529160200191612f99565b820191906000526020600020905b815481529060010190602001808311612f7c57829003601f168201915b5050505050905090565b60606000821415612feb576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130ff565b600082905060005b6000821461301d57808061300690614aa3565b915050600a8261301691906148b4565b9150612ff3565b60008167ffffffffffffffff81111561303957613038614c12565b5b6040519080825280601f01601f19166020018201604052801561306b5781602001600182028036833780820191505090505b5090505b600085146130f857600182613084919061493f565b9150600a856130939190614af6565b603061309f919061485e565b60f81b8183815181106130b5576130b4614be3565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130f191906148b4565b945061306f565b8093505050505b919050565b600033905090565b60009392505050565b60008173ffffffffffffffffffffffffffffffffffffffff166131498461313b87613206565b61323690919063ffffffff16565b73ffffffffffffffffffffffffffffffffffffffff161490509392505050565b613173838361325d565b60008373ffffffffffffffffffffffffffffffffffffffff163b1461320157600080549050600083820390505b6131b36000868380600101945086612db1565b6131e9576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8181106131a05781600054146131fe57600080fd5b50505b505050565b6000816040516020016132199190614388565b604051602081830303815290604052805190602001209050919050565b6000806000613245858561341a565b915091506132528161346c565b819250505092915050565b600080549050600082141561329e576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6132ab60008483856129ae565b600160406001901b178202600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055506133228361331360008660006129b4565b61331c85613641565b176129dc565b6004600083815260200190815260200160002081905550600080838301905073ffffffffffffffffffffffffffffffffffffffff85169150828260007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600183015b8181146133c357808360007fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef600080a4600181019050613388565b5060008214156133ff576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060008190555050506134156000848385612a07565b505050565b60008060418351141561345c5760008060006020860151925060408601519150606086015160001a905061345087828585613651565b94509450505050613465565b60006002915091505b9250929050565b600060048111156134805761347f614b85565b5b81600481111561349357613492614b85565b5b141561349e5761363e565b600160048111156134b2576134b1614b85565b5b8160048111156134c5576134c4614b85565b5b1415613506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134fd90614537565b60405180910390fd5b6002600481111561351a57613519614b85565b5b81600481111561352d5761352c614b85565b5b141561356e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161356590614577565b60405180910390fd5b6003600481111561358257613581614b85565b5b81600481111561359557613594614b85565b5b14156135d6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135cd906145f7565b60405180910390fd5b6004808111156135e9576135e8614b85565b5b8160048111156135fc576135fb614b85565b5b141561363d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161363490614637565b60405180910390fd5b5b50565b60006001821460e11b9050919050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c111561368c576000600391509150613755565b601b8560ff16141580156136a45750601c8560ff1614155b156136b6576000600491509150613755565b6000600187878787604051600081526020016040526040516136db9493929190614490565b6020604051602081039080840390855afa1580156136fd573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561374c57600060019250925050613755565b80600092509250505b94509492505050565b82805461376a90614a40565b90600052602060002090601f01602090048101928261378c57600085556137d3565b82601f106137a557805160ff19168380011785556137d3565b828001600101855582156137d3579182015b828111156137d25782518255916020019190600101906137b7565b5b5090506137e091906137e4565b5090565b5b808211156137fd5760008160009055506001016137e5565b5090565b600061381461380f84614760565b61473b565b9050828152602081018484840111156138305761382f614c50565b5b61383b8482856149fe565b509392505050565b600061385661385184614791565b61473b565b90508281526020810184848401111561387257613871614c50565b5b61387d8482856149fe565b509392505050565b60008135905061389481614f72565b92915050565b6000813590506138a981614f89565b92915050565b6000813590506138be81614fa0565b92915050565b6000815190506138d381614fa0565b92915050565b60008083601f8401126138ef576138ee614c46565b5b8235905067ffffffffffffffff81111561390c5761390b614c41565b5b60208301915083600182028301111561392857613927614c4b565b5b9250929050565b600082601f83011261394457613943614c46565b5b8135613954848260208601613801565b91505092915050565b60008083601f84011261397357613972614c46565b5b8235905067ffffffffffffffff8111156139905761398f614c41565b5b6020830191508360018202830111156139ac576139ab614c4b565b5b9250929050565b600082601f8301126139c8576139c7614c46565b5b81356139d8848260208601613843565b91505092915050565b6000813590506139f081614fb7565b92915050565b600060208284031215613a0c57613a0b614c5a565b5b6000613a1a84828501613885565b91505092915050565b60008060408385031215613a3a57613a39614c5a565b5b6000613a4885828601613885565b9250506020613a5985828601613885565b9150509250929050565b600080600060608486031215613a7c57613a7b614c5a565b5b6000613a8a86828701613885565b9350506020613a9b86828701613885565b9250506040613aac868287016139e1565b9150509250925092565b60008060008060808587031215613ad057613acf614c5a565b5b6000613ade87828801613885565b9450506020613aef87828801613885565b9350506040613b00878288016139e1565b925050606085013567ffffffffffffffff811115613b2157613b20614c55565b5b613b2d8782880161392f565b91505092959194509250565b60008060408385031215613b5057613b4f614c5a565b5b6000613b5e85828601613885565b9250506020613b6f8582860161389a565b9150509250929050565b60008060008060008060808789031215613b9657613b95614c5a565b5b6000613ba489828a01613885565b965050602087013567ffffffffffffffff811115613bc557613bc4614c55565b5b613bd189828a0161395d565b9550955050604087013567ffffffffffffffff811115613bf457613bf3614c55565b5b613c0089828a016138d9565b93509350506060613c1389828a016139e1565b9150509295509295509295565b60008060408385031215613c3757613c36614c5a565b5b6000613c4585828601613885565b9250506020613c56858286016139e1565b9150509250929050565b600060208284031215613c7657613c75614c5a565b5b6000613c848482850161389a565b91505092915050565b600060208284031215613ca357613ca2614c5a565b5b6000613cb1848285016138af565b91505092915050565b600060208284031215613cd057613ccf614c5a565b5b6000613cde848285016138c4565b91505092915050565b60008060008060408587031215613d0157613d00614c5a565b5b600085013567ffffffffffffffff811115613d1f57613d1e614c55565b5b613d2b8782880161395d565b9450945050602085013567ffffffffffffffff811115613d4e57613d4d614c55565b5b613d5a878288016138d9565b925092505092959194509250565b600060208284031215613d7e57613d7d614c5a565b5b600082013567ffffffffffffffff811115613d9c57613d9b614c55565b5b613da8848285016139b3565b91505092915050565b600060208284031215613dc757613dc6614c5a565b5b6000613dd5848285016139e1565b91505092915050565b60008060408385031215613df557613df4614c5a565b5b6000613e03858286016139e1565b9250506020613e1485828601613885565b9150509250929050565b600080600080600060608688031215613e3a57613e39614c5a565b5b6000613e48888289016139e1565b955050602086013567ffffffffffffffff811115613e6957613e68614c55565b5b613e758882890161395d565b9450945050604086013567ffffffffffffffff811115613e9857613e97614c55565b5b613ea4888289016138d9565b92509250509295509295909350565b6000613ebf8383614311565b60208301905092915050565b613ed481614973565b82525050565b6000613ee5826147e7565b613eef8185614815565b9350613efa836147c2565b8060005b83811015613f2b578151613f128882613eb3565b9750613f1d83614808565b925050600181019050613efe565b5085935050505092915050565b613f4181614985565b82525050565b613f5081614991565b82525050565b613f67613f6282614991565b614aec565b82525050565b6000613f78826147f2565b613f828185614826565b9350613f92818560208601614a0d565b613f9b81614c5f565b840191505092915050565b6000613fb28385614842565b9350613fbf8385846149fe565b613fc883614c5f565b840190509392505050565b6000613fdf8385614853565b9350613fec8385846149fe565b82840190509392505050565b6000614003826147fd565b61400d8185614842565b935061401d818560208601614a0d565b61402681614c5f565b840191505092915050565b600061403c826147fd565b6140468185614853565b9350614056818560208601614a0d565b80840191505092915050565b6000815461406f81614a40565b6140798186614853565b9450600182166000811461409457600181146140a5576140d8565b60ff198316865281860193506140d8565b6140ae856147d2565b60005b838110156140d0578154818901526001820191506020810190506140b1565b838801955050505b50505092915050565b60006140ee601883614842565b91506140f982614c70565b602082019050919050565b6000614111600683614842565b915061411c82614c99565b602082019050919050565b6000614134601f83614842565b915061413f82614cc2565b602082019050919050565b6000614157601c83614853565b915061416282614ceb565b601c82019050919050565b600061417a602683614842565b915061418582614d14565b604082019050919050565b600061419d601f83614842565b91506141a882614d63565b602082019050919050565b60006141c0603a83614842565b91506141cb82614d8c565b604082019050919050565b60006141e3602283614842565b91506141ee82614ddb565b604082019050919050565b6000614206601d83614842565b915061421182614e2a565b602082019050919050565b6000614229602283614842565b915061423482614e53565b604082019050919050565b600061424c601183614842565b915061425782614ea2565b602082019050919050565b600061426f602083614842565b915061427a82614ecb565b602082019050919050565b6000614292601383614842565b915061429d82614ef4565b602082019050919050565b60006142b5600083614837565b91506142c082614f1d565b600082019050919050565b60006142d8601483614842565b91506142e382614f20565b602082019050919050565b60006142fb601f83614842565b915061430682614f49565b602082019050919050565b61431a816149e7565b82525050565b614329816149e7565b82525050565b614338816149f1565b82525050565b600061434b828486613fd3565b91508190509392505050565b60006143638286614031565b915061436f8285614031565b915061437b8284614062565b9150819050949350505050565b60006143938261414a565b915061439f8284613f56565b60208201915081905092915050565b60006143b9826142a8565b9150819050919050565b60006020820190506143d86000830184613ecb565b92915050565b60006080820190506143f36000830187613ecb565b6144006020830186613ecb565b61440d6040830185614320565b818103606083015261441f8184613f6d565b905095945050505050565b600060408201905061443f6000830185613ecb565b61444c6020830184614320565b9392505050565b6000602082019050818103600083015261446d8184613eda565b905092915050565b600060208201905061448a6000830184613f38565b92915050565b60006080820190506144a56000830187613f47565b6144b2602083018661432f565b6144bf6040830185613f47565b6144cc6060830184613f47565b95945050505050565b600060608201905081810360008301526144f0818688613fa6565b90506144ff6020830185613ecb565b61450c6040830184614320565b95945050505050565b6000602082019050818103600083015261452f8184613ff8565b905092915050565b60006020820190508181036000830152614550816140e1565b9050919050565b6000602082019050818103600083015261457081614104565b9050919050565b6000602082019050818103600083015261459081614127565b9050919050565b600060208201905081810360008301526145b08161416d565b9050919050565b600060208201905081810360008301526145d081614190565b9050919050565b600060208201905081810360008301526145f0816141b3565b9050919050565b60006020820190508181036000830152614610816141d6565b9050919050565b60006020820190508181036000830152614630816141f9565b9050919050565b600060208201905081810360008301526146508161421c565b9050919050565b600060208201905081810360008301526146708161423f565b9050919050565b6000602082019050818103600083015261469081614262565b9050919050565b600060208201905081810360008301526146b081614285565b9050919050565b600060208201905081810360008301526146d0816142cb565b9050919050565b600060208201905081810360008301526146f0816142ee565b9050919050565b600060208201905061470c6000830184614320565b92915050565b60006040820190506147276000830185614320565b6147346020830184613ecb565b9392505050565b6000614745614756565b90506147518282614a72565b919050565b6000604051905090565b600067ffffffffffffffff82111561477b5761477a614c12565b5b61478482614c5f565b9050602081019050919050565b600067ffffffffffffffff8211156147ac576147ab614c12565b5b6147b582614c5f565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614869826149e7565b9150614874836149e7565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148a9576148a8614b27565b5b828201905092915050565b60006148bf826149e7565b91506148ca836149e7565b9250826148da576148d9614b56565b5b828204905092915050565b60006148f0826149e7565b91506148fb836149e7565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561493457614933614b27565b5b828202905092915050565b600061494a826149e7565b9150614955836149e7565b92508282101561496857614967614b27565b5b828203905092915050565b600061497e826149c7565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614a2b578082015181840152602081019050614a10565b83811115614a3a576000848401525b50505050565b60006002820490506001821680614a5857607f821691505b60208210811415614a6c57614a6b614bb4565b5b50919050565b614a7b82614c5f565b810181811067ffffffffffffffff82111715614a9a57614a99614c12565b5b80604052505050565b6000614aae826149e7565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614ae157614ae0614b27565b5b600182019050919050565b6000819050919050565b6000614b01826149e7565b9150614b0c836149e7565b925082614b1c57614b1b614b56565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b7f5061757365640000000000000000000000000000000000000000000000000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f45746865722076616c75652073656e74206973206e6f7420636f727265637400600082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b7f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f496e76616c69646d696e7420616d6f756e742100000000000000000000000000600082015250565b50565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b614f7b81614973565b8114614f8657600080fd5b50565b614f9281614985565b8114614f9d57600080fd5b50565b614fa98161499b565b8114614fb457600080fd5b50565b614fc0816149e7565b8114614fcb57600080fd5b5056fea26469706673582212207f820ffb2418964ee79850cff183ec3da4ceccde8755af90726e6c166549cdc764736f6c63430008070033

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

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