ETH Price: $3,453.94 (-0.97%)
Gas: 8 Gwei

Contract

0xCb5c03277742Fbc0F943F9bbc6d3C1Ec402B068b
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw Erc170595512023-04-16 12:49:47458 days ago1681649387IN
0xCb5c0327...c402B068b
0 ETH0.0012276425.88611248
Claim Tokens168682532023-03-20 10:20:47485 days ago1679307647IN
0xCb5c0327...c402B068b
0 ETH0.0003435214.40764737
Claim Tokens167382502023-03-02 3:35:11504 days ago1677728111IN
0xCb5c0327...c402B068b
0 ETH0.0016432728.59608647
Claim Tokens167377722023-03-02 1:58:59504 days ago1677722339IN
0xCb5c0327...c402B068b
0 ETH0.0011156419.41426292
Claim Tokens167175682023-02-27 5:51:47507 days ago1677477107IN
0xCb5c0327...c402B068b
0 ETH0.0011105419.32550255
Claim Tokens167047702023-02-25 10:41:23508 days ago1677321683IN
0xCb5c0327...c402B068b
0 ETH0.0012142721.13072525
Claim Tokens167015612023-02-24 23:52:35509 days ago1677282755IN
0xCb5c0327...c402B068b
0 ETH0.0014703425.58681065
Claim Tokens167009832023-02-24 21:54:59509 days ago1677275699IN
0xCb5c0327...c402B068b
0 ETH0.0013664223.77844043
Claim Tokens167008352023-02-24 21:24:47509 days ago1677273887IN
0xCb5c0327...c402B068b
0 ETH0.0018011131.34280287
Claim Tokens167002552023-02-24 19:26:11509 days ago1677266771IN
0xCb5c0327...c402B068b
0 ETH0.0015048426.18716776
Claim Tokens167000862023-02-24 18:51:59509 days ago1677264719IN
0xCb5c0327...c402B068b
0 ETH0.0015827.49513797
Claim Tokens167000862023-02-24 18:51:59509 days ago1677264719IN
0xCb5c0327...c402B068b
0 ETH0.0016001227.84513797
Claim Tokens167000832023-02-24 18:51:23509 days ago1677264683IN
0xCb5c0327...c402B068b
0 ETH0.0016352728.45692746
Claim Tokens167000582023-02-24 18:46:23509 days ago1677264383IN
0xCb5c0327...c402B068b
0 ETH0.0015795427.42225083
Claim Tokens167000582023-02-24 18:46:23509 days ago1677264383IN
0xCb5c0327...c402B068b
0 ETH0.0015795427.42225083
Claim Tokens167000542023-02-24 18:45:35509 days ago1677264335IN
0xCb5c0327...c402B068b
0 ETH0.001586827.54819381
Claim Tokens167000512023-02-24 18:44:59509 days ago1677264299IN
0xCb5c0327...c402B068b
0 ETH0.0015222926.42835496
Claim Tokens166999322023-02-24 18:20:47509 days ago1677262847IN
0xCb5c0327...c402B068b
0 ETH0.0022083329.67191162
Claim Tokens166999272023-02-24 18:19:47509 days ago1677262787IN
0xCb5c0327...c402B068b
0 ETH0.0020525927.57933507
Set Is Withdrawi...166999262023-02-24 18:19:35509 days ago1677262775IN
0xCb5c0327...c402B068b
0 ETH0.0008349628.70670775
Withdraw Eth166996442023-02-24 17:22:23509 days ago1677259343IN
0xCb5c0327...c402B068b
0 ETH0.001072434.92158969
Buy Tokens166991402023-02-24 15:39:47509 days ago1677253187IN
0xCb5c0327...c402B068b
0.427 ETH0.003813137.4377437
Buy Tokens166987382023-02-24 14:18:47509 days ago1677248327IN
0xCb5c0327...c402B068b
0.11 ETH0.0017274927.64219641
Buy Tokens166985192023-02-24 13:34:47509 days ago1677245687IN
0xCb5c0327...c402B068b
0.1 ETH0.0031868231.28877581
Buy Tokens166984802023-02-24 13:26:47509 days ago1677245207IN
0xCb5c0327...c402B068b
0.11 ETH0.002774727.24250791
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
166996442023-02-24 17:22:23509 days ago1677259343
0xCb5c0327...c402B068b
4.712 ETH
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xa78e6490...522dc20d8
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Presale

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : Presale.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

