Contract 0x8d609Bd201bEaea7DccbfbD9c22851e23Da68691 1

 
 
Txn Hash
Method
Block
From
To
Value
0xee93a9faa5788962592feaa8885b7dc35b988e55792f648e7f96bf06790e20cfSet Approval For...153744662022-08-20 0:31:081 min agoENS Name nfts-vault.eth IN  DourDarcels: DARCEL Token0 Ether0.00041869 9.07983456
0x1ecc9ed4eba52a612a57b7f637d13b002a390acaab3ca250d9241039c899e4dfSafe Transfer Fr...153742512022-08-19 23:45:0747 mins agoENS Name puschking.eth IN  DourDarcels: DARCEL Token0 Ether0.00050257 10.67203668
0x9b23441f2c98f76048b3f596339086f5aa5e65bc39c4bca977a3e0cb05af78cdSet Approval For...153720642022-08-19 15:25:369 hrs 7 mins ago0x0bf9b3e73b6ceb7596ab5273d99af6f3cc4a7f2e IN  DourDarcels: DARCEL Token0 Ether0.00048065 18.28629961
0x4433b4ff70e6bc588841f8cb3f8593ef4ff604b023e18c71e1e69c9a127b83a4Set Approval For...153720632022-08-19 15:24:469 hrs 8 mins ago0x0bf9b3e73b6ceb7596ab5273d99af6f3cc4a7f2e IN  DourDarcels: DARCEL Token0 Ether0.00039884 16.42340113
0xe57d1e86acd567ace99efb2fe67a429f3aa4673aa9c2e0d44189feaabc72fee0Safe Transfer Fr...153694852022-08-19 5:17:5919 hrs 14 mins ago0x2807e83c551c16d3871edded9df6efd0854ca119 IN  DourDarcels: DARCEL Token0 Ether0.00037674 8
0x285f642846a8bb8be1dae70a916d966a9321a8f9b4c11e36db2504042296e7e7Safe Transfer Fr...153694612022-08-19 5:13:1719 hrs 19 mins ago0x2807e83c551c16d3871edded9df6efd0854ca119 IN  DourDarcels: DARCEL Token0 Ether0.00039159 7.54617938
0x169a3818d25aafa59336ce84bc0142bfd5692030a05f58be4694ea58f29ecba6Safe Transfer Fr...153694362022-08-19 5:08:0619 hrs 24 mins ago0xa55e562bb4123693fc7c092cd5c55584e1b0f1d6 IN  DourDarcels: DARCEL Token0 Ether0.00044435 8.56498377
0x5a9a4faeb84eeefebc35c834a7c6cd48bc8f2771707f0e9c03d42e243a6d704fSafe Transfer Fr...153690972022-08-19 3:53:1520 hrs 39 mins ago0xa55e562bb4123693fc7c092cd5c55584e1b0f1d6 IN  DourDarcels: DARCEL Token0 Ether0.00045884 8.84220162
0x9d953b27cfc957ae8d2e5f049a738c2c731111ca2ff36bd4ca2ddd1db8ab99bfSet Approval For...153689712022-08-19 3:25:2421 hrs 7 mins ago0x165acdca27687a3931e621ae286c25a50bfa97d0 IN  DourDarcels: DARCEL Token0 Ether0.00041139 8.92139444
0x57746c3aa8d70d15536641652b9046794c9b0e600da2edf1d9598438a3fba3f4Safe Transfer Fr...153685602022-08-19 1:58:5522 hrs 33 mins ago0xa55e562bb4123693fc7c092cd5c55584e1b0f1d6 IN  DourDarcels: DARCEL Token0 Ether0.00091413 17.61576246
0x0743c14a3280a0e368bb2b6ce90a47af059699ed5951d57fb09c8a097425aed0Safe Transfer Fr...153675922022-08-18 22:18:471 day 2 hrs ago0x997e135e96114c0e84ffc58754552368e4abf329 IN  DourDarcels: DARCEL Token0 Ether0.00062791 13.33358936
0xae1e74322c0e5c3d928049fd6ddbc72ef4136709335e4f1088e28ad14fe59205Set Approval For...153661492022-08-18 16:52:121 day 7 hrs ago0xcad9a9ad59a666eae88e14f9faea0a5d2d2a01f4 IN  DourDarcels: DARCEL Token0 Ether0.00129839 28.15684042
0x29641e48acd5acd71fbd72353c0bac2583ca5ed17abf484f344583aa633df284Safe Transfer Fr...153661422022-08-18 16:50:281 day 7 hrs agoENS Name borg0.eth IN  DourDarcels: DARCEL Token0 Ether0.00123216 26.16448155
0x4b07be6e33039ab9155a991492f8d19d96131345d84175268debad2fa4cf5c33Set Approval For...153660822022-08-18 16:33:361 day 7 hrs ago0xf0bfd2bacfe0c2897c9d78918b8e6766e6eb0ccc IN  DourDarcels: DARCEL Token0 Ether0.00095804 20.77606241
0xa02c985eb0b7e22969bea5eae2faee812a64b8c476c088f8922078977e4ce7f1Set Approval For...153660312022-08-18 16:23:081 day 8 hrs ago0x087659f50e20e1b4c3c728fe32130e73f7b54a32 IN  DourDarcels: DARCEL Token0 Ether0.00141058 30.58975071
0xd0569453ef5a6cde6c054b736f365249880f3d3773fcddcacc09b928ec0fb8d2Set Approval For...153652912022-08-18 13:35:001 day 10 hrs agoENS Name theblap.eth IN  DourDarcels: DARCEL Token0 Ether0.00065669 14.24110327
0x6c5e4566937dfe1526c1b972de059e3557d9ab2b4a2a202c48b46e147603c9acSafe Transfer Fr...153652302022-08-18 13:20:431 day 11 hrs agoENS Name tboyd.eth IN  DourDarcels: DARCEL Token0 Ether0.00137585 15.38625246
0xdb1fad57da377cd2162fd7f5a7cfc802486e9e068e6be98551b217e5dde528efSet Approval For...153643322022-08-18 9:55:131 day 14 hrs agoENS Name *métàverse.eth IN  DourDarcels: DARCEL Token0 Ether0.00019373 7.97737244
0x579f54fb035ed60c337d93a9658867e2d1b26c5e3c281d23e8f42b42ceb6f380Set Approval For...153643162022-08-18 9:51:051 day 14 hrs ago0xd1563584b36f03bbe7319d3cf4183700b3bfb24e IN  DourDarcels: DARCEL Token0 Ether0.00024431 5.29808743
0xc7086b2be3f8a584a3e0d01d48253f8c177ee2f767a772262bebaa797fe3e5edSet Approval For...153636482022-08-18 7:16:051 day 17 hrs agoENS Name covariance.eth IN  DourDarcels: DARCEL Token0 Ether0.00036192 7.84856437
0x933ab5dc9ea20a1a46cfefde74354cbfc3246cf71ab943dffa2567d01f92fdd0Set Approval For...153632572022-08-18 5:37:441 day 18 hrs ago0x28bddc0ac771fe375e766acf0b3c8f7c092b769e IN  DourDarcels: DARCEL Token0 Ether0.00023178 5.02654679
0x05db91aeb3c2bf9c6e2bfe357f3c35566ffeac6368b332fd92b389d34b490588Set Approval For...153631992022-08-18 5:26:411 day 19 hrs ago0x163c29e5d553b3ecb5f31c2b7fb9714f66ebb8d9 IN  DourDarcels: DARCEL Token0 Ether0.0002106 4.56705726
0xdb67d42132e3cf4094dd85eb1473d6681f111d60551cb8812ee4bfedf51e41feSet Approval For...153627512022-08-18 3:48:121 day 20 hrs ago0x9b9bc08f18d62256f4a02684bd736ad3998f746a IN  DourDarcels: DARCEL Token0 Ether0.00034108 7.39662918
0x7529fb07ac6668764940a32bff24d708763b53c8178bb54c25e61b7ebdb4742bSet Approval For...153625712022-08-18 3:09:381 day 21 hrs ago0x059576e052fda76df317771ffdfb6663d1509e04 IN  DourDarcels: DARCEL Token0 Ether0.00027375 11.27274592
0xd12617292e88b4ed94ee8ee5b690b27a7d37e6fd61fe875c47b879f54b43de60Set Approval For...153609562022-08-17 20:57:542 days 3 hrs agoENS Name theivsf.eth IN  DourDarcels: DARCEL Token0 Ether0.00036231 7.85702673
[ Download CSV Export 

OVERVIEW

Dour Darcels are a collection of 10,000 moody frens from the world of Darcel Disappoints. Randomly generated and carefully curated, every Darcel is individual and unique – just like frens IRL. Each Darcel is a NFT that lives on the Ethereum blockchain and is the key to the Dour Darcels community.

Latest 16 internal transactions
Parent Txn Hash Block From To Value
0x9d8ebfe72c8a88ac6517a355c2d90d0845411615fed767a80c9a44fc4227fa6b143306002022-03-06 2:17:03166 days 22 hrs ago DourDarcels: DARCEL Token 0x7d114763a468db5850ba385ac39d20e5f44d7865985 Ether
0xa1bc4a62b87faaa8516e0bc92324b9e056954890dde380f53f00e2af7bf33e5d143295822022-03-05 22:25:00167 days 2 hrs ago 0xbe9825f4559cae4d4b5e78f4ca2fb09ecc0458ae DourDarcels: DARCEL Token0.1 Ether
0xfa0235763f550adc1e16ab2c442ce94208662c8e56327a62bb8fba1c6eead786143295602022-03-05 22:19:43167 days 2 hrs ago 0xae49ced7165ecee62afc684ae145aaad77e85a6f DourDarcels: DARCEL Token0.3 Ether
0xf311dffece41d21f9861fa8d36aecca45d9df4801e6889b3373c7450a21bb6a8143295412022-03-05 22:15:11167 days 2 hrs ago 0xd509724cbb4d65694d342e3b16358702078100a9 DourDarcels: DARCEL Token0.2 Ether
0xbd2230990d6d3e2b0592f396d9d69d001c8068aac7fe0bc7ae362f00aa792cb0143295002022-03-05 22:05:30167 days 2 hrs ago 0x509a99134855a9fba2ac0e28eb99fa47f7ffa20d DourDarcels: DARCEL Token0.3 Ether
0x58610c415930988d8db5ff095ec24e3ce23af862ce94ed8a01856f50f2e186e8143294932022-03-05 22:02:50167 days 2 hrs ago 0xafc45b149cf67677dd1a994925914239f6303eb6 DourDarcels: DARCEL Token0.3 Ether
0x3d1b9e1de85a8c6aa86274208f85d62ee9ebfa54cb9a8eccc932c7551586e2f8143294932022-03-05 22:02:50167 days 2 hrs ago 0xfc3cc401111922fd4ee3704b6a188e4dec55d967 DourDarcels: DARCEL Token0.1 Ether
0x8f71c3608e81c8b8da6c4c6f38904885a1106990ab42a342b25216320b977676143279742022-03-05 16:35:35167 days 7 hrs ago 0xb2b3b4fb72fb063f141ac2605619949e54608145 DourDarcels: DARCEL Token0.3 Ether
0xa60b30ee9ff99c1ac4061b103e0e9d45403bb670249df9bd3b2ecd7042fa524e143266612022-03-05 11:42:32167 days 12 hrs ago 0xf7fffd0843d222add5cb84c20536da5ebaa9124f DourDarcels: DARCEL Token0.3 Ether
0x14cf2c8f7373b4f5728252a0c7439a4da81faf9a1fb2c250b9aeee005239f8cb143261182022-03-05 9:43:43167 days 14 hrs ago 0xaf03894a2b6ee26082c44a5bc96ed96ac38655c4 DourDarcels: DARCEL Token0.3 Ether
0xd0ea5aa47ec25087161451c80478ef6124fdc688cf69b6ced7b5079adc55076e143258302022-03-05 8:40:17167 days 15 hrs ago 0x8dd7beb6d579db0ea9e5af9a3d5a18a937719c48 DourDarcels: DARCEL Token0.1 Ether
0x3e668879a3d29eb18f09a5797ac1c0445dd2e66b63cb6f562afa886f69aa9540143254402022-03-05 7:07:55167 days 17 hrs ago 0x6270f4d7877893ffe6faa1aebad98fd6c172eec4 DourDarcels: DARCEL Token0.3 Ether
0x16ce6663168bb5acbeb7f7079daeb4048bdfce2244a9ae0ba73fb3d3b1990608143251542022-03-05 6:01:39167 days 18 hrs ago 0xf5b42588e80fe172ac382f31c672fcfd168cd61c DourDarcels: DARCEL Token0.3 Ether
0x9673c258fbbadf0e244474ea5ca4465aa0a65adb2d9310802c31835aaca111db143238222022-03-05 0:54:08167 days 23 hrs ago 0x35f3b81f1e8d1651e070d3fedfe398502f4f4d71 DourDarcels: DARCEL Token0.3 Ether
0x6ebe92664bb282846802a23447a438dbc55ae0543f762290cc5e51657ca6e9d6143234312022-03-04 23:22:34168 days 1 hr ago 0x8949e08d1564388cd4906a332572c5eaef6540a4 DourDarcels: DARCEL Token0.1 Ether
0x2d9e17e8bd4993bf4a0da57265ab1c2631ec6e8387557aa36a5ab7a654259941143230842022-03-04 22:03:58168 days 2 hrs ago 0x07eda3c398855b3c23916cfe75f42421f232b30f DourDarcels: DARCEL Token0.2 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DourDarcels

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : DourDarcels.sol
// SPDX-License-Identifier: MIT

/*
MMMMMMMMMMMMMMMMMMMMMMMMMMMMWN0dl;'..      ..';ld0NWMMMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMXkc'.                  .'ckXMMMMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMWKd'                          'dKWMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMKo.                              .oKMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMNx'                                  'xNMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMW0:                                      :0WMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMNx.                                        .xNMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMXl.                                          .lXMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMK:                                              :KMMMMMMMMMMMMMMM
MMMMMMMMMMMMMM0;                .';:llooooll:;'.                ;0MMMMMMMMMMMMMM
MMMMMMMMMMMMW0,             .:okKNWMMMMMMMMMMWNKko:.             ,0WMMMMMMMMMMMM
MMMMMMMMMMMM0;           .:xXWMMMMMMMMMMMMMMMMMMMMWXx:.           ;0MMMMMMMMMMMM
MMMMMMMMMMMX:          .l0WMMMMMMMMMMMMMMMMMMMMMMMMMMW0l.          :XMMMMMMMMMMM
MMMMMMMMMMNl          :0WMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMW0:          lNMMMMMMMMMM
MMMMMMMMMWx.        .dNMMMMMMMMMMMWNKOkkkkOKNWMMMMMMMMMMMNd.        .xWMMMMMMMMM
MMMMMMMMM0,        .xWMMMMMMMMMWKd:..      ..:dKWMMMMMMMMMWx.        ,0MMMMMMMMM
MMMMMMMMNl        .oNMMMMMMMMMXo.              .oXMMMMMMMMMNo.        oNMMMMMMMM
MMMMMMMM0'        ;KMMMMMMMMM0;                  ;0MMMMMMMMMK;        '0MMMMMMMM
MMMMMMMWo         oWMMMMMMMMX:                    :XMMMMMMMMWo         oWMMMMMMM
MMMMMMMK;        .xMMMMMMMMMO.                    .OMMMMMMMMMx.        ;KMMMMMMM
MMMMMMMO.        .xMMMMMMMMMk.                    .kMMMMMMMMMx.        .OMMMMMMM
MMMMMMMd.         dWMMMMMMMMK;                    ;KMMMMMMMMWd         .xMMMMMMM
MMMMMMMd          ;XMMMMMMMMWk'                  'kWMMMMMMMMX;          dMMMMMMM
MMMMMMWo          .dWMMMMMMMMW0:.              .:0WMMMMMMMMWd.          dWMMMMMM
MMMMMMMd           .kWMMMMMMMMMNOl'.        .'lONMMMMMMMMMWk.           dMMMMMMM
MMMMMMMx.           'kWMMMMMMMMMMWN0kdoooodk0NWMMMMMMMMMMWk.           .xMMMMMMM
MMMMMMMO.            .oXMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMXo.            .OMMMMMMM
MMMMMMMXc              'xXWMMMMMMMMMMMMMMMMMMMMMMMMMMWXx'              cXMMMMMMM
MMMMMMMMk.               'o0NMMMMMMMMMMMMMMMMMMMMMMN0o'               .kMMMMMMMM
MMMMMMMMNo.                .,lkKNWMMMMMMMMMMMMWNKkl,.                .oNMMMMMMMM
MMMMMMMMMXc                    .':lodxkkkkxdol:'.                    cXMMMMMMMMM
MMMMMMMMMMXc                                                        cXMMMMMMMMMM
MMMMMMMMMMMXo.                                                    .oXMMMMMMMMMMM
MMMMMMMMMMMMWk,                                                  ,kWMMMMMMMMMMMM
MMMMMMMMMMMMMMXo.                 ,:.      .:,                 .oXMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMWKo'               ;kOo::::oOk;               'oKWMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMWXx;.             .;loddol,.             .;xXWMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMW0d:.                              .:d0WMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMWXko:'.                    .':okXWMMMMMMMMMMMMMMMMMMMMMMM
MMMMMMMMMMMMMMMMMMMMMMMMMMMWXOdc,..          ..,cdOXWMMMMMMMMMMMMMMMMMMMMMMMMMMM

*/

pragma solidity ^0.8.0;

import '@openzeppelin/contracts/security/ReentrancyGuard.sol';
import '@openzeppelin/contracts/access/AccessControl.sol';
import 'erc721a/contracts/ERC721A.sol';
import './lib/MerkleDistributor.sol';

contract DourDarcels is ERC721A, MerkleDistributor, ReentrancyGuard, AccessControl {
    bytes32 public constant SUPPORT_ROLE = keccak256('SUPPORT');
    uint256 public constant MAX_SUPPLY = 10000;
    uint256 public constant MAX_ALLOWLIST_MINT = 3;
    uint256 public constant MAX_PUBLIC_MINT = 3;
    uint256 public constant MAX_RESERVE_SUPPLY = 150;
    uint256 public constant PRICE_PER_TOKEN = 0.1 ether;

    string public provenance;
    string private _baseURIextended;
    bool public saleActive;
    uint256 public reserveSupply;

    address payable public immutable shareholderAddress;

    constructor(address payable shareholderAddress_) ERC721A("Dour Darcels", "DARCEL") {
        require(shareholderAddress_ != address(0));

        // set immutable variables
        shareholderAddress = shareholderAddress_;

        // setup roles
        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
        _setupRole(SUPPORT_ROLE, msg.sender);
    }

    modifier ableToMint(uint256 numberOfTokens) {
        require(totalSupply() + numberOfTokens <= MAX_SUPPLY, 'Purchase would exceed max tokens');
        _;
    }

    modifier isPublicSaleActive() {
        require(saleActive, 'Public sale is not active');
        _;
    }

    /**
     * admin
     */
    function devMint(uint256 numberOfTokens) external onlyRole(SUPPORT_ROLE) ableToMint(numberOfTokens) nonReentrant {
        require(reserveSupply + numberOfTokens <= MAX_RESERVE_SUPPLY, 'Number would exceed max reserve supply');

        reserveSupply += numberOfTokens;
        _safeMint(msg.sender, numberOfTokens);
    }

    function setSaleActive(bool state) external onlyRole(SUPPORT_ROLE) {
        saleActive = state;
    }

    /**
     * allow list
     */
    function setAllowListActive(bool allowListActive) external onlyRole(SUPPORT_ROLE) {
        _setAllowListActive(allowListActive);
    }

    function setAllowList(bytes32 merkleRoot) external onlyRole(SUPPORT_ROLE) {
        _setAllowList(merkleRoot);
    }

    /**
     * tokens
     */
    function setBaseURI(string memory baseURI_) external onlyRole(SUPPORT_ROLE) {
        _baseURIextended = baseURI_;
    }

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

    function setProvenance(string memory provenance_) external onlyRole(SUPPORT_ROLE) {
        provenance = provenance_;
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControl, ERC721A) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    /**
     * public
     */
    function mintAllowList(uint256 numberOfTokens, bytes32[] memory merkleProof)
        external
        payable
        isAllowListActive
        ableToClaim(msg.sender, merkleProof)
        tokensAvailable(msg.sender, numberOfTokens, MAX_ALLOWLIST_MINT)
        ableToMint(numberOfTokens)
        nonReentrant
    {
        require(numberOfTokens * PRICE_PER_TOKEN == msg.value, 'Ether value sent is not correct');

        _setAllowListMinted(msg.sender, numberOfTokens);
        _safeMint(msg.sender, numberOfTokens);
    }

    function mint(uint256 numberOfTokens) external payable isPublicSaleActive ableToMint(numberOfTokens) nonReentrant {
        require(numberOfTokens <= MAX_PUBLIC_MINT, 'Exceeded max token purchase');
        require(numberOfTokens * PRICE_PER_TOKEN == msg.value, 'Ether value sent is not correct');

        _safeMint(msg.sender, numberOfTokens);
    }

    /**
     * withdraw
     */
    function withdraw() external onlyRole(DEFAULT_ADMIN_ROLE) nonReentrant {
        (bool success, ) = shareholderAddress.call{value: address(this).balance}('');
        require(success, 'Transfer failed.');
    }
}

File 2 of 15 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make 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 3 of 15 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";
import "../utils/Strings.sol";
import "../utils/introspection/ERC165.sol";

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);

    function getRoleAdmin(bytes32 role) external view returns (bytes32);

    function grantRole(bytes32 role, address account) external;

    function revokeRole(bytes32 role, address account) external;

    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping(address => bool) members;
        bytes32 adminRole;
    }

    mapping(bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{20}) is missing role (0x[0-9a-f]{32})$/
     */
    function _checkRole(bytes32 role, address account) internal view {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override onlyRole(getRoleAdmin(role)) {
        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 4 of 15 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creator: Chiru Labs

pragma solidity ^0.8.0;

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

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

    struct TokenOwnership {
        address addr;
        uint64 startTimestamp;
    }

    struct AddressData {
        uint128 balance;
        uint128 numberMinted;
    }

    uint256 internal currentIndex;

    // 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_;
    }

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

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
     * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        require(index < balanceOf(owner), 'ERC721A: owner index out of bounds');
        uint256 numMintedSoFar = totalSupply();
        uint256 tokenIdsIdx;
        address currOwnershipAddr;

        // Counter overflow is impossible as the loop breaks when uint256 i is equal to another uint256 numMintedSoFar.
        unchecked {
            for (uint256 i; i < numMintedSoFar; i++) {
                TokenOwnership memory ownership = _ownerships[i];
                if (ownership.addr != address(0)) {
                    currOwnershipAddr = ownership.addr;
                }
                if (currOwnershipAddr == owner) {
                    if (tokenIdsIdx == index) {
                        return i;
                    }
                    tokenIdsIdx++;
                }
            }
        }

        revert('ERC721A: unable to get token of owner by index');
    }

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

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

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

    /**
     * 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) {
        require(_exists(tokenId), 'ERC721A: owner query for nonexistent token');

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

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

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

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

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

    /**
     * @dev See {IERC721Metadata-tokenURI}.
     */
    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        require(_exists(tokenId), 'ERC721Metadata: URI query for nonexistent token');

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

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

    /**
     * @dev See {IERC721-approve}.
     */
    function approve(address to, uint256 tokenId) public override {
        address owner = ERC721A.ownerOf(tokenId);
        require(to != owner, 'ERC721A: approval to current owner');

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

        _approve(to, tokenId, owner);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

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

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

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

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

    /**
     * @dev 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;
        require(to != address(0), 'ERC721A: mint to the zero address');
        require(quantity != 0, 'ERC721A: quantity must be greater than 0');

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

        // Overflows are incredibly unrealistic.
        // balance or numberMinted overflow if current value of either + quantity > 3.4e38 (2**128) - 1
        // updatedIndex overflows if currentIndex + quantity > 1.56e77 (2**256) - 1
        unchecked {
            _addressData[to].balance += uint128(quantity);
            _addressData[to].numberMinted += uint128(quantity);

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

            uint256 updatedIndex = startTokenId;

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

                updatedIndex++;
            }

            currentIndex = updatedIndex;
        }

        _afterTokenTransfers(address(0), to, startTokenId, quantity);
    }

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

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

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

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

        _beforeTokenTransfers(from, to, tokenId, 1);

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

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

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

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

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

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

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

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

File 5 of 15 : MerkleDistributor.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/cryptography/MerkleProof.sol';

contract MerkleDistributor {
    bytes32 public merkleRoot;
    bool public allowListActive = false;

    mapping(address => uint256) private _allowListNumMinted;

    /**
     * @dev emitted when an account has claimed some tokens
     */
    event Claimed(address indexed account, uint256 amount);

    /**
     * @dev emitted when the merkle root has changed
     */
    event MerkleRootChanged(bytes32 merkleRoot);

    /**
     * @dev throws when allow list is not active
     */
    modifier isAllowListActive() {
        require(allowListActive, 'Allow list is not active');
        _;
    }

    /**
     * @dev throws when number of tokens exceeds total token amount
     */
    modifier tokensAvailable(
        address to,
        uint256 numberOfTokens,
        uint256 totalTokenAmount
    ) {
        uint256 claimed = getAllowListMinted(to);
        require(claimed + numberOfTokens <= totalTokenAmount, 'Purchase would exceed number of tokens allotted');
        _;
    }

    /**
     * @dev throws when parameters sent by claimer is incorrect
     */
    modifier ableToClaim(address claimer, bytes32[] memory proof) {
        require(onAllowList(claimer, proof), 'Not on allow list');
        _;
    }

    /**
     * @dev sets the state of the allow list
     */
    function _setAllowListActive(bool allowListActive_) internal virtual {
        allowListActive = allowListActive_;
    }

    /**
     * @dev sets the merkle root
     */
    function _setAllowList(bytes32 merkleRoot_) internal virtual {
        merkleRoot = merkleRoot_;

        emit MerkleRootChanged(merkleRoot);
    }

    /**
     * @dev adds the number of tokens to the incoming address
     */
    function _setAllowListMinted(address to, uint256 numberOfTokens) internal virtual {
        _allowListNumMinted[to] += numberOfTokens;

        emit Claimed(to, numberOfTokens);
    }

    /**
     * @dev gets the number of tokens from the address
     */
    function getAllowListMinted(address from) public view virtual returns (uint256) {
        return _allowListNumMinted[from];
    }

    /**
     * @dev checks if the claimer has a valid proof
     */
    function onAllowList(address claimer, bytes32[] memory proof) public view returns (bool) {
        bytes32 leaf = keccak256(abi.encodePacked(claimer));
        return MerkleProof.verify(proof, merkleRoot, leaf);
    }
}

