Contract 0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc11

 
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7f49c58c048573d145c8733341d14be82f6290294278bf5c038ef67284cae77fTransfer From348740842022-10-27 19:03:2230 days 3 hrs ago0x4f8b1f5ef14962ceb4a089eb62ba5a3f4e77aadc IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.00671149665768.340308307
0x5d86e0484fb05f1cf474c0640f6076856afa5664daf529e7b8e12d616d88bea8Airdrop348740792022-10-27 19:03:1230 days 3 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.01484765459183.102389316
0x0881936f75c823093af65f45aa8fb8640d6a874540c688700bc3d3119bb0e4e9Airdrop348320592022-10-26 18:14:1431 days 4 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.01385579814577.55096434
0xd8d25bfa3ff385106137614581e05cab102e49e7fed7a369a2286200b2fb15b3Airdrop348009792022-10-25 23:45:1231 days 22 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.01570280612189.287962615
0x047462ae16bdf5d9219065593675fe793eb1c0bb376725d3059f87562d1b5166Transfer From347936812022-10-25 19:27:2432 days 3 hrs ago0xbe3d926718337b597bdf58c1bef01d90fdbbf63a IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.011359829981156.359494325
0x3aadd8fb72e6d4eb86978dcc2a98d0efca381488ecab39b21316690b459d50fcAirdrop347929032022-10-25 19:00:0632 days 3 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.039453245792220.819993578
0x00099c3a217e824dedd218d0b8a1cbe8d509b1e0fcff11209da762124bd6cd0aAirdrop347928452022-10-25 18:58:0632 days 3 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.024152437473137.333538831
0x2a1cb760d0827b3aca718a08da4b646f83e21d8f4a3b46eabb1c02d44596ba9dAirdrop345834272022-10-20 16:05:1937 days 6 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.033528492469187.659122667
0x6729b564ac317f7372fef26109884d4af094dd5dadd871e5cb98a41265c61b90Transfer From345078072022-10-18 19:18:0339 days 3 hrs ago0x2536930a249d3b471e0aa7594fe989fb3421ddb9 IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.025722114108269.604055345
0xee3c649383bab23c090a53d8cb74d970937afd3fb322a0260c4ee1a9e612e59fAirdrop345077532022-10-18 19:16:1139 days 3 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.090368496087505.792877744
0x4d684d23fd5aac72bbf636d743a3dbcd16dc347936fa1015bb6eb61472976015Airdrop345038752022-10-18 17:01:0739 days 5 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.022310945561126.862603908
0xb0355c6ec51abdf676a07e6e4d002b81883cd77a63a4a670bac826c364c08144Transfer From343486232022-10-14 21:11:3543 days 1 hr ago0x729d6c3915547c2583276e6e16afcfc21e9e02e3 IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.018594898004189.343916465
0x50209cfd7a754968ed5e287ddaf2a74e18179f06fb85db31ad5fd6fac2f7cfceAirdrop343482942022-10-14 21:00:1143 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.043802597269245.163333292
0xe5f9b10d36a9dcb3ad1504a45659e0c31f3e1edf068516af8804e717f8a08c96Airdrop343482762022-10-14 20:59:3143 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.041238032234230.809451294
0x65675c37aa5fd2d11bb2216ba9cdb6f6327789a2c2fe8a092ebd947b88d1b6a1Airdrop343482712022-10-14 20:59:2143 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.045264537263253.345817995
0xd277f3927175b47611d7526bbecbda70a2eb7d2347017ad9b86a954b16f0ff82Airdrop343482662022-10-14 20:59:1143 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.035681267795199.708215816
0xe8db86dccd991734ba2f864d097115f73404e2759827ccb649de78d4c6358532Airdrop343482122022-10-14 20:57:1943 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.03565565972199.564887306
0x3d9032ab178a2d535b0dcf0a76fbf98753ef4cf39c30256f0a4f67f3c41bcf0fAirdrop343482072022-10-14 20:57:0943 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.036537251325204.499159472
0x57fd133b506f703bfbd7c580a57edb26a7c5cf5628232dbabe6e032481c756ffAirdrop343481832022-10-14 20:56:2143 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.031462968956176.098378306
0x0359165651e67aebb8a9e7c131638906f918d601bd0c2bf1ac907b83cb08f3caAirdrop343481772022-10-14 20:56:0943 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.034867273804195.152287803
0xd92112306f79e15a9ab3dc2806d838b6c106c91771732778d537cd87cda6fbbdTransfer From341833572022-10-10 21:21:1347 days 1 hr ago0xbe3d926718337b597bdf58c1bef01d90fdbbf63a IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.00254856000130.000000012
0x0a638471c76498d11feb4f875cd36757f5f67d738c11d62aed40217f4c153233Airdrop341832712022-10-10 21:18:1747 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.00633121200236.000000014
0x2ce9a4f53cc8bf9a56320bdb5dd2b50e1c412cfdcb94ba0b2ff87601917b7b52Airdrop341769152022-10-10 17:35:2647 days 4 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.00633121200436.000000025
0x886044857a0ad06595b8db29d573fa803cddba2a9cb47bc2769bd0d9f23d1cc0Airdrop340178902022-10-06 21:02:1651 days 1 hr ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.00643201200236.000000015
0x222f5ac756363f3931d73c064584030cd03a2549199c75ee93ca544a21de0f14Airdrop339693982022-10-05 17:00:1152 days 5 hrs ago0x890f0889aacbf8ae1776fd39c54566f253a1c90e IN  0xa1950c56303e7d69b3aa68d6b74e5d6dcb7bbc110 MATIC0.00633121200336.000000021
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0xed1e7c046e729572b0F608fb32C6477770Ef8D86

Contract Name:
NFTCollection

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 17 : NFTCollection.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.4.22 <0.9.0;

import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "../libraries/PaymentSplitter.sol";
import "../libraries/LibPart.sol";

