ETH Price: $3,062.69 (+1.22%)
Gas: 6 Gwei

Contract

0xf042c68695c5449f0483f36ec4959ADF40cE6AcE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Claim All Availa...202153962024-07-02 0:57:117 days ago1719881831IN
0xf042c686...F40cE6AcE
0 ETH0.000134732.11808651
Claim All Availa...202134482024-07-01 18:25:598 days ago1719858359IN
0xf042c686...F40cE6AcE
0 ETH0.0009344314.68943481
Claim All Availa...201251702024-06-19 10:24:3520 days ago1718792675IN
0xf042c686...F40cE6AcE
0 ETH0.000195613.07512511
Claim All Availa...200331032024-06-06 13:31:4733 days ago1717680707IN
0xf042c686...F40cE6AcE
0 ETH0.0012859520.21524154
Claim All Availa...200280642024-06-05 20:37:3534 days ago1717619855IN
0xf042c686...F40cE6AcE
0 ETH0.0018435622.84104897
Claim All Availa...200278422024-06-05 19:53:1134 days ago1717617191IN
0xf042c686...F40cE6AcE
0 ETH0.0021633426.80291681
Claim All Availa...200261982024-06-05 14:22:5934 days ago1717597379IN
0xf042c686...F40cE6AcE
0 ETH0.0021339433.54567198
Claim All Availa...200238732024-06-05 6:35:4734 days ago1717569347IN
0xf042c686...F40cE6AcE
0 ETH0.000378277.21727965
Claim All Availa...200238732024-06-05 6:35:4734 days ago1717569347IN
0xf042c686...F40cE6AcE
0 ETH0.000582527.21727965
Claim All Availa...200083422024-06-03 2:34:1136 days ago1717382051IN
0xf042c686...F40cE6AcE
0 ETH0.0007718812.13408839
Claim All Availa...199921042024-05-31 20:09:3539 days ago1717186175IN
0xf042c686...F40cE6AcE
0 ETH0.000581579.14243032
Claim All Availa...199580622024-05-27 1:55:4743 days ago1716774947IN
0xf042c686...F40cE6AcE
0 ETH0.000443055.48929644
Claim All Availa...199197232024-05-21 17:18:2349 days ago1716311903IN
0xf042c686...F40cE6AcE
0 ETH0.0023847629.54620678
Claim All Availa...199197032024-05-21 17:14:2349 days ago1716311663IN
0xf042c686...F40cE6AcE
0 ETH0.0024163229.93721704
Claim All Availa...199197002024-05-21 17:13:4749 days ago1716311627IN
0xf042c686...F40cE6AcE
0 ETH0.0023019328.52000646
Claim All Availa...199196972024-05-21 17:13:1149 days ago1716311591IN
0xf042c686...F40cE6AcE
0 ETH0.0025404331.47489824
Claim All Availa...199196942024-05-21 17:12:3549 days ago1716311555IN
0xf042c686...F40cE6AcE
0 ETH0.0026476432.8032392
Claim All Availa...199196892024-05-21 17:11:3549 days ago1716311495IN
0xf042c686...F40cE6AcE
0 ETH0.0022523127.90519725
Claim All Availa...199196852024-05-21 17:10:4749 days ago1716311447IN
0xf042c686...F40cE6AcE
0 ETH0.0024729130.63833912
Claim All Availa...199196812024-05-21 17:09:5949 days ago1716311399IN
0xf042c686...F40cE6AcE
0 ETH0.0023342428.92036376
Claim All Availa...199196702024-05-21 17:07:4749 days ago1716311267IN
0xf042c686...F40cE6AcE
0 ETH0.0024326530.13958233
Claim All Availa...199196652024-05-21 17:06:4749 days ago1716311207IN
0xf042c686...F40cE6AcE
0 ETH0.0023869429.57324596
Claim All Availa...199108592024-05-20 11:32:2350 days ago1716204743IN
0xf042c686...F40cE6AcE
0 ETH0.000465187.31276696
Claim All Availa...198359392024-05-10 0:03:3560 days ago1715299415IN
0xf042c686...F40cE6AcE
0 ETH0.000292153.61969364
Claim All Availa...197930142024-05-03 23:58:2366 days ago1714780703IN
0xf042c686...F40cE6AcE
0 ETH0.000304174.78163081
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimedPrimeDistributor

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

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

