ETH Price: $2,412.59 (+1.45%)
Gas: 8.01 Gwei

Contract

0xbc115D77cd8c9aeb06A104A905F3A09e39a97d03
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
0x15c1579ffe3e2f3c2374ca1905e003f3d8e478e0f94fe6ff50ea97601606aefd Claim Tokens(pending)2024-10-04 4:49:1833 hrs ago1728017358IN
0xbc115D77...e39a97d03
0 ETH(Pending)(Pending)
0x985d6c1a8297edd5507e67e9d4141747b9b4e1e0d1e6800dba0ad1291a4a0363 Claim Tokens(pending)2024-10-04 2:36:0535 hrs ago1728009365IN
0xbc115D77...e39a97d03
0 ETH(Pending)(Pending)
Claim Tokens195462412024-03-30 10:41:11189 days ago1711795271IN
0xbc115D77...e39a97d03
0 ETH0.0017666817.70931337
Claim Tokens191009372024-01-27 22:39:59251 days ago1706395199IN
0xbc115D77...e39a97d03
0 ETH0.0011540311.57386421
Claim Tokens189492992024-01-06 16:21:23272 days ago1704558083IN
0xbc115D77...e39a97d03
0 ETH0.0024828924.89320205
Claim Tokens189161952024-01-02 0:39:35277 days ago1704155975IN
0xbc115D77...e39a97d03
0 ETH0.0014182614.21816716
Claim Tokens187250002023-12-06 4:47:59304 days ago1701838079IN
0xbc115D77...e39a97d03
0 ETH0.0042648843.16025508
Claim Tokens186545742023-11-26 8:11:11314 days ago1700986271IN
0xbc115D77...e39a97d03
0 ETH0.0019305319.3618795
Claim Tokens185900812023-11-17 7:21:35323 days ago1700205695IN
0xbc115D77...e39a97d03
0 ETH0.0017133417.17428985
Claim Tokens183694572023-10-17 10:20:11354 days ago1697538011IN
0xbc115D77...e39a97d03
0 ETH0.000675956.77852603
Claim Tokens183503142023-10-14 18:09:23356 days ago1697306963IN
0xbc115D77...e39a97d03
0 ETH0.000556795.58205531
Claim Tokens183497492023-10-14 16:15:47356 days ago1697300147IN
0xbc115D77...e39a97d03
0 ETH0.000520745.22037161
Claim Tokens183492102023-10-14 14:27:47356 days ago1697293667IN
0xbc115D77...e39a97d03
0 ETH0.000636796.44040375
Claim Tokens183341522023-10-12 11:51:35359 days ago1697111495IN
0xbc115D77...e39a97d03
0 ETH0.000556755.5827283
Claim Tokens183339762023-10-12 11:15:59359 days ago1697109359IN
0xbc115D77...e39a97d03
0 ETH0.00061286.14311222
Claim Tokens183229952023-10-10 22:20:35360 days ago1696976435IN
0xbc115D77...e39a97d03
0 ETH0.000538525.40040893
Claim Tokens183198812023-10-10 11:53:23361 days ago1696938803IN
0xbc115D77...e39a97d03
0 ETH0.000816918.18880141
Claim Tokens183023942023-10-08 1:09:23363 days ago1696727363IN
0xbc115D77...e39a97d03
0 ETH0.000509595.1096168
Claim Tokens183004882023-10-07 18:46:11363 days ago1696704371IN
0xbc115D77...e39a97d03
0 ETH0.000520835.22133983
Claim Tokens182888272023-10-06 3:38:11365 days ago1696563491IN
0xbc115D77...e39a97d03
0 ETH0.000607666.09041382
Claim Tokens182827882023-10-05 7:21:59366 days ago1696490519IN
0xbc115D77...e39a97d03
0 ETH0.00055885.60189704
Claim Tokens182606002023-10-02 4:56:59369 days ago1696222619IN
0xbc115D77...e39a97d03
0 ETH0.000212046.15167222
Claim Tokens182537282023-10-01 5:53:59370 days ago1696139639IN
0xbc115D77...e39a97d03
0 ETH0.000637576.39169915
Claim Tokens182480022023-09-30 10:43:35371 days ago1696070615IN
0xbc115D77...e39a97d03
0 ETH0.0006466.47808417
Claim Tokens182105422023-09-25 4:52:59376 days ago1695617579IN
0xbc115D77...e39a97d03
0 ETH0.000684996.86846389
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

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