File 6 of 15 : Context.sol
// SPDX-License-Identifier: MIT

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 7 of 15 : Strings.sol
// SPDX-License-Identifier: MIT

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 8 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT

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 9 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 10 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT

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 11 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

File 12 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 13 of 15 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 14 of 15 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 15 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address payable","name":"shareholderAddress_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"MerkleRootChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_ALLOWLIST_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PUBLIC_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVE_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE_PER_TOKEN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPORT_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"allowListActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"}],"name":"getAllowListMinted","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"numberOfTokens","type":"uint256"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"mintAllowList","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"claimer","type":"address"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"onAllowList","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"provenance","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reserveSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"setAllowList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"allowListActive","type":"bool"}],"name":"setAllowListActive","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":"string","name":"provenance_","type":"string"}],"name":"setProvenance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"state","type":"bool"}],"name":"setSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shareholderAddress","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526008805460ff191690553480156200001b57600080fd5b506040516200340c3803806200340c8339810160408190526200003e916200026e565b604080518082018252600c81526b446f75722044617263656c7360a01b60208083019182528351808501909452600684526511105490d15360d21b9084015281519192916200009091600191620001c8565b508051620000a6906002906020840190620001c8565b50506001600a55506001600160a01b038116620000c257600080fd5b6001600160601b0319606082901b16608052620000e160003362000114565b6200010d7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b3362000114565b50620002dd565b62000120828262000124565b5050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1662000120576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055620001843390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b828054620001d690620002a0565b90600052602060002090601f016020900481019282620001fa576000855562000245565b82601f106200021557805160ff191683800117855562000245565b8280016001018555821562000245579182015b828111156200024557825182559160200191906001019062000228565b506200025392915062000257565b5090565b5b8082111562000253576000815560010162000258565b6000602082840312156200028157600080fd5b81516001600160a01b03811681146200029957600080fd5b9392505050565b600181811c90821680620002b557607f821691505b60208210811415620002d757634e487b7160e01b600052602260045260246000fd5b50919050565b60805160601c61310962000303600039600081816106fa015261105101526131096000f3fe6080604052600436106102f25760003560e01c80636352211e1161018f57806395d89b41116100e1578063b88d4fde1161008a578063e985e9c511610064578063e985e9c514610842578063fa05a6571461088b578063ffe630b51461089e57600080fd5b8063b88d4fde146107e2578063c87b56dd14610802578063d547741f1461082257600080fd5b8063a22cb465116100bb578063a22cb4651461078d578063a4a5e763146107ad578063b32c5680146107c257600080fd5b806395d89b4114610750578063a0712d6814610765578063a217fddf1461077857600080fd5b8063833b94991161014357806391d148541161011d57806391d14854146106a2578063943d40e7146106e857806394b059ab1461071c57600080fd5b8063833b949914610646578063841718a61461066257806384584d071461068257600080fd5b806368428a1b1161017457806368428a1b1461060c57806370a082311461062657806372f85d51146105f757600080fd5b80636352211e146105d757806365f13097146105f757600080fd5b80632f745c59116102485780633ccfd60b116101fc5780634f6ccce7116101d65780634f6ccce71461056157806355f804b3146105815780635ea1ef52146105a157600080fd5b80633ccfd60b1461051257806342842e0e14610527578063457dbf211461054757600080fd5b806336568abe1161022d57806336568abe146104b2578063375a069a146104d25780633a73c58d146104f257600080fd5b80632f745c591461047c57806332cb6b0c1461049c57600080fd5b80630f7309e8116102aa578063248a9ca311610284578063248a9ca3146104165780632eb4a7ab146104465780632f2ff15d1461045c57600080fd5b80630f7309e8146103cc57806318160ddd146103e157806323b872dd146103f657600080fd5b806306fdde03116102db57806306fdde0314610350578063081812fc14610372578063095ea7b3146103aa57600080fd5b806301ffc9a7146102f757806303d41eb61461032c575b600080fd5b34801561030357600080fd5b50610317610312366004612d43565b6108be565b60405190151581526020015b60405180910390f35b34801561033857600080fd5b50610342600f5481565b604051908152602001610323565b34801561035c57600080fd5b506103656108cf565b6040516103239190612f0f565b34801561037e57600080fd5b5061039261038d366004612d07565b610961565b6040516001600160a01b039091168152602001610323565b3480156103b657600080fd5b506103ca6103c5366004612cc2565b610a01565b005b3480156103d857600080fd5b50610365610b34565b3480156103ed57600080fd5b50600054610342565b34801561040257600080fd5b506103ca610411366004612b92565b610bc2565b34801561042257600080fd5b50610342610431366004612d07565b6000908152600b602052604090206001015490565b34801561045257600080fd5b5061034260075481565b34801561046857600080fd5b506103ca610477366004612d20565b610bcd565b34801561048857600080fd5b50610342610497366004612cc2565b610bf3565b3480156104a857600080fd5b5061034261271081565b3480156104be57600080fd5b506103ca6104cd366004612d20565b610d7a565b3480156104de57600080fd5b506103ca6104ed366004612d07565b610e06565b3480156104fe57600080fd5b506103ca61050d366004612cec565b610fa0565b34801561051e57600080fd5b506103ca610fdd565b34801561053357600080fd5b506103ca610542366004612b92565b61110b565b34801561055357600080fd5b506008546103179060ff1681565b34801561056d57600080fd5b5061034261057c366004612d07565b611126565b34801561058d57600080fd5b506103ca61059c366004612d7d565b6111a2565b3480156105ad57600080fd5b506103426105bc366004612b44565b6001600160a01b031660009081526009602052604090205490565b3480156105e357600080fd5b506103926105f2366004612d07565b6111e0565b34801561060357600080fd5b50610342600381565b34801561061857600080fd5b50600e546103179060ff1681565b34801561063257600080fd5b50610342610641366004612b44565b6111f2565b34801561065257600080fd5b5061034267016345785d8a000081565b34801561066e57600080fd5b506103ca61067d366004612cec565b61129e565b34801561068e57600080fd5b506103ca61069d366004612d07565b6112dd565b3480156106ae57600080fd5b506103176106bd366004612d20565b6000918252600b602090815260408084206001600160a01b0393909316845291905290205460ff1690565b3480156106f457600080fd5b506103927f000000000000000000000000000000000000000000000000000000000000000081565b34801561072857600080fd5b506103427fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b81565b34801561075c57600080fd5b50610365611311565b6103ca610773366004612d07565b611320565b34801561078457600080fd5b50610342600081565b34801561079957600080fd5b506103ca6107a8366004612c98565b6114eb565b3480156107b957600080fd5b50610342609681565b3480156107ce57600080fd5b506103176107dd366004612c4a565b6115b0565b3480156107ee57600080fd5b506103ca6107fd366004612bce565b611601565b34801561080e57600080fd5b5061036561081d366004612d07565b611690565b34801561082e57600080fd5b506103ca61083d366004612d20565b61176c565b34801561084e57600080fd5b5061031761085d366004612b5f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6103ca610899366004612dc6565b611792565b3480156108aa57600080fd5b506103ca6108b9366004612d7d565b611a12565b60006108c982611a50565b92915050565b6060600180546108de90612ff8565b80601f016020809104026020016040519081016040528092919081815260200182805461090a90612ff8565b80156109575780601f1061092c57610100808354040283529160200191610957565b820191906000526020600020905b81548152906001019060200180831161093a57829003601f168201915b5050505050905090565b600061096e826000541190565b6109e55760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201527f78697374656e7420746f6b656e0000000000000000000000000000000000000060648201526084015b60405180910390fd5b506000908152600560205260409020546001600160a01b031690565b6000610a0c826111e0565b9050806001600160a01b0316836001600160a01b03161415610a965760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201527f657200000000000000000000000000000000000000000000000000000000000060648201526084016109dc565b336001600160a01b0382161480610ab25750610ab2813361085d565b610b245760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c0000000000000060648201526084016109dc565b610b2f838383611a8e565b505050565b600c8054610b4190612ff8565b80601f0160208091040260200160405190810160405280929190818152602001828054610b6d90612ff8565b8015610bba5780601f10610b8f57610100808354040283529160200191610bba565b820191906000526020600020905b815481529060010190602001808311610b9d57829003601f168201915b505050505081565b610b2f838383611b02565b6000828152600b6020526040902060010154610be98133611e33565b610b2f8383611eb3565b6000610bfe836111f2565b8210610c725760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e60448201527f647300000000000000000000000000000000000000000000000000000000000060648201526084016109dc565b600080549080805b83811015610d0b576000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610ccd57805192505b876001600160a01b0316836001600160a01b03161415610d025786841415610cfb575093506108c992505050565b6001909301925b50600101610c7a565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201527f6f776e657220627920696e64657800000000000000000000000000000000000060648201526084016109dc565b6001600160a01b0381163314610df85760405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201527f20726f6c657320666f722073656c66000000000000000000000000000000000060648201526084016109dc565b610e028282611f55565b5050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b610e318133611e33565b8161271081610e3f60005490565b610e499190612f53565b1115610e975760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016109dc565b6002600a541415610eea5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109dc565b6002600a55600f54609690610f00908590612f53565b1115610f745760405162461bcd60e51b815260206004820152602660248201527f4e756d62657220776f756c6420657863656564206d617820726573657276652060448201527f737570706c79000000000000000000000000000000000000000000000000000060648201526084016109dc565b82600f6000828254610f869190612f53565b90915550610f9690503384611fd8565b50506001600a5550565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b610fcb8133611e33565b6008805460ff19168315151790555050565b6000610fe98133611e33565b6002600a54141561103c5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109dc565b6002600a556040516000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169047908381818185875af1925050503d80600081146110ac576040519150601f19603f3d011682016040523d82523d6000602084013e6110b1565b606091505b50509050806111025760405162461bcd60e51b815260206004820152601060248201527f5472616e73666572206661696c65642e0000000000000000000000000000000060448201526064016109dc565b50506001600a55565b610b2f83838360405180602001604052806000815250611601565b60008054821061119e5760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f7560448201527f6e6473000000000000000000000000000000000000000000000000000000000060648201526084016109dc565b5090565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b6111cd8133611e33565b8151610b2f90600d9060208501906129aa565b60006111eb82611ff2565b5192915050565b60006001600160a01b0382166112705760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084016109dc565b506001600160a01b03166000908152600460205260409020546fffffffffffffffffffffffffffffffff1690565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b6112c98133611e33565b50600e805460ff1916911515919091179055565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b6113088133611e33565b610e02826120dc565b6060600280546108de90612ff8565b600e5460ff166113725760405162461bcd60e51b815260206004820152601960248201527f5075626c69632073616c65206973206e6f74206163746976650000000000000060448201526064016109dc565b806127108161138060005490565b61138a9190612f53565b11156113d85760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016109dc565b6002600a54141561142b5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109dc565b6002600a5560038211156114815760405162461bcd60e51b815260206004820152601b60248201527f4578636565646564206d617820746f6b656e207075726368617365000000000060448201526064016109dc565b3461149467016345785d8a000084612f7f565b146114e15760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109dc565b6111023383611fd8565b6001600160a01b0382163314156115445760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c657200000000000060448201526064016109dc565b3360008181526006602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6040516bffffffffffffffffffffffff19606084901b16602082015260009081906034016040516020818303038152906040528051906020012090506115f98360075483612117565b949350505050565b61160c848484611b02565b611618848484846121c6565b61168a5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016109dc565b50505050565b606061169d826000541190565b61170f5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e000000000000000000000000000000000060648201526084016109dc565b6000611719612329565b905080516000141561173a5760405180602001604052806000815250611765565b8061174484612338565b604051602001611755929190612e23565b6040516020818303038152906040525b9392505050565b6000828152600b60205260409020600101546117888133611e33565b610b2f8383611f55565b60085460ff166117e45760405162461bcd60e51b815260206004820152601860248201527f416c6c6f77206c697374206973206e6f7420616374697665000000000000000060448201526064016109dc565b33816117f082826115b0565b61183c5760405162461bcd60e51b815260206004820152601160248201527f4e6f74206f6e20616c6c6f77206c69737400000000000000000000000000000060448201526064016109dc565b3360008181526009602052604090205485906003908161185c8483612f53565b11156118d05760405162461bcd60e51b815260206004820152602f60248201527f507572636861736520776f756c6420657863656564206e756d626572206f662060448201527f746f6b656e7320616c6c6f74746564000000000000000000000000000000000060648201526084016109dc565b87612710816118de60005490565b6118e89190612f53565b11156119365760405162461bcd60e51b815260206004820181905260248201527f507572636861736520776f756c6420657863656564206d617820746f6b656e7360448201526064016109dc565b6002600a5414156119895760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064016109dc565b6002600a55346119a167016345785d8a00008b612f7f565b146119ee5760405162461bcd60e51b815260206004820152601f60248201527f45746865722076616c75652073656e74206973206e6f7420636f72726563740060448201526064016109dc565b6119f8338a612436565b611a02338a611fd8565b50506001600a5550505050505050565b7fd8acb51ff3d48f690a25887aaf234c4ae5a66ab9839243cd8e2b639cade0663b611a3d8133611e33565b8151610b2f90600c9060208501906129aa565b60006001600160e01b031982167f7965db0b0000000000000000000000000000000000000000000000000000000014806108c957506108c9826124a5565b60008281526005602052604080822080547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000611b0d82611ff2565b80519091506000906001600160a01b0316336001600160a01b03161480611b44575033611b3984610961565b6001600160a01b0316145b80611b5657508151611b56903361085d565b905080611bcb5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016109dc565b846001600160a01b031682600001516001600160a01b031614611c565760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f727265637460448201527f206f776e6572000000000000000000000000000000000000000000000000000060648201526084016109dc565b6001600160a01b038416611cd25760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016109dc565b611ce26000848460000151611a8e565b6001600160a01b03858116600090815260046020908152604080832080546fffffffffffffffffffffffffffffffff198082166fffffffffffffffffffffffffffffffff928316600019018316179092558986168086528386208054938416938316600190810190931693909317909255888552600390935281842080546001600160e01b031916909117600160a01b4267ffffffffffffffff1602179055908601808352912054909116611de957611d9c816000541190565b15611de9578251600082815260036020908152604090912080549186015167ffffffffffffffff16600160a01b026001600160e01b03199092166001600160a01b03909316929092171790555b5082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16610e0257611e71816001600160a01b03166014612574565b611e7c836020612574565b604051602001611e8d929190612e52565b60408051601f198184030181529082905262461bcd60e51b82526109dc91600401612f0f565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff16610e02576000828152600b602090815260408083206001600160a01b03851684529091529020805460ff19166001179055611f113390565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6000828152600b602090815260408083206001600160a01b038516845290915290205460ff1615610e02576000828152600b602090815260408083206001600160a01b0385168085529252808320805460ff1916905551339285917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45050565b610e02828260405180602001604052806000815250612739565b6040805180820190915260008082526020820152612011826000541190565b6120835760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e6578697360448201527f74656e7420746f6b656e0000000000000000000000000000000000000000000060648201526084016109dc565b815b6000818152600360209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff1691830191909152156120d2579392505050565b5060001901612085565b60078190556040518181527f1b930366dfeaa7eb3b325021e4ae81e36527063452ee55b86c95f85b36f4c31c9060200160405180910390a150565b600081815b85518110156121bb5760008682815181106121395761213961308e565b6020026020010151905080831161217b5760408051602081018590529081018290526060016040516020818303038152906040528051906020012092506121a8565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806121b381613033565b91505061211c565b509092149392505050565b60006001600160a01b0384163b1561231e57604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061220a903390899088908890600401612ed3565b602060405180830381600087803b15801561222457600080fd5b505af1925050508015612254575060408051601f3d908101601f1916820190925261225191810190612d60565b60015b612304573d808015612282576040519150601f19603f3d011682016040523d82523d6000602084013e612287565b606091505b5080516122fc5760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016109dc565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506115f9565b506001949350505050565b6060600d80546108de90612ff8565b60608161235c5750506040805180820190915260018152600360fc1b602082015290565b8160005b8115612386578061237081613033565b915061237f9050600a83612f6b565b9150612360565b60008167ffffffffffffffff8111156123a1576123a16130a4565b6040519080825280601f01601f1916602001820160405280156123cb576020820181803683370190505b5090505b84156115f9576123e0600183612f9e565b91506123ed600a8661304e565b6123f8906030612f53565b60f81b81838151811061240d5761240d61308e565b60200101906001600160f81b031916908160001a90535061242f600a86612f6b565b94506123cf565b6001600160a01b0382166000908152600960205260408120805483929061245e908490612f53565b90915550506040518181526001600160a01b038316907fd8138f8a3f377c5259ca548e70e4c2de94f129f5a11036a15b69513cba2b426a9060200160405180910390a25050565b60006001600160e01b031982167f80ac58cd00000000000000000000000000000000000000000000000000000000148061250857506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061253c57506001600160e01b031982167f780e9d6300000000000000000000000000000000000000000000000000000000145b806108c957507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316146108c9565b60606000612583836002612f7f565b61258e906002612f53565b67ffffffffffffffff8111156125a6576125a66130a4565b6040519080825280601f01601f1916602001820160405280156125d0576020820181803683370190505b509050600360fc1b816000815181106125eb576125eb61308e565b60200101906001600160f81b031916908160001a9053507f7800000000000000000000000000000000000000000000000000000000000000816001815181106126365761263661308e565b60200101906001600160f81b031916908160001a905350600061265a846002612f7f565b612665906001612f53565b90505b60018111156126ea577f303132333435363738396162636465660000000000000000000000000000000085600f16601081106126a6576126a661308e565b1a60f81b8282815181106126bc576126bc61308e565b60200101906001600160f81b031916908160001a90535060049490941c936126e381612fe1565b9050612668565b5083156117655760405162461bcd60e51b815260206004820181905260248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e7460448201526064016109dc565b610b2f83838360016000546001600160a01b0385166127c05760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016109dc565b836128335760405162461bcd60e51b815260206004820152602860248201527f455243373231413a207175616e74697479206d7573742062652067726561746560448201527f72207468616e203000000000000000000000000000000000000000000000000060648201526084016109dc565b6001600160a01b038516600081815260046020908152604080832080547001000000000000000000000000000000006fffffffffffffffffffffffffffffffff1982166fffffffffffffffffffffffffffffffff9283168c01831690811782900483168c01909216021790558483526003909152812080546001600160e01b031916909217600160a01b4267ffffffffffffffff16021790915581905b858110156129a15760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a483156129955761292360008884886121c6565b6129955760405162461bcd60e51b815260206004820152603360248201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260448201527f6563656976657220696d706c656d656e7465720000000000000000000000000060648201526084016109dc565b600191820191016128d0565b50600055611e2c565b8280546129b690612ff8565b90600052602060002090601f0160209004810192826129d85760008555612a1e565b82601f106129f157805160ff1916838001178555612a1e565b82800160010185558215612a1e579182015b82811115612a1e578251825591602001919060010190612a03565b5061119e9291505b8082111561119e5760008155600101612a26565b600067ffffffffffffffff831115612a5457612a546130a4565b612a67601f8401601f1916602001612f22565b9050828152838383011115612a7b57600080fd5b828260208301376000602084830101529392505050565b80356001600160a01b0381168114612aa957600080fd5b919050565b600082601f830112612abf57600080fd5b8135602067ffffffffffffffff821115612adb57612adb6130a4565b8160051b612aea828201612f22565b838152828101908684018388018501891015612b0557600080fd5b600093505b85841015612b28578035835260019390930192918401918401612b0a565b50979650505050505050565b80358015158114612aa957600080fd5b600060208284031215612b5657600080fd5b61176582612a92565b60008060408385031215612b7257600080fd5b612b7b83612a92565b9150612b8960208401612a92565b90509250929050565b600080600060608486031215612ba757600080fd5b612bb084612a92565b9250612bbe60208501612a92565b9150604084013590509250925092565b60008060008060808587031215612be457600080fd5b612bed85612a92565b9350612bfb60208601612a92565b925060408501359150606085013567ffffffffffffffff811115612c1e57600080fd5b8501601f81018713612c2f57600080fd5b612c3e87823560208401612a3a565b91505092959194509250565b60008060408385031215612c5d57600080fd5b612c6683612a92565b9150602083013567ffffffffffffffff811115612c8257600080fd5b612c8e85828601612aae565b9150509250929050565b60008060408385031215612cab57600080fd5b612cb483612a92565b9150612b8960208401612b34565b60008060408385031215612cd557600080fd5b612cde83612a92565b946020939093013593505050565b600060208284031215612cfe57600080fd5b61176582612b34565b600060208284031215612d1957600080fd5b5035919050565b60008060408385031215612d3357600080fd5b82359150612b8960208401612a92565b600060208284031215612d5557600080fd5b8135611765816130ba565b600060208284031215612d7257600080fd5b8151611765816130ba565b600060208284031215612d8f57600080fd5b813567ffffffffffffffff811115612da657600080fd5b8201601f81018413612db757600080fd5b6115f984823560208401612a3a565b60008060408385031215612dd957600080fd5b82359150602083013567ffffffffffffffff811115612c8257600080fd5b60008151808452612e0f816020860160208601612fb5565b601f01601f19169290920160200192915050565b60008351612e35818460208801612fb5565b835190830190612e49818360208801612fb5565b01949350505050565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000815260008351612e8a816017850160208801612fb5565b7f206973206d697373696e6720726f6c65200000000000000000000000000000006017918401918201528351612ec7816028840160208801612fb5565b01602801949350505050565b60006001600160a01b03808716835280861660208401525083604083015260806060830152612f056080830184612df7565b9695505050505050565b6020815260006117656020830184612df7565b604051601f8201601f1916810167ffffffffffffffff81118282101715612f4b57612f4b6130a4565b604052919050565b60008219821115612f6657612f66613062565b500190565b600082612f7a57612f7a613078565b500490565b6000816000190483118215151615612f9957612f99613062565b500290565b600082821015612fb057612fb0613062565b500390565b60005b83811015612fd0578181015183820152602001612fb8565b8381111561168a5750506000910152565b600081612ff057612ff0613062565b506000190190565b600181811c9082168061300c57607f821691505b6020821081141561302d57634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561304757613047613062565b5060010190565b60008261305d5761305d613078565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b0319811681146130d057600080fd5b5056fea264697066735822122026c4d382c5b74179a629a2b4c378cd46b5bb1edb72969f4c717f69eabbd93f7d64736f6c634300080700330000000000000000000000007d114763a468db5850ba385ac39d20e5f44d7865

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

0000000000000000000000007d114763a468db5850ba385ac39d20e5f44d7865

-----Decoded View---------------
Arg [0] : shareholderAddress_ (address): 0x7d114763a468db5850ba385ac39d20e5f44d7865

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000007d114763a468db5850ba385ac39d20e5f44d7865


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.