import "../node_modules/@openzeppelin/contracts/access/Ownable.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "../node_modules/@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";

contract Presale is Ownable {
    uint256 public presaleStartTimestamp;
    uint256 public presaleEndTimestamp;
    uint256 public presaleHardcap;
    uint256 public tokensPerEth;
    uint256 public minimumContribution;
    uint256 public maximumContribution;
    uint256 public currentlyRaised;
    uint256 public totalContributors;

    uint8 internal constant DECIMAL_PLACES = 18;
    uint256 internal constant RATE_SCALE = 10**DECIMAL_PLACES;

    IERC20 public token;

    bool public isPresaleActive = true;
    bool public publicPresale = false;
    bool public isWithdrawingAllowed = false;

    mapping(address => uint256) public contributions;
    mapping(address => uint256) public tokenBalances;

    bytes32 public merkleRoot =
        0xbba1b61f9e829d97df1f669d14b32b2e4abba8d81a44a991de499eea96bf1408;

    event TokensPurchased(
        address indexed buyer,
        uint256 ethAmount,
        uint256 tokenAmount
    );

    event TokensClaimed(address indexed buyer, uint256 tokenAmount);

    /**
     * @dev Constructor
     */
    constructor(
        address _tokenAddress,
        uint256 _presaleStartTimestamp,
        uint256 _presaleEndTimestamp,
        uint256 _presaleHardcap,
        uint256 _tokensPerEth,
        uint256 _minimumContribution,
        uint256 _maximumContribution,
        bytes32 _merkleRoot,
        bool _publicPresale
    ) {
        token = IERC20(_tokenAddress);
        presaleStartTimestamp = _presaleStartTimestamp;
        presaleEndTimestamp = _presaleEndTimestamp;
        presaleHardcap = _presaleHardcap;
        tokensPerEth = _tokensPerEth;
        minimumContribution = _minimumContribution;
        maximumContribution = _maximumContribution;
        merkleRoot = _merkleRoot;
        publicPresale = _publicPresale;
    }

    /**
     * @dev Change contract settings
     * @param _presaleStartTimestamp Presale start timestamp [Unix]
     * @param _presaleEndTimestamp Presale end timestamp [Unix]
     * @param _presaleHardcap Presale hardcap  [Wei]
     * @param _tokensPerEth ETH per token unit [Wei]
     * @param _minimumContribution Minimum ETH per wallet [Wei]
     * @param _maximumContribution Maximum ETH per wallet  [Wei]
     */
    function changeContractSettings(
        uint256 _presaleStartTimestamp,
        uint256 _presaleEndTimestamp,
        uint256 _presaleHardcap,
        uint256 _tokensPerEth,
        uint256 _minimumContribution,
        uint256 _maximumContribution
    ) public onlyOwner {
        presaleStartTimestamp = _presaleStartTimestamp;
        presaleEndTimestamp = _presaleEndTimestamp;
        presaleHardcap = _presaleHardcap;
        tokensPerEth = _tokensPerEth;
        minimumContribution = _minimumContribution;
        maximumContribution = _maximumContribution;
    }

    /**
     * @dev Change merkle root
     * @param _merkleRoot Merkle root
     */
    function setMerkleRoot(bytes32 _merkleRoot) public onlyOwner {
        merkleRoot = _merkleRoot;
    }

    function setIsWithdrawingAllowed(bool _isWithdrawingAllowed)
        public
        onlyOwner
    {
        isWithdrawingAllowed = _isWithdrawingAllowed;
    }

    function verifyMerkleProof(bytes32[] calldata _merkleProof)
        internal
        view
        returns (bool)
    {
        bytes32 leaf = keccak256(abi.encodePacked(msg.sender));
        return MerkleProof.verify(_merkleProof, merkleRoot, leaf);
    }

    /**
     * @dev Change presale status
     * @param _isPresaleActive Presale status [true/false]
     */
    function changePresaleStatus(bool _isPresaleActive) public onlyOwner {
        isPresaleActive = _isPresaleActive;
    }

    function buyTokens(bytes32[] calldata _merkleProof) external payable {
        require(isPresaleActive, "Presale is paused");

        if (publicPresale == false) {
            require(verifyMerkleProof(_merkleProof), "Merkle proof is not valid");
        }

        require(
            block.timestamp >= presaleStartTimestamp,
            "Presale has not started yet"
        );

        require(
            block.timestamp <= presaleEndTimestamp,
            "Presale has already ended"
        );

        require(
            msg.value >= minimumContribution,
            "Minimum contribution is not met"
        );

        // Increase the contributors count

        if (contributions[msg.sender] == 0) {
            totalContributors++;
        }

        uint256 contribution = contributions[msg.sender] + msg.value;

        require(
            contribution <= maximumContribution,
            "Maximum contribution is exceeded"
        );

        contributions[msg.sender] = contribution;

        // Calculate tokens to mint
        uint256 tokensToMint = (msg.value * tokensPerEth) / RATE_SCALE;

        require(
            token.balanceOf(address(this)) >= tokensToMint,
            "Not enough tokens left for sale"
        );

        tokenBalances[msg.sender] += tokensToMint;

        currentlyRaised += msg.value;

        if (address(this).balance >= presaleHardcap) {
            isPresaleActive = false;
        }

        emit TokensPurchased(msg.sender, msg.value, tokensToMint);
    }

    /**
     * @dev Withdraw ETH from the contract to the sender's wallet.
     */
    function withdrawEth() public onlyOwner {
        uint256 balance = address(this).balance;
        (bool sent, ) = payable(msg.sender).call{value: balance}("");
        require(sent, "Failed to send Ether");
    }

    function withdrawErc() public onlyOwner {
        uint256 balance = token.balanceOf(address(this));
        token.transfer(msg.sender, balance);
    }

    /**
     * Claim the tokens bought in the presale
     */
    function claimTokens() public {
        require(tokenBalances[msg.sender] > 0, "No tokens to claim");

        if (block.timestamp < presaleEndTimestamp) {
            require(isPresaleActive == false, "Presale is still active");

            require(
                currentlyRaised >= presaleHardcap,
                "Presale is not finished yet"
            );
        }

        require(isWithdrawingAllowed, "Withdrawals are not allowed yet");

        uint256 tokensToClaim = tokenBalances[msg.sender];
        tokenBalances[msg.sender] = 0;

        token.transfer(msg.sender, tokensToClaim);

        emit TokensClaimed(msg.sender, tokensToClaim);
    }
}

