Contract 0x8A0027152ad2781C0cbabda0CC53290BF04f1Cf5 2

 

Contract Overview

Jones DAO: Token Sale Relaunch
Balance:
0 ETH

ETH Value:
$0.00
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x1b8e6732486b69a62ab5c9d3ff0a0b6c04a81ce4759053446926cfeaab8ca370Withdraw52421602022-01-30 13:32:17248 days 17 hrs ago0xbea6a3d4ace25477dd67ccc310f650fd845cdf19 IN  Jones DAO: Token Sale Relaunch0 ETH0.000439098636 ETH
0x72ee62140652cf49d05bcfcdeabb829395100442a04292e048eeaa9e7b8929aaClaim52421132022-01-30 13:32:17248 days 17 hrs ago0xbea6a3d4ace25477dd67ccc310f650fd845cdf19 IN  Jones DAO: Token Sale Relaunch0 ETH0.000487516069 ETH
0xf47ce1ef0a2f31f43d171a30607c3cb2248908a7f8f6a8349d0ecd460f61519bClaim52417262022-01-30 13:26:39248 days 17 hrs ago0x1c0f042ae8dffbac8113e3036d770339ab491a85 IN  Jones DAO: Token Sale Relaunch0 ETH0.000487501403 ETH
0x92e3457a57e7a84e9f71aa1d01b5410038df309dddbc37c206d84db9acb1c8f7Deposit52355042022-01-30 11:58:58248 days 19 hrs ago0xff26ccf9058b9bd8facfb6a8876864fec193285d IN  Jones DAO: Token Sale Relaunch2.5 ETH0.000547913181 ETH
0x9837cd7412c9175d2a0f78822694fb36f03d1a16199618b160098ae76b493489Deposit52355032022-01-30 11:58:58248 days 19 hrs ago0xf53cab0c6f25f48f985d1e2c40e03fc7c1963364 IN  Jones DAO: Token Sale Relaunch20 ETH0.000549882125 ETH
0xbe8f4b2c92b57ea4cba1cb9b155b33aacf7a045e15b230af0fb48a5523cb039dDeposit52355022022-01-30 11:58:58248 days 19 hrs ago0x8968e38499bf97e9c5f48af0d7d6b263d36ab527 IN  Jones DAO: Token Sale Relaunch4 ETH0.00054939952 ETH
0xd0fd7c0bdeab982a83b95639677636f712def1f371a081668fcb03240419f565Deposit52354982022-01-30 11:58:58248 days 19 hrs ago0x6616571478ff895fb0bb222b4ead0978d3aa124f IN  Jones DAO: Token Sale Relaunch3 ETH0.000495839969 ETH
0xfbc1ba09ed2d1b1a7a4383ed354b12a3552744b817f7fee00c3434aec7224d80Deposit52354952022-01-30 11:58:58248 days 19 hrs ago0xa98b168e81610bb130fffa461b41db30714f3032 IN  Jones DAO: Token Sale Relaunch0.14 ETH0.000547913181 ETH
0x00e143e2d3cac28dadf09d3e61a03a286abdac0a150047f05b323d74984b6c0eDeposit52354932022-01-30 11:58:58248 days 19 hrs ago0x66b3ce09520aa9aab273d234c72cabe59210cc07 IN  Jones DAO: Token Sale Relaunch0.5 ETH0.00054939952 ETH
0x937a8ce51ed93d729f9f06ecfcfe62d57f7b9f53eebd8c75bfd6e264cce11729Deposit52354892022-01-30 11:58:58248 days 19 hrs ago0x980b8fd0bd8b2406db163a9e5ca83d6ba2c58d61 IN  Jones DAO: Token Sale Relaunch0.12 ETH0.000549383469 ETH
0x4b40b761d65c950bc760923130537d1ca13c09e78096dbcf02f280ee7aba6907Deposit52354882022-01-30 11:58:58248 days 19 hrs ago0x1e7127c81c8a58661a0811f026b6be66533934be IN  Jones DAO: Token Sale Relaunch50 ETH0.000498308639 ETH
0x2098aa81e4cb8303b628320037f83662cfee2c47adb4362d59264a40dbf005ccDeposit52354862022-01-30 11:58:58248 days 19 hrs ago0x571d908a2bae44f79941787cc2c8a284e9e54268 IN  Jones DAO: Token Sale Relaunch3 ETH0.000547922812 ETH
0xffd2583e08cf5303d60788f49b4218e2d6eaf2b80c25934665fb21e16b9dedbeDeposit52354842022-01-30 11:58:58248 days 19 hrs ago0x62769b5fd26c10fa14eee12a4edbf800f7d6a289 IN  Jones DAO: Token Sale Relaunch0.37993 ETH0.000550382922 ETH
0xc1ca40a0976b34cecf02e90cfb7debc354a797ba839779f99b494561fbf3c1d8Deposit52354822022-01-30 11:57:57248 days 19 hrs ago0x4d681ef4edc1e3418d3a7d57a69a120736a0fd50 IN  Jones DAO: Token Sale Relaunch5 ETH0.000547913181 ETH
0xa670e8a1e3dc9a82cb54d34f5147d744a22200d22c16556b9bff3626f541a041Deposit52354802022-01-30 11:57:57248 days 19 hrs ago0x0638532162afa641cd15f7404a56a90b66d403b0 IN  Jones DAO: Token Sale Relaunch2.5 ETH0.000547921742 ETH
0x54a7fc10bd249e814bee585acc64a9989adebf906f4762df71465828c8e0c746Deposit52354762022-01-30 11:57:57248 days 19 hrs ago0x8d8603af066dff5e6e83e44ca42e0a900fe9c221 IN  Jones DAO: Token Sale Relaunch2 ETH0.000549882125 ETH
0x9b26a850c4679dae70a8eded8f5bbc990f8a802ff336c46c5b0ad7b78e79ca74Deposit52354712022-01-30 11:57:57248 days 19 hrs ago0xf46741c5769377f3c2e0d0a584a524197a9ec042 IN  Jones DAO: Token Sale Relaunch0.32 ETH0.000549415571 ETH
0x40b58e4a3d78d57f4c11ee75d59a9de3f831b74fe8cdac505eff945740ce4751Deposit52354682022-01-30 11:57:57248 days 19 hrs ago0x81489f5063c4c82f8acf8bd8a52b694d4a6fa2fc IN  Jones DAO: Token Sale Relaunch0.04 ETH0.000547953844 ETH
0xbcd4659e75e548e697ab7312847b41b238c014e0541b47b270d0ce734db916c4Deposit52354642022-01-30 11:57:57248 days 19 hrs ago0xaca74804b502aa36b38d4b515fe021588b5b9ef2 IN  Jones DAO: Token Sale Relaunch2 ETH0.00055186712 ETH
0xc3b53b03511585584e01fbdf1937fed870c11f92bab305bae30f7b19002633cfDeposit52354622022-01-30 11:57:57248 days 19 hrs ago0x5a5ec18fcf9db025d24c3674dd48ff40d5305204 IN  Jones DAO: Token Sale Relaunch0.5 ETH0.000553312796 ETH
0x30c49cbce65fbf943bd53493b922e3e3ba1b4aa62940179542a728afccdeaa2cDeposit52354562022-01-30 11:56:43248 days 19 hrs ago0x5f0fcfd08a414e1cba1357197c3710eea46d4b39 IN  Jones DAO: Token Sale Relaunch4 ETH0.0005478982 ETH
0xeb9abccfce2a2810f13319bfcc12386f090fe3a36f7a2ef1add409313b83bf4fDeposit52354532022-01-30 11:56:43248 days 19 hrs ago0x52b29a140a3c484c70218200b940d72141da5c93 IN  Jones DAO: Token Sale Relaunch0.18 ETH0.000546445034 ETH
0xbad417a6c950de111e615d01f52080125120129b59fa08de08bf3946ab83aebaDeposit52354522022-01-30 11:56:43248 days 19 hrs ago0xcb9cadd85c510ff5a4fb2d2bb6fb4b74ff3aee34 IN  Jones DAO: Token Sale Relaunch100 ETH0.000549414501 ETH
0xfda27f4de26730efe5c53788788ef7c66d10526e722206fce2da768b66d51220Deposit52354452022-01-30 11:56:43248 days 19 hrs ago0x2a9a21713f8daeeeb9c388cb8fe16aefaeff85f3 IN  Jones DAO: Token Sale Relaunch8 ETH0.000547913181 ETH
0xab7a3bf229e81376bd5773eac4426594b42a3fd30605acebfab2989fc3abcbc0Deposit52354392022-01-30 11:56:43248 days 19 hrs ago0xa8d730e59f4359bf276b9e17e7eb1ec81762a913 IN  Jones DAO: Token Sale Relaunch0.5 ETH0.000495871001 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0xc2c9387751025fd77cca6d29a64e14ce64296f08ab9f7e5ff367806bcb3ade87232873322022-09-07 3:45:4129 days 3 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xc2c9387751025fd77cca6d29a64e14ce64296f08ab9f7e5ff367806bcb3ade87232873322022-09-07 3:45:4129 days 3 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xcebbf17e57582e2b4ae4dbca65447bded6a546910b76648b407865c9f1cc596f105586582022-04-26 3:37:08163 days 3 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xcebbf17e57582e2b4ae4dbca65447bded6a546910b76648b407865c9f1cc596f105586582022-04-26 3:37:08163 days 3 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x22f2f0919eba7a2bfb193e580472270160db6c81314e7ccf95ac581a4cfb0041100603732022-04-19 1:10:24170 days 6 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x22f2f0919eba7a2bfb193e580472270160db6c81314e7ccf95ac581a4cfb0041100603732022-04-19 1:10:24170 days 6 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x4d14fca111d820ce991e1ace7beeaa9a4af77a5819a8a18083ff50ea9082d04281836142022-03-20 3:46:18200 days 3 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x4d14fca111d820ce991e1ace7beeaa9a4af77a5819a8a18083ff50ea9082d04281836142022-03-20 3:46:18200 days 3 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x7a25f64d43e9e403b26c4c9094410f74266b163f1ec27d08c14fff8dc67ba82c72652592022-03-02 17:10:29217 days 14 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x7a25f64d43e9e403b26c4c9094410f74266b163f1ec27d08c14fff8dc67ba82c72652592022-03-02 17:10:29217 days 14 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x86eff3c607f08126ddad672543927c4cb58b14346c461b5465e5ef2dce3e0fde71762222022-03-01 14:18:17218 days 16 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x86eff3c607f08126ddad672543927c4cb58b14346c461b5465e5ef2dce3e0fde71762222022-03-01 14:18:17218 days 16 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xd09288a0fd2533e8b2dd2ca2615fa1db5edcd3c0f4e18ef4e3f6976c5302625765298342022-02-21 9:43:39226 days 21 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xd09288a0fd2533e8b2dd2ca2615fa1db5edcd3c0f4e18ef4e3f6976c5302625765298342022-02-21 9:43:39226 days 21 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x5e3673f878b00b6db47e35849ed50e30a684b84b4ed8bb4cef5af8ebc81fbe0f62778042022-02-17 23:27:44230 days 7 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x5e3673f878b00b6db47e35849ed50e30a684b84b4ed8bb4cef5af8ebc81fbe0f62778042022-02-17 23:27:44230 days 7 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x78650b1accb85719d4e3d84c8742c276c1b0dd01a273fd4e3813a9fac05bdd4859545472022-02-13 1:19:23235 days 5 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x78650b1accb85719d4e3d84c8742c276c1b0dd01a273fd4e3813a9fac05bdd4859545472022-02-13 1:19:23235 days 5 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x6c68bddf62f54b4792b0a32dee0a108896426cbe9225b787a616f9546888ff1458666552022-02-11 16:53:14236 days 14 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x6c68bddf62f54b4792b0a32dee0a108896426cbe9225b787a616f9546888ff1458666552022-02-11 16:53:14236 days 14 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xfcd4d258928f786fe5fafdc5913b5583032cffb9bd29cd6dfcfbf14a33e618ff58118902022-02-10 19:48:42237 days 11 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0xfcd4d258928f786fe5fafdc5913b5583032cffb9bd29cd6dfcfbf14a33e618ff58118902022-02-10 19:48:42237 days 11 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x98de62050afbb86a3ce408f3ce8024adf310943574b73ec4bc0f6d73a7f6ffa858103772022-02-10 19:13:26237 days 11 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x98de62050afbb86a3ce408f3ce8024adf310943574b73ec4bc0f6d73a7f6ffa858103772022-02-10 19:13:26237 days 11 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
0x4ceafcccb1c3ae568d1ae2e41c1c4722c38875781ac19ba4311dc54c9341ae4258004702022-02-10 15:55:49237 days 15 hrs ago Jones DAO: Token Sale Relaunch Claim Jones DAO: Token Sale Relaunch0 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
JonesTokenSaleV3

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 7 : JonesTokenSaleV3.sol
// SPDX-License-Identifier: GPL-3.0
/*                            ******@@@@@@@@@**@*
                        ***@@@@@@@@@@@@@@@@@@@@@@**
                     *@@@@@@**@@@@@@@@@@@@@@@@@*@@@*
                  *@@@@@@@@@@@@@@@@@@@*@@@@@@@@@@@*@**
                 *@@@@@@@@@@@@@@@@@@*@@@@@@@@@@@@@@@@@*
                **@@@@@@@@@@@@@@@@@*@@@@@@@@@@@@@@@@@@@**
                **@@@@@@@@@@@@@@@*@@@@@@@@@@@@@@@@@@@@@@@*
                **@@@@@@@@@@@@@@@@*************************
                **@@@@@@@@***********************************
                 *@@@***********************&@@@@@@@@@@@@@@@****,    ******@@@@*
           *********************@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@*************
      ***@@@@@@@@@@@@@@@*****@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@****@@*********
   **@@@@@**********************@@@@*****************#@@@@**********
  *@@******************************************************
 *@************************************
 @*******************************
 *@*************************
   *********************

    /$$$$$                                               /$$$$$$$   /$$$$$$   /$$$$$$
   |__  $$                                              | $$__  $$ /$$__  $$ /$$__  $$
      | $$  /$$$$$$  /$$$$$$$   /$$$$$$   /$$$$$$$      | $$  \ $$| $$  \ $$| $$  \ $$
      | $$ /$$__  $$| $$__  $$ /$$__  $$ /$$_____/      | $$  | $$| $$$$$$$$| $$  | $$
 /$$  | $$| $$  \ $$| $$  \ $$| $$$$$$$$|  $$$$$$       | $$  | $$| $$__  $$| $$  | $$
| $$  | $$| $$  | $$| $$  | $$| $$_____/ \____  $$      | $$  | $$| $$  | $$| $$  | $$
|  $$$$$$/|  $$$$$$/| $$  | $$|  $$$$$$$ /$$$$$$$/      | $$$$$$$/| $$  | $$|  $$$$$$/
 \______/  \______/ |__/  |__/ \_______/|_______/       |_______/ |__/  |__/ \______/
*/
pragma solidity ^0.8.2;

