Contract 0x36E1C606fcA18cb7f53856f487E5543DB05057db 6

 
 
Txn Hash
Method
Block
From
To
Value
0xf98d2f87dcde59539f43f7ec5c2c5570b5b0aaf10771b1c4298841c741a13a0dSafe Transfer Fr...160339492022-11-23 16:39:594 days 3 hrs ago0x3a24e65df8d5affb24cae2482fd8fb2d18fa2cd7 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00090801 12.65343548
0x71f095aa48ef52781df018e84569d2c71a9cad868349a0b4d373d4ae915440c5Safe Transfer Fr...160191442022-11-21 15:00:356 days 4 hrs ago0x943794cc39dbb44fb3c1508f5e502e23c03eefa8 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.0007357113.15
0x53664779bf3e8f1af5a72b4419122d4d794970f08294257027f7a806566cac8aSafe Transfer Fr...159971172022-11-18 13:11:599 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00071362 13.05569885
0x918d7c2a4c4397b504bbc5da43348278272f92176ce3a57a2947bd30fe96b606Safe Transfer Fr...159971142022-11-18 13:11:239 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00074124 13.56098218
0xf2523c190a5f005e39986a4e202761b6a7b0944a8457bf0d8397b3762e48656bSafe Transfer Fr...159971102022-11-18 13:10:359 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00068896 12.60450153
0xab7c6f374054cb113b7b651edc281969f3bcfb87f9135da85d6590fd560b1417Safe Transfer Fr...159971062022-11-18 13:09:479 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00070268 12.85553994
0x0c18d476474cd345b5458749ceafcd0cfd78ddf19958c0d36d4f791f54e91055Safe Transfer Fr...159971022022-11-18 13:08:599 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00078199 14.30974894
0x20136b6aa59f83aa722e7f64d68581534fd50ee4b3099676ec2b9ff5cf571b05Safe Transfer Fr...159970442022-11-18 12:57:239 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00067776 12.39965408
0x720cf85d793a106d274a8541a547d28a80aec5f951b07aaa906f04ff2d42af13Safe Transfer Fr...159970392022-11-18 12:56:239 days 6 hrs ago0x204c14d56db55a2ad2c12b69ebeacf77da1240f0 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00098269 13.69413323
0xace7dad37bcd3abcb4f36abc03cee9d9f0dcb0145d9237d78860a51131430b81Set Approval For...159945122022-11-18 4:28:479 days 15 hrs ago0xf38e0dfc6eed8ad94633782bcbd3daaacddb0c44 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00063185 13.5472272
0x634b57a69ae55633a9c765ec9ac499b74a4cfa86f8cda0e505af02299562f188Transfer From159889642022-11-17 9:51:4710 days 10 hrs ago0x0cbccabfacd2292d255a8573c1575f76ba70854b IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.0006657 14.14821758
0x7fef28d32015b0cd7bbd3034fb242177b0921e035d677025822d5fb7b092243cTransfer From159889622022-11-17 9:51:2310 days 10 hrs ago0x0cbccabfacd2292d255a8573c1575f76ba70854b IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00098768 14.32417246
0x64c729507b1593f16f78d6cb70d1389745bcbc37cc838f120901424c654e99eeSet Approval For...159808642022-11-16 6:41:5911 days 13 hrs ago0x3bd36904138e0f9a28fc8a18d3df692fb26af423 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00065168 13.972426
0x28d770658793d9b84f56b7fed5afe0378e1926512fc41782aa768f1ee7bf4bfaSet Approval For...159807532022-11-16 6:19:4711 days 13 hrs agoENS Name seungyong.eth IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00067663 14.50729135
0x36c497ffbd166f966f17ef992ff9476cec80af8fc4f8729ade9f82a55dd50831Set Approval For...159421132022-11-10 20:50:1116 days 23 hrs ago0xd08624cdbd8646a74c24565deb103001215d0bf6 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00099049 21.23656186
0x9c992da1d48f7864f8eeedc012990faa69b3b022f02e40ce8583736240e90739Set Approval For...159271332022-11-08 18:33:3519 days 1 hr ago0xbbf4014599d3f800ce73caaf7b1e8ec05aeb1662 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00693897 148.77405936
0x5d8f27a6a3d14fae8629d24140a0a4f45e3ad50cfadf19181fa02fcbc91a7d97Set Approval For...159211152022-11-07 22:24:4719 days 21 hrs ago0x09719f16ef911dbbbef9faef19db66e8f6d27dac IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00090757 19.45874581
0xe3cba6f42b4bb6cce5a6e46551b4f215a87a4738dc97475a06daf0a6fb4ebed6Set Approval For...159186932022-11-07 14:18:1120 days 5 hrs ago0x13a75a5614ff97e6d9eafcbaca57b501aef62781 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00267996 57.45948731
0x4492da44c6bef30f64bbc346cf40290198603b3358ba4b0f836f1ec05f26d48aSet Approval For...159184352022-11-07 13:26:1120 days 6 hrs ago0xc92ac7c7284f6ad8c3f5e8a5db1e993f34fd4e11 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00102922 22.06705472
0x0c27e9bcfae1ae37f8322b06419001051e93256225431130c7d8402991b15c07Set Approval For...159168832022-11-07 8:14:3520 days 11 hrs agoENS Name gijiyoshi.eth IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00053073 11.3791803
0x0d8ddfc523f8b33915a6b368e08f149102676739651955f9eb42423ace0dfd66Safe Transfer Fr...159012732022-11-05 3:56:5922 days 15 hrs ago0x1ac2fbd64a894f915ba18d0be5b81cab7725f976 IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.0007117 14.27059828
0xba9a41184a6235d59cc48d82f726f0e56798536ff0d6921f1eab2969de0282d9Safe Transfer Fr...158971682022-11-04 14:12:2323 days 5 hrs ago0x723bd923f9941fe4d2c940b564cc6a2753ee0fba IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.0018219725
0xcc3ad08428b4a402e0e3564c9330132e70c91bb2219b24a6e641048d13883df1Safe Transfer Fr...158971022022-11-04 13:58:5923 days 5 hrs ago0x723bd923f9941fe4d2c940b564cc6a2753ee0fba IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.002244330.8
0x4a257a1708b19a5345ba6b7f7dd82d8686f4930177f72e8dc493e17a66afe4eaSafe Transfer Fr...158618352022-10-30 15:40:3528 days 4 hrs ago0x822ca97d9cd30e96ff081e1ae8397babdcd6a8bf IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00053561 7.4627137
0xdee3006d6fbdfdd85520938c0586d5d4eee72d0a241a6beedc896486682e4974Set Approval For...158551632022-10-29 17:20:4729 days 2 hrs ago0x3f6a19d80301709685a4d5456e73480ac3c99bdf IN  0x36e1c606fca18cb7f53856f487e5543db05057db0 Ether0.00106613 22.85829999
[ Download CSV Export 
Latest 3 internal transactions
Parent Txn Hash Block From To Value
0x8901bcc251af9509cfc91b5e0753553be5f22ae167af5e689da1f1baf02dbfa3142510672022-02-21 18:34:56279 days 1 hr ago 0x36e1c606fca18cb7f53856f487e5543db05057db0x3477016228ab935f2761d7835babe71747e2cb4617.28 Ether
0xa095d7a03f0d6767385d35e1a11ca8ada75a1b68bf69c4067ee3e27daa2e6d07141738342022-02-09 19:46:45291 days 7 mins ago 0x36e1c606fca18cb7f53856f487e5543db05057db0x3477016228ab935f2761d7835babe71747e2cb4678.36 Ether
0xfad6822d0fe23f650d6477088c2c369cc36bb055750bfec2154289cfddf307db141298062022-02-03 0:18:46297 days 19 hrs ago 0x36e1c606fca18cb7f53856f487e5543db05057db0x3477016228ab935f2761d7835babe71747e2cb4645.16 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MetaHouseMafia

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

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

import "./ERC721A.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract MetaHouseMafia is ERC721A, Ownable {
    string private _name = "MetaHouseMafia";
    string private _symbol = "MHM";
    uint256 private _maxBatchSize = 10;

    uint public amountMinted = 0;

    string private _customBaseUri =
        "https://assets.metahousemafia.io/mafiosi/metadata/";
    string private _contractUri =
        "https://assets.metahousemafia.io/mafiosi/metadata/contract.json";

    uint256 public MAX_SUPPLY = 10000;
    bytes32 public ogMerkleRoot;
    bytes32 public gangMerkleRoot;

    uint public constant OGs = 1;
    uint public constant GANG_MEMBERS = 2;

    uint public maxPreMintForOG = 3;
    uint public maxPreMintForGang = 2;

    mapping(address => uint256) public numMintedByAddress;

    uint256 public publicPriceWei = 0.08 ether;
    uint256 public earlyPriceWei = 0.06 ether;

    // Sale state:
    // 0: Closed
    // 1: Early Mint 
    // 2: Open to Public
    uint256 public saleState = 0;

    constructor() ERC721A(_name, _symbol, _maxBatchSize) {}

    function mint(
        uint256 amount,
        bytes32[] calldata merkleProof,
        uint whitelistType
    ) public payable {
        require(saleState > 0, "Sale is not open");
        require(
            totalSupply() + amount <= MAX_SUPPLY,
            "minting would exceed max supply"
        );

        if (saleState == 1) {
            verifyMerkle(msg.sender, merkleProof, whitelistType);
            checkEarlyPayment(amount);
            numMintedByAddress[msg.sender] =
                numMintedByAddress[msg.sender] +
                amount;
            if (whitelistType == OGs) {
                require(
                    numMintedByAddress[msg.sender] <= maxPreMintForOG,
                    "Trying to mint too many total"
                );
            } else {
                require(
                    numMintedByAddress[msg.sender] <= maxPreMintForGang,
                    "Trying to mint too many total"
                );
            }
        } else {
            checkPayment(amount);
        }

        _safeMint(msg.sender, amount);
        amountMinted = amountMinted + amount;
    }

    function checkPayment(uint256 numMinted) internal {
        uint256 amountRequired = publicPriceWei * numMinted;
        require(msg.value >= amountRequired, "Not enough funds sent");
    }

    function checkEarlyPayment(uint256 numMinted) internal {
        uint256 amountRequired = earlyPriceWei * numMinted;
        require(msg.value >= amountRequired, "Not enough funds sent");
    }

    function verifyMerkle(
        address addr, 
        bytes32[] calldata proof, 
        uint whitelistType
    ) internal view {
        require(
            isOnWhitelist(addr, proof, whitelistType), 
            "User is not on whitelist"
        );
    }

    function isOnWhitelist(
        address addr, 
        bytes32[] calldata proof, 
        uint whitelistType
    ) public view returns (bool) {
        bytes32 root;
        if (whitelistType == OGs) {
            root = ogMerkleRoot;
        } else if (whitelistType == GANG_MEMBERS) {
            root = gangMerkleRoot;
        } else {
            revert("Invalid whitelistType, must be 1 or 2");
        }
        bytes32 leaf = keccak256(abi.encodePacked(addr));
        return MerkleProof.verify(proof, root, leaf);
    }

    function ownerMint(uint256 numToMint) public onlyOwner {
        require(
            totalSupply() + numToMint <= MAX_SUPPLY,
            "minting would exceed max supply"
        );
        _safeMint(msg.sender, numToMint);
        amountMinted = amountMinted + numToMint;
    }

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

    function contractURI() public view returns (string memory) {
        return _contractUri;
    }

    function isApprovedForAll(address owner, address operator)
        public
        view
        override
        returns (bool)
    {
        return
            OpenSeaGasFreeListing.isApprovedForAll(owner, operator) ||
            super.isApprovedForAll(owner, operator);
    }

    function setMerkleRoot(uint256 saleNum, bytes32 newMerkle)
        public
        onlyOwner
    {
        if (saleNum == OGs) {
            ogMerkleRoot = newMerkle;
        } else if (saleNum == GANG_MEMBERS) {
            gangMerkleRoot = newMerkle;
        }
    }

    function setSalePrice(uint256 newPriceWei) public onlyOwner {
        publicPriceWei = newPriceWei;
    }

    function setEarlyPrice(uint256 newPriceWei) public onlyOwner {
        earlyPriceWei = newPriceWei;
    }

    function setSaleState(uint256 newState) public onlyOwner {
        require(newState >= 0 && newState <= 2, "Invalid state");
        saleState = newState;
    }

    function withdraw() public onlyOwner {
        uint256 balance = address(this).balance;
        payable(msg.sender).transfer(balance);
    }

    function setBaseURI(string calldata newURI) public onlyOwner {
        _customBaseUri = newURI;
    }

    function setContractUri(string calldata newUri) public onlyOwner {
        _contractUri = newUri;
    }
}

