Contract 0x31a82b5B4ABc844591016C38D36bbc2020A7aa3E

 
 
Txn Hash
Method
Block
From
To
Value
0x1cbebf4d9d300f743b0b71927c0dbdc0f854c43cd1f8bace5aa02356cea003a3Safe Transfer Fr...158913112022-11-03 18:34:5933 days 1 hr ago0xc0edae44dd103368d8b5cb79f31fc31f2d7cdb8e IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.0017067 19.11160272
0x0b850a39333ae8f8165c195ec865375dd3a782782f0677275d8a43ce62410870Transfer From152673102022-08-03 4:24:22125 days 15 hrs ago0x35be279b2ef0004afcf4ce83c0b5beb605be72f1 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00083713 12.63506093
0x7953aa30da62c197deec15a95af9333128cedb168698387c603893f83cded205Set Approval For...148289682022-05-23 10:12:20197 days 9 hrs agoENS Name joff.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00073104 15.81874141
0xea1ea46ba4b0564b74206d4661680859678c15d314211ff4aa542a3de81cde34Transfer From145436322022-04-08 6:43:10242 days 13 hrs ago0x26a6f7f767aa8b3055e5d023be23d3bf7242f4f6 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00311838 47.05786089
0x771b57dbb2d7e85911aabaccbcf8070e1f4c8ba79e11ffe7289f11fd88076b9eRelease145350842022-04-06 22:43:19243 days 21 hrs ago0xa8c7042049d79ce066a15f28d2fc438270cafd85 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00381492 51.73618518
0xcbf142e2bf20219be567d90d94bbb8ca78449893c0107add246f037c0849ec26Release145350842022-04-06 22:43:19243 days 21 hrs ago0xa8c7042049d79ce066a15f28d2fc438270cafd85 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00381492 51.73618518
0xb144309aca9a044fd216d70f7ac5a1fe8f8d591488c0d7439b41770a77a21db8Release145350842022-04-06 22:43:19243 days 21 hrs ago0xa8c7042049d79ce066a15f28d2fc438270cafd85 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00437217 51.73618518
0x29f84fddf26948f915724bbcfadf8e891dee704c543e30a01089cee204847c3aSet Minting Stat...145350742022-04-06 22:40:07243 days 21 hrs ago0xa8c7042049d79ce066a15f28d2fc438270cafd85 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00135138 43.37745273
0x4b6fac3b9e6ae18f5495c158f53cc36addc2ecb68493a9858c9ffebb7af39b7eMint Tokens145350632022-04-06 22:38:02243 days 21 hrs ago0xdd43ae8f6f2123f9b2b4f07c9c4574ad48d0d6bb IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.1 Ether0.00424174 41.29384413
0xc4866b4aa865eaf02a3fdfd9aaf02644edb759a3b756e6adb148dc2d4604b7a8Transfer From144702092022-03-27 19:40:52254 days 6 mins ago0x478e7d8309e4d7eafc810ae8050d7af8790a964a IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00366948 30.49876958
0x5c7e851901ceafbc46a85916520b715ccbc29b8195e7d90764c5709bfee18295Set Approval For...144579192022-03-25 21:49:39255 days 21 hrs agoENS Name elemntz.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00239603 51.84643736
0xeb45d5a09cbaaa2959137b8ab8e3c31ebbfdb9e10e85463d272c80ba6b2a102aSet Approval For...144560552022-03-25 14:44:21256 days 5 hrs agoENS Name huskan.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00155974 33.75046254
0x81401e16b848eee3bbde95a0ec635cbc60dbbb01a04e1933b008cac1490b405bSet Minting Stat...144494422022-03-24 14:09:35257 days 5 hrs ago0xa8c7042049d79ce066a15f28d2fc438270cafd85 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00137683 44.19464214
0x1abf246ca5d2c67f048acfd0ff78e7fa5826869353945726e83549cd8266087cMint Tokens144375212022-03-22 17:42:45259 days 2 hrs agoENS Name huskan.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.001 Ether0.00386827 59.14339844
0x46a44ba2ab4e9d81b963189e0dd6f403bcb385ebd86ce06f22609a7226131cacMint Tokens144370522022-03-22 16:04:19259 days 3 hrs agoENS Name nftculture.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.02 Ether0.00582431 56.70036713
0xc8efc99a1dfd3873a67a95ecfa24f7c8cd59b26c9216b9742e6127bf71915cbfSafe Transfer Fr...144327592022-03-21 23:56:15259 days 19 hrs agoENS Name the1huan.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00406096 37.74482438
0x5768b41bb8b77e33f700cc70acc69a16ec515bb37431bed485c0a7b3ae9943f0Mint Tokens144327442022-03-21 23:52:42259 days 19 hrs agoENS Name the1huan.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.01 Ether0.0042006 41.93010857
0x8cc0c1ac9d6fcec07d1b0282fd3e09dcee6575960be4bdb1f7c9d88831428691Mint Tokens144305862022-03-21 15:41:07260 days 4 hrs ago0x3f75f0ffadc9e3df16f6c568001d334450049b0b IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.002 Ether0.00244303 28.92229203
0xa6e225de5a24f5f0ef5b70821e8d17c7a683c2a3c073a004be21e8d9b9aafbd2Mint Tokens144295202022-03-21 11:49:58260 days 7 hrs agoENS Name 5362.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.005 Ether0.00130966 14.49370282
0x3c602a8ef6de825ca66779441f2fb05a6dd9987ce91c8cdf4e1fc1c7520547d9Mint Tokens144293342022-03-21 11:09:55260 days 8 hrs ago0xc0edae44dd103368d8b5cb79f31fc31f2d7cdb8e IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.025 Ether0.0025148 19.39824866
0xb110c18fae0b3ccaad10c2bd5d732c159142837eed8781e1e3096b4b5a2d6457Mint Tokens144292242022-03-21 10:45:42260 days 9 hrs ago0xe42758403b8a6c02ff81656856278f74985948cd IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.001 Ether0.00154126 18.68090116
0x791df4f761f683ed5b6899c0467a9bdff69c065b441b165267a9d6383b066bd4Mint Tokens144291642022-03-21 10:31:44260 days 9 hrs agoENS Name edd88.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.002 Ether0.0016561 19.60609241
0x1de57793943cc3a5ed58d4e39600f34a1873595fb3fd26c4057ad3a424c5d1abSafe Transfer Fr...144289452022-03-21 9:38:20260 days 10 hrs agoENS Name kesselrunner.eth IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0 Ether0.00151813 17
0xdf041154a5c8bd340eeb43f920ac0e38dada0e00f3bf169ef8fb0f5bdd61adf4Mint Tokens144286012022-03-21 8:18:46260 days 11 hrs ago0xa0f3a3a0cf603ea85e73e26563b03e83ae9fe344 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.02 Ether0.00229694 19.16983967
0x45e6e52ff2eef9b9fa74ee3f36ad4b32713613f954719e5bb6714707877e0a3aMint Tokens144281652022-03-21 6:39:42260 days 13 hrs ago0x3c045d92b7c3bb83e2018e2e296f6a0bc0e2eb07 IN  0x31a82b5b4abc844591016c38d36bbc2020a7aa3e0.002 Ether0.00139853 16.55677978
[ Download CSV Export 
Latest 3 internal transactions
Parent Txn Hash Block From To Value
0x771b57dbb2d7e85911aabaccbcf8070e1f4c8ba79e11ffe7289f11fd88076b9e145350842022-04-06 22:43:19243 days 21 hrs ago 0x31a82b5b4abc844591016c38d36bbc2020a7aa3e 0x087fc456471f5f88f7756c84f04159df3a3621d90.0646 Ether
0xcbf142e2bf20219be567d90d94bbb8ca78449893c0107add246f037c0849ec26145350842022-04-06 22:43:19243 days 21 hrs ago 0x31a82b5b4abc844591016c38d36bbc2020a7aa3e 0x633b7218644b83d57d90e7299039ebab19698e9c0.1292 Ether
0xb144309aca9a044fd216d70f7ac5a1fe8f8d591488c0d7439b41770a77a21db8145350842022-04-06 22:43:19243 days 21 hrs ago 0x31a82b5b4abc844591016c38d36bbc2020a7aa3eUkraine Crypto Donation0.1292 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JusticeForUkraine

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 18 : JusticeForUkraine.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

import './JusticeForUkraineBase.sol';
import './UkraineWallets.sol';

/**
 * @title JUSTICE (FOR UKRAINE)
 *
 *                       Слава Україні!
 *
 *                           ▓▓▓▓
 *                         ░░████
 *                         ████████
 * ██▒▒                    ████████                    ██
 * ▓▓████                  ████████                ▒▒████
 * ████████                ████████              ████████
 * ▓▓████████              ████████            ██████████
 * ▓▓██████████            ████████          ▒▒████░░████░░
 * ████▒▒  ████░░            ██████          ██████  ████░░
 * ████▒▒  ██████            ████            ████    ████░░
 * ████▒▒    ████            ████          ██████    ████░░
 * ██████    ████            ████          ████▒▒    ████░░
 * ████▒▒    ██████          ████          ████      ████░░
 * ████▒▒    ██████          ████          ████      ████░░
 * ████▒▒    ██████          ████        ▒▒████      ████▒▒
 * ████▒▒      ████          ████        ██████      ████▒▒
 * ████▒▒      ████        ██████        ██████      ████▒▒
 * ████        ████        ████████      ████▒▒      ████▒▒
 * ████░░      ████        ████████      ████▒▒      ████▓▓
 * ████      ██████▒▒    ██████████░░    ████████    ████▓▓
 * ████    ██████        ████  ██████      ▒▒████▒▒  ██████
 * ████████████        ██████    ████        ██████████████
 * ████████████        ████      ██████      ▒▒████████████
 * ████▒▒░░████░░    ██████        ████░░    ████▒▒  ██████
 * ████░░  ██████████████░░        ██████████████    ██████
 * ████      ████████████████  ░░██████████████      ██████
 * ████░░        ▒▒████████████████████████          ██████
 * ████░░        ░░████    ██████▓▓    ████          ██████
 * ████          ██████    ▒▒████      ████          ██████
 * ██████▓▓▓▓██▓▓██████████████████████████████████████████
 * ████████████████████████████████████████████████████████
 *                 ████░░  ██████    ██████
 *                 ██████  ▒▒████    ████░░
 *                 ██████  ▒▒████  ██████
 *                   ████████████  ████
 *                   ░░██████████████▒▒
 *                     ░░██████████▓▓
 *                       ░░██████▒▒
 *                           ██▒▒
 *
 *                      Героям слава!
 *
 *                    WE ARE DETERMINED
 *             THAT BEFORE THE SUN SETS ON THIS
 *       TERRIBLE STRUGGLE OUR FLAG WILL BE RECOGNIZED
 *        THROUGHOUT THE WORLD AS A SYMBOL OF FREEDOM
 *           ON THE ONE HAND AND OF OVERWHELMING
 *                   FORCE ON THE OTHER
 *
 *        -a quote that is truly befitting of Ukraine
 */
contract JusticeForUkraine is UkraineWallets, JusticeForUkraineBase {
    constructor()
        JusticeForUkraineBase(
            'JusticeForUkraine',
            'J4U',
            'https://gateway.pinata.cloud/ipfs/QmYHatcDEaYroUPfGj3wSk2BC3voT78WQias1Q9hiNgZ8n/', // final art v1
            addresses,
            splits)
    {
        // 100% of proceeds go to Ukraine addresses.
        // Donations programmatically verifiable and guaranteed by UkraineWallets and LockedPaymentSplitter.
        // Balances pushed to wallets by contract owner at sellout and/or weekly/monthly/.5eth increments.
    }
}

File 2 of 18 : JusticeForUkraineBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

// NFTC Open Source Contracts See: https://github.com/NFTCulture/nftc-open-contracts
import '@nftculture/nftc-open-contracts/contracts/security/GuardedAgainstContracts.sol';
import '@nftculture/nftc-open-contracts/contracts/financial/LockedPaymentSplitter.sol';

// NFTC Prerelease Contracts
import '@nftculture/nftc-contract-library/contracts/token/OnePhaseMint.sol';

// ERC721A from Chiru Labs
import 'erc721a/contracts/ERC721A.sol';

// OZ Libraries
import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/Ownable.sol';

/**
 * @title Justice for Ukraine, A Charitable Project
 * @author @J, NFT Culture
 * @dev Standard ERC721a Implementation
 *
 * Visit the NFTC Labs open source repo on github:
 * https://github.com/NFTCulture/nftc-open-contracts
 */
abstract contract JusticeForUkraineBase is
    ERC721A,
    Ownable,
    GuardedAgainstContracts,
    ReentrancyGuard,
    LockedPaymentSplitter,
    OnePhaseMint
{
    using Strings for uint256;

    uint256 private constant MAX_NFTS_FOR_SALE = 20000;
    uint256 private constant MAX_MINT_BATCH_SIZE = 100;

    string public baseURI;

    constructor(
        string memory __name,
        string memory __symbol,
        string memory __baseURI,
        address[] memory __addresses,
        uint256[] memory __splits
    )
        ERC721A(__name, __symbol)
        SlimPaymentSplitter(__addresses, __splits)
        OnePhaseMint(0.001 ether)
    {
        baseURI = __baseURI;
    }

    function maxSupply() external pure returns (uint256) {
        return MAX_NFTS_FOR_SALE;
    }

    function publicMintBatchSize() external pure returns (uint256) {
        return MAX_MINT_BATCH_SIZE;
    }

    function isOpenEdition() external pure returns (bool) {
        // Front end minting websites should treat this mint as an open edition, even though there is a hard cap.
        return true;
    }

    function setBaseURI(string memory __baseUri) external onlyOwner {
        baseURI = __baseUri;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'No token');

        string memory base = _baseURI();
        require(bytes(base).length > 0, 'Base unset');

        return string(abi.encodePacked(base, _tokenFilename(tokenId)));
    }

    /**
     * @notice Owner: reserve tokens for team.
     *
     * @param friends addresses to send tokens  to.
     * @param count the number of tokens to mint.
     */
    function reserveTokens(address[] memory friends, uint256 count) external onlyOwner {
        require(0 < count && count <= MAX_MINT_BATCH_SIZE, 'Invalid count');

        uint256 idx;
        for (idx = 0; idx < friends.length; idx++) {
            _internalMintTokens(friends[idx], count);
        }
    }

    /**
     * @notice Mint tokens - purchase bound by terms & conditions of project.
     *
     * @param count the number of tokens to mint.
     */
    function mintTokens(uint256 count) external payable nonReentrant onlyUsers isPublicMinting {
        require(0 < count && count <= MAX_MINT_BATCH_SIZE, 'Invalid count');
        require(publicMintPricePerNft * count == msg.value, 'Invalid price');

        _internalMintTokens(_msgSender(), count);
    }

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

    function _tokenFilename(uint256 tokenId) internal view virtual returns (string memory) {
        return tokenId.toString();
    }

    function _internalMintTokens(address minter, uint256 count) internal {
        require(totalSupply() + count <= MAX_NFTS_FOR_SALE, 'Limit exceeded');

        _safeMint(minter, count);
    }
}