import {IERC20} from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import {SafeERC20} from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import {SafeMath} from "@openzeppelin/contracts/utils/math/SafeMath.sol";
import {MerkleProof} from "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import {ReentrancyGuard} from "@openzeppelin/contracts/security/ReentrancyGuard.sol";

/// @author Jones DAO
/// @title Jones token sale contract V3
contract JonesTokenSaleV3 is ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    // Jones Token
    IERC20 public jones;

    // Withdrawer
    address public owner;

    // Keeps track of ETH deposited during whitelist phase
    uint256 public weiDepositedWhitelist;

    // Keeps track of ETH deposited
    uint256 public weiDeposited;

    // Time when the token sale starts for whitelisted address
    uint256 public saleWhitelistStart;

    // Time when the token sale starts
    uint256 public saleStart;

    // Time when the token sale closes
    uint256 public saleClose;

    // Max cap on wei raised during whitelist
    uint256 public maxDepositsWhitelist;

    // Max cap on wei raised
    uint256 public maxDeposits = 0;

    // Jones Tokens allocated to this contract
    uint256 public jonesTokensAllocated;

    // Jones Tokens allocated to whitelist
    uint256 public jonesTokensAllocatedWhitelist;

    // Max ETH that can be deposited by whitelisted addresses
    uint256 public maxWhitelistDeposit;

    // Merkleroot of whitelisted addresses
    bytes32 public merkleRoot;

    // Amount each whitelisted user deposited
    mapping(address => uint256) public depositsWhitelist;

    // Amount each user deposited
    mapping(address => uint256) public deposits;

    /// Emits on ETH deposit
    /// @param purchaser contract caller purchasing the tokens on behalf of beneficiary
    /// @param beneficiary will be able to claim tokens after saleClose
    /// @param isWhitelistDeposit is the deposit done via the whitelist function
    /// @param value amount of ETH deposited
    event TokenDeposit(
        address indexed purchaser,
        address indexed beneficiary,
        bool indexed isWhitelistDeposit,
        uint256 value,
        uint256 time
    );

    /// Emits on token claim
    /// @param claimer contract caller claiming on behalf of beneficiary
    /// @param beneficiary receives the tokens they claimed
    /// @param amount token amount beneficiary claimed
    event TokenClaim(
        address indexed claimer,
        address indexed beneficiary,
        uint256 amount
    );

    /// Emits on refund claim
    /// @param claimer contract caller claiming on behalf of beneficiary
    /// @param beneficiary receives the tokens they claimed
    /// @param amount eth amount beneficiary claimed
    event EthRefundClaim(
        address indexed claimer,
        address indexed beneficiary,
        uint256 amount
    );

    /// Emits on eth withdraw
    /// @param amount amount of Eth that was withdrawn
    event WithdrawEth(uint256 amount);

    /// Emits on maxDeposits update
    /// @param amount value of maxDeposits
    event MaxDepositsSet(uint256 amount);

    /// @param _jones Jones
    /// @param _owner withdrawer
    /// @param _saleWhitelistStart time when the token sale starts for whitelisted addresses
    /// @param _saleStart time when the token sale starts
    /// @param _saleClose time when the token sale closes
    /// @param _maxDepositsWhitelist max cap on wei raised during whitelist
    /// @param _jonesTokensAllocated Jones tokens allocated to this contract
    /// @param _maxWhitelistDeposit max deposit that can be done via the whitelist deposit fn
    /// @param _merkleRoot the merkle root of all the whitelisted addresses
    constructor(
        address _jones,
        address _owner,
        uint256 _saleWhitelistStart,
        uint256 _saleStart,
        uint256 _saleClose,
        uint256 _maxDepositsWhitelist,
        uint256 _jonesTokensAllocated,
        uint256 _maxWhitelistDeposit,
        bytes32 _merkleRoot
    ) {
        require(_owner != address(0), "invalid owner address");
        require(_jones != address(0), "invalid token address");
        require(saleWhitelistStart <= _saleStart, "invalid saleWhitelistStart");
        require(_saleStart >= block.timestamp, "invalid saleStart");
        require(_saleClose > _saleStart, "invalid saleClose");
        require(_maxDepositsWhitelist > 0, "invalid maxDepositsWhitelist");
        require(_jonesTokensAllocated > 0, "invalid jonesTokensAllocated");

        jones = IERC20(_jones);
        owner = _owner;
        saleWhitelistStart = _saleWhitelistStart;
        saleStart = _saleStart;
        saleClose = _saleClose;
        maxDepositsWhitelist = _maxDepositsWhitelist;
        jonesTokensAllocated = _jonesTokensAllocated;
        jonesTokensAllocatedWhitelist = jonesTokensAllocated.mul(60).div(100); // 60% of jonesTokensAllocated
        maxWhitelistDeposit = _maxWhitelistDeposit;
        merkleRoot = _merkleRoot;
    }

    /// Checks if a whitelisted address has already deposited using the whitelist deposit fn
    /// @param _user user address
    function isWhitelistedAddressDeposited(address _user)
        public
        view
        returns (bool)
    {
        return depositsWhitelist[_user] > 0;
    }

    /// Deposit fallback
    /// @dev must be equivalent to deposit(address beneficiary)
    receive() external payable isEligibleSender nonReentrant {
        address beneficiary = msg.sender;
        require(beneficiary != address(0), "invalid address");
        require(saleStart <= block.timestamp, "sale hasn't started yet");
        require(block.timestamp <= saleClose, "sale has closed");

        deposits[beneficiary] = deposits[beneficiary].add(msg.value);
        weiDeposited = weiDeposited.add(msg.value);
        emit TokenDeposit(
            msg.sender,
            beneficiary,
            false,
            msg.value,
            block.timestamp
        );
    }

    /// Deposit for whitelisted address
    /// @param index the index of the whitelisted address in the merkle tree
    /// @param beneficiary will be able to claim tokens after saleClose
    /// @param merkleProof the merkle proof
    function depositForWhitelistedAddress(
        uint256 index,
        address beneficiary,
        bytes32[] calldata merkleProof
    ) external payable nonReentrant {
        require(beneficiary != address(0), "invalid address");
        require(beneficiary == msg.sender, "beneficiary not message sender");
        require(msg.value > 0, "must deposit greater than 0");
        require(
            msg.value <= depositableLeftWhitelist(beneficiary),
            "user whitelist allocation used up"
        );
        require(
            (weiDepositedWhitelist + msg.value) <= maxDepositsWhitelist,
            "maximum deposits for whitelist reached"
        );
        require(
            saleWhitelistStart <= block.timestamp,
            "sale hasn't started yet"
        );
        require(block.timestamp <= saleStart, "whitelist sale has closed");

        // Verify the merkle proof.
        uint256 amt = 1;
        bytes32 node = keccak256(abi.encodePacked(index, beneficiary, amt));
        require(
            MerkleProof.verify(merkleProof, merkleRoot, node),
            "invalid proof"
        );

        // Add user deposit to depositsWhitelist
        depositsWhitelist[beneficiary] = depositsWhitelist[beneficiary].add(
            msg.value
        );

        weiDepositedWhitelist = weiDepositedWhitelist.add(msg.value);
        weiDeposited = weiDeposited.add(msg.value);

        emit TokenDeposit(
            msg.sender,
            beneficiary,
            true,
            msg.value,
            block.timestamp
        );
    }

    /// Deposit
    /// @param beneficiary will be able to claim tokens after saleClose
    /// @dev must be equivalent to receive()
    function deposit(address beneficiary)
        public
        payable
        isEligibleSender
        nonReentrant
    {
        require(beneficiary != address(0), "invalid address");
        require(saleStart <= block.timestamp, "sale hasn't started yet");
        require(block.timestamp <= saleClose, "sale has closed");

        deposits[beneficiary] = deposits[beneficiary].add(msg.value);
        weiDeposited = weiDeposited.add(msg.value);
        emit TokenDeposit(
            msg.sender,
            beneficiary,
            false,
            msg.value,
            block.timestamp
        );
    }

    /// Claim
    /// @param beneficiary receives the tokens they claimed
    /// @dev claim calculation must be equivalent to claimAmount(address beneficiary)
    function claim(address beneficiary)
        external
        nonReentrant
        returns (uint256)
    {
        require(maxDeposits != 0, "wait for maxCap announcement");
        require(
            deposits[beneficiary] + depositsWhitelist[beneficiary] > 0,
            "no deposit"
        );
        require(block.timestamp > saleClose, "sale hasn't closed yet");

        // total Jones allocated * user share in the ETH deposited
        uint256 beneficiaryClaim = claimAmountJones(beneficiary);
        uint256 beneficiaryClaimEth = claimAmountEth(beneficiary);
        depositsWhitelist[beneficiary] = 0;
        deposits[beneficiary] = 0;

        jones.safeTransfer(beneficiary, beneficiaryClaim);

        if (beneficiaryClaimEth > 0) {
            payable(beneficiary).transfer(beneficiaryClaimEth);
        }

        emit TokenClaim(msg.sender, beneficiary, beneficiaryClaim);
        emit EthRefundClaim(msg.sender, beneficiary, beneficiaryClaimEth);

        return beneficiaryClaim;
    }

    /// @dev Withdraws eth deposited into the contract. Only owner can call this.
    function withdraw() external {
        require(owner == msg.sender, "caller is not the owner");

        uint256 ethBalance = payable(address(this)).balance;

        payable(msg.sender).transfer(ethBalance);

        emit WithdrawEth(ethBalance);
    }

    function setMaxDeposits(uint256 _maxDeposits) external {
        require(owner == msg.sender, "caller is not the owner");
        require(block.timestamp > saleClose, "sale has not closed yet");
        maxDeposits = _maxDeposits;
        emit MaxDepositsSet(maxDeposits);
    }

    /// View beneficiary's claimable token amount
    /// @param beneficiary address to view claimable token amount of
    function claimAmountJones(address beneficiary)
        public
        view
        returns (uint256)
    {
        // wei deposited during whitelist sale by beneficiary
        uint256 userDepoWl = depositsWhitelist[beneficiary];

        // wei deposited during public sale by beneficiary
        uint256 userDepoPub = deposits[beneficiary];

        if (userDepoPub.add(userDepoWl) == 0) {
            return 0;
        }

        // amount of jones unsold during whitelist sale
        uint256 unsoldWlJones = jonesTokensAllocatedWhitelist
            .mul((maxDepositsWhitelist.sub(weiDepositedWhitelist)))
            .div(maxDepositsWhitelist);

        // amount of jones tokens allocated to whitelist sale
        uint256 jonesForWl = jonesTokensAllocatedWhitelist.sub(unsoldWlJones);

        // amount of jones tokens allocated to public sale
        uint256 jonesForPublic = jonesTokensAllocated.sub(jonesForWl);

        // total wei deposited during the public sale
        uint256 totalDepoPublic = weiDeposited.sub(weiDepositedWhitelist);

        uint256 userClaimableJones = 0;

        if (userDepoWl > 0) {
            userClaimableJones = jonesForWl.mul(userDepoWl).div(
                weiDepositedWhitelist
            );
        }

        if (userDepoPub > 0) {
            userClaimableJones = userClaimableJones.add(
                jonesForPublic.mul(userDepoPub).div(totalDepoPublic)
            );
        }

        return userClaimableJones;
    }

    /// View beneficiary's claimable ETH amount
    /// @param beneficiary address to view claimable ETH amount of
    function claimAmountEth(address beneficiary) public view returns (uint256) {
        // wei deposited during public sale by beneficiary
        uint256 userDepoPub = deposits[beneficiary];

        // if user has not depoisted during the public sale OR the sale did not reach the max deposit cap
        if (userDepoPub == 0 || maxDeposits >= weiDeposited) {
            return 0;
        }

        // ETH raised in eccess
        uint256 eccessEth = weiDeposited.sub(maxDeposits);

        // ETH raised during non whitelisted sale
        uint256 totalDepoPublic = weiDeposited.sub(weiDepositedWhitelist);

        return eccessEth.mul(userDepoPub).div(totalDepoPublic);
    }

    /// View leftover depositable eth for whitelisted user
    /// @param beneficiary user address
    function depositableLeftWhitelist(address beneficiary)
        public
        view
        returns (uint256)
    {
        return maxWhitelistDeposit.sub(depositsWhitelist[beneficiary]);
    }

    // Modifier is eligible sender modifier
    modifier isEligibleSender() {
        require(
            msg.sender == tx.origin,
            "Contracts are not allowed to snipe the sale"
        );
        _;
    }
}