Contract Name:
UhiveAirdrop

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
File 1 of 9 : Airdrop.sol
// MerkleAirdrop.sol

pragma solidity ^0.8.20;

pragma experimental ABIEncoderV2;
import "MerkleProof.sol";
import "IERC20.sol";
import "ERC20.sol";
import "SafeMath.sol";
import "Ownable.sol";
import "UhiveToken.sol";

contract UhiveAirdrop is Ownable {
    using SafeMath for uint256;

    event Claimed(address claimant, uint256 week, uint256 balance);
    event TrancheAdded(uint256 tranche, bytes32 merkleRoot);
    event TrancheExpired(uint256 tranche);
    event RemovedFunder(address indexed _address);
    event TokenTransfer(address indexed purchaser, address indexed beneficiary, uint256 value, uint256 amount);

    UhiveToken public _token;
    address _owner;

    mapping(uint256 trancheId => bytes32 merkleRoot) public merkleRoots;
    mapping(uint256 trancheId => mapping(address claimerAddress => bool claimed)) public claimed;

    uint256 public tranches;

    constructor(UhiveToken _HVEtoken) Ownable(msg.sender) {
        _token = _HVEtoken;
        _owner = msg.sender;
    }

    function token() public view virtual returns (UhiveToken) {
        return _token;
    }

    function changeOwner(address _newOwner) onlyOwner public {
        require(_newOwner != address(0), "UhiveAirdrop: Invalid owner address..");
        _owner = _newOwner;
    }

    function addNewTranche(bytes32 _merkleRoot) public onlyOwner returns (uint256 trancheId) {
        trancheId = tranches;
        merkleRoots[trancheId] = _merkleRoot;
        tranches = tranches.add(1);
        emit TrancheAdded(trancheId, _merkleRoot);
    }

    function expireTranche(uint256 _trancheId) public onlyOwner {
        merkleRoots[_trancheId] = bytes32(0);
        emit TrancheExpired(_trancheId);
    }

    function claimTokens(uint256 _tranche, uint256 _balance, bytes32[] memory _merkleProof) public {
        _verifyRequest(msg.sender, _tranche, _balance, _merkleProof);
        uint256 newBalance = _calculateAdditionalBalance(msg.sender, _balance);
        _claimTokens(msg.sender, _tranche, _balance);
        _disburse(msg.sender, newBalance);
    }

    function _verifyRequest(address _address, uint256 _tranche, uint256 _balance, bytes32[] memory _merkleProof) private view {
        require(_tranche < tranches, "UhiveAirdrop: Invalid tranche");
        require(!claimed[_tranche][_address], "UhiveAirdrop: Tokens already claimed");
        require(_verifyClaim(_address, _tranche, _balance, _merkleProof), "UhiveAirdrop: Incorrect merkle proof");
    }

    function verifyClaim(uint256 _tranche, uint256 _balance, bytes32[] memory _merkleProof) public view returns (bool valid) {
        return _verifyClaim(msg.sender, _tranche, _balance, _merkleProof);
    }

    function calculateAirdropTokens(address _address, uint256 _tranche, uint256 _balance, bytes32[] memory _merkleProof) public view returns (uint256 balance) {
        _verifyRequest(_address, _tranche, _balance, _merkleProof);
        return _calculateAdditionalBalance(_address, _balance);
    }

    function _calculateAdditionalBalance(address _address, uint256 _balance) private view returns (uint256 balance) {
        uint256 _walletBalance = _token.balanceOf(_address);
        if(_walletBalance/1 ether < 100000){
            return _balance;
        }
        return _balance * 4;
    }

    function _claimTokens(address _address, uint256 _tranche, uint256 _balance) private {
        claimed[_tranche][_address] = true;
        emit Claimed(_address, _tranche, _balance);
    }

    function _verifyClaim(address _address, uint256 _tranche, uint256 _balance, bytes32[] memory _merkleProof) private view returns (bool valid) {
        bytes32 leaf = keccak256(bytes.concat(keccak256(abi.encode(_address, _balance))));
        return MerkleProof.verify(_merkleProof, merkleRoots[_tranche], leaf);
    }

    function _disburse(address _address, uint256 _balance) private {
        if (_balance > 0) {
            uint256 amount = _balance * (1 ether);
            _token.transfer(_address, amount);
        } else {
            revert("UhiveAirdrop: No balance would be transferred. not going to waste your gas");
        }
    }

    function withdrawTokens() onlyOwner public {
        uint256 vested = _token.balanceOf(address(this));
        if(vested==0){
            revert("UhiveAirdrop: No tokens available to withdraw");
        }
        _deliverTokens(_owner, vested);
    }

     function _deliverTokens(address _beneficiary, uint256 _tokenAmount) internal {
        require(_token.transfer(_beneficiary, _tokenAmount) == true, "UhiveAirdrop: Failed forwarding tokens");
        emit TokenTransfer(msg.sender, _beneficiary, 0, _tokenAmount);
    }
}

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