contract NFTCollection is ERC721Enumerable, PaymentSplitter {
  bool public paused = false;
  bool public mixedPrice = false;
  string public contractURI;
  string public baseTokenURI;
  uint256 public collectionSize;
  uint256 public mintLimit;
  uint256 public tokenPrice; // 0.2 eth
  address private rootUser;

  mapping(uint256 => uint256) private itemPrices;
  mapping(uint256 => uint256) private tokenSlugs;
  mapping(address => bool) private _whitelist;

  // ERC-2981 royalties settings
  bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;

  // impossible to conceal the payments on the blockchain
  LibPart.Part[] private royalties;

  constructor(
    string memory name,
    string memory symbol,
    uint256 royaltyFee,
    address royaltyRecipient,
    string memory baseCollectionUri,
    string memory baseTokenUri,
    uint256 _collectionSize,
    uint256 _mintLimit,
    uint256 _tokenPrice, // standard price
    uint256[] memory slugs, // item slug with custom price
    uint256[] memory prices
  ) payable ERC721(name, symbol) {
    contractURI = baseCollectionUri;
    baseTokenURI = baseTokenUri;
    collectionSize = _collectionSize;
    mintLimit = _mintLimit;
    tokenPrice = _tokenPrice;

    rootUser = msg.sender;
    _whitelist[msg.sender] = true;

    setRoyalty(payable(address(this)), royaltyFee);

    if (royaltyRecipient != address(0x0)) {
      addPayee(royaltyRecipient, 100);
    }

    for (uint256 i = 0; i < slugs.length; i++) {
      itemPrices[slugs[i]] = prices[i];
      if (mixedPrice != true) mixedPrice = true;
    }
  }

  function tokenURI(uint256 tokenId) public view override returns (string memory) {
    return string(abi.encodePacked(baseTokenURI, Strings.toString(tokenSlugs[tokenId])));
  }

  function airdrop(address[] memory owners, uint256[] memory slugs) external {
    require(msg.sender == rootUser || msg.sender == owner(), "Caller is not the owner");
    // require(owners.length > 0); // Must provide at least one token and owner
    for (uint256 i = 0; i < owners.length; i++) {
      uint256 newId = totalSupply() + 1;
      tokenSlugs[newId] = slugs[i];
      _safeMint(owners[i], newId);
    }
  }

  function mint(address recipient, uint256 slug) external payable onlyOwner {
    // require(mixedPrice, "Alowed");
    uint256 newId = totalSupply() + 1;
    require(!paused);
    require(newId <= collectionSize);

    if (itemPrices[slug] == 0) {
      require((tokenPrice * 1e16) <= msg.value);
    } else if (itemPrices[slug] < 1000) {
      require((itemPrices[slug] * 1e16) <= msg.value); // Insufficient funds to mint
    }
    tokenSlugs[newId] = slug;
    _safeMint(recipient, newId);
  }

  // function mint(
  //   address recipient,
  //   uint256 numTokens,
  //   bool preSale
  // ) external payable {
  //   require(!paused); // Minting paused
  //   require(!mixedPrice);

  //   // if (recipient == msg.sender && preSale) {
  //   //   require(_whitelist[recipient]); // Sender is not whitelisted for preSale
  //   // }

  //   if (msg.sender != owner()) {
  //     // token price is 0.2 ether
  //     require(numTokens <= mintLimit); // User attempting to mint too many tokens
  //     require((tokenPrice * numTokens * 1e16) <= msg.value); // Insufficient funds to mint
  //   }

  //   require(totalSupply() + numTokens <= collectionSize); // supply limited

  //   for (uint256 i = 1; i <= numTokens; i++) {
  //     uint256 newId = totalSupply() + 1;
  //     _safeMint(recipient, newId);
  //     tokenSlugs[newId] = newId;
  //   }
  // }

  function getMintPrice(uint256 slug) public view returns (uint256) {
    if (itemPrices[slug] == 0) {
      return tokenPrice;
    } else if (itemPrices[slug] < 1000) {
      return itemPrices[slug];
    }
    return 0;
  }

  // function getUserItems() external view returns (uint256[] memory items) {
  //   items = new uint256[](balanceOf(msg.sender));
  //   uint256 _counter = 0;
  //   for (uint256 i = 1; i <= totalSupply(); i++) {
  //     if (ownerOf(i) == msg.sender) {
  //       items[_counter] = i;
  //       _counter++;
  //     }
  //   }
  //   return items;
  // }

  // set the base URI
  function setBaseURI(string memory uri) external onlyOwner {
    baseTokenURI = uri;
  }

  // pause the contract and do not allow any more minting
  function setPause(bool pause) external onlyOwner {
    paused = pause;
  }

  //set the mintable limit
  function setMintLimit(uint256 _mintLimit) external onlyOwner {
    mintLimit = _mintLimit;
  }

  //Increase the total supply limit
  function setCollectionSize(uint256 _size) external onlyOwner {
    // collectionSize = _size;
    collectionSize = _size;
  }

  //set the token mint price for a special NFT
  // if slug is 0, it is for normal minting price,
  function setPrice(uint256 slug, uint256 price) external onlyOwner {
    if (slug == 0) {
      tokenPrice = price;
    } else {
      itemPrices[slug] = price;
    }
  }

  // The whitelist array should be handled on the frontend to reduce the contract size
  function setWhitelist(address wallet, bool value) external onlyOwner {
    _whitelist[wallet] = value;
  }

  function setRoyalty(address payable royaltiesReceipientAddress, uint256 percentageBasisPoints) public onlyOwner {
    LibPart.Part memory _royalties;
    _royalties.value = percentageBasisPoints;
    _royalties.account = royaltiesReceipientAddress;

    if (royalties.length > 0) {
      royalties.pop();
    }
    royalties.push(_royalties);
  }

  // royalty function for mintable marketplace
  function royaltyInfo(uint256, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount) {
    if (royalties.length > 0) {
      return (royalties[0].account, (salePrice * royalties[0].value) / 10000);
    }
    return (address(0), 0);
  }

  // royalty function for rarible marketplace
  function getRaribleV2Royalties(uint256) external view returns (LibPart.Part[] memory) {
    return royalties;
  }

  function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
    if (interfaceId == _INTERFACE_ID_ERC2981) {
      return true;
    }
    return super.supportsInterface(interfaceId);
  }
}

File 2 of 17 : PaymentSplitter.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.4.22 <0.9.0;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract PaymentSplitter is Context, Ownable {
  event PayeeAdded(address account, uint256 shares);
  event PayeeUpdated(address account, uint256 shares);
  event PaymentReleased(address to, uint256 amount);
  event ERC20PaymentReleased(IERC20 indexed token, address to, uint256 amount);
  event PaymentReceived(address from, uint256 amount);

  uint256 private _totalShares;
  uint256 private _totalReleased;

  mapping(address => uint256) public sharesMap;
  mapping(address => uint256) private _released;
  address[] private _payees;

  // mapping(IERC20 => uint256) private _erc20TotalReleased;
  // mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

  receive() external payable virtual {
    emit PaymentReceived(_msgSender(), msg.value);
    releaseAll();
  }

  function totalShares() external view returns (uint256) {
    return _totalShares;
  }

  function totalReleased() public view returns (uint256) {
    return _totalReleased;
  }

  // function totalReleased(IERC20 token) external view returns (uint256) {
  //   return _erc20TotalReleased[token];
  // }

  function shares(address account) external view returns (uint256) {
    return sharesMap[account];
  }

  function released(address account) public view returns (uint256) {
    return _released[account];
  }

  // function released(IERC20 token, address account) external view returns (uint256) {
  //   return _erc20Released[token][account];
  // }

  function payee(uint256 index) external view returns (address) {
    return _payees[index];
  }

  // TODO royalties should be paid out immediately not stored in the contract.
  function release(address payable account) private {
    require(sharesMap[account] > 0, "No shares");

    uint256 totalReceived = address(this).balance + totalReleased();
    uint256 payment = _pendingPayment(account, totalReceived, released(account));

    require(payment != 0, "No payment");

    _released[account] += payment;
    _totalReleased += payment;

    Address.sendValue(account, payment);
    emit PaymentReleased(account, payment);
  }

  function releaseAll() public onlyOwner {
    require(_payees.length > 0, "No shares");
    for (uint256 i = 0; i < _payees.length; i++) {
      address payable wallet = payable(_payees[i]);
      release(wallet);
    }
  }

  function _pendingPayment(
    address account,
    uint256 totalReceived,
    uint256 alreadyReleased
  ) private view returns (uint256) {
    return (totalReceived * sharesMap[account]) / _totalShares - alreadyReleased;
  }

  function addPayee(address account, uint256 fee) public onlyOwner {
    require(account != address(0), "invalid account");
    require(fee > 0, "fee is 0");

    if (sharesMap[account] == 0) {
      _payees.push(account);
      _totalShares = _totalShares + fee;
      sharesMap[account] = fee;
      emit PayeeAdded(account, fee);
    } else {
      _totalShares = _totalShares - sharesMap[account] + fee;
      sharesMap[account] = fee;
      emit PayeeUpdated(account, fee);
    }
  }

  function removePayee(address payable account) external onlyOwner {
    require(account != address(0x0), "Account is the zero address");
    address[] memory local_payees = _payees;

    for (uint256 i = 0; i < local_payees.length - 1; i++) {
      if (local_payees[i] == account) {
        local_payees[i] = local_payees[i + 1];
        delete local_payees[local_payees.length-1];
      }
    }
    _payees = local_payees;
    delete sharesMap[account];
  }
}