File 2 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 5 of 7 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

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

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

        _;

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

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_jones","type":"address"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"uint256","name":"_saleWhitelistStart","type":"uint256"},{"internalType":"uint256","name":"_saleStart","type":"uint256"},{"internalType":"uint256","name":"_saleClose","type":"uint256"},{"internalType":"uint256","name":"_maxDepositsWhitelist","type":"uint256"},{"internalType":"uint256","name":"_jonesTokensAllocated","type":"uint256"},{"internalType":"uint256","name":"_maxWhitelistDeposit","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"EthRefundClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"MaxDepositsSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"claimer","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenClaim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":true,"internalType":"bool","name":"isWhitelistDeposit","type":"bool"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"time","type":"uint256"}],"name":"TokenDeposit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawEth","type":"event"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"claim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"claimAmountEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"claimAmountJones","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"},{"internalType":"address","name":"beneficiary","type":"address"},{"internalType":"bytes32[]","name":"merkleProof","type":"bytes32[]"}],"name":"depositForWhitelistedAddress","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"beneficiary","type":"address"}],"name":"depositableLeftWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"deposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositsWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"}],"name":"isWhitelistedAddressDeposited","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"jones","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"jonesTokensAllocated","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"jonesTokensAllocatedWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDeposits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxDepositsWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxWhitelistDeposit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleClose","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"saleWhitelistStart","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxDeposits","type":"uint256"}],"name":"setMaxDeposits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"weiDeposited","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"weiDepositedWhitelist","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260006009553480156200001657600080fd5b5060405162001b6838038062001b6883398101604081905262000039916200034d565b60016000556001600160a01b0388166200009a5760405162461bcd60e51b815260206004820152601560248201527f696e76616c6964206f776e65722061646472657373000000000000000000000060448201526064015b60405180910390fd5b6001600160a01b038916620000f25760405162461bcd60e51b815260206004820152601560248201527f696e76616c696420746f6b656e20616464726573730000000000000000000000604482015260640162000091565b856005541115620001465760405162461bcd60e51b815260206004820152601a60248201527f696e76616c69642073616c6557686974656c6973745374617274000000000000604482015260640162000091565b428610156200018c5760405162461bcd60e51b81526020600482015260116024820152701a5b9d985b1a59081cd85b1954dd185c9d607a1b604482015260640162000091565b858511620001d15760405162461bcd60e51b8152602060048201526011602482015270696e76616c69642073616c65436c6f736560781b604482015260640162000091565b60008411620002235760405162461bcd60e51b815260206004820152601c60248201527f696e76616c6964206d61784465706f7369747357686974656c69737400000000604482015260640162000091565b60008311620002755760405162461bcd60e51b815260206004820152601c60248201527f696e76616c6964206a6f6e6573546f6b656e73416c6c6f636174656400000000604482015260640162000091565b600180546001600160a01b03199081166001600160a01b038c81169190911790925560028054909116918a169190911790556005879055600686905560078590556008849055600a839055620002f36064620002df85603c6200030d602090811b6200106d17901c565b6200032260201b620010791790919060201c565b600b55600c91909155600d55506200041a95505050505050565b60006200031b8284620003c9565b9392505050565b60006200031b8284620003f7565b80516001600160a01b03811681146200034857600080fd5b919050565b60008060008060008060008060006101208a8c0312156200036d57600080fd5b620003788a62000330565b98506200038860208b0162000330565b975060408a0151965060608a0151955060808a0151945060a08a0151935060c08a0151925060e08a015191506101008a015190509295985092959850929598565b6000816000190483118215151615620003f257634e487b7160e01b600052601160045260246000fd5b500290565b6000826200041557634e487b7160e01b600052601260045260246000fd5b500490565b61173e806200042a6000396000f3fe60806040526004361061014e5760003560e01c8063a1a21cf2116100b6578063d6d0e6ed1161006f578063d6d0e6ed146104f8578063e24bdb421461050e578063f340fa0114610524578063f5e2cb0314610537578063fc7e286d14610557578063ff5f1fc91461058457600080fd5b8063a1a21cf214610438578063ab0bcc411461044e578063b763b09c14610464578063c3c5574a14610484578063d4f2232c1461049a578063d6207c42146104e257600080fd5b80633ccfd60b116101085780633ccfd60b14610375578063562143c51461038a57806365302f68146103b757806367c870cf146103cd5780638da5cb5b146103e0578063965cf18a1461041857600080fd5b8062fed902146102c8578063172e46f5146102ea5780631e83409a146103135780632eb4a7ab14610333578063354d594b14610349578063399bf69f1461035f57600080fd5b366102c35733321461017b5760405162461bcd60e51b8152600401610172906113f4565b60405180910390fd5b6002600054141561019e5760405162461bcd60e51b81526004016101729061143f565b600260005533806101c15760405162461bcd60e51b815260040161017290611476565b4260065411156101e35760405162461bcd60e51b81526004016101729061149f565b6007544211156102275760405162461bcd60e51b815260206004820152600f60248201526e1cd85b19481a185cc818db1bdcd959608a1b6044820152606401610172565b6001600160a01b0381166000908152600f602052604090205461024a90346105a4565b6001600160a01b0382166000908152600f602052604090205560045461027090346105a4565b600455604080513481524260208201526000916001600160a01b0384169133917f8f88289d3d792578d28e0626f5b2d4fcbac8a33d6cc2941af00087ceb45e74eb910160405180910390a4506001600055005b600080fd5b3480156102d457600080fd5b506102e86102e33660046114d6565b6105b7565b005b3480156102f657600080fd5b50610300600b5481565b6040519081526020015b60405180910390f35b34801561031f57600080fd5b5061030061032e36600461150b565b610698565b34801561033f57600080fd5b50610300600d5481565b34801561035557600080fd5b5061030060095481565b34801561036b57600080fd5b50610300600a5481565b34801561038157600080fd5b506102e86108de565b34801561039657600080fd5b506103006103a536600461150b565b600e6020526000908152604090205481565b3480156103c357600080fd5b5061030060045481565b6102e86103db366004611526565b610993565b3480156103ec57600080fd5b50600254610400906001600160a01b031681565b6040516001600160a01b03909116815260200161030a565b34801561042457600080fd5b5061030061043336600461150b565b610d49565b34801561044457600080fd5b5061030060085481565b34801561045a57600080fd5b5061030060065481565b34801561047057600080fd5b50600154610400906001600160a01b031681565b34801561049057600080fd5b5061030060055481565b3480156104a657600080fd5b506104d26104b536600461150b565b6001600160a01b03166000908152600e6020526040902054151590565b604051901515815260200161030a565b3480156104ee57600080fd5b5061030060075481565b34801561050457600080fd5b50610300600c5481565b34801561051a57600080fd5b5061030060035481565b6102e861053236600461150b565b610d74565b34801561054357600080fd5b5061030061055236600461150b565b610ee3565b34801561056357600080fd5b5061030061057236600461150b565b600f6020526000908152604090205481565b34801561059057600080fd5b5061030061059f36600461150b565b610fe8565b60006105b082846115c6565b9392505050565b6002546001600160a01b0316331461060b5760405162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b6044820152606401610172565b600754421161065c5760405162461bcd60e51b815260206004820152601760248201527f73616c6520686173206e6f7420636c6f736564207965740000000000000000006044820152606401610172565b60098190556040518181527f57d679f2da68be417bae6ab3ab1f636f39c70661e16df92c75507c7886d0487d906020015b60405180910390a150565b6000600260005414156106bd5760405162461bcd60e51b81526004016101729061143f565b60026000556009546107115760405162461bcd60e51b815260206004820152601c60248201527f7761697420666f72206d617843617020616e6e6f756e63656d656e74000000006044820152606401610172565b6001600160a01b0382166000908152600e6020908152604080832054600f90925282205461073f91906115c6565b116107795760405162461bcd60e51b815260206004820152600a6024820152691b9bc819195c1bdcda5d60b21b6044820152606401610172565b60075442116107c35760405162461bcd60e51b81526020600482015260166024820152751cd85b19481a185cdb89dd0818db1bdcd959081e595d60521b6044820152606401610172565b60006107ce83610ee3565b905060006107db84610fe8565b6001600160a01b038086166000908152600e60209081526040808320839055600f90915281205560015491925061081491168584611085565b8015610852576040516001600160a01b0385169082156108fc029083906000818181858888f19350505050158015610850573d6000803e3d6000fd5b505b6040518281526001600160a01b0385169033907fe08b397913fb308a6f799d3059933c86ebc9c03957a83af3e932ea54e979e52a9060200160405180910390a36040518181526001600160a01b0385169033907f2649b291747173bfaf78c99077da9000013bf58113ee4e0b644be5cdb6f153639060200160405180910390a350600160005592915050565b6002546001600160a01b031633146109325760405162461bcd60e51b815260206004820152601760248201527631b0b63632b91034b9903737ba103a34329037bbb732b960491b6044820152606401610172565b604051303190339082156108fc029083906000818181858888f19350505050158015610962573d6000803e3d6000fd5b506040518181527fb2a3fd05447b0260cac7f8db72bfb10790a24739428c6d3abe439e09fcac37f99060200161068d565b600260005414156109b65760405162461bcd60e51b81526004016101729061143f565b60026000556001600160a01b0383166109e15760405162461bcd60e51b815260040161017290611476565b6001600160a01b0383163314610a395760405162461bcd60e51b815260206004820152601e60248201527f62656e6566696369617279206e6f74206d6573736167652073656e64657200006044820152606401610172565b60003411610a895760405162461bcd60e51b815260206004820152601b60248201527f6d757374206465706f7369742067726561746572207468616e203000000000006044820152606401610172565b610a9283610d49565b341115610aeb5760405162461bcd60e51b815260206004820152602160248201527f757365722077686974656c69737420616c6c6f636174696f6e207573656420756044820152600760fc1b6064820152608401610172565b60085434600354610afc91906115c6565b1115610b595760405162461bcd60e51b815260206004820152602660248201527f6d6178696d756d206465706f7369747320666f722077686974656c6973742072604482015265195858da195960d21b6064820152608401610172565b426005541115610b7b5760405162461bcd60e51b81526004016101729061149f565b600654421115610bcd5760405162461bcd60e51b815260206004820152601960248201527f77686974656c6973742073616c652068617320636c6f736564000000000000006044820152606401610172565b60408051602081018690526bffffffffffffffffffffffff19606086901b169181019190915260016054820181905290600090607401604051602081830303815290604052805190602001209050610c5c84848080602002602001604051908101604052809392919081815260200183836020028082843760009201919091525050600d5491508490506110dc565b610c985760405162461bcd60e51b815260206004820152600d60248201526c34b73b30b634b210383937b7b360991b6044820152606401610172565b6001600160a01b0385166000908152600e6020526040902054610cbb90346105a4565b6001600160a01b0386166000908152600e6020526040902055600354610ce190346105a4565b600355600454610cf190346105a4565b600455604080513481524260208201526001916001600160a01b0388169133917f8f88289d3d792578d28e0626f5b2d4fcbac8a33d6cc2941af00087ceb45e74eb910160405180910390a45050600160005550505050565b6001600160a01b0381166000908152600e6020526040812054600c54610d6e916110f2565b92915050565b333214610d935760405162461bcd60e51b8152600401610172906113f4565b60026000541415610db65760405162461bcd60e51b81526004016101729061143f565b60026000556001600160a01b038116610de15760405162461bcd60e51b815260040161017290611476565b426006541115610e035760405162461bcd60e51b81526004016101729061149f565b600754421115610e475760405162461bcd60e51b815260206004820152600f60248201526e1cd85b19481a185cc818db1bdcd959608a1b6044820152606401610172565b6001600160a01b0381166000908152600f6020526040902054610e6a90346105a4565b6001600160a01b0382166000908152600f6020526040902055600454610e9090346105a4565b600455604080513481524260208201526000916001600160a01b0384169133917f8f88289d3d792578d28e0626f5b2d4fcbac8a33d6cc2941af00087ceb45e74eb910160405180910390a4506001600055565b6001600160a01b0381166000908152600e6020908152604080832054600f909252822054610f1181836105a4565b610f1f575060009392505050565b6000610f50600854610f4a610f416003546008546110f290919063ffffffff16565b600b549061106d565b90611079565b90506000610f6982600b546110f290919063ffffffff16565b90506000610f8282600a546110f290919063ffffffff16565b90506000610f9d6003546004546110f290919063ffffffff16565b905060008615610fbb57600354610fb890610f4a868a61106d565b90505b8515610fdc57610fd9610fd283610f4a868a61106d565b82906105a4565b90505b98975050505050505050565b6001600160a01b0381166000908152600f6020526040812054801580611012575060045460095410155b156110205750600092915050565b60006110396009546004546110f290919063ffffffff16565b905060006110546003546004546110f290919063ffffffff16565b905061106481610f4a848661106d565b95945050505050565b60006105b082846115de565b60006105b082846115fd565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526110d79084906110fe565b505050565b6000826110e985846111d0565b14949350505050565b60006105b0828461161f565b6000611153826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661127c9092919063ffffffff16565b8051909150156110d757808060200190518101906111719190611636565b6110d75760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610172565b600081815b84518110156112745760008582815181106111f2576111f2611658565b60200260200101519050808311611234576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250611261565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b508061126c8161166e565b9150506111d5565b509392505050565b606061128b8484600085611293565b949350505050565b6060824710156112f45760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610172565b843b6113425760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610172565b600080866001600160a01b0316858760405161135e91906116b9565b60006040518083038185875af1925050503d806000811461139b576040519150601f19603f3d011682016040523d82523d6000602084013e6113a0565b606091505b50915091506113b08282866113bb565b979650505050505050565b606083156113ca5750816105b0565b8251156113da5782518084602001fd5b8160405162461bcd60e51b815260040161017291906116d5565b6020808252602b908201527f436f6e74726163747320617265206e6f7420616c6c6f77656420746f20736e6960408201526a7065207468652073616c6560a81b606082015260800190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b6020808252600f908201526e696e76616c6964206164647265737360881b604082015260600190565b60208082526017908201527f73616c65206861736e2774207374617274656420796574000000000000000000604082015260600190565b6000602082840312156114e857600080fd5b5035919050565b80356001600160a01b038116811461150657600080fd5b919050565b60006020828403121561151d57600080fd5b6105b0826114ef565b6000806000806060858703121561153c57600080fd5b8435935061154c602086016114ef565b9250604085013567ffffffffffffffff8082111561156957600080fd5b818701915087601f83011261157d57600080fd5b81358181111561158c57600080fd5b8860208260051b85010111156115a157600080fd5b95989497505060200194505050565b634e487b7160e01b600052601160045260246000fd5b600082198211156115d9576115d96115b0565b500190565b60008160001904831182151516156115f8576115f86115b0565b500290565b60008261161a57634e487b7160e01b600052601260045260246000fd5b500490565b600082821015611631576116316115b0565b500390565b60006020828403121561164857600080fd5b815180151581146105b057600080fd5b634e487b7160e01b600052603260045260246000fd5b6000600019821415611682576116826115b0565b5060010190565b60005b838110156116a457818101518382015260200161168c565b838111156116b3576000848401525b50505050565b600082516116cb818460208701611689565b9190910192915050565b60208152600082518060208401526116f4816040850160208701611689565b601f01601f1916919091016040019291505056fea2646970667358221220f8a860373e1818e7efe99783f8bbd1390b9040d22b04d20d46b0f41d9088097964736f6c634300080a003300000000000000000000000010393c20975cf177a3513071bc110f7962cd67da000000000000000000000000fa82f1ba00b0697227e2ad6c668abb4c50ca0b1f0000000000000000000000000000000000000000000000000000000061f52c400000000000000000000000000000000000000000000000000000000061f5d5000000000000000000000000000000000000000000000000000000000061f67dc00000000000000000000000000000000000000000000000a2a15d09519be000000000000000000000000000000000000000000000000167fd2f45f5fa5e8000000000000000000000000000000000000000000000000000001dfec3a894a24000203a995fb58f67ed134dcd2a58c0c511789920fc0976d67f14972a512a56853e

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

