ETH Price: $3,355.11 (-3.46%)

Contract

0x23a591b8589a3eAa9269773A91A10Bd323A206a4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim All191072322024-01-28 19:51:23332 days ago1706471483IN
0x23a591b8...323A206a4
0 ETH0.0017040810.50179377
Claim All189110472024-01-01 7:15:59360 days ago1704093359IN
0x23a591b8...323A206a4
0 ETH0.000414049.53969285
Claim All189110412024-01-01 7:14:47360 days ago1704093287IN
0x23a591b8...323A206a4
0 ETH0.002244789.24523664
Claim All187002102023-12-02 17:27:59389 days ago1701538079IN
0x23a591b8...323A206a4
0 ETH0.0094474232.39601116
Claim All186979492023-12-02 9:53:35390 days ago1701510815IN
0x23a591b8...323A206a4
0 ETH0.0037333641.94796258
Claim All182091032023-09-25 0:02:35458 days ago1695600155IN
0x23a591b8...323A206a4
0 ETH0.002425413.52298016
Claim All179685222023-08-22 6:39:59492 days ago1692686399IN
0x23a591b8...323A206a4
0 ETH0.0060235920.65543413
Claim All178247802023-08-02 3:58:47512 days ago1690948727IN
0x23a591b8...323A206a4
0 ETH0.0047933316.43673909
Claim All176664642023-07-10 23:17:11534 days ago1689031031IN
0x23a591b8...323A206a4
0 ETH0.0060832120.85986574
Claim All170024042023-04-08 8:08:59628 days ago1680941339IN
0x23a591b8...323A206a4
0 ETH0.0072472524.85146369
Claim All169945052023-04-07 5:16:59629 days ago1680844619IN
0x23a591b8...323A206a4
0 ETH0.0052192423.12428952
Claim All168935422023-03-23 23:36:47643 days ago1679614607IN
0x23a591b8...323A206a4
0 ETH0.0040277622.4555441
Claim All168535732023-03-18 8:52:35649 days ago1679129555IN
0x23a591b8...323A206a4
0 ETH0.0047118616.15738534
Claim All167323452023-03-01 7:40:11666 days ago1677656411IN
0x23a591b8...323A206a4
0 ETH0.006986423.95696201
Claim All167235312023-02-28 1:55:35667 days ago1677549335IN
0x23a591b8...323A206a4
0 ETH0.0035025519.52870969
Claim All167172782023-02-27 4:53:35668 days ago1677473615IN
0x23a591b8...323A206a4
0 ETH0.0046972620.81159851
Claim All167123772023-02-26 12:21:59669 days ago1677414119IN
0x23a591b8...323A206a4
0 ETH0.0054297919.77899979
Claim All166052522023-02-11 11:34:47684 days ago1676115287IN
0x23a591b8...323A206a4
0 ETH0.0051066817.511257
Claim All160682492022-11-28 11:40:59759 days ago1669635659IN
0x23a591b8...323A206a4
0 ETH0.0028488312.62199298
Claim All160257602022-11-22 13:11:23764 days ago1669122683IN
0x23a591b8...323A206a4
0 ETH0.0068987623.65645903
Claim All157848762022-10-19 21:36:35798 days ago1666215395IN
0x23a591b8...323A206a4
0 ETH0.0164386156.37171471
Claim All156934462022-10-07 3:10:11811 days ago1665112211IN
0x23a591b8...323A206a4
0 ETH0.002314787.93759769
Claim All156877602022-10-06 8:05:47812 days ago1665043547IN
0x23a591b8...323A206a4
0 ETH0.001869846.41185334
Claim All156616182022-10-02 16:19:59815 days ago1664727599IN
0x23a591b8...323A206a4
0 ETH0.001565278.06906365
Claim All156367402022-09-29 4:53:11819 days ago1664427191IN
0x23a591b8...323A206a4
0 ETH0.0031529510.81174239
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
191072322024-01-28 19:51:23332 days ago1706471483
0x23a591b8...323A206a4
0 ETH
191072322024-01-28 19:51:23332 days ago1706471483
0x23a591b8...323A206a4
0 ETH
191072322024-01-28 19:51:23332 days ago1706471483
0x23a591b8...323A206a4
0 ETH
189110412024-01-01 7:14:47360 days ago1704093287
0x23a591b8...323A206a4
0 ETH
189110412024-01-01 7:14:47360 days ago1704093287
0x23a591b8...323A206a4
0 ETH
189110412024-01-01 7:14:47360 days ago1704093287
0x23a591b8...323A206a4
0 ETH
189110412024-01-01 7:14:47360 days ago1704093287
0x23a591b8...323A206a4
0 ETH
189110412024-01-01 7:14:47360 days ago1704093287
0x23a591b8...323A206a4
0 ETH
187002102023-12-02 17:27:59389 days ago1701538079
0x23a591b8...323A206a4
0 ETH
187002102023-12-02 17:27:59389 days ago1701538079
0x23a591b8...323A206a4
0 ETH
187002102023-12-02 17:27:59389 days ago1701538079
0x23a591b8...323A206a4
0 ETH
187002102023-12-02 17:27:59389 days ago1701538079
0x23a591b8...323A206a4
0 ETH
187002102023-12-02 17:27:59389 days ago1701538079
0x23a591b8...323A206a4
0 ETH
187002102023-12-02 17:27:59389 days ago1701538079
0x23a591b8...323A206a4
0 ETH
182091032023-09-25 0:02:35458 days ago1695600155
0x23a591b8...323A206a4
0 ETH
182091032023-09-25 0:02:35458 days ago1695600155
0x23a591b8...323A206a4
0 ETH
182091032023-09-25 0:02:35458 days ago1695600155
0x23a591b8...323A206a4
0 ETH
179685222023-08-22 6:39:59492 days ago1692686399
0x23a591b8...323A206a4
0 ETH
179685222023-08-22 6:39:59492 days ago1692686399
0x23a591b8...323A206a4
0 ETH
179685222023-08-22 6:39:59492 days ago1692686399
0x23a591b8...323A206a4
0 ETH
179685222023-08-22 6:39:59492 days ago1692686399
0x23a591b8...323A206a4
0 ETH
179685222023-08-22 6:39:59492 days ago1692686399
0x23a591b8...323A206a4
0 ETH
179685222023-08-22 6:39:59492 days ago1692686399
0x23a591b8...323A206a4
0 ETH
178247802023-08-02 3:58:47512 days ago1690948727
0x23a591b8...323A206a4
0 ETH
178247802023-08-02 3:58:47512 days ago1690948727
0x23a591b8...323A206a4
0 ETH
View All Internal Transactions
Loading...
Loading

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