File 3 of 18 : UkraineWallets.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

contract UkraineWallets {
    address[] internal addresses = [
        0x165CD37b4C644C2921454429E7F9358d18A45e14, // Ukraine Crypto Donations
        0x633b7218644b83D57d90e7299039ebAb19698e9C, // Ukraine DAO (UkraineDao.eth)
        0x087FC456471f5f88F7756c84F04159dF3A3621D9  // https://reli3f.xyz/
    ];

    uint256[] internal splits = [40, 40, 20];
}

File 4 of 18 : GuardedAgainstContracts.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

/**
 * @title GuardedAgainstContracts
 * @author @NiftyMike, NFT Culture
 * @dev Helper contract to help protect against contract based mint spamming attacks.
 */
abstract contract GuardedAgainstContracts {
    modifier onlyUsers() {
        require(tx.origin == msg.sender, 'Must be user');
        _;
    }
}

File 5 of 18 : LockedPaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

import "./SlimPaymentSplitter.sol";
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title LockedPaymentSplitter
 * @author @NiftyMike, NFT Culture
 * @dev A wrapper around SlimPaymentSplitter which adds on security elements.
 *
 * Based on OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)
 */
abstract contract LockedPaymentSplitter is SlimPaymentSplitter, Ownable {
    /**
     * @dev Overrides release() method, so that it can only be called by owner.
     * @notice Owner: Release funds to a specific address.
     *
     * @param account Payable address that will receive funds.
     */
    function release(address payable account) public override onlyOwner {
        super.release(account);
    }

    /**
     * @dev Triggers a transfer to caller's address of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     * @notice Sender: request payment.
     */
    function releaseToSelf() public {
        super.release(payable(msg.sender));
    }
}