00000000000000000000000010393c20975cf177a3513071bc110f7962cd67da000000000000000000000000fa82f1ba00b0697227e2ad6c668abb4c50ca0b1f0000000000000000000000000000000000000000000000000000000061f52c400000000000000000000000000000000000000000000000000000000061f5d5000000000000000000000000000000000000000000000000000000000061f67dc00000000000000000000000000000000000000000000000a2a15d09519be000000000000000000000000000000000000000000000000167fd2f45f5fa5e8000000000000000000000000000000000000000000000000000001dfec3a894a24000203a995fb58f67ed134dcd2a58c0c511789920fc0976d67f14972a512a56853e

-----Decoded View---------------
Arg [0] : _jones (address): 0x10393c20975cf177a3513071bc110f7962cd67da
Arg [1] : _owner (address): 0xfa82f1ba00b0697227e2ad6c668abb4c50ca0b1f
Arg [2] : _saleWhitelistStart (uint256): 1643457600
Arg [3] : _saleStart (uint256): 1643500800
Arg [4] : _saleClose (uint256): 1643544000
Arg [5] : _maxDepositsWhitelist (uint256): 3000000000000000000000
Arg [6] : _jonesTokensAllocated (uint256): 1700000000000000000000000
Arg [7] : _maxWhitelistDeposit (uint256): 2161380000000000000
Arg [8] : _merkleRoot (bytes32): 0x203a995fb58f67ed134dcd2a58c0c511789920fc0976d67f14972a512a56853e

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000010393c20975cf177a3513071bc110f7962cd67da
Arg [1] : 000000000000000000000000fa82f1ba00b0697227e2ad6c668abb4c50ca0b1f
Arg [2] : 0000000000000000000000000000000000000000000000000000000061f52c40
Arg [3] : 0000000000000000000000000000000000000000000000000000000061f5d500
Arg [4] : 0000000000000000000000000000000000000000000000000000000061f67dc0
Arg [5] : 0000000000000000000000000000000000000000000000a2a15d09519be00000
Arg [6] : 0000000000000000000000000000000000000000000167fd2f45f5fa5e800000
Arg [7] : 0000000000000000000000000000000000000000000000001dfec3a894a24000
Arg [8] : 203a995fb58f67ed134dcd2a58c0c511789920fc0976d67f14972a512a56853e


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.