Contract Name:
Claimer

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

contract Claimer is Ownable {
    using SafeERC20 for IERC20;

    struct Claim {
        uint unlockTime; // unix time
        uint percent; // three decimals: 1.783% = 1783
    }

    Claim[] public claims;

    string public id;

    bool public isPaused = false;
    uint public totalTokens;
    uint public claimedTokens;
    mapping(address => uint) public total;
    mapping(address => uint) public claimed;
    mapping(address => mapping(uint => uint)) public isClaimed;

    IERC20 public token;

    event Claimed(address indexed account, uint amount, uint percent, uint claimIdx);
    event ClaimReleased(uint percent, uint newTime, uint claimIdx);
    event ClaimDelayed(uint percent, uint newTime, uint claimIdx);
    event ClaimingPaused(bool status);

    constructor(string memory _id, address _token, uint[] memory times, uint[] memory percents) {
        token = IERC20(_token);
        id = _id;

        uint totalPercent;
        for (uint i = 0; i < times.length; i++) {
            require(percents[i] > 0, 'Claimer: 0% is not allowed');
            require(times[i] > 0, 'Claimer: time must specified');

            claims.push(Claim(times[i], percents[i]));
            totalPercent += percents[i];
        }
        require(totalPercent == 100000, 'Claimer: Sum of all claimed must be 100%');
    }

    function getClaimableAccountAmount(address account) external view returns (uint) {
        uint totalClaimable;
        for (uint i = 0; i < claims.length; i++) {
            if (isClaimable(i)) {
                totalClaimable += getClaimAmount(i, account);
            }
        }

        return totalClaimable - claimed[account];
    }

    function getAccountAmount(address account) external view returns (uint) {
        return total[account];
    }

    function getRemainingAccountAmount(address account) external view returns (uint) {
        return total[account] - claimed[account];
    }

    function getTotalRemainingAmount() external view returns (uint) {
        return totalTokens - claimedTokens;
    }

    function getClaims(address account) external view returns (uint[] memory, uint[] memory, uint[] memory, bool[] memory, uint[] memory) {
        uint len = claims.length;
        uint[] memory times = new uint[](len);
        uint[] memory percents = new uint[](len);
        uint[] memory amount = new uint[](len);
        bool[] memory _isClaimable = new bool[](len);
        uint[] memory claimedAmount = new uint[](len);

        for (uint i = 0; i < len; i++) {
            times[i] = claims[i].unlockTime;
            percents[i] = claims[i].percent;
            amount[i] = getClaimAmount(i, account);
            _isClaimable[i] = block.timestamp > claims[i].unlockTime;
            claimedAmount[i] = isClaimed[account][i];
        }

        return (times, percents, amount, _isClaimable, claimedAmount);
    }

    function claim(address account, uint idx) external {
        require(idx < claims.length, "Claimer: Out of bounds index");
        require(total[account] > 0, "Claimer: Account doesn't have allocation");
        require(!isPaused, "Claimer: Claiming paused");

        uint claimAmount = claimInternal(account, idx);
        emit Claimed(account, claimAmount, claims[idx].percent, idx);
    }

    function claimAll(address account) external {
        require(total[account] > 0, "Claimer: Account doesn't have allocation");
        require(!isPaused, "Claimer: Claiming paused");

        for (uint idx = 0; idx < claims.length; idx++) {
            if (isClaimed[account][idx] == 0 && isClaimable(idx)) {
                claimInternal(account, idx);
            }
        }
    }

    function claimInternal(address account, uint idx) internal returns (uint) {
        require(isClaimed[account][idx] == 0, "Claimer: Already claimed");
        require(isClaimable(idx), "Claimer: Not claimable");

        uint claimAmount = getClaimAmount(idx, account);
        require(claimAmount > 0, "Claimer: Amount is zero");

        claimedTokens += claimAmount;
        claimed[account] += claimAmount;
        isClaimed[account][idx] = claimAmount;

        token.safeTransfer(account, claimAmount);

        return claimAmount;
    }

    function releaseClaim(uint claimIdx) external onlyOwner {
        require(claimIdx < claims.length, "Claimer: Out of bounds index");
        Claim storage _claim = claims[claimIdx];

        require(_claim.unlockTime > block.timestamp, 'Claimer: Claim already released');
        _claim.unlockTime = block.timestamp;
        emit ClaimReleased(_claim.percent, _claim.unlockTime, claimIdx);
    }

    function delayClaim(uint claimIdx, uint newUnlockTime) external onlyOwner {
        require(claimIdx < claims.length, "Claimer: Out of bounds index");
        Claim storage _claim = claims[claimIdx];

        require(newUnlockTime > block.timestamp, 'Claimer: Time must be in future');
        require(newUnlockTime > _claim.unlockTime, 'Claimer: Time must be after the current claim time');
        _claim.unlockTime = newUnlockTime;
        emit ClaimDelayed(_claim.percent, _claim.unlockTime, claimIdx);
    }

    function isClaimable(uint claimIdx) internal view returns (bool) {
        return claims[claimIdx].unlockTime < block.timestamp;
    }

    function getClaimAmount(uint claimIdx, address account) internal view returns (uint) {
        if (total[account] == 0) {
            return 0;
        }

        return total[account] * claims[claimIdx].percent / 100000;
    }

    function pauseClaiming(bool status) external onlyOwner {
        isPaused = status;
        emit ClaimingPaused(status);
    }

    function setAllocation(address account, uint newTotal) external onlyOwner {
        if (newTotal > total[account]) {
            totalTokens += newTotal - total[account];
        } else {
            totalTokens -= total[account] - newTotal;
        }
        total[account] = newTotal;
    }

    function batchAddAllocation(address[] calldata addresses, uint[] calldata allocations) external onlyOwner {
        for (uint i = 0; i < addresses.length; i++) {
            address account = addresses[i];
            if (total[account] > 0) {
                continue;
            }
            total[account] = allocations[i];
            totalTokens += allocations[i];
        }
    }

    function batchMarkClaimed(address[] calldata addresses, uint[] calldata claimedIdx) external onlyOwner {
        for (uint i = 0; i < claimedIdx.length; i++) {
            uint idx = claimedIdx[i];

            for (uint j = 0; j < addresses.length; j++) {
                address account = addresses[j];
                uint claimAmount = getClaimAmount(idx, account);

                claimedTokens += claimAmount;
                claimed[account] += claimAmount;
                isClaimed[account][idx] = claimAmount;
                emit Claimed(account, claimAmount, claims[idx].percent, idx);
            }
        }
    }

    function withdrawAll() external onlyOwner {
        uint256 balance = address(this).balance;
        if (balance > 0) {
            payable(owner()).transfer(balance);
        }

        token.transfer(owner(), token.balanceOf(address(this)));
    }

    function withdrawToken(address _token, uint256 amount) external onlyOwner {
        IERC20(_token).transfer(owner(), amount);
    }

    function setToken(address _token) external onlyOwner {
        token = IERC20(_token);
    }
}

