ETH Price: $3,414.53 (+1.70%)

Contract

0x82235445a7f634279E33702cc004B0FDb002fDa7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...212460362024-11-22 21:44:234 days ago1732311863IN
Sakura Park: SKRA Token
0 ETH0.0009803221
Set Approval For...212375702024-11-21 17:22:595 days ago1732209779IN
Sakura Park: SKRA Token
0 ETH0.000719215.40636748
Set Approval For...212200962024-11-19 6:50:478 days ago1731999047IN
Sakura Park: SKRA Token
0 ETH0.0004821310.32814118
Set Approval For...212089092024-11-17 17:25:599 days ago1731864359IN
Sakura Park: SKRA Token
0 ETH0.0007992917.12222097
Set Approval For...211922982024-11-15 9:47:3511 days ago1731664055IN
Sakura Park: SKRA Token
0 ETH0.000676214.48531358
Safe Transfer Fr...211917962024-11-15 8:07:1112 days ago1731658031IN
Sakura Park: SKRA Token
0 ETH0.0010296115.56336659
Set Approval For...211914192024-11-15 6:51:2312 days ago1731653483IN
Sakura Park: SKRA Token
0 ETH0.0007406115.83666753
Set Approval For...211897442024-11-15 1:14:5912 days ago1731633299IN
Sakura Park: SKRA Token
0 ETH0.0008981119.23895235
Set Approval For...211845842024-11-14 7:56:4713 days ago1731571007IN
Sakura Park: SKRA Token
0 ETH0.0015741933.72163494
Set Approval For...211845642024-11-14 7:52:4713 days ago1731570767IN
Sakura Park: SKRA Token
0 ETH0.0016711335.73393726
Set Approval For...211775552024-11-13 8:24:1114 days ago1731486251IN
Sakura Park: SKRA Token
0 ETH0.0008605118.40033982
Set Approval For...211496442024-11-09 10:57:1117 days ago1731149831IN
Sakura Park: SKRA Token
0 ETH0.000447789.59221188
Set Approval For...211466842024-11-09 1:03:3518 days ago1731114215IN
Sakura Park: SKRA Token
0 ETH0.0005040210.77760848
Set Approval For...210713552024-10-29 12:41:2328 days ago1730205683IN
Sakura Park: SKRA Token
0 ETH0.0009369820.03550115
Safe Transfer Fr...210481632024-10-26 6:59:1132 days ago1729925951IN
Sakura Park: SKRA Token
0 ETH0.002799455.07997881
Safe Transfer Fr...210481562024-10-26 6:57:4732 days ago1729925867IN
Sakura Park: SKRA Token
0 ETH0.000342035.16911501
Set Approval For...210455802024-10-25 22:20:4732 days ago1729894847IN
Sakura Park: SKRA Token
0 ETH0.000207284.44041841
Set Approval For...209960472024-10-19 0:31:2339 days ago1729297883IN
Sakura Park: SKRA Token
0 ETH0.000434189.28414194
Set Approval For...209737422024-10-15 21:47:3542 days ago1729028855IN
Sakura Park: SKRA Token
0 ETH0.0005809612.42272964
Transfer From209736702024-10-15 21:32:5942 days ago1729027979IN
Sakura Park: SKRA Token
0 ETH0.0006996915.12320686
Set Approval For...209647662024-10-14 15:42:1143 days ago1728920531IN
Sakura Park: SKRA Token
0 ETH0.0021774146.55972037
Safe Transfer Fr...209168332024-10-07 23:00:3550 days ago1728342035IN
Sakura Park: SKRA Token
0 ETH0.0005917111
Set Approval For...208869112024-10-03 18:55:5954 days ago1727981759IN
Sakura Park: SKRA Token
0 ETH0.0009306419.9
Set Approval For...208773542024-10-02 10:55:3555 days ago1727866535IN
Sakura Park: SKRA Token
0 ETH0.000319756.84953688
Set Approval For...208698832024-10-01 9:54:5956 days ago1727776499IN
Sakura Park: SKRA Token
0 ETH0.0008767518.74776502
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
148480522022-05-26 12:52:09915 days ago1653569529
Sakura Park: SKRA Token
112.104 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
SakuraPark

Compiler Version
v0.8.14+commit.80d49f37

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 16 : SakuraPark.sol
// SPDX-License-Identifier: Unlicensed
                                                                                                                                       
//                                 ,--.                                                ,-.----.                                    ,--. 
// .--.--.      ,---,          ,--/  /|              ,-.----.      ,---,               \    /  \     ,---,       ,-.----.      ,--/  /| 
// /  /    '.   '  .' \      ,---,': / '         ,--, \    /  \    '  .' \              |   :    \   '  .' \      \    /  \  ,---,': / ' 
//|  :  /`. /  /  ;    '.    :   : '/ /        ,'_ /| ;   :    \  /  ;    '.            |   |  .\ : /  ;    '.    ;   :    \ :   : '/ /  
//;  |  |--`  :  :       \   |   '   ,    .--. |  | : |   | .\ : :  :       \           .   :  |: |:  :       \   |   | .\ : |   '   ,   
//|  :  ;_    :  |   /\   \  '   |  /   ,'_ /| :  . | .   : |: | :  |   /\   \          |   |   \ ::  |   /\   \  .   : |: | '   |  /    
// \  \    `. |  :  ' ;.   : |   ;  ;   |  ' | |  . . |   |  \ : |  :  ' ;.   :         |   : .   /|  :  ' ;.   : |   |  \ : |   ;  ;    
//  `----.   \|  |  ;/  \   \:   '   \  |  | ' |  | | |   : .  / |  |  ;/  \   \        ;   | |`-' |  |  ;/  \   \|   : .  / :   '   \   
//  __ \  \  |'  :  | \  \ ,'|   |    ' :  | | :  ' ; ;   | |  \ '  :  | \  \ ,'        |   | ;    '  :  | \  \ ,';   | |  \ |   |    '  
// /  /`--'  /|  |  '  '--'  '   : |.  \|  ; ' |  | ' |   | ;\  \|  |  '  '--'          :   ' |    |  |  '  '--'  |   | ;\  \'   : |.  \ 
//'--'.     / |  :  :        |   | '_\.':  | : ;  ; | :   ' | \.'|  :  :                :   : :    |  :  :        :   ' | \.'|   | '_\.' 
//  `--'---'  |  | ,'        '   : |    '  :  `--'   \:   : :-'  |  | ,'                |   | :    |  | ,'        :   : :-'  '   : |     
//            `--''          ;   |,'    :  ,      .-./|   |.'    `--''                  `---'.|    `--''          |   |.'    ;   |,'     
//                           '---'       `--`----'    `---'                               `---`                   `---'      '---'       
                                                                                                                                       

                                                                                    
import 'erc721a/contracts/ERC721A.sol';
import '@openzeppelin/contracts/interfaces/IERC721.sol';
import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/utils/Arrays.sol';

pragma solidity >=0.8.9 <0.9.0;