pragma solidity ^0.8.20;

/**
 * @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 The multiproof provided is not valid.
     */
    error MerkleProofInvalidMultiproof();

    /**
     * @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 rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen - 1 != totalHashes) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                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 rebuilds 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 proofLen = proof.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        if (leavesLen + proofLen - 1 != totalHashes) {
            revert MerkleProofInvalidMultiproof();
        }

        // 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 from 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) {
            if (proofPos != proofLen) {
                revert MerkleProofInvalidMultiproof();
            }
            unchecked {
                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 9 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

/**
 * @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 4 of 9 : ERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import "Context.sol";
import "IERC20.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of ERC20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20 {
    mapping (address => uint256) private _balances;

    mapping (address => mapping (address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The defaut value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor (string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5,05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overloaded;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(address sender, address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        _approve(sender, _msgSender(), currentAllowance - amount);

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        _approve(_msgSender(), spender, currentAllowance - subtractedValue);

        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(address sender, address recipient, uint256 amount) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        _balances[sender] = senderBalance - amount;
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        _balances[account] = accountBalance - amount;
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(address owner, address spender, uint256 amount) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

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

File 5 of 9 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

/*
 * @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 GSN 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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 6 of 9 : SafeMath.sol
pragma solidity ^0.8.20;


/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // assert(b > 0); // Solidity automatically throws when dividing by 0
    // uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold
    return a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

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

pragma solidity ^0.8.20;

import {Context} from "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.
 *
 * The initial owner is set to the address provided by the deployer. 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;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

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

    /**
     * @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 {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

File 8 of 9 : UhiveToken.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import "ERC20Capped.sol";


contract UhiveToken is ERC20Capped {

    event Burn(address indexed _from, uint256 _amount);

    constructor (string memory name_,
                string memory symbol_,
                uint256 cap)
                ERC20(name_, symbol_)
                ERC20Capped(cap) {

        _mint(msg.sender, cap);
    }

    function burn(uint256 amount) external {
        _burn(msg.sender, amount);
        _reduceCap(amount);
        emit Burn(msg.sender, amount);
    }
}

File 9 of 9 : ERC20Capped.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.20;

import "ERC20.sol";

/**
 * @dev Extension of {ERC20} that adds a cap to the supply of tokens.
 */
abstract contract ERC20Capped is ERC20 {
    uint256 private _cap;

    /**
     * @dev Sets the value of the `cap`. This value is immutable, it can only be
     * set once during construction.
     */
    constructor (uint256 cap_) {
        require(cap_ > 0, "ERC20Capped: cap is 0");
        _cap = cap_;
    }

    /**
     * @dev Returns the cap on the token's total supply.
     */
    function cap() public view virtual returns (uint256) {
        return _cap;
    }

    /**
     * @dev See {ERC20-_beforeTokenTransfer}.
     *
     * Requirements:
     *
     * - minted tokens must not cause the total supply to go over the cap.
     */
    function _beforeTokenTransfer(address from, address to, uint256 amount) internal virtual override {
        super._beforeTokenTransfer(from, to, amount);

        if (from == address(0)) { // When minting tokens
            require(totalSupply() + amount <= cap(), "ERC20Capped: cap exceeded");
        }
    }

    function _reduceCap(uint256 amount) internal {
        require(amount <= _cap, "ReduceCap: Amount specified is greater than current token cap.");
        _cap -= amount;
    }

}