File 2 of 6 : Ownable.sol
// SPDX-License-Identifier: MIT

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 () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 3 of 6 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 6 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 5 of 6 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

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

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

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

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

    function _msgData() internal view virtual returns (bytes calldata) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_id","type":"string"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256[]","name":"times","type":"uint256[]"},{"internalType":"uint256[]","name":"percents","type":"uint256[]"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"ClaimDelayed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"newTime","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"ClaimReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"percent","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"Claimed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bool","name":"status","type":"bool"}],"name":"ClaimingPaused","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"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"allocations","type":"uint256[]"}],"name":"batchAddAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"},{"internalType":"uint256[]","name":"claimedIdx","type":"uint256[]"}],"name":"batchMarkClaimed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"idx","type":"uint256"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"claimAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"claimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"claimedTokens","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"claims","outputs":[{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"percent","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimIdx","type":"uint256"},{"internalType":"uint256","name":"newUnlockTime","type":"uint256"}],"name":"delayClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getAccountAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getClaimableAccountAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getClaims","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bool[]","name":"","type":"bool[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"getRemainingAccountAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTotalRemainingAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"id","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"isClaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"}],"name":"pauseClaiming","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"claimIdx","type":"uint256"}],"name":"releaseClaim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"newTotal","type":"uint256"}],"name":"setAllocation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"setToken","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":"total","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalTokens","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":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawToken","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c8063a888c2cd116100f9578063d0d46a0b11610097578063ea49feb011610071578063ea49feb0146103fd578063f04785f214610410578063f2fde38b14610423578063fc0c546a1461043657600080fd5b8063d0d46a0b146103a6578063d2514e84146103ca578063d6f9102b146103ea57600080fd5b8063af640d0f116100d3578063af640d0f14610341578063b187bd2614610356578063c6dccb6914610373578063c884ef831461038657600080fd5b8063a888c2cd146102f3578063a8bde4eb1461031b578063aad3ec961461032e57600080fd5b806383fd6e60116101665780639076c166116101405780639076c166146102b25780639e281a98146102c5578063a1da1bf8146102d8578063a525e172146102e057600080fd5b806383fd6e601461025c578063853828b6146102855780638da5cb5b1461028d57600080fd5b8063562beba8116101a2578063562beba81461020d578063715018a61461023857806377329f35146102405780637e1c0c091461025357600080fd5b80630d92e3e8146101c9578063144fa6d7146101e557806338d44611146101fa575b600080fd5b6101d260055481565b6040519081526020015b60405180910390f35b6101f86101f3366004611bb3565b610449565b005b6101f8610208366004611bf6565b61049e565b6101d261021b366004611bcd565b600860209081526000928352604080842090915290825290205481565b6101f86105cf565b6101f861024e366004611bb3565b610643565b6101d260045481565b6101d261026a366004611bb3565b6001600160a01b031660009081526006602052604090205490565b6101f861072f565b6000546001600160a01b03165b6040516001600160a01b0390911681526020016101dc565b6101f86102c0366004611bcd565b6108b7565b6101f86102d3366004611bcd565b610997565b6101d2610a67565b6101f86102ee366004611c5f565b610a7e565b610306610301366004611c97565b610aef565b604080519283526020830191909152016101dc565b6101f8610329366004611c97565b610b1d565b6101f861033c366004611bcd565b610c3d565b610349610d71565b6040516101dc9190611dd0565b6003546103639060ff1681565b60405190151581526020016101dc565b6101f8610381366004611bf6565b610dff565b6101d2610394366004611bb3565b60076020526000908152604090205481565b6103b96103b4366004611bb3565b610fbb565b6040516101dc959493929190611d3e565b6101d26103d8366004611bb3565b60066020526000908152604090205481565b6101d26103f8366004611bb3565b611348565b6101d261040b366004611bb3565b6113ba565b6101f861041e366004611cc7565b6113ee565b6101f8610431366004611bb3565b611573565b60095461029a906001600160a01b031681565b6000546001600160a01b0316331461047c5760405162461bcd60e51b815260040161047390611e3a565b60405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146104c85760405162461bcd60e51b815260040161047390611e3a565b60005b838110156105c85760008585838181106104f557634e487b7160e01b600052603260045260246000fd5b905060200201602081019061050a9190611bb3565b6001600160a01b0381166000908152600660205260409020549091501561053157506105b6565b83838381811061055157634e487b7160e01b600052603260045260246000fd5b6001600160a01b0384166000908152600660209081526040909120910292909201359091555083838381811061059757634e487b7160e01b600052603260045260246000fd5b90506020020135600460008282546105af9190611eb7565b9091555050505b806105c081611f90565b9150506104cb565b5050505050565b6000546001600160a01b031633146105f95760405162461bcd60e51b815260040161047390611e3a565b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6001600160a01b0381166000908152600660205260409020546106785760405162461bcd60e51b815260040161047390611e6f565b60035460ff16156106c65760405162461bcd60e51b815260206004820152601860248201527710db185a5b595c8e8810db185a5b5a5b99c81c185d5cd95960421b6044820152606401610473565b60005b60015481101561072b576001600160a01b038216600090815260086020908152604080832084845290915290205415801561070857506107088161165d565b1561071957610717828261169b565b505b8061072381611f90565b9150506106c9565b5050565b6000546001600160a01b031633146107595760405162461bcd60e51b815260040161047390611e3a565b47801561079b57600080546040516001600160a01b039091169183156108fc02918491818181858888f19350505050158015610799573d6000803e3d6000fd5b505b6009546001600160a01b031663a9059cbb6107be6000546001600160a01b031690565b6009546040516370a0823160e01b81523060048201526001600160a01b03909116906370a082319060240160206040518083038186803b15801561080157600080fd5b505afa158015610815573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108399190611caf565b6040516001600160e01b031960e085901b1681526001600160a01b0390921660048301526024820152604401602060405180830381600087803b15801561087f57600080fd5b505af1158015610893573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061072b9190611c7b565b6000546001600160a01b031633146108e15760405162461bcd60e51b815260040161047390611e3a565b6001600160a01b038216600090815260066020526040902054811115610940576001600160a01b0382166000908152600660205260409020546109249082611f0e565b600460008282546109359190611eb7565b9091555061097b9050565b6001600160a01b038216600090815260066020526040902054610964908290611f0e565b600460008282546109759190611f0e565b90915550505b6001600160a01b03909116600090815260066020526040902055565b6000546001600160a01b031633146109c15760405162461bcd60e51b815260040161047390611e3a565b816001600160a01b031663a9059cbb6109e26000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101849052604401602060405180830381600087803b158015610a2a57600080fd5b505af1158015610a3e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a629190611c7b565b505050565b6000600554600454610a799190611f0e565b905090565b6000546001600160a01b03163314610aa85760405162461bcd60e51b815260040161047390611e3a565b6003805460ff19168215159081179091556040519081527f40729d2b340c598858cbba072277c8d947aee5384f07e2af31298966ec01ae1c9060200160405180910390a150565b60018181548110610aff57600080fd5b60009182526020909120600290910201805460019091015490915082565b6000546001600160a01b03163314610b475760405162461bcd60e51b815260040161047390611e3a565b6001548110610b685760405162461bcd60e51b815260040161047390611e03565b600060018281548110610b8b57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201905042816000015411610bee5760405162461bcd60e51b815260206004820152601f60248201527f436c61696d65723a20436c61696d20616c72656164792072656c6561736564006044820152606401610473565b4280825560018201546040805191825260208201929092529081018390527fa43dae48621c426b50bfb75261b3fb486e6653b587e9c3eca9e6361fc27f7ba29060600160405180910390a15050565b6001548110610c5e5760405162461bcd60e51b815260040161047390611e03565b6001600160a01b038216600090815260066020526040902054610c935760405162461bcd60e51b815260040161047390611e6f565b60035460ff1615610ce15760405162461bcd60e51b815260206004820152601860248201527710db185a5b595c8e8810db185a5b5a5b99c81c185d5cd95960421b6044820152606401610473565b6000610ced838361169b565b9050826001600160a01b03167f9cdcf2f7714cca3508c7f0110b04a90a80a3a8dd0e35de99689db74d28c5383e8260018581548110610d3c57634e487b7160e01b600052603260045260246000fd5b6000918252602091829020600160029092020101546040805193845291830152810185905260600160405180910390a2505050565b60028054610d7e90611f55565b80601f0160208091040260200160405190810160405280929190818152602001828054610daa90611f55565b8015610df75780601f10610dcc57610100808354040283529160200191610df7565b820191906000526020600020905b815481529060010190602001808311610dda57829003601f168201915b505050505081565b6000546001600160a01b03163314610e295760405162461bcd60e51b815260040161047390611e3a565b60005b818110156105c8576000838383818110610e5657634e487b7160e01b600052603260045260246000fd5b90506020020135905060005b85811015610fa6576000878783818110610e8c57634e487b7160e01b600052603260045260246000fd5b9050602002016020810190610ea19190611bb3565b90506000610eaf8483611832565b90508060056000828254610ec39190611eb7565b90915550506001600160a01b03821660009081526007602052604081208054839290610ef0908490611eb7565b90915550506001600160a01b03821660008181526008602090815260408083208884529091529020829055600180547f9cdcf2f7714cca3508c7f0110b04a90a80a3a8dd0e35de99689db74d28c5383e91849188908110610f6157634e487b7160e01b600052603260045260246000fd5b6000918252602091829020600160029092020101546040805193845291830152810187905260600160405180910390a250508080610f9e90611f90565b915050610e62565b50508080610fb390611f90565b915050610e2c565b600154606090819081908190819060008167ffffffffffffffff811115610ff257634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561101b578160200160208202803683370190505b50905060008267ffffffffffffffff81111561104757634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015611070578160200160208202803683370190505b50905060008367ffffffffffffffff81111561109c57634e487b7160e01b600052604160045260246000fd5b6040519080825280602002602001820160405280156110c5578160200160208202803683370190505b50905060008467ffffffffffffffff8111156110f157634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561111a578160200160208202803683370190505b50905060008567ffffffffffffffff81111561114657634e487b7160e01b600052604160045260246000fd5b60405190808252806020026020018201604052801561116f578160200160208202803683370190505b50905060005b86811015611334576001818154811061119e57634e487b7160e01b600052603260045260246000fd5b9060005260206000209060020201600001548682815181106111d057634e487b7160e01b600052603260045260246000fd5b602002602001018181525050600181815481106111fd57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001015485828151811061122f57634e487b7160e01b600052603260045260246000fd5b602002602001018181525050611245818e611832565b84828151811061126557634e487b7160e01b600052603260045260246000fd5b6020026020010181815250506001818154811061129257634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016000015442118382815181106112c657634e487b7160e01b600052603260045260246000fd5b9115156020928302919091018201526001600160a01b038e1660009081526008825260408082208483529092522054825183908390811061131757634e487b7160e01b600052603260045260246000fd5b60209081029190910101528061132c81611f90565b915050611175565b50939b929a50909850965090945092505050565b60008060005b60015481101561138f576113618161165d565b1561137d576113708185611832565b61137a9083611eb7565b91505b8061138781611f90565b91505061134e565b506001600160a01b0383166000908152600760205260409020546113b39082611f0e565b9392505050565b6001600160a01b03811660009081526007602090815260408083205460069092528220546113e89190611f0e565b92915050565b6000546001600160a01b031633146114185760405162461bcd60e51b815260040161047390611e3a565b60015482106114395760405162461bcd60e51b815260040161047390611e03565b60006001838154811061145c57634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020190504282116114bb5760405162461bcd60e51b815260206004820152601f60248201527f436c61696d65723a2054696d65206d75737420626520696e20667574757265006044820152606401610473565b805482116115265760405162461bcd60e51b815260206004820152603260248201527f436c61696d65723a2054696d65206d757374206265206166746572207468652060448201527163757272656e7420636c61696d2074696d6560701b6064820152608401610473565b8181556001810154604080519182526020820184905281018490527fefcf8cf4d7c2640bc82c86876797c8848bb8e14b58dad67fc2d7b128f65464979060600160405180910390a1505050565b6000546001600160a01b0316331461159d5760405162461bcd60e51b815260040161047390611e3a565b6001600160a01b0381166116025760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610473565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6000426001838154811061168157634e487b7160e01b600052603260045260246000fd5b906000526020600020906002020160000154109050919050565b6001600160a01b03821660009081526008602090815260408083208484529091528120541561170c5760405162461bcd60e51b815260206004820152601860248201527f436c61696d65723a20416c726561647920636c61696d656400000000000000006044820152606401610473565b6117158261165d565b61175a5760405162461bcd60e51b8152602060048201526016602482015275436c61696d65723a204e6f7420636c61696d61626c6560501b6044820152606401610473565b60006117668385611832565b9050600081116117b85760405162461bcd60e51b815260206004820152601760248201527f436c61696d65723a20416d6f756e74206973207a65726f0000000000000000006044820152606401610473565b80600560008282546117ca9190611eb7565b90915550506001600160a01b038416600090815260076020526040812080548392906117f7908490611eb7565b90915550506001600160a01b03808516600090815260086020908152604080832087845290915290208290556009546113b3911685836118c8565b6001600160a01b038116600090815260066020526040812054611857575060006113e8565b620186a06001848154811061187c57634e487b7160e01b600052603260045260246000fd5b90600052602060002090600202016001015460066000856001600160a01b03166001600160a01b03168152602001908152602001600020546118be9190611eef565b6113b39190611ecf565b604080516001600160a01b03848116602483015260448083018590528351808403909101815260649092018352602080830180516001600160e01b031663a9059cbb60e01b17905283518085019094528084527f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c656490840152610a62928692916000916119589185169084906119d5565b805190915015610a6257808060200190518101906119769190611c7b565b610a625760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610473565b60606119e484846000856119ec565b949350505050565b606082471015611a4d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610473565b843b611a9b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610473565b600080866001600160a01b03168587604051611ab79190611d22565b60006040518083038185875af1925050503d8060008114611af4576040519150601f19603f3d011682016040523d82523d6000602084013e611af9565b606091505b5091509150611b09828286611b14565b979650505050505050565b60608315611b235750816113b3565b825115611b335782518084602001fd5b8160405162461bcd60e51b81526004016104739190611dd0565b80356001600160a01b0381168114611b6457600080fd5b919050565b60008083601f840112611b7a578182fd5b50813567ffffffffffffffff811115611b91578182fd5b6020830191508360208260051b8501011115611bac57600080fd5b9250929050565b600060208284031215611bc4578081fd5b6113b382611b4d565b60008060408385031215611bdf578081fd5b611be883611b4d565b946020939093013593505050565b60008060008060408587031215611c0b578182fd5b843567ffffffffffffffff80821115611c22578384fd5b611c2e88838901611b69565b90965094506020870135915080821115611c46578384fd5b50611c5387828801611b69565b95989497509550505050565b600060208284031215611c70578081fd5b81356113b381611fc1565b600060208284031215611c8c578081fd5b81516113b381611fc1565b600060208284031215611ca8578081fd5b5035919050565b600060208284031215611cc0578081fd5b5051919050565b60008060408385031215611cd9578182fd5b50508035926020909101359150565b6000815180845260208085019450808401835b83811015611d1757815187529582019590820190600101611cfb565b509495945050505050565b60008251611d34818460208701611f25565b9190910192915050565b60a081526000611d5160a0830188611ce8565b602083820381850152611d648289611ce8565b91508382036040850152611d788288611ce8565b84810360608601528651808252828801935090820190845b81811015611dae578451151583529383019391830191600101611d90565b50508481036080860152611dc28187611ce8565b9a9950505050505050505050565b6020815260008251806020840152611def816040850160208701611f25565b601f01601f19169190910160400192915050565b6020808252601c908201527f436c61696d65723a204f7574206f6620626f756e647320696e64657800000000604082015260600190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526028908201527f436c61696d65723a204163636f756e7420646f65736e2774206861766520616c6040820152673637b1b0ba34b7b760c11b606082015260800190565b60008219821115611eca57611eca611fab565b500190565b600082611eea57634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615611f0957611f09611fab565b500290565b600082821015611f2057611f20611fab565b500390565b60005b83811015611f40578181015183820152602001611f28565b83811115611f4f576000848401525b50505050565b600181811c90821680611f6957607f821691505b60208210811415611f8a57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415611fa457611fa4611fab565b5060010190565b634e487b7160e01b600052601160045260246000fd5b8015158114611fcf57600080fd5b5056fea26469706673582212205aeeaef2dd9deef78dd08050b8481930335aa5ba8e00cc9f7754d34b54d51c9264736f6c63430008040033

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.