File 6 of 18 : OnePhaseMint.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.11;

// OZ Libraries
import "@openzeppelin/contracts/access/Ownable.sol";

/**
 * @title One Phase Mint Implementation
 * @author @NiftyMike, NFT Culture
 * @dev All the code needed to support a One Phase mint in a standard way.
 */
contract OnePhaseMint is Ownable {
    bool private mintControl;

    uint256 public publicMintPricePerNft;

    modifier isPublicMinting() {
        require(mintControl, 'Minting stopped');
        _;
    }

    constructor(
        uint256 __publicMintPricePerNft
    ) {
        publicMintPricePerNft = __publicMintPricePerNft;
    }

    function setMintingState(bool __publicMintingActive, uint256 __publicMintPricePerNft)
        external
        onlyOwner
    {
        mintControl = __publicMintingActive;

        if (__publicMintPricePerNft > 0) {
            publicMintPricePerNft = __publicMintPricePerNft;
        }
    }

    function isPublicMintingActive() external view returns (bool) {
        return mintControl;
    }

    function supportedPhases() external pure returns (uint256){
        return 1;
    }
}

File 7 of 18 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.4;

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

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

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

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

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

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

    /**
     * @dev This is equivalent to _burn(tokenId, false)
     */
    function _burn(uint256 tokenId) internal virtual {
        _burn(tokenId, false);
    }

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

        address from = prevOwnership.addr;

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

            if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved();
        }

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 10 of 18 : SlimPaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.11;