contract SakuraPark is ERC721A, Ownable, ReentrancyGuard {

  using Strings for uint256;

  string public uriPrefix = "";
  string public uriSuffix = ".json";
  
  string public hiddenMetadataUri = "ipfs://QmcXsQzFhkj1ymEwfpj48SbppfTVforDmFyTPm3jTE4TC7/hidden.json";
  
  uint256 public Publicprice = .042 ether;
  
  uint256 public maxSupply = 2669;
  
  uint256 public PublicmaxMintAmountPerTx = 25;
  
  bool public paused = false;
  bool public publicSaleON = true;

  bool public revealed = false;

  constructor(
    string memory _uriPrefix
) ERC721A("Sakura Park", "SKRA")  {
    setUriPrefix(_uriPrefix);
  }


  
 // public mint
  function PublicMint(uint256 _mintAmount) public payable{
    require(!paused, 'The contract is paused!');
    require(publicSaleON, 'Public Sale has not started');
    require(_mintAmount > 0 && _mintAmount <= PublicmaxMintAmountPerTx, 'Invalid mint amount!');
    require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    require(msg.value >= Publicprice * _mintAmount, 'Insufficient funds!');
    _safeMint(_msgSender(), _mintAmount);
  }

  // Aidrop/ Ownermint
  function airdrop(uint256 _mintAmount, address _address) public onlyOwner {
      require(totalSupply() + _mintAmount <= maxSupply, 'Max supply exceeded!');
    _safeMint(_address, _mintAmount);
  }

  function walletOfOwner(address _owner) public view returns (uint256[] memory) {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory ownedTokenIds = new uint256[](ownerTokenCount);
    uint256 currentTokenId = _startTokenId();
    uint256 ownedTokenIndex = 0;
    address latestOwnerAddress;

    while (ownedTokenIndex < ownerTokenCount && currentTokenId <= maxSupply) {
      TokenOwnership memory ownership = _ownerships[currentTokenId];

      if (!ownership.burned && ownership.addr != address(0)) {
        latestOwnerAddress = ownership.addr;
      }

      if (latestOwnerAddress == _owner) {
        ownedTokenIds[ownedTokenIndex] = currentTokenId;

        ownedTokenIndex++;
      }

      currentTokenId++;
    }

    return ownedTokenIds;
  }

  function _startTokenId() internal view virtual override returns (uint256) {
    return 1;
  }

  function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) {
    require(_exists(_tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

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

// PublicSaleON
  function setpublicSaleON(bool _state) public onlyOwner {
    publicSaleON = _state;
  }

//reveal
  function setRevealed(bool _state) public onlyOwner {
    revealed = _state;
  }

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

// actual uri
  function setUriPrefix(string memory _uriPrefix) public onlyOwner {
    uriPrefix = _uriPrefix;
  }

// uri suffix
  function setUriSuffix(string memory _uriSuffix) public onlyOwner {
    uriSuffix = _uriSuffix;
  }

// pause
  function setPaused(bool _state) public onlyOwner {
    paused = _state;
  }

// supply
  function setmaxSupply(uint256 _maxSupply) public onlyOwner {
    maxSupply = _maxSupply;
  }

// public price
  function setPublicPrice(uint256 _PublicPrice) public onlyOwner {
    Publicprice = _PublicPrice;
  }

// PublicmaxMintAmountPerTx
  function setPublicmaxMintAmountPerTx(uint256 _PublicmaxMintAmountPerTx) public onlyOwner {
    PublicmaxMintAmountPerTx = _PublicmaxMintAmountPerTx;
  }

// withdraw
  function withdraw() public onlyOwner nonReentrant {
    //owner withdraw
    (bool os, ) = payable(owner()).call{value: address(this).balance}('');
    require(os);
  }
  

  function _baseURI() internal view virtual override returns (string memory) {
    return uriPrefix;
  }
}

File 2 of 16 : Arrays.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Arrays.sol)

pragma solidity ^0.8.0;

import "./math/Math.sol";

/**
 * @dev Collection of functions related to array types.
 */
library Arrays {
    /**
     * @dev Searches a sorted `array` and returns the first index that contains
     * a value greater or equal to `element`. If no such index exists (i.e. all
     * values in the array are strictly less than `element`), the array length is
     * returned. Time complexity O(log n).
     *
     * `array` is expected to be sorted in ascending order, and to contain no
     * repeated elements.
     */
    function findUpperBound(uint256[] storage array, uint256 element) internal view returns (uint256) {
        if (array.length == 0) {
            return 0;
        }

        uint256 low = 0;
        uint256 high = array.length;

        while (low < high) {
            uint256 mid = Math.average(low, high);

            // Note that mid will always be strictly less than high (i.e. it will be a valid array index)
            // because Math.average rounds down (it does integer division with truncation).
            if (array[mid] > element) {
                high = mid;
            } else {
                low = mid + 1;
            }
        }

        // At this point `low` is the exclusive upper bound. We will return the inclusive upper bound.
        if (low > 0 && array[low - 1] == element) {
            return low - 1;
        } else {
            return low;
        }
    }
}

File 3 of 16 : 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 4 of 16 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 16 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC721.sol)

pragma solidity ^0.8.0;

import "../token/ERC721/IERC721.sol";

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

pragma solidity ^0.8.4;

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 8 of 16 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"PublicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"PublicmaxMintAmountPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Publicprice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"address","name":"_address","type":"address"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSaleON","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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_hiddenMetadataUri","type":"string"}],"name":"setHiddenMetadataUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setPaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicPrice","type":"uint256"}],"name":"setPublicPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_PublicmaxMintAmountPerTx","type":"uint256"}],"name":"setPublicmaxMintAmountPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriPrefix","type":"string"}],"name":"setUriPrefix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_uriSuffix","type":"string"}],"name":"setUriSuffix","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":"setpublicSaleON","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"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":"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"}]