library OpenSeaGasFreeListing {
    /**
    @notice Returns whether the operator is an OpenSea proxy for the owner, thus
    allowing it to list without the token owner paying gas.
    @dev ERC{721,1155}.isApprovedForAll should be overriden to also check if
    this function returns true.
     */
    function isApprovedForAll(address owner, address operator)
        internal
        view
        returns (bool)
    {
        ProxyRegistry registry;
        assembly {
            switch chainid()
            case 1 {
                // mainnet
                registry := 0xa5409ec958c83c3f309868babaca7c86dcb077c1
            }
            case 4 {
                // rinkeby
                registry := 0xf57b2c51ded3a29e6891aba85459d600256cf317
            }
        }

        return
            address(registry) != address(0) &&
            address(registry.proxies(owner)) == operator;
    }
}

contract OwnableDelegateProxy {}

contract ProxyRegistry {
    mapping(address => OwnableDelegateProxy) public proxies;
}

File 2 of 13 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.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 and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 0;

  uint256 internal immutable maxBatchSize;

  // 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) private _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;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @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)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    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);
    require(to != owner, "ERC721A: approval to current owner");

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

    _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 override {
    _transfer(from, to, tokenId);
  }

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

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: transfer to non ERC721Receiver implementer"
    );
  }

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

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

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

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    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);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

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

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, 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;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

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

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

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
   * The call is not executed if the target address is not a 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 _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) private returns (bool) {
    if (to.isContract()) {
      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("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * 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`.
   */
  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.
   *
   * 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` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 5 of 13 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];
            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }
        return computedHash;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

/**
 * @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
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 9 of 13 : 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 10 of 13 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"GANG_MEMBERS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OGs","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amountMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"earlyPriceWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"gangMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"addr","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"},{"internalType":"uint256","name":"whitelistType","type":"uint256"}],"name":"isOnWhitelist","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreMintForGang","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxPreMintForOG","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"},{"internalType":"uint256","name":"whitelistType","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"numMintedByAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ogMerkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numToMint","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPriceWei","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","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":[],"name":"saleState","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"newUri","type":"string"}],"name":"setContractUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceWei","type":"uint256"}],"name":"setEarlyPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"saleNum","type":"uint256"},{"internalType":"bytes32","name":"newMerkle","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPriceWei","type":"uint256"}],"name":"setSalePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newState","type":"uint256"}],"name":"setSaleState","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":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526000805560006007556040518060400160405280600e81526020017f4d657461486f7573654d61666961000000000000000000000000000000000000815250600990805190602001906200005a929190620003f1565b506040518060400160405280600381526020017f4d484d0000000000000000000000000000000000000000000000000000000000815250600a9080519060200190620000a8929190620003f1565b50600a600b556000600c55604051806060016040528060328152602001620058a460329139600d9080519060200190620000e4929190620003f1565b506040518060600160405280603f8152602001620058d6603f9139600e908051906020019062000116929190620003f1565b50612710600f556003601255600260135567011c37937e08000060155566d529ae9e86000060165560006017553480156200015057600080fd5b50600980546200016090620004fb565b80601f01602080910402602001604051908101604052809291908181526020018280546200018e90620004fb565b8015620001df5780601f10620001b357610100808354040283529160200191620001df565b820191906000526020600020905b815481529060010190602001808311620001c157829003601f168201915b5050505050600a8054620001f390620004fb565b80601f01602080910402602001604051908101604052809291908181526020018280546200022190620004fb565b8015620002725780601f10620002465761010080835404028352916020019162000272565b820191906000526020600020905b8154815290600101906020018083116200025457829003601f168201915b5050505050600b5460008111620002c0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002b790620004c8565b60405180910390fd5b8260019080519060200190620002d8929190620003f1565b508160029080519060200190620002f1929190620003f1565b5080608081815250505050506200031d620003116200032360201b60201c565b6200032b60201b60201c565b620005af565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620003ff90620004fb565b90600052602060002090601f0160209004810192826200042357600085556200046f565b82601f106200043e57805160ff19168380011785556200046f565b828001600101855582156200046f579182015b828111156200046e57825182559160200191906001019062000451565b5b5090506200047e919062000482565b5090565b5b808211156200049d57600081600090555060010162000483565b5090565b6000620004b0602783620004ea565b9150620004bd8262000560565b604082019050919050565b60006020820190508181036000830152620004e381620004a1565b9050919050565b600082825260208201905092915050565b600060028204905060018216806200051457607f821691505b602082108114156200052b576200052a62000531565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f455243373231413a206d61782062617463682073697a65206d7573742062652060008201527f6e6f6e7a65726f00000000000000000000000000000000000000000000000000602082015250565b6080516152cb620005d9600039600081816128340152818161285d015261318201526152cb6000f3fe60806040526004361061025c5760003560e01c8063598eebf51161014457806396fba62b116100b6578063d7224ba01161007a578063d7224ba0146108ef578063e8a3d4851461091a578063e985e9c514610945578063f19e75d414610982578063f2fde38b146109ab578063fca633c1146109d45761025c565b806396fba62b1461080c578063a22cb46514610837578063b88d4fde14610860578063c87b56dd14610889578063ccb4807b146108c65761025c565b806370a082311161010857806370a082311461070c578063715018a61461074957806373a57649146107605780637af284d51461078b5780638da5cb5b146107b657806395d89b41146107e15761025c565b8063598eebf5146106235780635b46ed421461064e5780635d46381014610679578063603f4d52146106a45780636352211e146106cf5761025c565b80631ff7712f116101dd5780633ccfd60b116101a15780633ccfd60b1461051557806342842e0e1461052c5780634acd9a9b146105555780634f6ccce71461059257806355f804b3146105cf57806357f91f8a146105f85761025c565b80631ff7712f1461043d578063201c18e51461045957806323b872dd146104845780632f745c59146104ad57806332cb6b0c146104ea5761025c565b80630a302530116102245780630a3025301461035857806318160ddd1461038357806318712c21146103ae5780631919fed7146103d75780631a58f3ca146104005761025c565b806301ffc9a71461026157806306fdde031461029e578063081812fc146102c9578063084c408814610306578063095ea7b31461032f575b600080fd5b34801561026d57600080fd5b5061028860048036038101906102839190613a82565b6109fd565b60405161029591906141c7565b60405180910390f35b3480156102aa57600080fd5b506102b3610b47565b6040516102c091906141fd565b60405180910390f35b3480156102d557600080fd5b506102f060048036038101906102eb9190613b56565b610bd9565b6040516102fd9190614160565b60405180910390f35b34801561031257600080fd5b5061032d60048036038101906103289190613b56565b610c5e565b005b34801561033b57600080fd5b5061035660048036038101906103519190613a42565b610d35565b005b34801561036457600080fd5b5061036d610e4e565b60405161037a91906141e2565b60405180910390f35b34801561038f57600080fd5b50610398610e54565b6040516103a5919061457f565b60405180910390f35b3480156103ba57600080fd5b506103d560048036038101906103d09190613bf7565b610e5d565b005b3480156103e357600080fd5b506103fe60048036038101906103f99190613b56565b610f04565b005b34801561040c57600080fd5b506104276004803603810190610422919061398e565b610f8a565b60405161043491906141c7565b60405180910390f35b61045760048036038101906104529190613b83565b611072565b005b34801561046557600080fd5b5061046e611306565b60405161047b919061457f565b60405180910390f35b34801561049057600080fd5b506104ab60048036038101906104a691906138b8565b61130c565b005b3480156104b957600080fd5b506104d460048036038101906104cf9190613a42565b61131c565b6040516104e1919061457f565b60405180910390f35b3480156104f657600080fd5b506104ff61151a565b60405161050c919061457f565b60405180910390f35b34801561052157600080fd5b5061052a611520565b005b34801561053857600080fd5b50610553600480360381019061054e91906138b8565b6115eb565b005b34801561056157600080fd5b5061057c6004803603810190610577919061384b565b61160b565b604051610589919061457f565b60405180910390f35b34801561059e57600080fd5b506105b960048036038101906105b49190613b56565b611623565b6040516105c6919061457f565b60405180910390f35b3480156105db57600080fd5b506105f660048036038101906105f19190613b09565b611676565b005b34801561060457600080fd5b5061060d611708565b60405161061a919061457f565b60405180910390f35b34801561062f57600080fd5b5061063861170d565b604051610645919061457f565b60405180910390f35b34801561065a57600080fd5b50610663611713565b604051610670919061457f565b60405180910390f35b34801561068557600080fd5b5061068e611718565b60405161069b919061457f565b60405180910390f35b3480156106b057600080fd5b506106b961171e565b6040516106c6919061457f565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f19190613b56565b611724565b6040516107039190614160565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e919061384b565b61173a565b604051610740919061457f565b60405180910390f35b34801561075557600080fd5b5061075e611823565b005b34801561076c57600080fd5b506107756118ab565b60405161078291906141e2565b60405180910390f35b34801561079757600080fd5b506107a06118b1565b6040516107ad919061457f565b60405180910390f35b3480156107c257600080fd5b506107cb6118b7565b6040516107d89190614160565b60405180910390f35b3480156107ed57600080fd5b506107f66118e1565b60405161080391906141fd565b60405180910390f35b34801561081857600080fd5b50610821611973565b60405161082e919061457f565b60405180910390f35b34801561084357600080fd5b5061085e60048036038101906108599190613a02565b611979565b005b34801561086c57600080fd5b506108876004803603810190610882919061390b565b611afa565b005b34801561089557600080fd5b506108b060048036038101906108ab9190613b56565b611b56565b6040516108bd91906141fd565b60405180910390f35b3480156108d257600080fd5b506108ed60048036038101906108e89190613b09565b611bfd565b005b3480156108fb57600080fd5b50610904611c8f565b604051610911919061457f565b60405180910390f35b34801561092657600080fd5b5061092f611c95565b60405161093c91906141fd565b60405180910390f35b34801561095157600080fd5b5061096c60048036038101906109679190613878565b611d27565b60405161097991906141c7565b60405180910390f35b34801561098e57600080fd5b506109a960048036038101906109a49190613b56565b611d4c565b005b3480156109b757600080fd5b506109d260048036038101906109cd919061384b565b611e40565b005b3480156109e057600080fd5b506109fb60048036038101906109f69190613b56565b611f38565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610ac857507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b3057507f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610b405750610b3f82611fbe565b5b9050919050565b606060018054610b56906148da565b80601f0160208091040260200160405190810160405280929190818152602001828054610b82906148da565b8015610bcf5780601f10610ba457610100808354040283529160200191610bcf565b820191906000526020600020905b815481529060010190602001808311610bb257829003601f168201915b5050505050905090565b6000610be482612028565b610c23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1a9061453f565b60405180910390fd5b6005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b610c66612035565b73ffffffffffffffffffffffffffffffffffffffff16610c846118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610cda576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd19061437f565b60405180910390fd5b60008110158015610cec575060028111155b610d2b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d229061435f565b60405180910390fd5b8060178190555050565b6000610d4082611724565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610db1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da89061441f565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610dd0612035565b73ffffffffffffffffffffffffffffffffffffffff161480610dff5750610dfe81610df9612035565b611d27565b5b610e3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e35906142ff565b60405180910390fd5b610e4983838361203d565b505050565b60105481565b60008054905090565b610e65612035565b73ffffffffffffffffffffffffffffffffffffffff16610e836118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610ed9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ed09061437f565b60405180910390fd5b6001821415610eee5780601081905550610f00565b6002821415610eff57806011819055505b5b5050565b610f0c612035565b73ffffffffffffffffffffffffffffffffffffffff16610f2a6118b7565b73ffffffffffffffffffffffffffffffffffffffff1614610f80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f779061437f565b60405180910390fd5b8060158190555050565b6000806001831415610fa0576010549050610fef565b6002831415610fb3576011549050610fee565b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe5906144bf565b60405180910390fd5b5b60008660405160200161100291906140f5565b604051602081830303815290604052805190602001209050611066868680806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505083836120ef565b92505050949350505050565b6000601754116110b7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110ae9061443f565b60405180910390fd5b600f54846110c3610e54565b6110cd9190614679565b111561110e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111059061449f565b60405180910390fd5b600160175414156112d85761112533848484612106565b61112e84612157565b83601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546111799190614679565b601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600181141561124e57601254601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541115611249576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611240906143ff565b60405180910390fd5b6112d3565b601354601460003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411156112d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112c9906143ff565b60405180910390fd5b5b6112e2565b6112e1846121b0565b5b6112ec3385612209565b83600c546112fa9190614679565b600c8190555050505050565b60135481565b611317838383612227565b505050565b60006113278361173a565b8210611368576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135f9061421f565b60405180910390fd5b6000611372610e54565b905060008060005b838110156114d8576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461146c57806000015192505b8773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156114c457868414156114b5578195505050505050611514565b83806114c09061493d565b9450505b5080806114d09061493d565b91505061137a565b506040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161150b906144ff565b60405180910390fd5b92915050565b600f5481565b611528612035565b73ffffffffffffffffffffffffffffffffffffffff166115466118b7565b73ffffffffffffffffffffffffffffffffffffffff161461159c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115939061437f565b60405180910390fd5b60004790503373ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f193505050501580156115e7573d6000803e3d6000fd5b5050565b61160683838360405180602001604052806000815250611afa565b505050565b60146020528060005260406000206000915090505481565b600061162d610e54565b821061166e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611665906142bf565b60405180910390fd5b819050919050565b61167e612035565b73ffffffffffffffffffffffffffffffffffffffff1661169c6118b7565b73ffffffffffffffffffffffffffffffffffffffff16146116f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116e99061437f565b60405180910390fd5b8181600d91906117039291906135bf565b505050565b600181565b60125481565b600281565b60155481565b60175481565b600061172f826127e0565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156117ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117a29061431f565b60405180910390fd5b600460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff169050919050565b61182b612035565b73ffffffffffffffffffffffffffffffffffffffff166118496118b7565b73ffffffffffffffffffffffffffffffffffffffff161461189f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118969061437f565b60405180910390fd5b6118a960006129e3565b565b60115481565b600c5481565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600280546118f0906148da565b80601f016020809104026020016040519081016040528092919081815260200182805461191c906148da565b80156119695780601f1061193e57610100808354040283529160200191611969565b820191906000526020600020905b81548152906001019060200180831161194c57829003601f168201915b5050505050905090565b60165481565b611981612035565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156119ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119e6906143bf565b60405180910390fd5b80600660006119fc612035565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611aa9612035565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611aee91906141c7565b60405180910390a35050565b611b05848484612227565b611b1184848484612aa9565b611b50576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b479061445f565b60405180910390fd5b50505050565b6060611b6182612028565b611ba0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b979061439f565b60405180910390fd5b6000611baa612c40565b90506000815111611bca5760405180602001604052806000815250611bf5565b80611bd484612cd2565b604051602001611be592919061413c565b6040516020818303038152906040525b915050919050565b611c05612035565b73ffffffffffffffffffffffffffffffffffffffff16611c236118b7565b73ffffffffffffffffffffffffffffffffffffffff1614611c79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c709061437f565b60405180910390fd5b8181600e9190611c8a9291906135bf565b505050565b60075481565b6060600e8054611ca4906148da565b80601f0160208091040260200160405190810160405280929190818152602001828054611cd0906148da565b8015611d1d5780601f10611cf257610100808354040283529160200191611d1d565b820191906000526020600020905b815481529060010190602001808311611d0057829003601f168201915b5050505050905090565b6000611d338383612e33565b80611d445750611d438383612f7a565b5b905092915050565b611d54612035565b73ffffffffffffffffffffffffffffffffffffffff16611d726118b7565b73ffffffffffffffffffffffffffffffffffffffff1614611dc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dbf9061437f565b60405180910390fd5b600f5481611dd4610e54565b611dde9190614679565b1115611e1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e169061449f565b60405180910390fd5b611e293382612209565b80600c54611e379190614679565b600c8190555050565b611e48612035565b73ffffffffffffffffffffffffffffffffffffffff16611e666118b7565b73ffffffffffffffffffffffffffffffffffffffff1614611ebc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611eb39061437f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f2c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f239061425f565b60405180910390fd5b611f35816129e3565b50565b611f40612035565b73ffffffffffffffffffffffffffffffffffffffff16611f5e6118b7565b73ffffffffffffffffffffffffffffffffffffffff1614611fb4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fab9061437f565b60405180910390fd5b8060168190555050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000805482109050919050565b600033905090565b826005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000826120fc858461300e565b1490509392505050565b61211284848484610f8a565b612151576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121489061429f565b60405180910390fd5b50505050565b6000816016546121679190614700565b9050803410156121ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a39061423f565b60405180910390fd5b5050565b6000816015546121c09190614700565b905080341015612205576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121fc9061423f565b60405180910390fd5b5050565b6122238282604051806020016040528060008152506130c1565b5050565b6000612232826127e0565b90506000816000015173ffffffffffffffffffffffffffffffffffffffff16612259612035565b73ffffffffffffffffffffffffffffffffffffffff1614806122b5575061227e612035565b73ffffffffffffffffffffffffffffffffffffffff1661229d84610bd9565b73ffffffffffffffffffffffffffffffffffffffff16145b806122d157506122d082600001516122cb612035565b611d27565b5b905080612313576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161230a906143df565b60405180910390fd5b8473ffffffffffffffffffffffffffffffffffffffff16826000015173ffffffffffffffffffffffffffffffffffffffff1614612385576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161237c9061433f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156123f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123ec906142df565b60405180910390fd5b61240285858560016135a0565b612412600084846000015161203d565b6001600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff16612480919061475a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506001600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166125249190614633565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060405180604001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600085815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600060018461262a9190614679565b9050600073ffffffffffffffffffffffffffffffffffffffff166003600083815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161415612770576126a081612028565b1561276f576040518060400160405280846000015173ffffffffffffffffffffffffffffffffffffffff168152602001846020015167ffffffffffffffff168152506003600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055509050505b5b838573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46127d886868660016135a6565b505050505050565b6127e8613645565b6127f182612028565b612830576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128279061427f565b60405180910390fd5b60007f000000000000000000000000000000000000000000000000000000000000000083106128945760017f000000000000000000000000000000000000000000000000000000000000000084612887919061478e565b6128919190614679565b90505b60008390505b8181106129a2576000600360008381526020019081526020016000206040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff161461298e578093505050506129de565b50808061299a906148b0565b91505061289a565b506040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129d59061451f565b60405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000612aca8473ffffffffffffffffffffffffffffffffffffffff166135ac565b15612c33578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02612af3612035565b8786866040518563ffffffff1660e01b8152600401612b15949392919061417b565b602060405180830381600087803b158015612b2f57600080fd5b505af1925050508015612b6057506040513d601f19601f82011682018060405250810190612b5d9190613aaf565b60015b612be3573d8060008114612b90576040519150601f19603f3d011682016040523d82523d6000602084013e612b95565b606091505b50600081511415612bdb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd29061445f565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612c38565b600190505b949350505050565b6060600d8054612c4f906148da565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7b906148da565b8015612cc85780601f10612c9d57610100808354040283529160200191612cc8565b820191906000526020600020905b815481529060010190602001808311612cab57829003601f168201915b5050505050905090565b60606000821415612d1a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612e2e565b600082905060005b60008214612d4c578080612d359061493d565b915050600a82612d4591906146cf565b9150612d22565b60008167ffffffffffffffff811115612d6857612d67614aa1565b5b6040519080825280601f01601f191660200182016040528015612d9a5781602001600182028036833780820191505090505b5090505b60008514612e2757600182612db3919061478e565b9150600a85612dc291906149b4565b6030612dce9190614679565b60f81b818381518110612de457612de3614a72565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612e2091906146cf565b9450612d9e565b8093505050505b919050565b6000804660018114612e4c5760048114612e6857612e80565b73a5409ec958c83c3f309868babaca7c86dcb077c19150612e80565b73f57b2c51ded3a29e6891aba85459d600256cf31791505b50600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614158015612f7157508273ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1663c4552791866040518263ffffffff1660e01b8152600401612f099190614160565b60206040518083038186803b158015612f2157600080fd5b505afa158015612f35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f599190613adc565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6000600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60008082905060005b84518110156130b657600085828151811061303557613034614a72565b5b60200260200101519050808311613076578281604051602001613059929190614110565b6040516020818303038152906040528051906020012092506130a2565b8083604051602001613089929190614110565b6040516020818303038152906040528051906020012092505b5080806130ae9061493d565b915050613017565b508091505092915050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415613137576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161312e906144df565b60405180910390fd5b61314081612028565b15613180576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131779061447f565b60405180910390fd5b7f00000000000000000000000000000000000000000000000000000000000000008311156131e3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131da9061455f565b60405180910390fd5b6131f060008583866135a0565b6000600460008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206040518060400160405290816000820160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681526020016000820160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1681525050905060405180604001604052808583600001516132ed9190614633565b6fffffffffffffffffffffffffffffffff1681526020018583602001516133149190614633565b6fffffffffffffffffffffffffffffffff16815250600460008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555090505060405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020014267ffffffffffffffff168152506003600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550905050600082905060005b8581101561358357818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46135236000888488612aa9565b613562576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135599061445f565b60405180910390fd5b818061356d9061493d565b925050808061357b9061493d565b9150506134b2565b508060008190555061359860008785886135a6565b505050505050565b50505050565b50505050565b600080823b905060008111915050919050565b8280546135cb906148da565b90600052602060002090601f0160209004810192826135ed5760008555613634565b82601f1061360657803560ff1916838001178555613634565b82800160010185558215613634579182015b82811115613633578235825591602001919060010190613618565b5b509050613641919061367f565b5090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681525090565b5b80821115613698576000816000905550600101613680565b5090565b60006136af6136aa846145bf565b61459a565b9050828152602081018484840111156136cb576136ca614adf565b5b6136d684828561486e565b509392505050565b6000813590506136ed8161520b565b92915050565b60008083601f84011261370957613708614ad5565b5b8235905067ffffffffffffffff81111561372657613725614ad0565b5b60208301915083602082028301111561374257613741614ada565b5b9250929050565b60008135905061375881615222565b92915050565b60008135905061376d81615239565b92915050565b60008135905061378281615250565b92915050565b60008151905061379781615250565b92915050565b600082601f8301126137b2576137b1614ad5565b5b81356137c284826020860161369c565b91505092915050565b6000815190506137da81615267565b92915050565b60008083601f8401126137f6576137f5614ad5565b5b8235905067ffffffffffffffff81111561381357613812614ad0565b5b60208301915083600182028301111561382f5761382e614ada565b5b9250929050565b6000813590506138458161527e565b92915050565b60006020828403121561386157613860614ae9565b5b600061386f848285016136de565b91505092915050565b6000806040838503121561388f5761388e614ae9565b5b600061389d858286016136de565b92505060206138ae858286016136de565b9150509250929050565b6000806000606084860312156138d1576138d0614ae9565b5b60006138df868287016136de565b93505060206138f0868287016136de565b925050604061390186828701613836565b9150509250925092565b6000806000806080858703121561392557613924614ae9565b5b6000613933878288016136de565b9450506020613944878288016136de565b935050604061395587828801613836565b925050606085013567ffffffffffffffff81111561397657613975614ae4565b5b6139828782880161379d565b91505092959194509250565b600080600080606085870312156139a8576139a7614ae9565b5b60006139b6878288016136de565b945050602085013567ffffffffffffffff8111156139d7576139d6614ae4565b5b6139e3878288016136f3565b935093505060406139f687828801613836565b91505092959194509250565b60008060408385031215613a1957613a18614ae9565b5b6000613a27858286016136de565b9250506020613a3885828601613749565b9150509250929050565b60008060408385031215613a5957613a58614ae9565b5b6000613a67858286016136de565b9250506020613a7885828601613836565b9150509250929050565b600060208284031215613a9857613a97614ae9565b5b6000613aa684828501613773565b91505092915050565b600060208284031215613ac557613ac4614ae9565b5b6000613ad384828501613788565b91505092915050565b600060208284031215613af257613af1614ae9565b5b6000613b00848285016137cb565b91505092915050565b60008060208385031215613b2057613b1f614ae9565b5b600083013567ffffffffffffffff811115613b3e57613b3d614ae4565b5b613b4a858286016137e0565b92509250509250929050565b600060208284031215613b6c57613b6b614ae9565b5b6000613b7a84828501613836565b91505092915050565b60008060008060608587031215613b9d57613b9c614ae9565b5b6000613bab87828801613836565b945050602085013567ffffffffffffffff811115613bcc57613bcb614ae4565b5b613bd8878288016136f3565b93509350506040613beb87828801613836565b91505092959194509250565b60008060408385031215613c0e57613c0d614ae9565b5b6000613c1c85828601613836565b9250506020613c2d8582860161375e565b9150509250929050565b613c40816147c2565b82525050565b613c57613c52826147c2565b614986565b82525050565b613c66816147d4565b82525050565b613c75816147e0565b82525050565b613c8c613c87826147e0565b614998565b82525050565b6000613c9d826145f0565b613ca78185614606565b9350613cb781856020860161487d565b613cc081614aee565b840191505092915050565b6000613cd6826145fb565b613ce08185614617565b9350613cf081856020860161487d565b613cf981614aee565b840191505092915050565b6000613d0f826145fb565b613d198185614628565b9350613d2981856020860161487d565b80840191505092915050565b6000613d42602283614617565b9150613d4d82614b0c565b604082019050919050565b6000613d65601583614617565b9150613d7082614b5b565b602082019050919050565b6000613d88602683614617565b9150613d9382614b84565b604082019050919050565b6000613dab602a83614617565b9150613db682614bd3565b604082019050919050565b6000613dce601883614617565b9150613dd982614c22565b602082019050919050565b6000613df1602383614617565b9150613dfc82614c4b565b604082019050919050565b6000613e14602583614617565b9150613e1f82614c9a565b604082019050919050565b6000613e37603983614617565b9150613e4282614ce9565b604082019050919050565b6000613e5a602b83614617565b9150613e6582614d38565b604082019050919050565b6000613e7d602683614617565b9150613e8882614d87565b604082019050919050565b6000613ea0600d83614617565b9150613eab82614dd6565b602082019050919050565b6000613ec3602083614617565b9150613ece82614dff565b602082019050919050565b6000613ee6602f83614617565b9150613ef182614e28565b604082019050919050565b6000613f09601a83614617565b9150613f1482614e77565b602082019050919050565b6000613f2c603283614617565b9150613f3782614ea0565b604082019050919050565b6000613f4f601d83614617565b9150613f5a82614eef565b602082019050919050565b6000613f72602283614617565b9150613f7d82614f18565b604082019050919050565b6000613f95601083614617565b9150613fa082614f67565b602082019050919050565b6000613fb8603383614617565b9150613fc382614f90565b604082019050919050565b6000613fdb601d83614617565b9150613fe682614fdf565b602082019050919050565b6000613ffe601f83614617565b915061400982615008565b602082019050919050565b6000614021602583614617565b915061402c82615031565b604082019050919050565b6000614044602183614617565b915061404f82615080565b604082019050919050565b6000614067602e83614617565b9150614072826150cf565b604082019050919050565b600061408a602f83614617565b91506140958261511e565b604082019050919050565b60006140ad602d83614617565b91506140b88261516d565b604082019050919050565b60006140d0602283614617565b91506140db826151bc565b604082019050919050565b6140ef81614864565b82525050565b60006141018284613c46565b60148201915081905092915050565b600061411c8285613c7b565b60208201915061412c8284613c7b565b6020820191508190509392505050565b60006141488285613d04565b91506141548284613d04565b91508190509392505050565b60006020820190506141756000830184613c37565b92915050565b60006080820190506141906000830187613c37565b61419d6020830186613c37565b6141aa60408301856140e6565b81810360608301526141bc8184613c92565b905095945050505050565b60006020820190506141dc6000830184613c5d565b92915050565b60006020820190506141f76000830184613c6c565b92915050565b600060208201905081810360008301526142178184613ccb565b905092915050565b6000602082019050818103600083015261423881613d35565b9050919050565b6000602082019050818103600083015261425881613d58565b9050919050565b6000602082019050818103600083015261427881613d7b565b9050919050565b6000602082019050818103600083015261429881613d9e565b9050919050565b600060208201905081810360008301526142b881613dc1565b9050919050565b600060208201905081810360008301526142d881613de4565b9050919050565b600060208201905081810360008301526142f881613e07565b9050919050565b6000602082019050818103600083015261431881613e2a565b9050919050565b6000602082019050818103600083015261433881613e4d565b9050919050565b6000602082019050818103600083015261435881613e70565b9050919050565b6000602082019050818103600083015261437881613e93565b9050919050565b6000602082019050818103600083015261439881613eb6565b9050919050565b600060208201905081810360008301526143b881613ed9565b9050919050565b600060208201905081810360008301526143d881613efc565b9050919050565b600060208201905081810360008301526143f881613f1f565b9050919050565b6000602082019050818103600083015261441881613f42565b9050919050565b6000602082019050818103600083015261443881613f65565b9050919050565b6000602082019050818103600083015261445881613f88565b9050919050565b6000602082019050818103600083015261447881613fab565b9050919050565b6000602082019050818103600083015261449881613fce565b9050919050565b600060208201905081810360008301526144b881613ff1565b9050919050565b600060208201905081810360008301526144d881614014565b9050919050565b600060208201905081810360008301526144f881614037565b9050919050565b600060208201905081810360008301526145188161405a565b9050919050565b600060208201905081810360008301526145388161407d565b9050919050565b60006020820190508181036000830152614558816140a0565b9050919050565b60006020820190508181036000830152614578816140c3565b9050919050565b600060208201905061459460008301846140e6565b92915050565b60006145a46145b5565b90506145b0828261490c565b919050565b6000604051905090565b600067ffffffffffffffff8211156145da576145d9614aa1565b5b6145e382614aee565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061463e82614828565b915061464983614828565b9250826fffffffffffffffffffffffffffffffff0382111561466e5761466d6149e5565b5b828201905092915050565b600061468482614864565b915061468f83614864565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156146c4576146c36149e5565b5b828201905092915050565b60006146da82614864565b91506146e583614864565b9250826146f5576146f4614a14565b5b828204905092915050565b600061470b82614864565b915061471683614864565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561474f5761474e6149e5565b5b828202905092915050565b600061476582614828565b915061477083614828565b925082821015614783576147826149e5565b5b828203905092915050565b600061479982614864565b91506147a483614864565b9250828210156147b7576147b66149e5565b5b828203905092915050565b60006147cd82614844565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000614821826147c2565b9050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561489b578082015181840152602081019050614880565b838111156148aa576000848401525b50505050565b60006148bb82614864565b915060008214156148cf576148ce6149e5565b5b600182039050919050565b600060028204905060018216806148f257607f821691505b6020821081141561490657614905614a43565b5b50919050565b61491582614aee565b810181811067ffffffffffffffff8211171561493457614933614aa1565b5b80604052505050565b600061494882614864565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561497b5761497a6149e5565b5b600182019050919050565b6000614991826149a2565b9050919050565b6000819050919050565b60006149ad82614aff565b9050919050565b60006149bf82614864565b91506149ca83614864565b9250826149da576149d9614a14565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b60008160601b9050919050565b7f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f4e6f7420656e6f7567682066756e64732073656e740000000000000000000000600082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360008201527f74656e7420746f6b656e00000000000000000000000000000000000000000000602082015250565b7f55736572206973206e6f74206f6e2077686974656c6973740000000000000000600082015250565b7f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560008201527f6e64730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f76656420666f7220616c6c00000000000000602082015250565b7f455243373231413a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243373231413a207472616e736665722066726f6d20696e636f727265637460008201527f206f776e65720000000000000000000000000000000000000000000000000000602082015250565b7f496e76616c696420737461746500000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f766520746f2063616c6c6572000000000000600082015250565b7f455243373231413a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f547279696e6720746f206d696e7420746f6f206d616e7920746f74616c000000600082015250565b7f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60008201527f6572000000000000000000000000000000000000000000000000000000000000602082015250565b7f53616c65206973206e6f74206f70656e00000000000000000000000000000000600082015250565b7f455243373231413a207472616e7366657220746f206e6f6e204552433732315260008201527f6563656976657220696d706c656d656e74657200000000000000000000000000602082015250565b7f455243373231413a20746f6b656e20616c7265616479206d696e746564000000600082015250565b7f6d696e74696e6720776f756c6420657863656564206d617820737570706c7900600082015250565b7f496e76616c69642077686974656c697374547970652c206d757374206265203160008201527f206f722032000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060008201527f6f776e657220627920696e646578000000000000000000000000000000000000602082015250565b7f455243373231413a20756e61626c6520746f2064657465726d696e652074686560008201527f206f776e6572206f6620746f6b656e0000000000000000000000000000000000602082015250565b7f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560008201527f78697374656e7420746f6b656e00000000000000000000000000000000000000602082015250565b7f455243373231413a207175616e7469747920746f206d696e7420746f6f20686960008201527f6768000000000000000000000000000000000000000000000000000000000000602082015250565b615214816147c2565b811461521f57600080fd5b50565b61522b816147d4565b811461523657600080fd5b50565b615242816147e0565b811461524d57600080fd5b50565b615259816147ea565b811461526457600080fd5b50565b61527081614816565b811461527b57600080fd5b50565b61528781614864565b811461529257600080fd5b5056fea26469706673582212202a4f72d2f7c26c914c6ee00c5e8534dc5d8109f82f00f7d4468cecd097b77f2264736f6c6343000807003368747470733a2f2f6173736574732e6d657461686f7573656d616669612e696f2f6d6166696f73692f6d657461646174612f68747470733a2f2f6173736574732e6d657461686f7573656d616669612e696f2f6d6166696f73692f6d657461646174612f636f6e74726163742e6a736f6e

Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.