pragma solidity 0.8.17;

import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";


contract TimedPrimeDistributor is Ownable2Step, ReentrancyGuard {
    using SafeERC20 for IERC20;

    /// @notice Address of PRIME contract.
    IERC20 public PRIME = IERC20(0xb23d80f5FefcDDaa212212F028021B41DEd428CF);
    uint public maxClaimPerAddress = 10000 ether;
    uint public startTime = 1696046400;
    uint public endTime = 1759204800;
    uint public runTime = 63158400;

    uint256 public totalClaimableInContract = 0;
    uint256 public constant primeAmountPerSecondPrecision = 1e18; // primeAmountPerSecond is carried around with extra precision to reduce rounding errors
    uint public primeAmountPerSecond = (maxClaimPerAddress * primeAmountPerSecondPrecision) / (endTime - startTime);

    mapping(address => uint256) public remainingAmounts;  // all initialized to 10k
    event Claim(address indexed receiver, uint256 indexed amount);


    constructor() {}

     function addAddresses(address[] calldata addresses) external onlyOwner {
         require(addresses.length > 0, "can't update zero");
         for (uint256 i = 0; i < addresses.length; ++i) {
            remainingAmounts[addresses[i]] = maxClaimPerAddress;
            totalClaimableInContract += maxClaimPerAddress;
         }
     }

    function getAmountUnlockedPerAddress() public view returns (uint){
        uint secondsRunning = block.timestamp - startTime;
        uint amountUnlocked = secondsRunning * primeAmountPerSecond / primeAmountPerSecondPrecision;

        return amountUnlocked;
    }

    function getAmountClaimableForAddress(address _address) public view returns (uint){
        uint amountClaimedAlready = maxClaimPerAddress - remainingAmounts[_address];
        uint amountUnlocked = getAmountUnlockedPerAddress();
        require(amountUnlocked >= amountClaimedAlready, "nothing to claim");

        return amountUnlocked - amountClaimedAlready;
    }

    function getAmountClaimedForAddress(address _address) public view returns (uint){
        require(remainingAmounts[_address]>0, "nothing to claim");
        return maxClaimPerAddress - remainingAmounts[_address];
    }

    function claimAllAvailable() public nonReentrant {
        uint256 maxClaimableAmount = getAmountClaimableForAddress(msg.sender);

        remainingAmounts[msg.sender] = remainingAmounts[msg.sender] - maxClaimableAmount;

        totalClaimableInContract -= maxClaimableAmount;
        PRIME.safeTransfer(msg.sender, maxClaimableAmount);
        emit Claim(msg.sender, maxClaimableAmount);
    }

    function claimSpecificAmount(uint256 amount) public nonReentrant {
        require(amount >= 1, "requested amount too small");
        uint256 maxClaimableAmount = getAmountClaimableForAddress(msg.sender);
        require(amount <= maxClaimableAmount, "amount not available");

        remainingAmounts[msg.sender] = remainingAmounts[msg.sender] - amount;

        totalClaimableInContract -= amount;
        PRIME.safeTransfer(msg.sender, amount);
        emit Claim(msg.sender, amount);
    }

    function sweep(uint256 amount) external onlyOwner {
        PRIME.safeTransfer(msg.sender, amount);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. 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 {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

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

pragma solidity ^0.8.0;

import "./Ownable.sol";

/**
 * @dev Contract module which provides 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} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() public virtual {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}

File 4 of 9 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

    /**
     * @dev Returns true if the reentrancy guard is currently set to "entered", which indicates there is a
     * `nonReentrant` function in the call stack.
     */
    function _reentrancyGuardEntered() internal view returns (bool) {
        return _status == _ENTERED;
    }
}

File 5 of 9 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 6 of 9 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

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

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

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

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

File 7 of 9 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/IERC20Permit.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;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

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

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
    }

    /**
     * @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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 8 of 9 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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://consensys.net/diligence/blog/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.8.0/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Claim","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":[],"name":"PRIME","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addresses","type":"address[]"}],"name":"addAddresses","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"claimAllAvailable","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"claimSpecificAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"endTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getAmountClaimableForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"getAmountClaimedForAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAmountUnlockedPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxClaimPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primeAmountPerSecond","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"primeAmountPerSecondPrecision","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"remainingAmounts","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"runTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"startTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"sweep","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalClaimableInContract","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600380546001600160a01b03191673b23d80f5fefcddaa212212f028021b41ded428cf17905569021e19e0c9bab24000006004556365179d4060058190556368db55c060068190556303c3b880600755600060085562000065919062000140565b670de0b6b3a76400006004546200007d91906200015c565b62000089919062000176565b6009553480156200009957600080fd5b50620000a533620000b0565b600160025562000199565b600180546001600160a01b0319169055620000d781620000da602090811b620007c217901c565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b634e487b7160e01b600052601160045260246000fd5b818103818111156200015657620001566200012a565b92915050565b80820281158282048414176200015657620001566200012a565b6000826200019457634e487b7160e01b600052601260045260246000fd5b500490565b610d4c80620001a96000396000f3fe608060405234801561001057600080fd5b50600436106101365760003560e01c80633f42498d116100b85780637af9ae7e1161007c5780637af9ae7e146102305780638da5cb5b14610243578063aa60e73314610254578063e30c397814610267578063ee23e7f714610278578063f2fde38b1461028157600080fd5b80633f42498d14610205578063715018a61461020e578063719931301461021657806378e979251461021f57806379ba50971461022857600080fd5b80631e995e97116100ff5780631e995e97146101bf5780632373974e146101c75780633197cbb6146101da5780633628731c146101e35780633f3a1f50146101f657600080fd5b806217cd8b1461013b57806310b347de1461016b5780631394edcd14610181578063153e4f29146101a15780631bf06ed2146101aa575b600080fd5b60035461014e906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b610173610294565b604051908152602001610162565b61017361018f366004610b26565b600a6020526000908152604090205481565b61017360045481565b6101bd6101b8366004610b4f565b6102d1565b005b6101bd61041a565b6101736101d5366004610b26565b6104c6565b61017360065481565b6101bd6101f1366004610b68565b61054a565b610173670de0b6b3a764000081565b61017360085481565b6101bd61061f565b61017360095481565b61017360055481565b6101bd610631565b61017361023e366004610b26565b6106a8565b6000546001600160a01b031661014e565b6101bd610262366004610b4f565b610732565b6001546001600160a01b031661014e565b61017360075481565b6101bd61028f366004610b26565b610751565b600080600554426102a59190610bf3565b90506000670de0b6b3a7640000600954836102c09190610c06565b6102ca9190610c1d565b9392505050565b6102d9610812565b600181101561032f5760405162461bcd60e51b815260206004820152601a60248201527f72657175657374656420616d6f756e7420746f6f20736d616c6c00000000000060448201526064015b60405180910390fd5b600061033a336106a8565b9050808211156103835760405162461bcd60e51b8152602060048201526014602482015273616d6f756e74206e6f7420617661696c61626c6560601b6044820152606401610326565b336000908152600a602052604090205461039e908390610bf3565b336000908152600a6020526040812091909155600880548492906103c3908490610bf3565b90915550506003546103df906001600160a01b03163384610869565b604051829033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3506104176001600255565b50565b610422610812565b600061042d336106a8565b336000908152600a602052604090205490915061044b908290610bf3565b336000908152600a602052604081209190915560088054839290610470908490610bf3565b909155505060035461048c906001600160a01b03163383610869565b604051819033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3506104c46001600255565b565b6001600160a01b0381166000908152600a602052604081205461051e5760405162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b6044820152606401610326565b6001600160a01b0382166000908152600a60205260409020546004546105449190610bf3565b92915050565b6105526108bb565b806105935760405162461bcd60e51b815260206004820152601160248201527063616e277420757064617465207a65726f60781b6044820152606401610326565b60005b8181101561061a57600454600a60008585858181106105b7576105b7610c3f565b90506020020160208101906105cc9190610b26565b6001600160a01b03166001600160a01b0316815260200190815260200160002081905550600454600860008282546106049190610c55565b90915550610613905081610c68565b9050610596565b505050565b6106276108bb565b6104c46000610915565b60015433906001600160a01b0316811461069f5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610326565b61041781610915565b6001600160a01b0381166000908152600a602052604081205460045482916106cf91610bf3565b905060006106db610294565b9050818110156107205760405162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b6044820152606401610326565b61072a8282610bf3565b949350505050565b61073a6108bb565b600354610417906001600160a01b03163383610869565b6107596108bb565b600180546001600160a01b0383166001600160a01b0319909116811790915561078a6000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60028054036108635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610326565b60028055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261061a90849061092e565b6000546001600160a01b031633146104c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610326565b600180546001600160a01b0319169055610417816107c2565b6000610983826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a039092919063ffffffff16565b90508051600014806109a45750808060200190518101906109a49190610c81565b61061a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610326565b606061072a848460008585600080866001600160a01b03168587604051610a2a9190610cc7565b60006040518083038185875af1925050503d8060008114610a67576040519150601f19603f3d011682016040523d82523d6000602084013e610a6c565b606091505b5091509150610a7d87838387610a88565b979650505050505050565b60608315610af7578251600003610af0576001600160a01b0385163b610af05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610326565b508161072a565b61072a8383815115610b0c5781518083602001fd5b8060405162461bcd60e51b81526004016103269190610ce3565b600060208284031215610b3857600080fd5b81356001600160a01b03811681146102ca57600080fd5b600060208284031215610b6157600080fd5b5035919050565b60008060208385031215610b7b57600080fd5b823567ffffffffffffffff80821115610b9357600080fd5b818501915085601f830112610ba757600080fd5b813581811115610bb657600080fd5b8660208260051b8501011115610bcb57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561054457610544610bdd565b808202811582820484141761054457610544610bdd565b600082610c3a57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b8082018082111561054457610544610bdd565b600060018201610c7a57610c7a610bdd565b5060010190565b600060208284031215610c9357600080fd5b815180151581146102ca57600080fd5b60005b83811015610cbe578181015183820152602001610ca6565b50506000910152565b60008251610cd9818460208701610ca3565b9190910192915050565b6020815260008251806020840152610d02816040850160208701610ca3565b601f01601f1916919091016040019291505056fea26469706673582212208bdef736c216b89763c7940a58b24be30accdebb3b118e2923903267017c9df164736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101365760003560e01c80633f42498d116100b85780637af9ae7e1161007c5780637af9ae7e146102305780638da5cb5b14610243578063aa60e73314610254578063e30c397814610267578063ee23e7f714610278578063f2fde38b1461028157600080fd5b80633f42498d14610205578063715018a61461020e578063719931301461021657806378e979251461021f57806379ba50971461022857600080fd5b80631e995e97116100ff5780631e995e97146101bf5780632373974e146101c75780633197cbb6146101da5780633628731c146101e35780633f3a1f50146101f657600080fd5b806217cd8b1461013b57806310b347de1461016b5780631394edcd14610181578063153e4f29146101a15780631bf06ed2146101aa575b600080fd5b60035461014e906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b610173610294565b604051908152602001610162565b61017361018f366004610b26565b600a6020526000908152604090205481565b61017360045481565b6101bd6101b8366004610b4f565b6102d1565b005b6101bd61041a565b6101736101d5366004610b26565b6104c6565b61017360065481565b6101bd6101f1366004610b68565b61054a565b610173670de0b6b3a764000081565b61017360085481565b6101bd61061f565b61017360095481565b61017360055481565b6101bd610631565b61017361023e366004610b26565b6106a8565b6000546001600160a01b031661014e565b6101bd610262366004610b4f565b610732565b6001546001600160a01b031661014e565b61017360075481565b6101bd61028f366004610b26565b610751565b600080600554426102a59190610bf3565b90506000670de0b6b3a7640000600954836102c09190610c06565b6102ca9190610c1d565b9392505050565b6102d9610812565b600181101561032f5760405162461bcd60e51b815260206004820152601a60248201527f72657175657374656420616d6f756e7420746f6f20736d616c6c00000000000060448201526064015b60405180910390fd5b600061033a336106a8565b9050808211156103835760405162461bcd60e51b8152602060048201526014602482015273616d6f756e74206e6f7420617661696c61626c6560601b6044820152606401610326565b336000908152600a602052604090205461039e908390610bf3565b336000908152600a6020526040812091909155600880548492906103c3908490610bf3565b90915550506003546103df906001600160a01b03163384610869565b604051829033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3506104176001600255565b50565b610422610812565b600061042d336106a8565b336000908152600a602052604090205490915061044b908290610bf3565b336000908152600a602052604081209190915560088054839290610470908490610bf3565b909155505060035461048c906001600160a01b03163383610869565b604051819033907f47cee97cb7acd717b3c0aa1435d004cd5b3c8c57d70dbceb4e4458bbd60e39d490600090a3506104c46001600255565b565b6001600160a01b0381166000908152600a602052604081205461051e5760405162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b6044820152606401610326565b6001600160a01b0382166000908152600a60205260409020546004546105449190610bf3565b92915050565b6105526108bb565b806105935760405162461bcd60e51b815260206004820152601160248201527063616e277420757064617465207a65726f60781b6044820152606401610326565b60005b8181101561061a57600454600a60008585858181106105b7576105b7610c3f565b90506020020160208101906105cc9190610b26565b6001600160a01b03166001600160a01b0316815260200190815260200160002081905550600454600860008282546106049190610c55565b90915550610613905081610c68565b9050610596565b505050565b6106276108bb565b6104c46000610915565b60015433906001600160a01b0316811461069f5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610326565b61041781610915565b6001600160a01b0381166000908152600a602052604081205460045482916106cf91610bf3565b905060006106db610294565b9050818110156107205760405162461bcd60e51b815260206004820152601060248201526f6e6f7468696e6720746f20636c61696d60801b6044820152606401610326565b61072a8282610bf3565b949350505050565b61073a6108bb565b600354610417906001600160a01b03163383610869565b6107596108bb565b600180546001600160a01b0383166001600160a01b0319909116811790915561078a6000546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60028054036108635760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610326565b60028055565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b17905261061a90849061092e565b6000546001600160a01b031633146104c45760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610326565b600180546001600160a01b0319169055610417816107c2565b6000610983826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a039092919063ffffffff16565b90508051600014806109a45750808060200190518101906109a49190610c81565b61061a5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610326565b606061072a848460008585600080866001600160a01b03168587604051610a2a9190610cc7565b60006040518083038185875af1925050503d8060008114610a67576040519150601f19603f3d011682016040523d82523d6000602084013e610a6c565b606091505b5091509150610a7d87838387610a88565b979650505050505050565b60608315610af7578251600003610af0576001600160a01b0385163b610af05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610326565b508161072a565b61072a8383815115610b0c5781518083602001fd5b8060405162461bcd60e51b81526004016103269190610ce3565b600060208284031215610b3857600080fd5b81356001600160a01b03811681146102ca57600080fd5b600060208284031215610b6157600080fd5b5035919050565b60008060208385031215610b7b57600080fd5b823567ffffffffffffffff80821115610b9357600080fd5b818501915085601f830112610ba757600080fd5b813581811115610bb657600080fd5b8660208260051b8501011115610bcb57600080fd5b60209290920196919550909350505050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561054457610544610bdd565b808202811582820484141761054457610544610bdd565b600082610c3a57634e487b7160e01b600052601260045260246000fd5b500490565b634e487b7160e01b600052603260045260246000fd5b8082018082111561054457610544610bdd565b600060018201610c7a57610c7a610bdd565b5060010190565b600060208284031215610c9357600080fd5b815180151581146102ca57600080fd5b60005b83811015610cbe578181015183820152602001610ca6565b50506000910152565b60008251610cd9818460208701610ca3565b9190910192915050565b6020815260008251806020840152610d02816040850160208701610ca3565b601f01601f1916919091016040019291505056fea26469706673582212208bdef736c216b89763c7940a58b24be30accdebb3b118e2923903267017c9df164736f6c63430008110033

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.