import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Context.sol";

/**
 * @title SlimPaymentSplitter
 * @author @NiftyMike, NFT Culture
 * @dev A drop-in slim replacement version of OZ's Payment Splitter. All ERC-20 token functionality removed.
 *
 * Based on OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)
 */
contract SlimPaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;

    address[] private _payees;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(
            payees.length == shares_.length,
            "PaymentSplitter: payees and shares length mismatch"
        );
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

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

        require(payment != 0, "PaymentSplitter: account is not due payment");

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

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

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return
            (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(
            account != address(0),
            "PaymentSplitter: account is the zero address"
        );
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(
            _shares[account] == 0,
            "PaymentSplitter: account already has shares"
        );

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

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

pragma solidity ^0.8.1;

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

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"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":"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":"baseURI","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":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isOpenEdition","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isPublicMintingActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mintTokens","outputs":[],"stateMutability":"payable","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicMintBatchSize","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"publicMintPricePerNft","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"releaseToSelf","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":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"friends","type":"address[]"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"reserveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"__baseUri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"__publicMintingActive","type":"bool"},{"internalType":"uint256","name":"__publicMintPricePerNft","type":"uint256"}],"name":"setMintingState","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":[],"name":"supportedPhases","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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"}]

60e060405273165cd37b4c644c2921454429e7f9358d18a45e14608090815273633b7218644b83d57d90e7299039ebab19698e9c60a05273087fc456471f5f88f7756c84f04159df3a3621d960c0526200005e906000906003620005a8565b5060408051606081018252602880825260208201526014918101919091526200008c90600190600362000612565b503480156200009a57600080fd5b50604051806040016040528060118152602001704a757374696365466f72556b7261696e6560781b815250604051806040016040528060038152602001624a345560e81b81525060405180608001604052806051815260200162002c456051913960008054806020026020016040519081016040528092919081815260200182805480156200015357602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000134575b50505050506001805480602002602001604051908101604052809291908181526020018280548015620001a657602002820191906000526020600020905b81548152602001906001019080831162000191575b505050505066038d7ea4c68000828287878160049080519060200190620001cf92919062000655565b508051620001e590600590602084019062000655565b506000600255505080518251146200025f5760405162461bcd60e51b815260206004820152603260248201527f5061796d656e7453706c69747465723a2070617965657320616e6420736861726044820152710cae640d8cadccee8d040dad2e6dac2e8c6d60731b60648201526084015b60405180910390fd5b6000825111620002b25760405162461bcd60e51b815260206004820152601a60248201527f5061796d656e7453706c69747465723a206e6f20706179656573000000000000604482015260640162000256565b60005b82518110156200031e5762000309838281518110620002d857620002d8620006e9565b6020026020010151838381518110620002f557620002f5620006e9565b60200260200101516200036460201b60201c565b80620003158162000715565b915050620002b5565b5050506200033b620003356200055260201b60201c565b62000556565b600160105560125582516200035890601390602086019062000655565b5050505050506200078b565b6001600160a01b038216620003d15760405162461bcd60e51b815260206004820152602c60248201527f5061796d656e7453706c69747465723a206163636f756e74206973207468652060448201526b7a65726f206164647265737360a01b606482015260840162000256565b60008111620004235760405162461bcd60e51b815260206004820152601d60248201527f5061796d656e7453706c69747465723a20736861726573206172652030000000604482015260640162000256565b6001600160a01b0382166000908152600c6020526040902054156200049f5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960448201526a206861732073686172657360a81b606482015260840162000256565b600e8054600181019091557fbb7b4a454dc3493923482f07822329ed19e8244eff582cc204f8554c3620c3fd0180546001600160a01b0319166001600160a01b0384169081179091556000908152600c60205260409020819055600a546200050990829062000733565b600a55604080516001600160a01b0384168152602081018390527f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac910160405180910390a15050565b3390565b600f80546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b82805482825590600052602060002090810192821562000600579160200282015b828111156200060057825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620005c9565b506200060e929150620006d2565b5090565b82805482825590600052602060002090810192821562000600579160200282015b8281111562000600578251829060ff1690559160200191906001019062000633565b82805462000663906200074e565b90600052602060002090601f01602090048101928262000687576000855562000600565b82601f10620006a257805160ff191683800117855562000600565b8280016001018555821562000600579182015b8281111562000600578251825591602001919060010190620006b5565b5b808211156200060e5760008155600101620006d3565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b60006000198214156200072c576200072c620006ff565b5060010190565b60008219821115620007495762000749620006ff565b500190565b600181811c908216806200076357607f821691505b602082108114156200078557634e487b7160e01b600052602260045260246000fd5b50919050565b6124aa806200079b6000396000f3fe6080604052600436106102385760003560e01c806395d89b4111610138578063d25b354d116100b0578063e33b7de31161007f578063e985e9c511610064578063e985e9c514610660578063f2fde38b146106a9578063fdb8e8a2146106c957600080fd5b8063e33b7de314610637578063e8ad246f1461064c57600080fd5b8063d25b354d146105d5578063d5abeb01146105f5578063db828e5d1461060a578063e228c6fe1461062257600080fd5b8063a0e2406211610107578063b88d4fde116100ec578063b88d4fde1461055f578063c87b56dd1461057f578063ce7c2ac21461059f57600080fd5b8063a0e2406214610529578063a22cb4651461053f57600080fd5b806395d89b41146104ab57806397304ced146104c05780639852595c146104d357806399f8cf3a1461050957600080fd5b80633a98ef39116101cb5780636c0360eb1161019a578063715018a61161017f578063715018a6146104585780638b83209b1461046d5780638da5cb5b1461048d57600080fd5b80636c0360eb1461042357806370a082311461043857600080fd5b80633a98ef39146103ae57806342842e0e146103c357806355f804b3146103e35780636352211e1461040357600080fd5b806318160ddd1161020757806318160ddd14610337578063191655871461035a57806323b872dd1461037a57806335841e501461039a57600080fd5b806301ffc9a71461028657806306fdde03146102bb578063081812fc146102dd578063095ea7b31461031557600080fd5b36610281577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77033604080516001600160a01b0390921682523460208301520160405180910390a1005b600080fd5b34801561029257600080fd5b506102a66102a1366004611ed8565b6106dd565b60405190151581526020015b60405180910390f35b3480156102c757600080fd5b506102d061077a565b6040516102b29190611f54565b3480156102e957600080fd5b506102fd6102f8366004611f67565b61080c565b6040516001600160a01b0390911681526020016102b2565b34801561032157600080fd5b50610335610330366004611f95565b610869565b005b34801561034357600080fd5b50600354600254035b6040519081526020016102b2565b34801561036657600080fd5b50610335610375366004611fc1565b610929565b34801561038657600080fd5b50610335610395366004611fde565b610994565b3480156103a657600080fd5b5060016102a6565b3480156103ba57600080fd5b50600a5461034c565b3480156103cf57600080fd5b506103356103de366004611fde565b61099f565b3480156103ef57600080fd5b506103356103fe3660046120be565b6109ba565b34801561040f57600080fd5b506102fd61041e366004611f67565b610a2b565b34801561042f57600080fd5b506102d0610a3d565b34801561044457600080fd5b5061034c610453366004611fc1565b610acb565b34801561046457600080fd5b50610335610b33565b34801561047957600080fd5b506102fd610488366004611f67565b610b99565b34801561049957600080fd5b50600f546001600160a01b03166102fd565b3480156104b757600080fd5b506102d0610bc9565b6103356104ce366004611f67565b610bd8565b3480156104df57600080fd5b5061034c6104ee366004611fc1565b6001600160a01b03166000908152600d602052604090205490565b34801561051557600080fd5b50610335610524366004612107565b610d8c565b34801561053557600080fd5b5061034c60125481565b34801561054b57600080fd5b5061033561055a3660046121d4565b610e74565b34801561056b57600080fd5b5061033561057a366004612209565b610f23565b34801561058b57600080fd5b506102d061059a366004611f67565b610f74565b3480156105ab57600080fd5b5061034c6105ba366004611fc1565b6001600160a01b03166000908152600c602052604090205490565b3480156105e157600080fd5b506103356105f0366004612289565b61105a565b34801561060157600080fd5b50614e2061034c565b34801561061657600080fd5b5060115460ff166102a6565b34801561062e57600080fd5b506103356110ce565b34801561064357600080fd5b50600b5461034c565b34801561065857600080fd5b50600161034c565b34801561066c57600080fd5b506102a661067b3660046122a5565b6001600160a01b03918216600090815260096020908152604080832093909416825291909152205460ff1690565b3480156106b557600080fd5b506103356106c4366004611fc1565b6110d7565b3480156106d557600080fd5b50606461034c565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061074057506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061077457507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b606060048054610789906122de565b80601f01602080910402602001604051908101604052809291908181526020018280546107b5906122de565b80156108025780601f106107d757610100808354040283529160200191610802565b820191906000526020600020905b8154815290600101906020018083116107e557829003601f168201915b5050505050905090565b6000610817826111b6565b61084d576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506000908152600860205260409020546001600160a01b031690565b600061087482610a2b565b9050806001600160a01b0316836001600160a01b031614156108c2576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b336001600160a01b038216148015906108e257506108e0813361067b565b155b15610919576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6109248383836111e2565b505050565b600f546001600160a01b031633146109885760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6109918161124b565b50565b610924838383611425565b61092483838360405180602001604052806000815250610f23565b600f546001600160a01b03163314610a145760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097f565b8051610a27906013906020840190611e29565b5050565b6000610a3682611661565b5192915050565b60138054610a4a906122de565b80601f0160208091040260200160405190810160405280929190818152602001828054610a76906122de565b8015610ac35780601f10610a9857610100808354040283529160200191610ac3565b820191906000526020600020905b815481529060010190602001808311610aa657829003601f168201915b505050505081565b60006001600160a01b038216610b0d576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b506001600160a01b031660009081526007602052604090205467ffffffffffffffff1690565b600f546001600160a01b03163314610b8d5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097f565b610b976000611796565b565b6000600e8281548110610bae57610bae612319565b6000918252602090912001546001600160a01b031692915050565b606060058054610789906122de565b60026010541415610c2b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015260640161097f565b6002601055323314610c7f5760405162461bcd60e51b815260206004820152600c60248201527f4d75737420626520757365720000000000000000000000000000000000000000604482015260640161097f565b60115460ff16610cd15760405162461bcd60e51b815260206004820152600f60248201527f4d696e74696e672073746f707065640000000000000000000000000000000000604482015260640161097f565b806000108015610ce2575060648111155b610d1e5760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a590818dbdd5b9d609a1b604482015260640161097f565b3481601254610d2d9190612345565b14610d7a5760405162461bcd60e51b815260206004820152600d60248201527f496e76616c696420707269636500000000000000000000000000000000000000604482015260640161097f565b610d8433826117f5565b506001601055565b600f546001600160a01b03163314610de65760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097f565b806000108015610df7575060648111155b610e335760405162461bcd60e51b815260206004820152600d60248201526c125b9d985b1a590818dbdd5b9d609a1b604482015260640161097f565b60005b825181101561092457610e62838281518110610e5457610e54612319565b6020026020010151836117f5565b80610e6c81612364565b915050610e36565b6001600160a01b038216331415610eb7576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b3360008181526009602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610f2e848484611425565b6001600160a01b0383163b15158015610f505750610f4e84848484611868565b155b15610f6e576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b6060610f7f826111b6565b610fcb5760405162461bcd60e51b815260206004820152600860248201527f4e6f20746f6b656e000000000000000000000000000000000000000000000000604482015260640161097f565b6000610fd5611951565b905060008151116110285760405162461bcd60e51b815260206004820152600a60248201527f4261736520756e73657400000000000000000000000000000000000000000000604482015260640161097f565b8061103284611960565b60405160200161104392919061237f565b604051602081830303815290604052915050919050565b600f546001600160a01b031633146110b45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097f565b6011805460ff19168315151790558015610a275760125550565b610b973361124b565b600f546001600160a01b031633146111315760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161097f565b6001600160a01b0381166111ad5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f6464726573730000000000000000000000000000000000000000000000000000606482015260840161097f565b61099181611796565b600060025482108015610774575050600090815260066020526040902054600160e01b900460ff161590565b600082815260086020526040808220805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6001600160a01b0381166000908152600c60205260409020546112d65760405162461bcd60e51b815260206004820152602660248201527f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060448201527f7368617265730000000000000000000000000000000000000000000000000000606482015260840161097f565b60006112e1600b5490565b6112eb90476123ae565b905060006113188383611313866001600160a01b03166000908152600d602052604090205490565b61196b565b90508061138d5760405162461bcd60e51b815260206004820152602b60248201527f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060448201527f647565207061796d656e74000000000000000000000000000000000000000000606482015260840161097f565b6001600160a01b0383166000908152600d6020526040812080548392906113b59084906123ae565b9250508190555080600b60008282546113ce91906123ae565b909155506113de905083826119a9565b604080516001600160a01b0385168152602081018390527fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b056910160405180910390a1505050565b600061143082611661565b9050836001600160a01b031681600001516001600160a01b031614611481576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000336001600160a01b038616148061149f575061149f853361067b565b806114ba5750336114af8461080c565b6001600160a01b0316145b9050806114f3576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038416611533576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61153f600084876111e2565b6001600160a01b038581166000908152600760209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600690945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116611615576002548214611615578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b60408051606081018252600080825260208201819052918101919091528160025481101561176457600081815260066020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff161515918101829052906117625780516001600160a01b0316156116f8579392505050565b5060001901600081815260066020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff161515928101929092521561175d579392505050565b6116f8565b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600f80546001600160a01b0383811673ffffffffffffffffffffffffffffffffffffffff19831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b614e20816118066003546002540390565b61181091906123ae565b111561185e5760405162461bcd60e51b815260206004820152600e60248201527f4c696d6974206578636565646564000000000000000000000000000000000000604482015260640161097f565b610a278282611ac2565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a029061189d9033908990889088906004016123c6565b6020604051808303816000875af19250505080156118d8575060408051601f3d908101601f191682019092526118d591810190612402565b60015b611933573d808015611906576040519150601f19603f3d011682016040523d82523d6000602084013e61190b565b606091505b50805161192b576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490505b949350505050565b606060138054610789906122de565b606061077482611adc565b600a546001600160a01b0384166000908152600c6020526040812054909183916119959086612345565b61199f9190612435565b6119499190612449565b804710156119f95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e6365000000604482015260640161097f565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611a46576040519150601f19603f3d011682016040523d82523d6000602084013e611a4b565b606091505b50509050806109245760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d61792068617665207265766572746564000000000000606482015260840161097f565b610a27828260405180602001604052806000815250611c0e565b606081611b1c57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611b465780611b3081612364565b9150611b3f9050600a83612435565b9150611b20565b60008167ffffffffffffffff811115611b6157611b6161201f565b6040519080825280601f01601f191660200182016040528015611b8b576020820181803683370190505b5090505b841561194957611ba0600183612449565b9150611bad600a86612460565b611bb89060306123ae565b60f81b818381518110611bcd57611bcd612319565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611c07600a86612435565b9450611b8f565b61092483838360016002546001600160a01b038516611c59576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b83611c90576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b038516600081815260076020908152604080832080547fffffffffffffffffffffffffffffffff00000000000000000000000000000000811667ffffffffffffffff8083168c0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168c01811690920217909155858452600690925290912080546001600160e01b031916909217600160a01b429092169190910217905580808501838015611d5157506001600160a01b0387163b15155b15611dda575b60405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4611da26000888480600101955088611868565b611dbf576040516368d2bf6b60e11b815260040160405180910390fd5b80821415611d57578260025414611dd557600080fd5b611e20565b5b6040516001830192906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a480821415611ddb575b5060025561165a565b828054611e35906122de565b90600052602060002090601f016020900481019282611e575760008555611e9d565b82601f10611e7057805160ff1916838001178555611e9d565b82800160010185558215611e9d579182015b82811115611e9d578251825591602001919060010190611e82565b50611ea9929150611ead565b5090565b5b80821115611ea95760008155600101611eae565b6001600160e01b03198116811461099157600080fd5b600060208284031215611eea57600080fd5b8135611ef581611ec2565b9392505050565b60005b83811015611f17578181015183820152602001611eff565b83811115610f6e5750506000910152565b60008151808452611f40816020860160208601611efc565b601f01601f19169290920160200192915050565b602081526000611ef56020830184611f28565b600060208284031215611f7957600080fd5b5035919050565b6001600160a01b038116811461099157600080fd5b60008060408385031215611fa857600080fd5b8235611fb381611f80565b946020939093013593505050565b600060208284031215611fd357600080fd5b8135611ef581611f80565b600080600060608486031215611ff357600080fd5b8335611ffe81611f80565b9250602084013561200e81611f80565b929592945050506040919091013590565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff8111828210171561205e5761205e61201f565b604052919050565b600067ffffffffffffffff8311156120805761208061201f565b612093601f8401601f1916602001612035565b90508281528383830111156120a757600080fd5b828260208301376000602084830101529392505050565b6000602082840312156120d057600080fd5b813567ffffffffffffffff8111156120e757600080fd5b8201601f810184136120f857600080fd5b61194984823560208401612066565b6000806040838503121561211a57600080fd5b823567ffffffffffffffff8082111561213257600080fd5b818501915085601f83011261214657600080fd5b813560208282111561215a5761215a61201f565b8160051b925061216b818401612035565b828152928401810192818101908985111561218557600080fd5b948201945b848610156121af578535935061219f84611f80565b838252948201949082019061218a565b9997909101359750505050505050565b803580151581146121cf57600080fd5b919050565b600080604083850312156121e757600080fd5b82356121f281611f80565b9150612200602084016121bf565b90509250929050565b6000806000806080858703121561221f57600080fd5b843561222a81611f80565b9350602085013561223a81611f80565b925060408501359150606085013567ffffffffffffffff81111561225d57600080fd5b8501601f8101871361226e57600080fd5b61227d87823560208401612066565b91505092959194509250565b6000806040838503121561229c57600080fd5b611fb3836121bf565b600080604083850312156122b857600080fd5b82356122c381611f80565b915060208301356122d381611f80565b809150509250929050565b600181811c908216806122f257607f821691505b6020821081141561231357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561235f5761235f61232f565b500290565b60006000198214156123785761237861232f565b5060010190565b60008351612391818460208801611efc565b8351908301906123a5818360208801611efc565b01949350505050565b600082198211156123c1576123c161232f565b500190565b60006001600160a01b038087168352808616602084015250836040830152608060608301526123f86080830184611f28565b9695505050505050565b60006020828403121561241457600080fd5b8151611ef581611ec2565b634e487b7160e01b600052601260045260246000fd5b6000826124445761244461241f565b500490565b60008282101561245b5761245b61232f565b500390565b60008261246f5761246f61241f565b50069056fea2646970667358221220be197ab50d8a07170a46e3741788524a330bf713eab081e25971bc6440c8714c64736f6c634300080b003368747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d594861746344456159726f555066476a3377536b32424333766f543738575169617331513968694e675a386e2f

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

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