Settings
{
  "evmVersion": "istanbul",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "Airdrop.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract UhiveToken","name":"_HVEtoken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"claimant","type":"address"},{"indexed":false,"internalType":"uint256","name":"week","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"}],"name":"RemovedFunder","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"purchaser","type":"address"},{"indexed":true,"internalType":"address","name":"beneficiary","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"TokenTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tranche","type":"uint256"},{"indexed":false,"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"TrancheAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tranche","type":"uint256"}],"name":"TrancheExpired","type":"event"},{"inputs":[],"name":"_token","outputs":[{"internalType":"contract UhiveToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"addNewTranche","outputs":[{"internalType":"uint256","name":"trancheId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"},{"internalType":"uint256","name":"_tranche","type":"uint256"},{"internalType":"uint256","name":"_balance","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"calculateAirdropTokens","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_newOwner","type":"address"}],"name":"changeOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tranche","type":"uint256"},{"internalType":"uint256","name":"_balance","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"trancheId","type":"uint256"},{"internalType":"address","name":"claimerAddress","type":"address"}],"name":"claimed","outputs":[{"internalType":"bool","name":"claimed","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_trancheId","type":"uint256"}],"name":"expireTranche","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"trancheId","type":"uint256"}],"name":"merkleRoots","outputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract UhiveToken","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tranches","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":[{"internalType":"uint256","name":"_tranche","type":"uint256"},{"internalType":"uint256","name":"_balance","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"verifyClaim","outputs":[{"internalType":"bool","name":"valid","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100f55760003560e01c8063a6f9dae111610097578063ebf0491711610066578063ebf0491714610214578063ecd0c0c31461021d578063f2fde38b14610230578063fc0c546a1461024357600080fd5b8063a6f9dae1146101c8578063b3337567146101db578063b69d1a08146101ee578063d5efd20a1461020157600080fd5b806371c5ecb1116100d357806371c5ecb11461016857806383904485146101885780638d8f2adb1461019b5780638da5cb5b146101a357600080fd5b8063120aa877146100fa57806313b368ff1461013d578063715018a61461015e575b600080fd5b610128610108366004610bb0565b600460209081526000928352604080842090915290825290205460ff1681565b60405190151581526020015b60405180910390f35b61015061014b366004610c8d565b610254565b604051908152602001610134565b610166610275565b005b610150610176366004610cee565b60036020526000908152604090205481565b610128610196366004610d07565b610289565b61016661029f565b6000546001600160a01b03165b6040516001600160a01b039091168152602001610134565b6101666101d6366004610d57565b61039a565b6101506101e9366004610cee565b610428565b6101666101fc366004610d07565b610496565b61016661020f366004610cee565b6104cb565b61015060055481565b6001546101b0906001600160a01b031681565b61016661023e366004610d57565b610521565b6001546001600160a01b03166101b0565b60006102628585858561055c565b61026c8584610690565b95945050505050565b61027d61073e565b610287600061076b565b565b6000610297338585856107bb565b949350505050565b6102a761073e565b6001546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a0823190602401602060405180830381865afa1580156102f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103149190610d72565b9050806000036103815760405162461bcd60e51b815260206004820152602d60248201527f556869766541697264726f703a204e6f20746f6b656e7320617661696c61626c60448201526c6520746f20776974686472617760981b60648201526084015b60405180910390fd5b600254610397906001600160a01b031682610839565b50565b6103a261073e565b6001600160a01b0381166104065760405162461bcd60e51b815260206004820152602560248201527f556869766541697264726f703a20496e76616c6964206f776e6572206164647260448201526432b9b9971760d91b6064820152608401610378565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b600061043261073e565b50600580546000818152600360205260409020839055905461045590600161095b565b60055560408051828152602081018490527f899089a7b39272321d9f5253a8c187ea3b7507701ebb523db8ae97763f0f7db8910160405180910390a1919050565b6104a23384848461055c565b60006104ae3384610690565b90506104bb338585610979565b6104c533826109eb565b50505050565b6104d361073e565b60008181526003602052604080822091909155517fcc071cbd9ae50a4c78d1153b76bd2d46ba8d4c7662842718ec3de1d67a144daf906105169083815260200190565b60405180910390a150565b61052961073e565b6001600160a01b03811661055357604051631e4fbdf760e01b815260006004820152602401610378565b6103978161076b565b60055483106105ad5760405162461bcd60e51b815260206004820152601d60248201527f556869766541697264726f703a20496e76616c6964207472616e6368650000006044820152606401610378565b60008381526004602090815260408083206001600160a01b038816845290915290205460ff161561062c5760405162461bcd60e51b8152602060048201526024808201527f556869766541697264726f703a20546f6b656e7320616c726561647920636c616044820152631a5b595960e21b6064820152608401610378565b610638848484846107bb565b6104c55760405162461bcd60e51b8152602060048201526024808201527f556869766541697264726f703a20496e636f7272656374206d65726b6c6520706044820152633937b7b360e11b6064820152608401610378565b6001546040516370a0823160e01b81526001600160a01b03848116600483015260009283929116906370a0823190602401602060405180830381865afa1580156106de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107029190610d72565b9050620186a061071a670de0b6b3a764000083610da1565b10156107295782915050610738565b610734836004610dc3565b9150505b92915050565b6000546001600160a01b031633146102875760405163118cdaa760e01b8152336004820152602401610378565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b604080516001600160a01b0386166020820152908101839052600090819060600160408051601f198184030181528282528051602091820120908301520160405160208183030381529060405280519060200120905061082f83600360008881526020019081526020016000205483610aff565b9695505050505050565b60015460405163a9059cbb60e01b81526001600160a01b038481166004830152602482018490529091169063a9059cbb906044016020604051808303816000875af115801561088c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108b09190610dda565b15156001146109105760405162461bcd60e51b815260206004820152602660248201527f556869766541697264726f703a204661696c656420666f7277617264696e6720604482015265746f6b656e7360d01b6064820152608401610378565b6040805160008152602081018390526001600160a01b0384169133917fbba8a6f1ace6d0ccb2089d879d1bf044d9153802c1d010c514711798d413828c910160405180910390a35050565b60006109678284610dfc565b90508281101561073857610738610e0f565b60008281526004602090815260408083206001600160a01b03871680855290835292819020805460ff19166001179055805192835290820184905281018290527f987d620f307ff6b94d58743cb7a7509f24071586a77759b77c2d4e29f75a2f9a9060600160405180910390a1505050565b8015610a7e576000610a0582670de0b6b3a7640000610dc3565b60015460405163a9059cbb60e01b81526001600160a01b0386811660048301526024820184905292935091169063a9059cbb906044016020604051808303816000875af1158015610a5a573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104c59190610dda565b60405162461bcd60e51b815260206004820152604a60248201527f556869766541697264726f703a204e6f2062616c616e636520776f756c64206260448201527f65207472616e736665727265642e206e6f7420676f696e6720746f20776173746064820152696520796f75722067617360b01b608482015260a401610378565b600082610b0c8584610b15565b14949350505050565b600081815b8451811015610b5a57610b4682868381518110610b3957610b39610e25565b6020026020010151610b62565b915080610b5281610e3b565b915050610b1a565b509392505050565b6000818310610b7e576000828152602084905260409020610b8d565b60008381526020839052604090205b9392505050565b80356001600160a01b0381168114610bab57600080fd5b919050565b60008060408385031215610bc357600080fd5b82359150610bd360208401610b94565b90509250929050565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610c0357600080fd5b8135602067ffffffffffffffff80831115610c2057610c20610bdc565b8260051b604051601f19603f83011681018181108482111715610c4557610c45610bdc565b604052938452858101830193838101925087851115610c6357600080fd5b83870191505b84821015610c8257813583529183019190830190610c69565b979650505050505050565b60008060008060808587031215610ca357600080fd5b610cac85610b94565b93506020850135925060408501359150606085013567ffffffffffffffff811115610cd657600080fd5b610ce287828801610bf2565b91505092959194509250565b600060208284031215610d0057600080fd5b5035919050565b600080600060608486031215610d1c57600080fd5b8335925060208401359150604084013567ffffffffffffffff811115610d4157600080fd5b610d4d86828701610bf2565b9150509250925092565b600060208284031215610d6957600080fd5b610b8d82610b94565b600060208284031215610d8457600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b600082610dbe57634e487b7160e01b600052601260045260246000fd5b500490565b808202811582820484141761073857610738610d8b565b600060208284031215610dec57600080fd5b81518015158114610b8d57600080fd5b8082018082111561073857610738610d8b565b634e487b7160e01b600052600160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b600060018201610e4d57610e4d610d8b565b506001019056fea264697066735822122010415a79530cf6885900987c7a7afeb3c12f6142f602d119663ee73f6fa0f34864736f6c63430008140033

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  ]

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.