File 2 of 5 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The tree and the proofs can be generated using our
 * https://github.com/OpenZeppelin/merkle-tree[JavaScript library].
 * You will find a quickstart guide in the readme.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 * OpenZeppelin's JavaScript library generates merkle trees that are safe
 * against this attack out of the box.
 */
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 Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle 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++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be simultaneously proven to be a part of a merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and sibling nodes in `proof`. The reconstruction
     * proceeds by incrementally reconstructing all inner nodes by combining a leaf/inner node with either another
     * leaf/inner node or a proof sibling node, depending on whether each `proofFlags` item is true or false
     * respectively.
     *
     * CAUTION: Not all merkle trees admit multiproofs. To use multiproofs, it is sufficient to ensure that: 1) the tree
     * is complete (but not necessarily perfect), 2) the leaves to be proven are in the opposite order they are in the
     * tree (i.e., as seen from right to left starting at the deepest layer and continuing at the next layer).
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}.
     *
     * CAUTION: Not all merkle trees admit multiproofs. See {processMultiProof} for details.
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

File 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

File 5 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_tokenAddress","type":"address"},{"internalType":"uint256","name":"_presaleStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_presaleEndTimestamp","type":"uint256"},{"internalType":"uint256","name":"_presaleHardcap","type":"uint256"},{"internalType":"uint256","name":"_tokensPerEth","type":"uint256"},{"internalType":"uint256","name":"_minimumContribution","type":"uint256"},{"internalType":"uint256","name":"_maximumContribution","type":"uint256"},{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"},{"internalType":"bool","name":"_publicPresale","type":"bool"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"TokensClaimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"buyer","type":"address"},{"indexed":false,"internalType":"uint256","name":"ethAmount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"TokensPurchased","type":"event"},{"inputs":[{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"buyTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_presaleStartTimestamp","type":"uint256"},{"internalType":"uint256","name":"_presaleEndTimestamp","type":"uint256"},{"internalType":"uint256","name":"_presaleHardcap","type":"uint256"},{"internalType":"uint256","name":"_tokensPerEth","type":"uint256"},{"internalType":"uint256","name":"_minimumContribution","type":"uint256"},{"internalType":"uint256","name":"_maximumContribution","type":"uint256"}],"name":"changeContractSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isPresaleActive","type":"bool"}],"name":"changePresaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"contributions","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"currentlyRaised","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPresaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isWithdrawingAllowed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maximumContribution","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":"minimumContribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleEndTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleHardcap","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleStartTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicPresale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_isWithdrawingAllowed","type":"bool"}],"name":"setIsWithdrawingAllowed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokensPerEth","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalContributors","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawErc","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawEth","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106101815760003560e01c80638da82b6c116100d1578063cba25e791161008a578063f11b0ad411610064578063f11b0ad414610509578063f251fc8c14610520578063f2fde38b1461054b578063fc0c546a1461057457610181565b8063cba25e791461048a578063cbdd69b5146104b5578063ed2a601a146104e057610181565b80638da82b6c146103ad578063937e09b1146103d85780639c2fcd45146104035780639dd482671461042e578063a0ef91df14610457578063ab98089f1461046e57610181565b80634ea37fec1161013e578063715018a611610118578063715018a61461031757806378da7ba11461032e5780637cb64759146103595780638da5cb5b1461038257610181565b80634ea37fec14610284578063523fba7f146102af57806360d938dc146102ec57610181565b80631400133e146101865780632c7b1ae7146101af5780632eb4a7ab146101da5780633f2eed3b1461020557806342e94c901461023057806348c54b9d1461026d575b600080fd5b34801561019257600080fd5b506101ad60048036038101906101a89190611420565b61059f565b005b3480156101bb57600080fd5b506101c46105d9565b6040516101d191906114c8565b60405180910390f35b3480156101e657600080fd5b506101ef6105ec565b6040516101fc91906114fc565b60405180910390f35b34801561021157600080fd5b5061021a6105f2565b60405161022791906114c8565b60405180910390f35b34801561023c57600080fd5b5061025760048036038101906102529190611575565b610605565b60405161026491906115b1565b60405180910390f35b34801561027957600080fd5b5061028261061d565b005b34801561029057600080fd5b50610299610911565b6040516102a691906115b1565b60405180910390f35b3480156102bb57600080fd5b506102d660048036038101906102d19190611575565b610917565b6040516102e391906115b1565b60405180910390f35b3480156102f857600080fd5b5061030161092f565b60405161030e91906114c8565b60405180910390f35b34801561032357600080fd5b5061032c610942565b005b34801561033a57600080fd5b50610343610956565b60405161035091906115b1565b60405180910390f35b34801561036557600080fd5b50610380600480360381019061037b91906115f8565b61095c565b005b34801561038e57600080fd5b5061039761096e565b6040516103a49190611634565b60405180910390f35b3480156103b957600080fd5b506103c2610997565b6040516103cf91906115b1565b60405180910390f35b3480156103e457600080fd5b506103ed61099d565b6040516103fa91906115b1565b60405180910390f35b34801561040f57600080fd5b506104186109a3565b60405161042591906115b1565b60405180910390f35b34801561043a57600080fd5b506104556004803603810190610450919061167b565b6109a9565b005b34801561046357600080fd5b5061046c6109ce565b005b6104886004803603810190610483919061170d565b610a8b565b005b34801561049657600080fd5b5061049f610f38565b6040516104ac91906115b1565b60405180910390f35b3480156104c157600080fd5b506104ca610f3e565b6040516104d791906115b1565b60405180910390f35b3480156104ec57600080fd5b506105076004803603810190610502919061167b565b610f44565b005b34801561051557600080fd5b5061051e610f69565b005b34801561052c57600080fd5b506105356110b5565b60405161054291906115b1565b60405180910390f35b34801561055757600080fd5b50610572600480360381019061056d9190611575565b6110bb565b005b34801561058057600080fd5b5061058961113e565b60405161059691906117b9565b60405180910390f35b6105a7611164565b856001819055508460028190555083600381905550826004819055508160058190555080600681905550505050505050565b600960169054906101000a900460ff1681565b600c5481565b600960159054906101000a900460ff1681565b600a6020528060005260406000206000915090505481565b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541161069f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161069690611831565b60405180910390fd5b6002544210156107475760001515600960149054906101000a900460ff161515146106ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f69061189d565b60405180910390fd5b6003546007541015610746576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161073d90611909565b60405180910390fd5b5b600960169054906101000a900460ff16610796576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161078d90611975565b60405180910390fd5b6000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161087c929190611995565b6020604051808303816000875af115801561089b573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108bf91906119d3565b503373ffffffffffffffffffffffffffffffffffffffff167f896e034966eaaf1adc54acc0f257056febbd300c9e47182cf761982cf1f5e4308260405161090691906115b1565b60405180910390a250565b60015481565b600b6020528060005260406000206000915090505481565b600960149054906101000a900460ff1681565b61094a611164565b61095460006111e2565b565b60025481565b610964611164565b80600c8190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60075481565b60055481565b60065481565b6109b1611164565b80600960146101000a81548160ff02191690831515021790555050565b6109d6611164565b600047905060003373ffffffffffffffffffffffffffffffffffffffff1682604051610a0190611a31565b60006040518083038185875af1925050503d8060008114610a3e576040519150601f19603f3d011682016040523d82523d6000602084013e610a43565b606091505b5050905080610a87576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7e90611a92565b60405180910390fd5b5050565b600960149054906101000a900460ff16610ada576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ad190611afe565b60405180910390fd5b60001515600960159054906101000a900460ff16151503610b3f57610aff82826112a6565b610b3e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3590611b6a565b60405180910390fd5b5b600154421015610b84576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b7b90611bd6565b60405180910390fd5b600254421115610bc9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc090611c42565b60405180910390fd5b600554341015610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590611cae565b60405180910390fd5b6000600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610c6e5760086000815480929190610c6890611cfd565b91905055505b600034600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610cbb9190611d45565b9050600654811115610d02576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf990611dc5565b60405180910390fd5b80600a60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006012600a610d569190611f25565b60045434610d649190611f70565b610d6e9190611fe1565b905080600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610dcc9190611634565b602060405180830381865afa158015610de9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e0d9190612027565b1015610e4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e45906120a0565b60405180910390fd5b80600b60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610e9d9190611d45565b925050819055503460076000828254610eb69190611d45565b925050819055506003544710610ee2576000600960146101000a81548160ff0219169083151502179055505b3373ffffffffffffffffffffffffffffffffffffffff167f8fafebcaf9d154343dad25669bfa277f4fbacd7ac6b0c4fed522580e040a0f333483604051610f2a9291906120c0565b60405180910390a250505050565b60035481565b60045481565b610f4c611164565b80600960166101000a81548160ff02191690831515021790555050565b610f71611164565b6000600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610fce9190611634565b602060405180830381865afa158015610feb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061100f9190612027565b9050600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b815260040161106e929190611995565b6020604051808303816000875af115801561108d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110b191906119d3565b5050565b60085481565b6110c3611164565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611132576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111299061215b565b60405180910390fd5b61113b816111e2565b50565b600960009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61116c611329565b73ffffffffffffffffffffffffffffffffffffffff1661118a61096e565b73ffffffffffffffffffffffffffffffffffffffff16146111e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d7906121c7565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600080336040516020016112ba919061222f565b604051602081830303815290604052805190602001209050611320848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050600c5483611331565b91505092915050565b600033905090565b60008261133e8584611348565b1490509392505050565b60008082905060005b84518110156113935761137e828683815181106113715761137061224a565b5b602002602001015161139e565b9150808061138b90611cfd565b915050611351565b508091505092915050565b60008183106113b6576113b182846113c9565b6113c1565b6113c083836113c9565b5b905092915050565b600082600052816020526040600020905092915050565b600080fd5b600080fd5b6000819050919050565b6113fd816113ea565b811461140857600080fd5b50565b60008135905061141a816113f4565b92915050565b60008060008060008060c0878903121561143d5761143c6113e0565b5b600061144b89828a0161140b565b965050602061145c89828a0161140b565b955050604061146d89828a0161140b565b945050606061147e89828a0161140b565b935050608061148f89828a0161140b565b92505060a06114a089828a0161140b565b9150509295509295509295565b60008115159050919050565b6114c2816114ad565b82525050565b60006020820190506114dd60008301846114b9565b92915050565b6000819050919050565b6114f6816114e3565b82525050565b600060208201905061151160008301846114ed565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061154282611517565b9050919050565b61155281611537565b811461155d57600080fd5b50565b60008135905061156f81611549565b92915050565b60006020828403121561158b5761158a6113e0565b5b600061159984828501611560565b91505092915050565b6115ab816113ea565b82525050565b60006020820190506115c660008301846115a2565b92915050565b6115d5816114e3565b81146115e057600080fd5b50565b6000813590506115f2816115cc565b92915050565b60006020828403121561160e5761160d6113e0565b5b600061161c848285016115e3565b91505092915050565b61162e81611537565b82525050565b60006020820190506116496000830184611625565b92915050565b611658816114ad565b811461166357600080fd5b50565b6000813590506116758161164f565b92915050565b600060208284031215611691576116906113e0565b5b600061169f84828501611666565b91505092915050565b600080fd5b600080fd5b600080fd5b60008083601f8401126116cd576116cc6116a8565b5b8235905067ffffffffffffffff8111156116ea576116e96116ad565b5b602083019150836020820283011115611706576117056116b2565b5b9250929050565b60008060208385031215611724576117236113e0565b5b600083013567ffffffffffffffff811115611742576117416113e5565b5b61174e858286016116b7565b92509250509250929050565b6000819050919050565b600061177f61177a61177584611517565b61175a565b611517565b9050919050565b600061179182611764565b9050919050565b60006117a382611786565b9050919050565b6117b381611798565b82525050565b60006020820190506117ce60008301846117aa565b92915050565b600082825260208201905092915050565b7f4e6f20746f6b656e7320746f20636c61696d0000000000000000000000000000600082015250565b600061181b6012836117d4565b9150611826826117e5565b602082019050919050565b6000602082019050818103600083015261184a8161180e565b9050919050565b7f50726573616c65206973207374696c6c20616374697665000000000000000000600082015250565b60006118876017836117d4565b915061189282611851565b602082019050919050565b600060208201905081810360008301526118b68161187a565b9050919050565b7f50726573616c65206973206e6f742066696e6973686564207965740000000000600082015250565b60006118f3601b836117d4565b91506118fe826118bd565b602082019050919050565b60006020820190508181036000830152611922816118e6565b9050919050565b7f5769746864726177616c7320617265206e6f7420616c6c6f7765642079657400600082015250565b600061195f601f836117d4565b915061196a82611929565b602082019050919050565b6000602082019050818103600083015261198e81611952565b9050919050565b60006040820190506119aa6000830185611625565b6119b760208301846115a2565b9392505050565b6000815190506119cd8161164f565b92915050565b6000602082840312156119e9576119e86113e0565b5b60006119f7848285016119be565b91505092915050565b600081905092915050565b50565b6000611a1b600083611a00565b9150611a2682611a0b565b600082019050919050565b6000611a3c82611a0e565b9150819050919050565b7f4661696c656420746f2073656e64204574686572000000000000000000000000600082015250565b6000611a7c6014836117d4565b9150611a8782611a46565b602082019050919050565b60006020820190508181036000830152611aab81611a6f565b9050919050565b7f50726573616c6520697320706175736564000000000000000000000000000000600082015250565b6000611ae86011836117d4565b9150611af382611ab2565b602082019050919050565b60006020820190508181036000830152611b1781611adb565b9050919050565b7f4d65726b6c652070726f6f66206973206e6f742076616c696400000000000000600082015250565b6000611b546019836117d4565b9150611b5f82611b1e565b602082019050919050565b60006020820190508181036000830152611b8381611b47565b9050919050565b7f50726573616c6520686173206e6f742073746172746564207965740000000000600082015250565b6000611bc0601b836117d4565b9150611bcb82611b8a565b602082019050919050565b60006020820190508181036000830152611bef81611bb3565b9050919050565b7f50726573616c652068617320616c726561647920656e64656400000000000000600082015250565b6000611c2c6019836117d4565b9150611c3782611bf6565b602082019050919050565b60006020820190508181036000830152611c5b81611c1f565b9050919050565b7f4d696e696d756d20636f6e747269627574696f6e206973206e6f74206d657400600082015250565b6000611c98601f836117d4565b9150611ca382611c62565b602082019050919050565b60006020820190508181036000830152611cc781611c8b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000611d08826113ea565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203611d3a57611d39611cce565b5b600182019050919050565b6000611d50826113ea565b9150611d5b836113ea565b9250828201905080821115611d7357611d72611cce565b5b92915050565b7f4d6178696d756d20636f6e747269627574696f6e206973206578636565646564600082015250565b6000611daf6020836117d4565b9150611dba82611d79565b602082019050919050565b60006020820190508181036000830152611dde81611da2565b9050919050565b60008160011c9050919050565b6000808291508390505b6001851115611e3c57808604811115611e1857611e17611cce565b5b6001851615611e275780820291505b8081029050611e3585611de5565b9450611dfc565b94509492505050565b600082611e555760019050611f11565b81611e635760009050611f11565b8160018114611e795760028114611e8357611eb2565b6001915050611f11565b60ff841115611e9557611e94611cce565b5b8360020a915084821115611eac57611eab611cce565b5b50611f11565b5060208310610133831016604e8410600b8410161715611ee75782820a905083811115611ee257611ee1611cce565b5b611f11565b611ef48484846001611df2565b92509050818404811115611f0b57611f0a611cce565b5b81810290505b9392505050565b600060ff82169050919050565b6000611f30826113ea565b9150611f3b83611f18565b9250611f687fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8484611e45565b905092915050565b6000611f7b826113ea565b9150611f86836113ea565b9250828202611f94816113ea565b91508282048414831517611fab57611faa611cce565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611fec826113ea565b9150611ff7836113ea565b92508261200757612006611fb2565b5b828204905092915050565b600081519050612021816113f4565b92915050565b60006020828403121561203d5761203c6113e0565b5b600061204b84828501612012565b91505092915050565b7f4e6f7420656e6f75676820746f6b656e73206c65667420666f722073616c6500600082015250565b600061208a601f836117d4565b915061209582612054565b602082019050919050565b600060208201905081810360008301526120b98161207d565b9050919050565b60006040820190506120d560008301856115a2565b6120e260208301846115a2565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006121456026836117d4565b9150612150826120e9565b604082019050919050565b6000602082019050818103600083015261217481612138565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006121b16020836117d4565b91506121bc8261217b565b602082019050919050565b600060208201905081810360008301526121e0816121a4565b9050919050565b60008160601b9050919050565b60006121ff826121e7565b9050919050565b6000612211826121f4565b9050919050565b61222961222482611537565b612206565b82525050565b600061223b8284612218565b60148201915081905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fdfea264697066735822122020e8cb91316ee4195bdfa21b0165a13fefe39ed041b45b8cc1e40cb1bb972eaa64736f6c63430008120033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.