608060405260405180602001604052806000815250600a90805190602001906200002b929190620003e8565b506040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600b908051906020019062000079929190620003e8565b5060405180608001604052806041815260200162004a4960419139600c9080519060200190620000ab929190620003e8565b50669536c708910000600d55610a6d600e556019600f556000601060006101000a81548160ff0219169083151502179055506001601060016101000a81548160ff0219169083151502179055506000601060026101000a81548160ff0219169083151502179055503480156200012057600080fd5b5060405162004a8a38038062004a8a833981810160405281019062000146919062000635565b6040518060400160405280600b81526020017f53616b757261205061726b0000000000000000000000000000000000000000008152506040518060400160405280600481526020017f534b5241000000000000000000000000000000000000000000000000000000008152508160029080519060200190620001ca929190620003e8565b508060039080519060200190620001e3929190620003e8565b50620001f46200023c60201b60201c565b60008190555050506200021c620002106200024560201b60201c565b6200024d60201b60201c565b600160098190555062000235816200031360201b60201c565b506200076d565b60006001905090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003236200024560201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000349620003be60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003a2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039990620006e7565b60405180910390fd5b80600a9080519060200190620003ba929190620003e8565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620003f69062000738565b90600052602060002090601f0160209004810192826200041a576000855562000466565b82601f106200043557805160ff191683800117855562000466565b8280016001018555821562000466579182015b828111156200046557825182559160200191906001019062000448565b5b50905062000475919062000479565b5090565b5b80821115620004945760008160009055506001016200047a565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200050182620004b6565b810181811067ffffffffffffffff82111715620005235762000522620004c7565b5b80604052505050565b60006200053862000498565b9050620005468282620004f6565b919050565b600067ffffffffffffffff821115620005695762000568620004c7565b5b6200057482620004b6565b9050602081019050919050565b60005b83811015620005a157808201518184015260208101905062000584565b83811115620005b1576000848401525b50505050565b6000620005ce620005c8846200054b565b6200052c565b905082815260208101848484011115620005ed57620005ec620004b1565b5b620005fa84828562000581565b509392505050565b600082601f8301126200061a5762000619620004ac565b5b81516200062c848260208601620005b7565b91505092915050565b6000602082840312156200064e576200064d620004a2565b5b600082015167ffffffffffffffff8111156200066f576200066e620004a7565b5b6200067d8482850162000602565b91505092915050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620006cf60208362000686565b9150620006dc8262000697565b602082019050919050565b600060208201905081810360008301526200070281620006c0565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200075157607f821691505b60208210810362000767576200076662000709565b5b50919050565b6142cc806200077d6000396000f3fe6080604052600436106102305760003560e01c80636352211e1161012e578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb0114610804578063e0a808531461082f578063e985e9c514610858578063ead8e51414610895578063f2fde38b146108c057610230565b8063b88d4fde14610721578063bc63f02e1461074a578063c627525514610773578063c87b56dd1461079c578063cdafdad9146107d957610230565b806395d89b41116100f257806395d89b411461065d5780639ae48856146106885780639fb17e34146106b1578063a22cb465146106cd578063a45ba8e7146106f657610230565b80636352211e1461057857806370a08231146105b5578063715018a6146105f25780637ec4a659146106095780638da5cb5b1461063257610230565b8063241f914c116101bc5780634fdd43cb116101805780634fdd43cb146104a357806351830227146104cc5780635503a0e8146104f75780635c975abb1461052257806362b99ad41461054d57610230565b8063241f914c146103d25780633ccfd60b146103fb5780633dd79ce21461041257806342842e0e1461043d578063438b63001461046657610230565b806316ba10e01161020357806316ba10e01461030357806316c38b3c1461032c57806318160ddd14610355578063228025e81461038057806323b872dd146103a957610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061324b565b6108e9565b6040516102699190613293565b60405180910390f35b34801561027e57600080fd5b506102876109cb565b6040516102949190613347565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061339f565b610a5d565b6040516102d1919061340d565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613454565b610ad9565b005b34801561030f57600080fd5b5061032a600480360381019061032591906135c9565b610bdd565b005b34801561033857600080fd5b50610353600480360381019061034e919061363e565b610c73565b005b34801561036157600080fd5b5061036a610d0c565b604051610377919061367a565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a2919061339f565b610d23565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190613695565b610da9565b005b3480156103de57600080fd5b506103f960048036038101906103f4919061363e565b610db9565b005b34801561040757600080fd5b50610410610e52565b005b34801561041e57600080fd5b50610427610fa3565b6040516104349190613293565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190613695565b610fb6565b005b34801561047257600080fd5b5061048d600480360381019061048891906136e8565b610fd6565b60405161049a91906137d3565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c591906135c9565b6111f0565b005b3480156104d857600080fd5b506104e1611286565b6040516104ee9190613293565b60405180910390f35b34801561050357600080fd5b5061050c611299565b6040516105199190613347565b60405180910390f35b34801561052e57600080fd5b50610537611327565b6040516105449190613293565b60405180910390f35b34801561055957600080fd5b5061056261133a565b60405161056f9190613347565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a919061339f565b6113c8565b6040516105ac919061340d565b60405180910390f35b3480156105c157600080fd5b506105dc60048036038101906105d791906136e8565b6113de565b6040516105e9919061367a565b60405180910390f35b3480156105fe57600080fd5b506106076114ad565b005b34801561061557600080fd5b50610630600480360381019061062b91906135c9565b611535565b005b34801561063e57600080fd5b506106476115cb565b604051610654919061340d565b60405180910390f35b34801561066957600080fd5b506106726115f5565b60405161067f9190613347565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa919061339f565b611687565b005b6106cb60048036038101906106c6919061339f565b61170d565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906137f5565b6118b8565b005b34801561070257600080fd5b5061070b611a2f565b6040516107189190613347565b60405180910390f35b34801561072d57600080fd5b50610748600480360381019061074391906138d6565b611abd565b005b34801561075657600080fd5b50610771600480360381019061076c9190613959565b611b35565b005b34801561077f57600080fd5b5061079a6004803603810190610795919061339f565b611c16565b005b3480156107a857600080fd5b506107c360048036038101906107be919061339f565b611c9c565b6040516107d09190613347565b60405180910390f35b3480156107e557600080fd5b506107ee611df4565b6040516107fb919061367a565b60405180910390f35b34801561081057600080fd5b50610819611dfa565b604051610826919061367a565b60405180910390f35b34801561083b57600080fd5b506108566004803603810190610851919061363e565b611e00565b005b34801561086457600080fd5b5061087f600480360381019061087a9190613999565b611e99565b60405161088c9190613293565b60405180910390f35b3480156108a157600080fd5b506108aa611f2d565b6040516108b7919061367a565b60405180910390f35b3480156108cc57600080fd5b506108e760048036038101906108e291906136e8565b611f33565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109c457506109c38261202a565b5b9050919050565b6060600280546109da90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0690613a08565b8015610a535780601f10610a2857610100808354040283529160200191610a53565b820191906000526020600020905b815481529060010190602001808311610a3657829003601f168201915b5050505050905090565b6000610a6882612094565b610a9e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae4826113c8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6a6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610bcd57610b9681610b916120e2565b611e99565b610bcc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610bd88383836120ea565b505050565b610be56120e2565b73ffffffffffffffffffffffffffffffffffffffff16610c036115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5090613a85565b60405180910390fd5b80600b9080519060200190610c6f9291906130f9565b5050565b610c7b6120e2565b73ffffffffffffffffffffffffffffffffffffffff16610c996115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690613a85565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000610d1661219c565b6001546000540303905090565b610d2b6120e2565b73ffffffffffffffffffffffffffffffffffffffff16610d496115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690613a85565b60405180910390fd5b80600e8190555050565b610db48383836121a5565b505050565b610dc16120e2565b73ffffffffffffffffffffffffffffffffffffffff16610ddf6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2c90613a85565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b610e5a6120e2565b73ffffffffffffffffffffffffffffffffffffffff16610e786115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590613a85565b60405180910390fd5b600260095403610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613af1565b60405180910390fd5b60026009819055506000610f256115cb565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f4890613b42565b60006040518083038185875af1925050503d8060008114610f85576040519150601f19603f3d011682016040523d82523d6000602084013e610f8a565b606091505b5050905080610f9857600080fd5b506001600981905550565b601060019054906101000a900460ff1681565b610fd183838360405180602001604052806000815250611abd565b505050565b60606000610fe3836113de565b905060008167ffffffffffffffff8111156110015761100061349e565b5b60405190808252806020026020018201604052801561102f5781602001602082028036833780820191505090505b509050600061103c61219c565b90506000805b84821080156110535750600e548311155b156111e3576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511580156111605750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b1561116d57806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111cf57838584815181106111b4576111b3613b57565b5b60200260200101818152505082806111cb90613bb5565b9350505b83806111da90613bb5565b94505050611042565b8395505050505050919050565b6111f86120e2565b73ffffffffffffffffffffffffffffffffffffffff166112166115cb565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390613a85565b60405180910390fd5b80600c90805190602001906112829291906130f9565b5050565b601060029054906101000a900460ff1681565b600b80546112a690613a08565b80601f01602080910402602001604051908101604052809291908181526020018280546112d290613a08565b801561131f5780601f106112f45761010080835404028352916020019161131f565b820191906000526020600020905b81548152906001019060200180831161130257829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b600a805461134790613a08565b80601f016020809104026020016040519081016040528092919081815260200182805461137390613a08565b80156113c05780601f10611395576101008083540402835291602001916113c0565b820191906000526020600020905b8154815290600101906020018083116113a357829003601f168201915b505050505081565b60006113d382612659565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611445576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114b56120e2565b73ffffffffffffffffffffffffffffffffffffffff166114d36115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090613a85565b60405180910390fd5b61153360006128e4565b565b61153d6120e2565b73ffffffffffffffffffffffffffffffffffffffff1661155b6115cb565b73ffffffffffffffffffffffffffffffffffffffff16146115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a890613a85565b60405180910390fd5b80600a90805190602001906115c79291906130f9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461160490613a08565b80601f016020809104026020016040519081016040528092919081815260200182805461163090613a08565b801561167d5780601f106116525761010080835404028352916020019161167d565b820191906000526020600020905b81548152906001019060200180831161166057829003601f168201915b5050505050905090565b61168f6120e2565b73ffffffffffffffffffffffffffffffffffffffff166116ad6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fa90613a85565b60405180910390fd5b80600f8190555050565b601060009054906101000a900460ff161561175d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175490613c49565b60405180910390fd5b601060019054906101000a900460ff166117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390613cb5565b60405180910390fd5b6000811180156117be5750600f548111155b6117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f490613d21565b60405180910390fd5b600e5481611809610d0c565b6118139190613d41565b1115611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90613de3565b60405180910390fd5b80600d546118629190613e03565b3410156118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90613ea9565b60405180910390fd5b6118b56118af6120e2565b826129aa565b50565b6118c06120e2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611924576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119316120e2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119de6120e2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a239190613293565b60405180910390a35050565b600c8054611a3c90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6890613a08565b8015611ab55780601f10611a8a57610100808354040283529160200191611ab5565b820191906000526020600020905b815481529060010190602001808311611a9857829003601f168201915b505050505081565b611ac88484846121a5565b611ae78373ffffffffffffffffffffffffffffffffffffffff166129c8565b15611b2f57611af8848484846129eb565b611b2e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611b3d6120e2565b73ffffffffffffffffffffffffffffffffffffffff16611b5b6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890613a85565b60405180910390fd5b600e5482611bbd610d0c565b611bc79190613d41565b1115611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff90613de3565b60405180910390fd5b611c1281836129aa565b5050565b611c1e6120e2565b73ffffffffffffffffffffffffffffffffffffffff16611c3c6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990613a85565b60405180910390fd5b80600d8190555050565b6060611ca782612094565b611ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdd90613f3b565b60405180910390fd5b60001515601060029054906101000a900460ff16151503611d9357600c8054611d0e90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3a90613a08565b8015611d875780601f10611d5c57610100808354040283529160200191611d87565b820191906000526020600020905b815481529060010190602001808311611d6a57829003601f168201915b50505050509050611def565b6000611d9d612b3b565b90506000815111611dbd5760405180602001604052806000815250611deb565b80611dc784612bcd565b600b604051602001611ddb9392919061402b565b6040516020818303038152906040525b9150505b919050565b600f5481565b600e5481565b611e086120e2565b73ffffffffffffffffffffffffffffffffffffffff16611e266115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390613a85565b60405180910390fd5b80601060026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b611f3b6120e2565b73ffffffffffffffffffffffffffffffffffffffff16611f596115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa690613a85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361201e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612015906140ce565b60405180910390fd5b612027816128e4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161209f61219c565b111580156120ae575060005482105b80156120db575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006121b082612659565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461221b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661223c6120e2565b73ffffffffffffffffffffffffffffffffffffffff16148061226b575061226a856122656120e2565b611e99565b5b806122b057506122796120e2565b73ffffffffffffffffffffffffffffffffffffffff1661229884610a5d565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122e9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361234f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61235c8585856001612d2d565b612368600084876120ea565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125e75760005482146125e657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126528585856001612d33565b5050505050565b61266161317f565b60008290508061266f61219c565b116128ad576000548110156128ac576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128aa57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461278e5780925050506128df565b5b6001156128a957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128a45780925050506128df565b61278f565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129c4828260405180602001604052806000815250612d39565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a116120e2565b8786866040518563ffffffff1660e01b8152600401612a339493929190614143565b6020604051808303816000875af1925050508015612a6f57506040513d601f19601f82011682018060405250810190612a6c91906141a4565b60015b612ae8573d8060008114612a9f576040519150601f19603f3d011682016040523d82523d6000602084013e612aa4565b606091505b506000815103612ae0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612b4a90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7690613a08565b8015612bc35780601f10612b9857610100808354040283529160200191612bc3565b820191906000526020600020905b815481529060010190602001808311612ba657829003601f168201915b5050505050905090565b606060008203612c14576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d28565b600082905060005b60008214612c46578080612c2f90613bb5565b915050600a82612c3f9190614200565b9150612c1c565b60008167ffffffffffffffff811115612c6257612c6161349e565b5b6040519080825280601f01601f191660200182016040528015612c945781602001600182028036833780820191505090505b5090505b60008514612d2157600182612cad9190614231565b9150600a85612cbc9190614265565b6030612cc89190613d41565b60f81b818381518110612cde57612cdd613b57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d1a9190614200565b9450612c98565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612da5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612ddf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612dec6000858386612d2d565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612fad8673ffffffffffffffffffffffffffffffffffffffff166129c8565b15613072575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461302260008784806001019550876129eb565b613058576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612fb357826000541461306d57600080fd5b6130dd565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613073575b8160008190555050506130f36000858386612d33565b50505050565b82805461310590613a08565b90600052602060002090601f016020900481019282613127576000855561316e565b82601f1061314057805160ff191683800117855561316e565b8280016001018555821561316e579182015b8281111561316d578251825591602001919060010190613152565b5b50905061317b91906131c2565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156131db5760008160009055506001016131c3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613228816131f3565b811461323357600080fd5b50565b6000813590506132458161321f565b92915050565b600060208284031215613261576132606131e9565b5b600061326f84828501613236565b91505092915050565b60008115159050919050565b61328d81613278565b82525050565b60006020820190506132a86000830184613284565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132e85780820151818401526020810190506132cd565b838111156132f7576000848401525b50505050565b6000601f19601f8301169050919050565b6000613319826132ae565b61332381856132b9565b93506133338185602086016132ca565b61333c816132fd565b840191505092915050565b60006020820190508181036000830152613361818461330e565b905092915050565b6000819050919050565b61337c81613369565b811461338757600080fd5b50565b60008135905061339981613373565b92915050565b6000602082840312156133b5576133b46131e9565b5b60006133c38482850161338a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133f7826133cc565b9050919050565b613407816133ec565b82525050565b600060208201905061342260008301846133fe565b92915050565b613431816133ec565b811461343c57600080fd5b50565b60008135905061344e81613428565b92915050565b6000806040838503121561346b5761346a6131e9565b5b60006134798582860161343f565b925050602061348a8582860161338a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134d6826132fd565b810181811067ffffffffffffffff821117156134f5576134f461349e565b5b80604052505050565b60006135086131df565b905061351482826134cd565b919050565b600067ffffffffffffffff8211156135345761353361349e565b5b61353d826132fd565b9050602081019050919050565b82818337600083830152505050565b600061356c61356784613519565b6134fe565b90508281526020810184848401111561358857613587613499565b5b61359384828561354a565b509392505050565b600082601f8301126135b0576135af613494565b5b81356135c0848260208601613559565b91505092915050565b6000602082840312156135df576135de6131e9565b5b600082013567ffffffffffffffff8111156135fd576135fc6131ee565b5b6136098482850161359b565b91505092915050565b61361b81613278565b811461362657600080fd5b50565b60008135905061363881613612565b92915050565b600060208284031215613654576136536131e9565b5b600061366284828501613629565b91505092915050565b61367481613369565b82525050565b600060208201905061368f600083018461366b565b92915050565b6000806000606084860312156136ae576136ad6131e9565b5b60006136bc8682870161343f565b93505060206136cd8682870161343f565b92505060406136de8682870161338a565b9150509250925092565b6000602082840312156136fe576136fd6131e9565b5b600061370c8482850161343f565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61374a81613369565b82525050565b600061375c8383613741565b60208301905092915050565b6000602082019050919050565b600061378082613715565b61378a8185613720565b935061379583613731565b8060005b838110156137c65781516137ad8882613750565b97506137b883613768565b925050600181019050613799565b5085935050505092915050565b600060208201905081810360008301526137ed8184613775565b905092915050565b6000806040838503121561380c5761380b6131e9565b5b600061381a8582860161343f565b925050602061382b85828601613629565b9150509250929050565b600067ffffffffffffffff8211156138505761384f61349e565b5b613859826132fd565b9050602081019050919050565b600061387961387484613835565b6134fe565b90508281526020810184848401111561389557613894613499565b5b6138a084828561354a565b509392505050565b600082601f8301126138bd576138bc613494565b5b81356138cd848260208601613866565b91505092915050565b600080600080608085870312156138f0576138ef6131e9565b5b60006138fe8782880161343f565b945050602061390f8782880161343f565b93505060406139208782880161338a565b925050606085013567ffffffffffffffff811115613941576139406131ee565b5b61394d878288016138a8565b91505092959194509250565b600080604083850312156139705761396f6131e9565b5b600061397e8582860161338a565b925050602061398f8582860161343f565b9150509250929050565b600080604083850312156139b0576139af6131e9565b5b60006139be8582860161343f565b92505060206139cf8582860161343f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a2057607f821691505b602082108103613a3357613a326139d9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a6f6020836132b9565b9150613a7a82613a39565b602082019050919050565b60006020820190508181036000830152613a9e81613a62565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613adb601f836132b9565b9150613ae682613aa5565b602082019050919050565b60006020820190508181036000830152613b0a81613ace565b9050919050565b600081905092915050565b50565b6000613b2c600083613b11565b9150613b3782613b1c565b600082019050919050565b6000613b4d82613b1f565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bc082613369565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bf257613bf1613b86565b5b600182019050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613c336017836132b9565b9150613c3e82613bfd565b602082019050919050565b60006020820190508181036000830152613c6281613c26565b9050919050565b7f5075626c69632053616c6520686173206e6f7420737461727465640000000000600082015250565b6000613c9f601b836132b9565b9150613caa82613c69565b602082019050919050565b60006020820190508181036000830152613cce81613c92565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613d0b6014836132b9565b9150613d1682613cd5565b602082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b6000613d4c82613369565b9150613d5783613369565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8c57613d8b613b86565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613dcd6014836132b9565b9150613dd882613d97565b602082019050919050565b60006020820190508181036000830152613dfc81613dc0565b9050919050565b6000613e0e82613369565b9150613e1983613369565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e5257613e51613b86565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000613e936013836132b9565b9150613e9e82613e5d565b602082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613f25602f836132b9565b9150613f3082613ec9565b604082019050919050565b60006020820190508181036000830152613f5481613f18565b9050919050565b600081905092915050565b6000613f71826132ae565b613f7b8185613f5b565b9350613f8b8185602086016132ca565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613fb981613a08565b613fc38186613f5b565b94506001821660008114613fde5760018114613fef57614022565b60ff19831686528186019350614022565b613ff885613f97565b60005b8381101561401a57815481890152600182019150602081019050613ffb565b838801955050505b50505092915050565b60006140378286613f66565b91506140438285613f66565b915061404f8284613fac565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140b86026836132b9565b91506140c38261405c565b604082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614115826140ee565b61411f81856140f9565b935061412f8185602086016132ca565b614138816132fd565b840191505092915050565b600060808201905061415860008301876133fe565b61416560208301866133fe565b614172604083018561366b565b8181036060830152614184818461410a565b905095945050505050565b60008151905061419e8161321f565b92915050565b6000602082840312156141ba576141b96131e9565b5b60006141c88482850161418f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061420b82613369565b915061421683613369565b925082614226576142256141d1565b5b828204905092915050565b600061423c82613369565b915061424783613369565b92508282101561425a57614259613b86565b5b828203905092915050565b600061427082613369565b915061427b83613369565b92508261428b5761428a6141d1565b5b82820690509291505056fea26469706673582212207a728b1650ea49b16b16b386cd1e592a276ee1fac0fef032f718faab092215a664736f6c634300080e0033697066733a2f2f516d635873517a46686b6a31796d457766706a343853627070665456666f72446d467954506d336a5445345443372f68696464656e2e6a736f6e0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b636f6d696e675f736f6f6e000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102305760003560e01c80636352211e1161012e578063b88d4fde116100ab578063d5abeb011161006f578063d5abeb0114610804578063e0a808531461082f578063e985e9c514610858578063ead8e51414610895578063f2fde38b146108c057610230565b8063b88d4fde14610721578063bc63f02e1461074a578063c627525514610773578063c87b56dd1461079c578063cdafdad9146107d957610230565b806395d89b41116100f257806395d89b411461065d5780639ae48856146106885780639fb17e34146106b1578063a22cb465146106cd578063a45ba8e7146106f657610230565b80636352211e1461057857806370a08231146105b5578063715018a6146105f25780637ec4a659146106095780638da5cb5b1461063257610230565b8063241f914c116101bc5780634fdd43cb116101805780634fdd43cb146104a357806351830227146104cc5780635503a0e8146104f75780635c975abb1461052257806362b99ad41461054d57610230565b8063241f914c146103d25780633ccfd60b146103fb5780633dd79ce21461041257806342842e0e1461043d578063438b63001461046657610230565b806316ba10e01161020357806316ba10e01461030357806316c38b3c1461032c57806318160ddd14610355578063228025e81461038057806323b872dd146103a957610230565b806301ffc9a71461023557806306fdde0314610272578063081812fc1461029d578063095ea7b3146102da575b600080fd5b34801561024157600080fd5b5061025c6004803603810190610257919061324b565b6108e9565b6040516102699190613293565b60405180910390f35b34801561027e57600080fd5b506102876109cb565b6040516102949190613347565b60405180910390f35b3480156102a957600080fd5b506102c460048036038101906102bf919061339f565b610a5d565b6040516102d1919061340d565b60405180910390f35b3480156102e657600080fd5b5061030160048036038101906102fc9190613454565b610ad9565b005b34801561030f57600080fd5b5061032a600480360381019061032591906135c9565b610bdd565b005b34801561033857600080fd5b50610353600480360381019061034e919061363e565b610c73565b005b34801561036157600080fd5b5061036a610d0c565b604051610377919061367a565b60405180910390f35b34801561038c57600080fd5b506103a760048036038101906103a2919061339f565b610d23565b005b3480156103b557600080fd5b506103d060048036038101906103cb9190613695565b610da9565b005b3480156103de57600080fd5b506103f960048036038101906103f4919061363e565b610db9565b005b34801561040757600080fd5b50610410610e52565b005b34801561041e57600080fd5b50610427610fa3565b6040516104349190613293565b60405180910390f35b34801561044957600080fd5b50610464600480360381019061045f9190613695565b610fb6565b005b34801561047257600080fd5b5061048d600480360381019061048891906136e8565b610fd6565b60405161049a91906137d3565b60405180910390f35b3480156104af57600080fd5b506104ca60048036038101906104c591906135c9565b6111f0565b005b3480156104d857600080fd5b506104e1611286565b6040516104ee9190613293565b60405180910390f35b34801561050357600080fd5b5061050c611299565b6040516105199190613347565b60405180910390f35b34801561052e57600080fd5b50610537611327565b6040516105449190613293565b60405180910390f35b34801561055957600080fd5b5061056261133a565b60405161056f9190613347565b60405180910390f35b34801561058457600080fd5b5061059f600480360381019061059a919061339f565b6113c8565b6040516105ac919061340d565b60405180910390f35b3480156105c157600080fd5b506105dc60048036038101906105d791906136e8565b6113de565b6040516105e9919061367a565b60405180910390f35b3480156105fe57600080fd5b506106076114ad565b005b34801561061557600080fd5b50610630600480360381019061062b91906135c9565b611535565b005b34801561063e57600080fd5b506106476115cb565b604051610654919061340d565b60405180910390f35b34801561066957600080fd5b506106726115f5565b60405161067f9190613347565b60405180910390f35b34801561069457600080fd5b506106af60048036038101906106aa919061339f565b611687565b005b6106cb60048036038101906106c6919061339f565b61170d565b005b3480156106d957600080fd5b506106f460048036038101906106ef91906137f5565b6118b8565b005b34801561070257600080fd5b5061070b611a2f565b6040516107189190613347565b60405180910390f35b34801561072d57600080fd5b50610748600480360381019061074391906138d6565b611abd565b005b34801561075657600080fd5b50610771600480360381019061076c9190613959565b611b35565b005b34801561077f57600080fd5b5061079a6004803603810190610795919061339f565b611c16565b005b3480156107a857600080fd5b506107c360048036038101906107be919061339f565b611c9c565b6040516107d09190613347565b60405180910390f35b3480156107e557600080fd5b506107ee611df4565b6040516107fb919061367a565b60405180910390f35b34801561081057600080fd5b50610819611dfa565b604051610826919061367a565b60405180910390f35b34801561083b57600080fd5b506108566004803603810190610851919061363e565b611e00565b005b34801561086457600080fd5b5061087f600480360381019061087a9190613999565b611e99565b60405161088c9190613293565b60405180910390f35b3480156108a157600080fd5b506108aa611f2d565b6040516108b7919061367a565b60405180910390f35b3480156108cc57600080fd5b506108e760048036038101906108e291906136e8565b611f33565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806109b457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806109c457506109c38261202a565b5b9050919050565b6060600280546109da90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054610a0690613a08565b8015610a535780601f10610a2857610100808354040283529160200191610a53565b820191906000526020600020905b815481529060010190602001808311610a3657829003601f168201915b5050505050905090565b6000610a6882612094565b610a9e576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ae4826113c8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610b4b576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b6a6120e2565b73ffffffffffffffffffffffffffffffffffffffff1614610bcd57610b9681610b916120e2565b611e99565b610bcc576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b610bd88383836120ea565b505050565b610be56120e2565b73ffffffffffffffffffffffffffffffffffffffff16610c036115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610c59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c5090613a85565b60405180910390fd5b80600b9080519060200190610c6f9291906130f9565b5050565b610c7b6120e2565b73ffffffffffffffffffffffffffffffffffffffff16610c996115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610cef576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ce690613a85565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6000610d1661219c565b6001546000540303905090565b610d2b6120e2565b73ffffffffffffffffffffffffffffffffffffffff16610d496115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610d9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d9690613a85565b60405180910390fd5b80600e8190555050565b610db48383836121a5565b505050565b610dc16120e2565b73ffffffffffffffffffffffffffffffffffffffff16610ddf6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2c90613a85565b60405180910390fd5b80601060016101000a81548160ff02191690831515021790555050565b610e5a6120e2565b73ffffffffffffffffffffffffffffffffffffffff16610e786115cb565b73ffffffffffffffffffffffffffffffffffffffff1614610ece576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec590613a85565b60405180910390fd5b600260095403610f13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0a90613af1565b60405180910390fd5b60026009819055506000610f256115cb565b73ffffffffffffffffffffffffffffffffffffffff1647604051610f4890613b42565b60006040518083038185875af1925050503d8060008114610f85576040519150601f19603f3d011682016040523d82523d6000602084013e610f8a565b606091505b5050905080610f9857600080fd5b506001600981905550565b601060019054906101000a900460ff1681565b610fd183838360405180602001604052806000815250611abd565b505050565b60606000610fe3836113de565b905060008167ffffffffffffffff8111156110015761100061349e565b5b60405190808252806020026020018201604052801561102f5781602001602082028036833780820191505090505b509050600061103c61219c565b90506000805b84821080156110535750600e548311155b156111e3576000600460008581526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001511580156111605750600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614155b1561116d57806000015191505b8773ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111cf57838584815181106111b4576111b3613b57565b5b60200260200101818152505082806111cb90613bb5565b9350505b83806111da90613bb5565b94505050611042565b8395505050505050919050565b6111f86120e2565b73ffffffffffffffffffffffffffffffffffffffff166112166115cb565b73ffffffffffffffffffffffffffffffffffffffff161461126c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161126390613a85565b60405180910390fd5b80600c90805190602001906112829291906130f9565b5050565b601060029054906101000a900460ff1681565b600b80546112a690613a08565b80601f01602080910402602001604051908101604052809291908181526020018280546112d290613a08565b801561131f5780601f106112f45761010080835404028352916020019161131f565b820191906000526020600020905b81548152906001019060200180831161130257829003601f168201915b505050505081565b601060009054906101000a900460ff1681565b600a805461134790613a08565b80601f016020809104026020016040519081016040528092919081815260200182805461137390613a08565b80156113c05780601f10611395576101008083540402835291602001916113c0565b820191906000526020600020905b8154815290600101906020018083116113a357829003601f168201915b505050505081565b60006113d382612659565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611445576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6114b56120e2565b73ffffffffffffffffffffffffffffffffffffffff166114d36115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611529576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152090613a85565b60405180910390fd5b61153360006128e4565b565b61153d6120e2565b73ffffffffffffffffffffffffffffffffffffffff1661155b6115cb565b73ffffffffffffffffffffffffffffffffffffffff16146115b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a890613a85565b60405180910390fd5b80600a90805190602001906115c79291906130f9565b5050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461160490613a08565b80601f016020809104026020016040519081016040528092919081815260200182805461163090613a08565b801561167d5780601f106116525761010080835404028352916020019161167d565b820191906000526020600020905b81548152906001019060200180831161166057829003601f168201915b5050505050905090565b61168f6120e2565b73ffffffffffffffffffffffffffffffffffffffff166116ad6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611703576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fa90613a85565b60405180910390fd5b80600f8190555050565b601060009054906101000a900460ff161561175d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175490613c49565b60405180910390fd5b601060019054906101000a900460ff166117ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a390613cb5565b60405180910390fd5b6000811180156117be5750600f548111155b6117fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117f490613d21565b60405180910390fd5b600e5481611809610d0c565b6118139190613d41565b1115611854576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184b90613de3565b60405180910390fd5b80600d546118629190613e03565b3410156118a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161189b90613ea9565b60405180910390fd5b6118b56118af6120e2565b826129aa565b50565b6118c06120e2565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611924576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80600760006119316120e2565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119de6120e2565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a239190613293565b60405180910390a35050565b600c8054611a3c90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054611a6890613a08565b8015611ab55780601f10611a8a57610100808354040283529160200191611ab5565b820191906000526020600020905b815481529060010190602001808311611a9857829003601f168201915b505050505081565b611ac88484846121a5565b611ae78373ffffffffffffffffffffffffffffffffffffffff166129c8565b15611b2f57611af8848484846129eb565b611b2e576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5b50505050565b611b3d6120e2565b73ffffffffffffffffffffffffffffffffffffffff16611b5b6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611bb1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ba890613a85565b60405180910390fd5b600e5482611bbd610d0c565b611bc79190613d41565b1115611c08576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bff90613de3565b60405180910390fd5b611c1281836129aa565b5050565b611c1e6120e2565b73ffffffffffffffffffffffffffffffffffffffff16611c3c6115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611c92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8990613a85565b60405180910390fd5b80600d8190555050565b6060611ca782612094565b611ce6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cdd90613f3b565b60405180910390fd5b60001515601060029054906101000a900460ff16151503611d9357600c8054611d0e90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054611d3a90613a08565b8015611d875780601f10611d5c57610100808354040283529160200191611d87565b820191906000526020600020905b815481529060010190602001808311611d6a57829003601f168201915b50505050509050611def565b6000611d9d612b3b565b90506000815111611dbd5760405180602001604052806000815250611deb565b80611dc784612bcd565b600b604051602001611ddb9392919061402b565b6040516020818303038152906040525b9150505b919050565b600f5481565b600e5481565b611e086120e2565b73ffffffffffffffffffffffffffffffffffffffff16611e266115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611e7c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7390613a85565b60405180910390fd5b80601060026101000a81548160ff02191690831515021790555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600d5481565b611f3b6120e2565b73ffffffffffffffffffffffffffffffffffffffff16611f596115cb565b73ffffffffffffffffffffffffffffffffffffffff1614611faf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa690613a85565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361201e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612015906140ce565b60405180910390fd5b612027816128e4565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008161209f61219c565b111580156120ae575060005482105b80156120db575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b60006001905090565b60006121b082612659565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461221b576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff1661223c6120e2565b73ffffffffffffffffffffffffffffffffffffffff16148061226b575061226a856122656120e2565b611e99565b5b806122b057506122796120e2565b73ffffffffffffffffffffffffffffffffffffffff1661229884610a5d565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806122e9576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361234f576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61235c8585856001612d2d565b612368600084876120ea565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16036125e75760005482146125e657878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46126528585856001612d33565b5050505050565b61266161317f565b60008290508061266f61219c565b116128ad576000548110156128ac576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516128aa57600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461278e5780925050506128df565b5b6001156128a957818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146128a45780925050506128df565b61278f565b5b505b5b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6129c4828260405180602001604052806000815250612d39565b5050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612a116120e2565b8786866040518563ffffffff1660e01b8152600401612a339493929190614143565b6020604051808303816000875af1925050508015612a6f57506040513d601f19601f82011682018060405250810190612a6c91906141a4565b60015b612ae8573d8060008114612a9f576040519150601f19603f3d011682016040523d82523d6000602084013e612aa4565b606091505b506000815103612ae0576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b6060600a8054612b4a90613a08565b80601f0160208091040260200160405190810160405280929190818152602001828054612b7690613a08565b8015612bc35780601f10612b9857610100808354040283529160200191612bc3565b820191906000526020600020905b815481529060010190602001808311612ba657829003601f168201915b5050505050905090565b606060008203612c14576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612d28565b600082905060005b60008214612c46578080612c2f90613bb5565b915050600a82612c3f9190614200565b9150612c1c565b60008167ffffffffffffffff811115612c6257612c6161349e565b5b6040519080825280601f01601f191660200182016040528015612c945781602001600182028036833780820191505090505b5090505b60008514612d2157600182612cad9190614231565b9150600a85612cbc9190614265565b6030612cc89190613d41565b60f81b818381518110612cde57612cdd613b57565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612d1a9190614200565b9450612c98565b8093505050505b919050565b50505050565b50505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603612da5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008303612ddf576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612dec6000858386612d2d565b82600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550836004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008482019050612fad8673ffffffffffffffffffffffffffffffffffffffff166129c8565b15613072575b818673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461302260008784806001019550876129eb565b613058576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b808210612fb357826000541461306d57600080fd5b6130dd565b5b818060010192508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4808210613073575b8160008190555050506130f36000858386612d33565b50505050565b82805461310590613a08565b90600052602060002090601f016020900481019282613127576000855561316e565b82601f1061314057805160ff191683800117855561316e565b8280016001018555821561316e579182015b8281111561316d578251825591602001919060010190613152565b5b50905061317b91906131c2565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b808211156131db5760008160009055506001016131c3565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613228816131f3565b811461323357600080fd5b50565b6000813590506132458161321f565b92915050565b600060208284031215613261576132606131e9565b5b600061326f84828501613236565b91505092915050565b60008115159050919050565b61328d81613278565b82525050565b60006020820190506132a86000830184613284565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156132e85780820151818401526020810190506132cd565b838111156132f7576000848401525b50505050565b6000601f19601f8301169050919050565b6000613319826132ae565b61332381856132b9565b93506133338185602086016132ca565b61333c816132fd565b840191505092915050565b60006020820190508181036000830152613361818461330e565b905092915050565b6000819050919050565b61337c81613369565b811461338757600080fd5b50565b60008135905061339981613373565b92915050565b6000602082840312156133b5576133b46131e9565b5b60006133c38482850161338a565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006133f7826133cc565b9050919050565b613407816133ec565b82525050565b600060208201905061342260008301846133fe565b92915050565b613431816133ec565b811461343c57600080fd5b50565b60008135905061344e81613428565b92915050565b6000806040838503121561346b5761346a6131e9565b5b60006134798582860161343f565b925050602061348a8582860161338a565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134d6826132fd565b810181811067ffffffffffffffff821117156134f5576134f461349e565b5b80604052505050565b60006135086131df565b905061351482826134cd565b919050565b600067ffffffffffffffff8211156135345761353361349e565b5b61353d826132fd565b9050602081019050919050565b82818337600083830152505050565b600061356c61356784613519565b6134fe565b90508281526020810184848401111561358857613587613499565b5b61359384828561354a565b509392505050565b600082601f8301126135b0576135af613494565b5b81356135c0848260208601613559565b91505092915050565b6000602082840312156135df576135de6131e9565b5b600082013567ffffffffffffffff8111156135fd576135fc6131ee565b5b6136098482850161359b565b91505092915050565b61361b81613278565b811461362657600080fd5b50565b60008135905061363881613612565b92915050565b600060208284031215613654576136536131e9565b5b600061366284828501613629565b91505092915050565b61367481613369565b82525050565b600060208201905061368f600083018461366b565b92915050565b6000806000606084860312156136ae576136ad6131e9565b5b60006136bc8682870161343f565b93505060206136cd8682870161343f565b92505060406136de8682870161338a565b9150509250925092565b6000602082840312156136fe576136fd6131e9565b5b600061370c8482850161343f565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61374a81613369565b82525050565b600061375c8383613741565b60208301905092915050565b6000602082019050919050565b600061378082613715565b61378a8185613720565b935061379583613731565b8060005b838110156137c65781516137ad8882613750565b97506137b883613768565b925050600181019050613799565b5085935050505092915050565b600060208201905081810360008301526137ed8184613775565b905092915050565b6000806040838503121561380c5761380b6131e9565b5b600061381a8582860161343f565b925050602061382b85828601613629565b9150509250929050565b600067ffffffffffffffff8211156138505761384f61349e565b5b613859826132fd565b9050602081019050919050565b600061387961387484613835565b6134fe565b90508281526020810184848401111561389557613894613499565b5b6138a084828561354a565b509392505050565b600082601f8301126138bd576138bc613494565b5b81356138cd848260208601613866565b91505092915050565b600080600080608085870312156138f0576138ef6131e9565b5b60006138fe8782880161343f565b945050602061390f8782880161343f565b93505060406139208782880161338a565b925050606085013567ffffffffffffffff811115613941576139406131ee565b5b61394d878288016138a8565b91505092959194509250565b600080604083850312156139705761396f6131e9565b5b600061397e8582860161338a565b925050602061398f8582860161343f565b9150509250929050565b600080604083850312156139b0576139af6131e9565b5b60006139be8582860161343f565b92505060206139cf8582860161343f565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a2057607f821691505b602082108103613a3357613a326139d9565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a6f6020836132b9565b9150613a7a82613a39565b602082019050919050565b60006020820190508181036000830152613a9e81613a62565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000613adb601f836132b9565b9150613ae682613aa5565b602082019050919050565b60006020820190508181036000830152613b0a81613ace565b9050919050565b600081905092915050565b50565b6000613b2c600083613b11565b9150613b3782613b1c565b600082019050919050565b6000613b4d82613b1f565b9150819050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613bc082613369565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203613bf257613bf1613b86565b5b600182019050919050565b7f54686520636f6e74726163742069732070617573656421000000000000000000600082015250565b6000613c336017836132b9565b9150613c3e82613bfd565b602082019050919050565b60006020820190508181036000830152613c6281613c26565b9050919050565b7f5075626c69632053616c6520686173206e6f7420737461727465640000000000600082015250565b6000613c9f601b836132b9565b9150613caa82613c69565b602082019050919050565b60006020820190508181036000830152613cce81613c92565b9050919050565b7f496e76616c6964206d696e7420616d6f756e7421000000000000000000000000600082015250565b6000613d0b6014836132b9565b9150613d1682613cd5565b602082019050919050565b60006020820190508181036000830152613d3a81613cfe565b9050919050565b6000613d4c82613369565b9150613d5783613369565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613d8c57613d8b613b86565b5b828201905092915050565b7f4d617820737570706c7920657863656564656421000000000000000000000000600082015250565b6000613dcd6014836132b9565b9150613dd882613d97565b602082019050919050565b60006020820190508181036000830152613dfc81613dc0565b9050919050565b6000613e0e82613369565b9150613e1983613369565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e5257613e51613b86565b5b828202905092915050565b7f496e73756666696369656e742066756e64732100000000000000000000000000600082015250565b6000613e936013836132b9565b9150613e9e82613e5d565b602082019050919050565b60006020820190508181036000830152613ec281613e86565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000613f25602f836132b9565b9150613f3082613ec9565b604082019050919050565b60006020820190508181036000830152613f5481613f18565b9050919050565b600081905092915050565b6000613f71826132ae565b613f7b8185613f5b565b9350613f8b8185602086016132ca565b80840191505092915050565b60008190508160005260206000209050919050565b60008154613fb981613a08565b613fc38186613f5b565b94506001821660008114613fde5760018114613fef57614022565b60ff19831686528186019350614022565b613ff885613f97565b60005b8381101561401a57815481890152600182019150602081019050613ffb565b838801955050505b50505092915050565b60006140378286613f66565b91506140438285613f66565b915061404f8284613fac565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006140b86026836132b9565b91506140c38261405c565b604082019050919050565b600060208201905081810360008301526140e7816140ab565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000614115826140ee565b61411f81856140f9565b935061412f8185602086016132ca565b614138816132fd565b840191505092915050565b600060808201905061415860008301876133fe565b61416560208301866133fe565b614172604083018561366b565b8181036060830152614184818461410a565b905095945050505050565b60008151905061419e8161321f565b92915050565b6000602082840312156141ba576141b96131e9565b5b60006141c88482850161418f565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061420b82613369565b915061421683613369565b925082614226576142256141d1565b5b828204905092915050565b600061423c82613369565b915061424783613369565b92508282101561425a57614259613b86565b5b828203905092915050565b600061427082613369565b915061427b83613369565b92508261428b5761428a6141d1565b5b82820690509291505056fea26469706673582212207a728b1650ea49b16b16b386cd1e592a276ee1fac0fef032f718faab092215a664736f6c634300080e0033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000b636f6d696e675f736f6f6e000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _uriPrefix (string): coming_soon

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [2] : 636f6d696e675f736f6f6e000000000000000000000000000000000000000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Legendary game publisher Sanko Game Corp (1987-2002) will be releasing its eternally-delayed title Sakura Park:The year is 2669. Sakura Park is a leisure district in the heart of Night City. There the dropouts go to unwind, drink, & play...and the games they play have deadly consequences.

Validator Index Block Amount
View All Withdrawals

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

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