File 3 of 17 : LibPart.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity >=0.4.22 <0.9.0;

library LibPart {
  bytes32 public constant TYPE_HASH = keccak256("Part(address account,uint256 value)");

  struct Part {
    address payable account;
    uint256 value;
  }

  function hash(Part memory part) internal pure returns (bytes32) {
    return keccak256(abi.encode(TYPE_HASH, part.account, part.value));
  }
}

File 4 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 5 of 17 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 6 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 17 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 12 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, 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 14 of 17 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

    // 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 Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

    /**
     * @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 virtual override {
        address owner = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @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.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: 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`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(address(0), to, tokenId);
    }

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

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

        emit Transfer(owner, address(0), tokenId);
    }

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * 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
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @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.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 15 of 17 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 16 of 17 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

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

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev 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":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"uint256","name":"royaltyFee","type":"uint256"},{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"string","name":"baseCollectionUri","type":"string"},{"internalType":"string","name":"baseTokenUri","type":"string"},{"internalType":"uint256","name":"_collectionSize","type":"uint256"},{"internalType":"uint256","name":"_mintLimit","type":"uint256"},{"internalType":"uint256","name":"_tokenPrice","type":"uint256"},{"internalType":"uint256[]","name":"slugs","type":"uint256[]"},{"internalType":"uint256[]","name":"prices","type":"uint256[]"}],"stateMutability":"payable","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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"addPayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"owners","type":"address[]"},{"internalType":"uint256[]","name":"slugs","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"collectionSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint256","name":"slug","type":"uint256"}],"name":"getMintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getRaribleV2Royalties","outputs":[{"components":[{"internalType":"address payable","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"internalType":"struct LibPart.Part[]","name":"","type":"tuple[]"}],"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":"recipient","type":"address"},{"internalType":"uint256","name":"slug","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mixedPrice","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"releaseAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"removePayee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_size","type":"uint256"}],"name":"setCollectionSize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintLimit","type":"uint256"}],"name":"setMintLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"pause","type":"bool"}],"name":"setPause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"slug","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"royaltiesReceipientAddress","type":"address"},{"internalType":"uint256","name":"percentageBasisPoints","type":"uint256"}],"name":"setRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"wallet","type":"address"},{"internalType":"bool","name":"value","type":"bool"}],"name":"setWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"sharesMap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[],"name":"tokenPrice","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":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"stateMutability":"payable","type":"receive"}]

60806040526000601060006101000a81548160ff0219169083151502179055506000601060016101000a81548160ff0219169083151502179055506040516200721b3803806200721b83398181016040528101906200005f919062000c08565b8a8a816000908162000072919062001010565b50806001908162000084919062001010565b505050620000a76200009b6200029360201b60201c565b6200029b60201b60201c565b8660119081620000b8919062001010565b508560129081620000ca919062001010565b5084601381905550836014819055508260158190555033601660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001601960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200018b308a6200036160201b60201c565b600073ffffffffffffffffffffffffffffffffffffffff168873ffffffffffffffffffffffffffffffffffffffff1614620001d457620001d38860646200052d60201b60201c565b5b60005b82518110156200028157818181518110620001f757620001f6620010f7565b5b602002602001015160176000858481518110620002195762000218620010f7565b5b602002602001015181526020019081526020016000208190555060011515601060019054906101000a900460ff161515146200026b576001601060016101000a81548160ff0219169083151502179055505b8080620002789062001155565b915050620001d7565b505050505050505050505050620013fd565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b620003716200029360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000397620008a060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620003f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e79062001203565b60405180910390fd5b620003fa620008ca565b8181602001818152505082816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000601a805490501115620004a957601a80548062000460576200045f62001225565b5b6001900381819060005260206000209060020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505090555b601a81908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050505050565b6200053d6200029360201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000563620008a060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620005bc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005b39062001203565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036200062e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200062590620012a4565b60405180910390fd5b6000811162000674576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200066b9062001316565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403620007ba57600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b546200072f919062001338565b600b8190555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051620007ac92919062001395565b60405180910390a16200089c565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b546200080a9190620013c2565b62000816919062001338565b600b8190555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f16a858c8482e196ae62e1a6c9241d378a70905affd9f2e9ab395bd74b163c32982826040516200089392919062001395565b60405180910390a15b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620009638262000918565b810181811067ffffffffffffffff8211171562000985576200098462000929565b5b80604052505050565b60006200099a620008fa565b9050620009a8828262000958565b919050565b600067ffffffffffffffff821115620009cb57620009ca62000929565b5b620009d68262000918565b9050602081019050919050565b60005b8381101562000a03578082015181840152602081019050620009e6565b60008484015250505050565b600062000a2662000a2084620009ad565b6200098e565b90508281526020810184848401111562000a455762000a4462000913565b5b62000a52848285620009e3565b509392505050565b600082601f83011262000a725762000a716200090e565b5b815162000a8484826020860162000a0f565b91505092915050565b6000819050919050565b62000aa28162000a8d565b811462000aae57600080fd5b50565b60008151905062000ac28162000a97565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000af58262000ac8565b9050919050565b62000b078162000ae8565b811462000b1357600080fd5b50565b60008151905062000b278162000afc565b92915050565b600067ffffffffffffffff82111562000b4b5762000b4a62000929565b5b602082029050602081019050919050565b600080fd5b600062000b7862000b728462000b2d565b6200098e565b9050808382526020820190506020840283018581111562000b9e5762000b9d62000b5c565b5b835b8181101562000bcb578062000bb6888262000ab1565b84526020840193505060208101905062000ba0565b5050509392505050565b600082601f83011262000bed5762000bec6200090e565b5b815162000bff84826020860162000b61565b91505092915050565b60008060008060008060008060008060006101608c8e03121562000c315762000c3062000904565b5b60008c015167ffffffffffffffff81111562000c525762000c5162000909565b5b62000c608e828f0162000a5a565b9b505060208c015167ffffffffffffffff81111562000c845762000c8362000909565b5b62000c928e828f0162000a5a565b9a5050604062000ca58e828f0162000ab1565b995050606062000cb88e828f0162000b16565b98505060808c015167ffffffffffffffff81111562000cdc5762000cdb62000909565b5b62000cea8e828f0162000a5a565b97505060a08c015167ffffffffffffffff81111562000d0e5762000d0d62000909565b5b62000d1c8e828f0162000a5a565b96505060c062000d2f8e828f0162000ab1565b95505060e062000d428e828f0162000ab1565b94505061010062000d568e828f0162000ab1565b9350506101208c015167ffffffffffffffff81111562000d7b5762000d7a62000909565b5b62000d898e828f0162000bd5565b9250506101408c015167ffffffffffffffff81111562000dae5762000dad62000909565b5b62000dbc8e828f0162000bd5565b9150509295989b509295989b9093969950565b600081519050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000e2257607f821691505b60208210810362000e385762000e3762000dda565b5b50919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b60006008830262000ea27fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8262000e63565b62000eae868362000e63565b95508019841693508086168417925050509392505050565b6000819050919050565b600062000ef162000eeb62000ee58462000a8d565b62000ec6565b62000a8d565b9050919050565b6000819050919050565b62000f0d8362000ed0565b62000f2562000f1c8262000ef8565b84845462000e70565b825550505050565b600090565b62000f3c62000f2d565b62000f4981848462000f02565b505050565b5b8181101562000f715762000f6560008262000f32565b60018101905062000f4f565b5050565b601f82111562000fc05762000f8a8162000e3e565b62000f958462000e53565b8101602085101562000fa5578190505b62000fbd62000fb48562000e53565b83018262000f4e565b50505b505050565b600082821c905092915050565b600062000fe56000198460080262000fc5565b1980831691505092915050565b600062001000838362000fd2565b9150826002028217905092915050565b6200101b8262000dcf565b67ffffffffffffffff81111562001037576200103662000929565b5b62001043825462000e09565b6200105082828562000f75565b600060209050601f83116001811462001088576000841562001073578287015190505b6200107f858262000ff2565b865550620010ef565b601f198416620010988662000e3e565b60005b82811015620010c2578489015182556001820191506020850194506020810190506200109b565b86831015620010e25784890151620010de601f89168262000fd2565b8355505b6001600288020188555050505b505050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000620011628262000a8d565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820362001197576200119662001126565b5b600182019050919050565b600082825260208201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000620011eb602083620011a2565b9150620011f882620011b3565b602082019050919050565b600060208201905081810360008301526200121e81620011dc565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f696e76616c6964206163636f756e740000000000000000000000000000000000600082015250565b60006200128c600f83620011a2565b9150620012998262001254565b602082019050919050565b60006020820190508181036000830152620012bf816200127d565b9050919050565b7f6665652069732030000000000000000000000000000000000000000000000000600082015250565b6000620012fe600883620011a2565b91506200130b82620012c6565b602082019050919050565b600060208201905081810360008301526200133181620012ef565b9050919050565b6000620013458262000a8d565b9150620013528362000a8d565b92508282019050808211156200136d576200136c62001126565b5b92915050565b6200137e8162000ae8565b82525050565b6200138f8162000a8d565b82525050565b6000604082019050620013ac600083018562001373565b620013bb602083018462001384565b9392505050565b6000620013cf8262000a8d565b9150620013dc8362000a8d565b9250828203905081811115620013f757620013f662001126565b5b92915050565b615e0e806200140d6000396000f3fe60806040526004361061028c5760003560e01c8063672434821161015a578063aca8ffe7116100c1578063d547cfb71161007a578063d547cfb714610a6d578063e33b7de314610a98578063e8a3d48514610ac3578063e985e9c514610aee578063f2fde38b14610b2b578063f7d9757714610b54576102db565b8063aca8ffe71461093b578063b88d4fde14610964578063bedb86fb1461098d578063c87b56dd146109b6578063cad96cca146109f3578063ce7c2ac214610a30576102db565b806395d89b411161011357806395d89b411461082b5780639852595c14610856578063996517cf146108935780639e6a1d7d146108be578063a22cb465146108e7578063a8918e4414610910576102db565b8063672434821461071b57806370a0823114610744578063715018a6146107815780637ff9b596146107985780638b83209b146107c35780638da5cb5b14610800576102db565b80633a98ef39116101fe57806353d6fd59116101b757806353d6fd591461060d578063559e775b1461063657806355f804b3146106735780635be7fde81461069c5780635c975abb146106b35780636352211e146106de576102db565b80633a98ef391461050c5780633ed358551461053757806340c10f191461056057806342842e0e1461057c57806345c0f533146105a55780634f6ccce7146105d0576102db565b806318160ddd1161025057806318160ddd146103d757806318f9b023146104025780631e1cf1601461042b57806323b872dd146104685780632a55205a146104915780632f745c59146104cf576102db565b806301ffc9a7146102e057806306fdde031461031d578063081812fc14610348578063095ea7b31461038557806310fd332b146103ae576102db565b366102db577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ba610b7d565b346040516102c9929190613efc565b60405180910390a16102d9610b85565b005b600080fd5b3480156102ec57600080fd5b5061030760048036038101906103029190613f91565b610cbc565b6040516103149190613fd9565b60405180910390f35b34801561032957600080fd5b50610332610d24565b60405161033f9190614084565b60405180910390f35b34801561035457600080fd5b5061036f600480360381019061036a91906140d2565b610db6565b60405161037c91906140ff565b60405180910390f35b34801561039157600080fd5b506103ac60048036038101906103a79190614146565b610e3b565b005b3480156103ba57600080fd5b506103d560048036038101906103d091906141c4565b610f52565b005b3480156103e357600080fd5b506103ec611105565b6040516103f99190614204565b60405180910390f35b34801561040e57600080fd5b5061042960048036038101906104249190614146565b611112565b005b34801561043757600080fd5b50610452600480360381019061044d919061421f565b611460565b60405161045f9190614204565b60405180910390f35b34801561047457600080fd5b5061048f600480360381019061048a919061424c565b611478565b005b34801561049d57600080fd5b506104b860048036038101906104b3919061429f565b6114d8565b6040516104c6929190613efc565b60405180910390f35b3480156104db57600080fd5b506104f660048036038101906104f19190614146565b611587565b6040516105039190614204565b60405180910390f35b34801561051857600080fd5b5061052161162c565b60405161052e9190614204565b60405180910390f35b34801561054357600080fd5b5061055e600480360381019061055991906142df565b611636565b005b61057a60048036038101906105759190614146565b61193a565b005b34801561058857600080fd5b506105a3600480360381019061059e919061424c565b611ab0565b005b3480156105b157600080fd5b506105ba611ad0565b6040516105c79190614204565b60405180910390f35b3480156105dc57600080fd5b506105f760048036038101906105f291906140d2565b611ad6565b6040516106049190614204565b60405180910390f35b34801561061957600080fd5b50610634600480360381019061062f9190614338565b611b47565b005b34801561064257600080fd5b5061065d600480360381019061065891906140d2565b611c1e565b60405161066a9190614204565b60405180910390f35b34801561067f57600080fd5b5061069a600480360381019061069591906144ad565b611c86565b005b3480156106a857600080fd5b506106b1610b85565b005b3480156106bf57600080fd5b506106c8611d15565b6040516106d59190613fd9565b60405180910390f35b3480156106ea57600080fd5b50610705600480360381019061070091906140d2565b611d28565b60405161071291906140ff565b60405180910390f35b34801561072757600080fd5b50610742600480360381019061073d9190614681565b611dd9565b005b34801561075057600080fd5b5061076b6004803603810190610766919061421f565b611f39565b6040516107789190614204565b60405180910390f35b34801561078d57600080fd5b50610796611ff0565b005b3480156107a457600080fd5b506107ad612078565b6040516107ba9190614204565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e591906140d2565b61207e565b6040516107f791906140ff565b60405180910390f35b34801561080c57600080fd5b506108156120c6565b60405161082291906140ff565b60405180910390f35b34801561083757600080fd5b506108406120f0565b60405161084d9190614084565b60405180910390f35b34801561086257600080fd5b5061087d6004803603810190610878919061421f565b612182565b60405161088a9190614204565b60405180910390f35b34801561089f57600080fd5b506108a86121cb565b6040516108b59190614204565b60405180910390f35b3480156108ca57600080fd5b506108e560048036038101906108e091906140d2565b6121d1565b005b3480156108f357600080fd5b5061090e60048036038101906109099190614338565b612257565b005b34801561091c57600080fd5b5061092561226d565b6040516109329190613fd9565b60405180910390f35b34801561094757600080fd5b50610962600480360381019061095d91906140d2565b612280565b005b34801561097057600080fd5b5061098b6004803603810190610986919061479a565b612306565b005b34801561099957600080fd5b506109b460048036038101906109af919061481d565b612368565b005b3480156109c257600080fd5b506109dd60048036038101906109d891906140d2565b612401565b6040516109ea9190614084565b60405180910390f35b3480156109ff57600080fd5b50610a1a6004803603810190610a1591906140d2565b612448565b604051610a279190614946565b60405180910390f35b348015610a3c57600080fd5b50610a576004803603810190610a52919061421f565b612509565b604051610a649190614204565b60405180910390f35b348015610a7957600080fd5b50610a82612552565b604051610a8f9190614084565b60405180910390f35b348015610aa457600080fd5b50610aad6125e0565b604051610aba9190614204565b60405180910390f35b348015610acf57600080fd5b50610ad86125ea565b604051610ae59190614084565b60405180910390f35b348015610afa57600080fd5b50610b156004803603810190610b109190614968565b612678565b604051610b229190613fd9565b60405180910390f35b348015610b3757600080fd5b50610b526004803603810190610b4d919061421f565b61270c565b005b348015610b6057600080fd5b50610b7b6004803603810190610b76919061429f565b612803565b005b600033905090565b610b8d610b7d565b73ffffffffffffffffffffffffffffffffffffffff16610bab6120c6565b73ffffffffffffffffffffffffffffffffffffffff1614610c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bf8906149f4565b60405180910390fd5b6000600f8054905011610c49576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c4090614a60565b60405180910390fd5b60005b600f80549050811015610cb9576000600f8281548110610c6f57610c6e614a80565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050610ca5816128b0565b508080610cb190614ade565b915050610c4c565b50565b6000632a55205a60e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191603610d135760019050610d1f565b610d1c82612a5a565b90505b919050565b606060008054610d3390614b55565b80601f0160208091040260200160405190810160405280929190818152602001828054610d5f90614b55565b8015610dac5780601f10610d8157610100808354040283529160200191610dac565b820191906000526020600020905b815481529060010190602001808311610d8f57829003601f168201915b5050505050905090565b6000610dc182612ad4565b610e00576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610df790614bf8565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610e4682611d28565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610eb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ead90614c8a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610ed5610b7d565b73ffffffffffffffffffffffffffffffffffffffff161480610f045750610f0381610efe610b7d565b612678565b5b610f43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f3a90614d1c565b60405180910390fd5b610f4d8383612b40565b505050565b610f5a610b7d565b73ffffffffffffffffffffffffffffffffffffffff16610f786120c6565b73ffffffffffffffffffffffffffffffffffffffff1614610fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc5906149f4565b60405180910390fd5b610fd6613dcb565b8181602001818152505082816000019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff16815250506000601a80549050111561108157601a80548061103857611037614d3c565b5b6001900381819060005260206000209060020201600080820160006101000a81549073ffffffffffffffffffffffffffffffffffffffff02191690556001820160009055505090555b601a81908060018154018082558091505060019003906000526020600020906002020160009091909190915060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550602082015181600101555050505050565b6000600880549050905090565b61111a610b7d565b73ffffffffffffffffffffffffffffffffffffffff166111386120c6565b73ffffffffffffffffffffffffffffffffffffffff161461118e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611185906149f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036111fd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f490614db7565b60405180910390fd5b60008111611240576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161123790614e23565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540361138057600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600b546112f89190614e43565b600b8190555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac8282604051611373929190613efc565b60405180910390a161145c565b80600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600b546113ce9190614e77565b6113d89190614e43565b600b8190555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f16a858c8482e196ae62e1a6c9241d378a70905affd9f2e9ab395bd74b163c3298282604051611453929190613efc565b60405180910390a15b5050565b600d6020528060005260406000206000915090505481565b611489611483610b7d565b82612bf9565b6114c8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114bf90614f1d565b60405180910390fd5b6114d3838383612cd7565b505050565b6000806000601a80549050111561157857601a6000815481106114fe576114fd614a80565b5b906000526020600020906002020160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16612710601a60008154811061154857611547614a80565b5b906000526020600020906002020160010154856115659190614f3d565b61156f9190614fc6565b91509150611580565b600080915091505b9250929050565b600061159283611f39565b82106115d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115ca90615069565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b6000600b54905090565b61163e610b7d565b73ffffffffffffffffffffffffffffffffffffffff1661165c6120c6565b73ffffffffffffffffffffffffffffffffffffffff16146116b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a9906149f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611721576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611718906150d5565b60405180910390fd5b6000600f8054806020026020016040519081016040528092919081815260200182805480156117a557602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001906001019080831161175b575b5050505050905060005b600182516117bd9190614e77565b8110156118db578273ffffffffffffffffffffffffffffffffffffffff168282815181106117ee576117ed614a80565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff16036118c8578160018261181f9190614e43565b815181106118305761182f614a80565b5b602002602001015182828151811061184b5761184a614a80565b5b602002602001019073ffffffffffffffffffffffffffffffffffffffff16908173ffffffffffffffffffffffffffffffffffffffff168152505081600183516118949190614e77565b815181106118a5576118a4614a80565b5b60200260200101600073ffffffffffffffffffffffffffffffffffffffff168152505b80806118d390614ade565b9150506117af565b5080600f90805190602001906118f2929190613dfb565b50600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600090555050565b611942610b7d565b73ffffffffffffffffffffffffffffffffffffffff166119606120c6565b73ffffffffffffffffffffffffffffffffffffffff16146119b6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119ad906149f4565b60405180910390fd5b600060016119c2611105565b6119cc9190614e43565b9050601060009054906101000a900460ff16156119e857600080fd5b6013548111156119f757600080fd5b6000601760008481526020019081526020016000205403611a385734662386f26fc10000601554611a289190614f3d565b1115611a3357600080fd5b611a89565b6103e860176000848152602001908152602001600020541015611a885734662386f26fc100006017600085815260200190815260200160002054611a7c9190614f3d565b1115611a8757600080fd5b5b5b816018600083815260200190815260200160002081905550611aab8382612f32565b505050565b611acb83838360405180602001604052806000815250612306565b505050565b60135481565b6000611ae0611105565b8210611b21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b1890615167565b60405180910390fd5b60088281548110611b3557611b34614a80565b5b90600052602060002001549050919050565b611b4f610b7d565b73ffffffffffffffffffffffffffffffffffffffff16611b6d6120c6565b73ffffffffffffffffffffffffffffffffffffffff1614611bc3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bba906149f4565b60405180910390fd5b80601960008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055505050565b600080601760008481526020019081526020016000205403611c44576015549050611c81565b6103e860176000848152602001908152602001600020541015611c7c5760176000838152602001908152602001600020549050611c81565b600090505b919050565b611c8e610b7d565b73ffffffffffffffffffffffffffffffffffffffff16611cac6120c6565b73ffffffffffffffffffffffffffffffffffffffff1614611d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cf9906149f4565b60405180910390fd5b8060129081611d119190615333565b5050565b601060009054906101000a900460ff1681565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611dd0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dc790615477565b60405180910390fd5b80915050919050565b601660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161480611e675750611e386120c6565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b611ea6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e9d906154e3565b60405180910390fd5b60005b8251811015611f345760006001611ebe611105565b611ec89190614e43565b9050828281518110611edd57611edc614a80565b5b60200260200101516018600083815260200190815260200160002081905550611f20848381518110611f1257611f11614a80565b5b602002602001015182612f32565b508080611f2c90614ade565b915050611ea9565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fa9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa090615575565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611ff8610b7d565b73ffffffffffffffffffffffffffffffffffffffff166120166120c6565b73ffffffffffffffffffffffffffffffffffffffff161461206c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612063906149f4565b60405180910390fd5b6120766000612f50565b565b60155481565b6000600f828154811061209457612093614a80565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546120ff90614b55565b80601f016020809104026020016040519081016040528092919081815260200182805461212b90614b55565b80156121785780601f1061214d57610100808354040283529160200191612178565b820191906000526020600020905b81548152906001019060200180831161215b57829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60145481565b6121d9610b7d565b73ffffffffffffffffffffffffffffffffffffffff166121f76120c6565b73ffffffffffffffffffffffffffffffffffffffff161461224d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612244906149f4565b60405180910390fd5b8060148190555050565b612269612262610b7d565b8383613016565b5050565b601060019054906101000a900460ff1681565b612288610b7d565b73ffffffffffffffffffffffffffffffffffffffff166122a66120c6565b73ffffffffffffffffffffffffffffffffffffffff16146122fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122f3906149f4565b60405180910390fd5b8060138190555050565b612317612311610b7d565b83612bf9565b612356576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161234d90614f1d565b60405180910390fd5b61236284848484613182565b50505050565b612370610b7d565b73ffffffffffffffffffffffffffffffffffffffff1661238e6120c6565b73ffffffffffffffffffffffffffffffffffffffff16146123e4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123db906149f4565b60405180910390fd5b80601060006101000a81548160ff02191690831515021790555050565b6060601261242160186000858152602001908152602001600020546131de565b604051602001612432929190615654565b6040516020818303038152906040529050919050565b6060601a805480602002602001604051908101604052809291908181526020016000905b828210156124fe57838290600052602060002090600202016040518060400160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016001820154815250508152602001906001019061246c565b505050509050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6012805461255f90614b55565b80601f016020809104026020016040519081016040528092919081815260200182805461258b90614b55565b80156125d85780601f106125ad576101008083540402835291602001916125d8565b820191906000526020600020905b8154815290600101906020018083116125bb57829003601f168201915b505050505081565b6000600c54905090565b601180546125f790614b55565b80601f016020809104026020016040519081016040528092919081815260200182805461262390614b55565b80156126705780601f1061264557610100808354040283529160200191612670565b820191906000526020600020905b81548152906001019060200180831161265357829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b612714610b7d565b73ffffffffffffffffffffffffffffffffffffffff166127326120c6565b73ffffffffffffffffffffffffffffffffffffffff1614612788576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161277f906149f4565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036127f7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ee906156ea565b60405180910390fd5b61280081612f50565b50565b61280b610b7d565b73ffffffffffffffffffffffffffffffffffffffff166128296120c6565b73ffffffffffffffffffffffffffffffffffffffff161461287f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612876906149f4565b60405180910390fd5b6000820361289357806015819055506128ac565b8060176000848152602001908152602001600020819055505b5050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411612932576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161292990614a60565b60405180910390fd5b600061293c6125e0565b476129479190614e43565b9050600061295e838361295986612182565b61333e565b9050600081036129a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161299a90615756565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546129f29190614e43565b9250508190555080600c6000828254612a0b9190614e43565b92505081905550612a1c83826133ac565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051612a4d9291906157cb565b60405180910390a1505050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480612acd5750612acc826134a0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612bb383611d28565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000612c0482612ad4565b612c43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3a90615866565b60405180910390fd5b6000612c4e83611d28565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480612cbd57508373ffffffffffffffffffffffffffffffffffffffff16612ca584610db6565b73ffffffffffffffffffffffffffffffffffffffff16145b80612cce5750612ccd8185612678565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612cf782611d28565b73ffffffffffffffffffffffffffffffffffffffff1614612d4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d44906158f8565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612dbc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612db39061598a565b60405180910390fd5b612dc7838383613582565b612dd2600082612b40565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e229190614e77565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612e799190614e43565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612f4c828260405180602001604052806000815250613694565b5050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161307b906159f6565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516131759190613fd9565b60405180910390a3505050565b61318d848484612cd7565b613199848484846136ef565b6131d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131cf90615a88565b60405180910390fd5b50505050565b606060008203613225576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050613339565b600082905060005b6000821461325757808061324090614ade565b915050600a826132509190614fc6565b915061322d565b60008167ffffffffffffffff81111561327357613272614382565b5b6040519080825280601f01601f1916602001820160405280156132a55781602001600182028036833780820191505090505b5090505b60008514613332576001826132be9190614e77565b9150600a856132cd9190615aa8565b60306132d99190614e43565b60f81b8183815181106132ef576132ee614a80565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561332b9190614fc6565b94506132a9565b8093505050505b919050565b600081600b54600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548561338f9190614f3d565b6133999190614fc6565b6133a39190614e77565b90509392505050565b804710156133ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133e690615b25565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161341590615b76565b60006040518083038185875af1925050503d8060008114613452576040519150601f19603f3d011682016040523d82523d6000602084013e613457565b606091505b505090508061349b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161349290615bfd565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061356b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061357b575061357a82613876565b5b9050919050565b61358d8383836138e0565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036135cf576135ca816138e5565b61360e565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461360d5761360c838261392e565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16036136505761364b81613a9b565b61368f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461368e5761368d8282613b6c565b5b5b505050565b61369e8383613beb565b6136ab60008484846136ef565b6136ea576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016136e190615a88565b60405180910390fd5b505050565b60006137108473ffffffffffffffffffffffffffffffffffffffff16613db8565b15613869578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02613739610b7d565b8786866040518563ffffffff1660e01b815260040161375b9493929190615c72565b6020604051808303816000875af192505050801561379757506040513d601f19601f820116820180604052508101906137949190615cd3565b60015b613819573d80600081146137c7576040519150601f19603f3d011682016040523d82523d6000602084013e6137cc565b606091505b506000815103613811576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161380890615a88565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061386e565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161393b84611f39565b6139459190614e77565b9050600060076000848152602001908152602001600020549050818114613a2a576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613aaf9190614e77565b9050600060096000848152602001908152602001600020549050600060088381548110613adf57613ade614a80565b5b906000526020600020015490508060088381548110613b0157613b00614a80565b5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b5057613b4f614d3c565b5b6001900381819060005260206000200160009055905550505050565b6000613b7783611f39565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613c5a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c5190615d4c565b60405180910390fd5b613c6381612ad4565b15613ca3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c9a90615db8565b60405180910390fd5b613caf60008383613582565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613cff9190614e43565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600081525090565b828054828255906000526020600020908101928215613e74579160200282015b82811115613e735782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190613e1b565b5b509050613e819190613e85565b5090565b5b80821115613e9e576000816000905550600101613e86565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613ecd82613ea2565b9050919050565b613edd81613ec2565b82525050565b6000819050919050565b613ef681613ee3565b82525050565b6000604082019050613f116000830185613ed4565b613f1e6020830184613eed565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613f6e81613f39565b8114613f7957600080fd5b50565b600081359050613f8b81613f65565b92915050565b600060208284031215613fa757613fa6613f2f565b5b6000613fb584828501613f7c565b91505092915050565b60008115159050919050565b613fd381613fbe565b82525050565b6000602082019050613fee6000830184613fca565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561402e578082015181840152602081019050614013565b60008484015250505050565b6000601f19601f8301169050919050565b600061405682613ff4565b6140608185613fff565b9350614070818560208601614010565b6140798161403a565b840191505092915050565b6000602082019050818103600083015261409e818461404b565b905092915050565b6140af81613ee3565b81146140ba57600080fd5b50565b6000813590506140cc816140a6565b92915050565b6000602082840312156140e8576140e7613f2f565b5b60006140f6848285016140bd565b91505092915050565b60006020820190506141146000830184613ed4565b92915050565b61412381613ec2565b811461412e57600080fd5b50565b6000813590506141408161411a565b92915050565b6000806040838503121561415d5761415c613f2f565b5b600061416b85828601614131565b925050602061417c858286016140bd565b9150509250929050565b600061419182613ea2565b9050919050565b6141a181614186565b81146141ac57600080fd5b50565b6000813590506141be81614198565b92915050565b600080604083850312156141db576141da613f2f565b5b60006141e9858286016141af565b92505060206141fa858286016140bd565b9150509250929050565b60006020820190506142196000830184613eed565b92915050565b60006020828403121561423557614234613f2f565b5b600061424384828501614131565b91505092915050565b60008060006060848603121561426557614264613f2f565b5b600061427386828701614131565b935050602061428486828701614131565b9250506040614295868287016140bd565b9150509250925092565b600080604083850312156142b6576142b5613f2f565b5b60006142c4858286016140bd565b92505060206142d5858286016140bd565b9150509250929050565b6000602082840312156142f5576142f4613f2f565b5b6000614303848285016141af565b91505092915050565b61431581613fbe565b811461432057600080fd5b50565b6000813590506143328161430c565b92915050565b6000806040838503121561434f5761434e613f2f565b5b600061435d85828601614131565b925050602061436e85828601614323565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6143ba8261403a565b810181811067ffffffffffffffff821117156143d9576143d8614382565b5b80604052505050565b60006143ec613f25565b90506143f882826143b1565b919050565b600067ffffffffffffffff82111561441857614417614382565b5b6144218261403a565b9050602081019050919050565b82818337600083830152505050565b600061445061444b846143fd565b6143e2565b90508281526020810184848401111561446c5761446b61437d565b5b61447784828561442e565b509392505050565b600082601f83011261449457614493614378565b5b81356144a484826020860161443d565b91505092915050565b6000602082840312156144c3576144c2613f2f565b5b600082013567ffffffffffffffff8111156144e1576144e0613f34565b5b6144ed8482850161447f565b91505092915050565b600067ffffffffffffffff82111561451157614510614382565b5b602082029050602081019050919050565b600080fd5b600061453a614535846144f6565b6143e2565b9050808382526020820190506020840283018581111561455d5761455c614522565b5b835b8181101561458657806145728882614131565b84526020840193505060208101905061455f565b5050509392505050565b600082601f8301126145a5576145a4614378565b5b81356145b5848260208601614527565b91505092915050565b600067ffffffffffffffff8211156145d9576145d8614382565b5b602082029050602081019050919050565b60006145fd6145f8846145be565b6143e2565b905080838252602082019050602084028301858111156146205761461f614522565b5b835b81811015614649578061463588826140bd565b845260208401935050602081019050614622565b5050509392505050565b600082601f83011261466857614667614378565b5b81356146788482602086016145ea565b91505092915050565b6000806040838503121561469857614697613f2f565b5b600083013567ffffffffffffffff8111156146b6576146b5613f34565b5b6146c285828601614590565b925050602083013567ffffffffffffffff8111156146e3576146e2613f34565b5b6146ef85828601614653565b9150509250929050565b600067ffffffffffffffff82111561471457614713614382565b5b61471d8261403a565b9050602081019050919050565b600061473d614738846146f9565b6143e2565b9050828152602081018484840111156147595761475861437d565b5b61476484828561442e565b509392505050565b600082601f83011261478157614780614378565b5b813561479184826020860161472a565b91505092915050565b600080600080608085870312156147b4576147b3613f2f565b5b60006147c287828801614131565b94505060206147d387828801614131565b93505060406147e4878288016140bd565b925050606085013567ffffffffffffffff81111561480557614804613f34565b5b6148118782880161476c565b91505092959194509250565b60006020828403121561483357614832613f2f565b5b600061484184828501614323565b91505092915050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61487f81614186565b82525050565b61488e81613ee3565b82525050565b6040820160008201516148aa6000850182614876565b5060208201516148bd6020850182614885565b50505050565b60006148cf8383614894565b60408301905092915050565b6000602082019050919050565b60006148f38261484a565b6148fd8185614855565b935061490883614866565b8060005b8381101561493957815161492088826148c3565b975061492b836148db565b92505060018101905061490c565b5085935050505092915050565b6000602082019050818103600083015261496081846148e8565b905092915050565b6000806040838503121561497f5761497e613f2f565b5b600061498d85828601614131565b925050602061499e85828601614131565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006149de602083613fff565b91506149e9826149a8565b602082019050919050565b60006020820190508181036000830152614a0d816149d1565b9050919050565b7f4e6f207368617265730000000000000000000000000000000000000000000000600082015250565b6000614a4a600983613fff565b9150614a5582614a14565b602082019050919050565b60006020820190508181036000830152614a7981614a3d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614ae982613ee3565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614b1b57614b1a614aaf565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680614b6d57607f821691505b602082108103614b8057614b7f614b26565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614be2602c83613fff565b9150614bed82614b86565b604082019050919050565b60006020820190508181036000830152614c1181614bd5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614c74602183613fff565b9150614c7f82614c18565b604082019050919050565b60006020820190508181036000830152614ca381614c67565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614d06603883613fff565b9150614d1182614caa565b604082019050919050565b60006020820190508181036000830152614d3581614cf9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f696e76616c6964206163636f756e740000000000000000000000000000000000600082015250565b6000614da1600f83613fff565b9150614dac82614d6b565b602082019050919050565b60006020820190508181036000830152614dd081614d94565b9050919050565b7f6665652069732030000000000000000000000000000000000000000000000000600082015250565b6000614e0d600883613fff565b9150614e1882614dd7565b602082019050919050565b60006020820190508181036000830152614e3c81614e00565b9050919050565b6000614e4e82613ee3565b9150614e5983613ee3565b9250828201905080821115614e7157614e70614aaf565b5b92915050565b6000614e8282613ee3565b9150614e8d83613ee3565b9250828203905081811115614ea557614ea4614aaf565b5b92915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614f07603183613fff565b9150614f1282614eab565b604082019050919050565b60006020820190508181036000830152614f3681614efa565b9050919050565b6000614f4882613ee3565b9150614f5383613ee3565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f8c57614f8b614aaf565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000614fd182613ee3565b9150614fdc83613ee3565b925082614fec57614feb614f97565b5b828204905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000615053602b83613fff565b915061505e82614ff7565b604082019050919050565b6000602082019050818103600083015261508281615046565b9050919050565b7f4163636f756e7420697320746865207a65726f20616464726573730000000000600082015250565b60006150bf601b83613fff565b91506150ca82615089565b602082019050919050565b600060208201905081810360008301526150ee816150b2565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000615151602c83613fff565b915061515c826150f5565b604082019050919050565b6000602082019050818103600083015261518081615144565b9050919050565b60008190508160005260206000209050919050565b60006020601f8301049050919050565b600082821b905092915050565b6000600883026151e97fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826151ac565b6151f386836151ac565b95508019841693508086168417925050509392505050565b6000819050919050565b600061523061522b61522684613ee3565b61520b565b613ee3565b9050919050565b6000819050919050565b61524a83615215565b61525e61525682615237565b8484546151b9565b825550505050565b600090565b615273615266565b61527e818484615241565b505050565b5b818110156152a25761529760008261526b565b600181019050615284565b5050565b601f8211156152e7576152b881615187565b6152c18461519c565b810160208510156152d0578190505b6152e46152dc8561519c565b830182615283565b50505b505050565b600082821c905092915050565b600061530a600019846008026152ec565b1980831691505092915050565b600061532383836152f9565b9150826002028217905092915050565b61533c82613ff4565b67ffffffffffffffff81111561535557615354614382565b5b61535f8254614b55565b61536a8282856152a6565b600060209050601f83116001811461539d576000841561538b578287015190505b6153958582615317565b8655506153fd565b601f1984166153ab86615187565b60005b828110156153d3578489015182556001820191506020850194506020810190506153ae565b868310156153f057848901516153ec601f8916826152f9565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615461602983613fff565b915061546c82615405565b604082019050919050565b6000602082019050818103600083015261549081615454565b9050919050565b7f43616c6c6572206973206e6f7420746865206f776e6572000000000000000000600082015250565b60006154cd601783613fff565b91506154d882615497565b602082019050919050565b600060208201905081810360008301526154fc816154c0565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061555f602a83613fff565b915061556a82615503565b604082019050919050565b6000602082019050818103600083015261558e81615552565b9050919050565b600081905092915050565b600081546155ad81614b55565b6155b78186615595565b945060018216600081146155d257600181146155e75761561a565b60ff198316865281151582028601935061561a565b6155f085615187565b60005b83811015615612578154818901526001820191506020810190506155f3565b838801955050505b50505092915050565b600061562e82613ff4565b6156388185615595565b9350615648818560208601614010565b80840191505092915050565b600061566082856155a0565b915061566c8284615623565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006156d4602683613fff565b91506156df82615678565b604082019050919050565b60006020820190508181036000830152615703816156c7565b9050919050565b7f4e6f207061796d656e7400000000000000000000000000000000000000000000600082015250565b6000615740600a83613fff565b915061574b8261570a565b602082019050919050565b6000602082019050818103600083015261576f81615733565b9050919050565b600061579161578c61578784613ea2565b61520b565b613ea2565b9050919050565b60006157a382615776565b9050919050565b60006157b582615798565b9050919050565b6157c5816157aa565b82525050565b60006040820190506157e060008301856157bc565b6157ed6020830184613eed565b9392505050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615850602c83613fff565b915061585b826157f4565b604082019050919050565b6000602082019050818103600083015261587f81615843565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006158e2602983613fff565b91506158ed82615886565b604082019050919050565b60006020820190508181036000830152615911816158d5565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615974602483613fff565b915061597f82615918565b604082019050919050565b600060208201905081810360008301526159a381615967565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006159e0601983613fff565b91506159eb826159aa565b602082019050919050565b60006020820190508181036000830152615a0f816159d3565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615a72603283613fff565b9150615a7d82615a16565b604082019050919050565b60006020820190508181036000830152615aa181615a65565b9050919050565b6000615ab382613ee3565b9150615abe83613ee3565b925082615ace57615acd614f97565b5b828206905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b6000615b0f601d83613fff565b9150615b1a82615ad9565b602082019050919050565b60006020820190508181036000830152615b3e81615b02565b9050919050565b600081905092915050565b50565b6000615b60600083615b45565b9150615b6b82615b50565b600082019050919050565b6000615b8182615b53565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b6000615be7603a83613fff565b9150615bf282615b8b565b604082019050919050565b60006020820190508181036000830152615c1681615bda565b9050919050565b600081519050919050565b600082825260208201905092915050565b6000615c4482615c1d565b615c4e8185615c28565b9350615c5e818560208601614010565b615c678161403a565b840191505092915050565b6000608082019050615c876000830187613ed4565b615c946020830186613ed4565b615ca16040830185613eed565b8181036060830152615cb38184615c39565b905095945050505050565b600081519050615ccd81613f65565b92915050565b600060208284031215615ce957615ce8613f2f565b5b6000615cf784828501615cbe565b91505092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615d36602083613fff565b9150615d4182615d00565b602082019050919050565b60006020820190508181036000830152615d6581615d29565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615da2601c83613fff565b9150615dad82615d6c565b602082019050919050565b60006020820190508181036000830152615dd181615d95565b905091905056fea26469706673582212206f7f72fb61143ed56d5bdd7f61f0df83384260480954f66a4b2d300f17ce50a064736f6c63430008100033000000000000000000000000000000000000000000000000000000000000016000000000000000000000000000000000000000000000000000000000000001a0000000000000000000000000000000000000000000000000000000000000006400000000000000000000000063a58dd84c15d103dc144f47880ec0c9461e313800000000000000000000000000000000000000000000000000000000000001e0000000000000000000000000000000000000000000000000000000000000026000000000000000000000000000000000000000000000000000000000000003e80000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002e00000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000001643656c65627269747920536f667462616c6c2027323200000000000000000000000000000000000000000000000000000000000000000000000000000000001a63656c656272697479736f667462616c6c323032325f72633136000000000000000000000000000000000000000000000000000000000000000000000000005568747470733a2f2f65636f76657273652d6d657461646174612e6865726f6b756170702e636f6d2f6d657461646174612f636f6e7472616374732f63656c656272697479736f667462616c6c323032325f726331360000000000000000000000000000000000000000000000000000000000000000000000000000000000005868747470733a2f2f65636f76657273652d6d657461646174612e6865726f6b756170702e636f6d2f6d657461646174612f636f6c6c656374696f6e732f63656c656272697479736f667462616c6c323032325f726331362f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
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.