ETH Price: $3,472.19 (+2.10%)

Contract

0xfCb5F5261371993FB9B618dE177DC57423Cdb989
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Airdrop153642122022-08-18 9:30:39860 days ago1660815039IN
0xfCb5F526...423Cdb989
0 ETH0.004543365
New Epoch153641912022-08-18 9:26:05860 days ago1660814765IN
0xfCb5F526...423Cdb989
0 ETH0.000529825.82838247
Airdrop152750842022-08-04 9:25:45874 days ago1659605145IN
0xfCb5F526...423Cdb989
0 ETH0.0104830812
New Epoch152750662022-08-04 9:22:03874 days ago1659604923IN
0xfCb5F526...423Cdb989
0 ETH0.0013452414.79839664
Airdrop151860472022-07-21 13:03:22887 days ago1658408602IN
0xfCb5F526...423Cdb989
0 ETH0.010882612
New Epoch151859742022-07-21 12:46:21887 days ago1658407581IN
0xfCb5F526...423Cdb989
0 ETH0.0019065420.97292275
Airdrop151404692022-07-14 11:21:33895 days ago1657797693IN
0xfCb5F526...423Cdb989
0 ETH0.008194689
New Epoch151404452022-07-14 11:16:48895 days ago1657797408IN
0xfCb5F526...423Cdb989
0 ETH0.0010226811.25150126
Airdrop151032462022-07-08 17:21:38900 days ago1657300898IN
0xfCb5F526...423Cdb989
0 ETH0.019766919.34008609
New Epoch151021252022-07-08 13:16:35900 days ago1657286195IN
0xfCb5F526...423Cdb989
0 ETH0.0031811734.99451479
Airdrop149726802022-06-16 9:57:16923 days ago1655373436IN
0xfCb5F526...423Cdb989
0 ETH0.0204235822.49665308
New Epoch149723422022-06-16 8:25:37923 days ago1655367937IN
0xfCb5F526...423Cdb989
0 ETH0.0035595339.1669836
Airdrop149327662022-06-09 13:10:50929 days ago1654780250IN
0xfCb5F526...423Cdb989
0 ETH0.0233089922.80489348
New Epoch149325302022-06-09 12:12:20930 days ago1654776740IN
0xfCb5F526...423Cdb989
0 ETH0.0052267857.49720797
Airdrop148473272022-05-26 9:58:46944 days ago1653559126IN
0xfCb5F526...423Cdb989
0 ETH0.0190705519.95790538
New Epoch148471702022-05-26 9:20:03944 days ago1653556803IN
0xfCb5F526...423Cdb989
0 ETH0.0026272728.9013535
Airdrop148039062022-05-19 8:18:15951 days ago1652948295IN
0xfCb5F526...423Cdb989
0 ETH0.0123542112.49417841
New Epoch148038182022-05-19 7:58:01951 days ago1652947081IN
0xfCb5F526...423Cdb989
0 ETH0.0019889821.87977424
Airdrop147669742022-05-13 11:03:50957 days ago1652439830IN
0xfCb5F526...423Cdb989
0 ETH0.0413002144.01060929
New Epoch147665432022-05-13 9:22:07957 days ago1652433727IN
0xfCb5F526...423Cdb989
0 ETH0.0062348566.53710038
Airdrop147262672022-05-06 22:47:31963 days ago1651877251IN
0xfCb5F526...423Cdb989
0 ETH0.0239512922
New Epoch147170942022-05-05 11:49:37965 days ago1651751377IN
0xfCb5F526...423Cdb989
0 ETH0.0030187532.21550338
Airdrop146773412022-04-29 5:25:41971 days ago1651209941IN
0xfCb5F526...423Cdb989
0 ETH0.026335325
New Epoch146727572022-04-28 12:05:53972 days ago1651147553IN
0xfCb5F526...423Cdb989
0 ETH0.00330236.32844152
Airdrop146350012022-04-22 13:39:42977 days ago1650634782IN
0xfCb5F526...423Cdb989
0 ETH0.0240822224.37795305
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:
ParsiqRewarder

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-11-11
*/

// SPDX-License-Identifier: MIT
// ParsiqRewarder smart-contract. Let's parse it!
pragma solidity 0.6.12;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        uint256 c = a - b;

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

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

        return c;
    }

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

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

/**
 * @dev These functions deal with verification of Merkle trees (hash trees),
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(bytes32[] memory proof, bytes32 root, bytes32 leaf) internal pure returns (bool) {
        bytes32 computedHash = leaf;

        for (uint256 i = 0; i < proof.length; i++) {
            bytes32 proofElement = proof[i];

            if (computedHash <= proofElement) {
                // Hash(current computed hash + current element of the proof)
                computedHash = keccak256(abi.encodePacked(computedHash, proofElement));
            } else {
                // Hash(current element of the proof + current computed hash)
                computedHash = keccak256(abi.encodePacked(proofElement, computedHash));
            }
        }

        // Check if the computed hash (root) is equal to the provided root
        return computedHash == root;
    }
}

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

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

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view 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;
    }
}

/**
 * @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);
}

/**
 * @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 in 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");
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        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);
            }
        }
    }
}

/**
 * @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 SafeMath for uint256;
    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).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _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");
        }
    }
}

contract ParsiqRewarder is Ownable {
  using SafeERC20 for IERC20;
  using SafeMath for uint256;
  using MerkleProof for bytes32[];

  IERC20TransferMany public token;
  address public tokenHolder;
  mapping(uint256 => bytes32) public epochRoots;
  mapping(address => uint256) public totalPayoutsFor;
  uint256 public lastBlockNumber;
  uint256 public pricePerBlock;
  uint256 public totalUnclaimed;

  event NewEpoch(bytes32 root, uint256 pricePerBlock);
  event UnclaimedChanged(uint256 totalUnclaimed);
  event Airdrop(uint256 totalDropped);

  constructor(address _token, address _tokenHolder, uint256 _programStart, uint256 _pricePerBlock) public {
    token = IERC20TransferMany(_token);
    tokenHolder = _tokenHolder;
    lastBlockNumber = _programStart;
    pricePerBlock = _pricePerBlock;
    emit NewEpoch(0x0, pricePerBlock);
  }

  function airdrop(address[] calldata beneficiaries, uint256[] calldata totalEarnings) external onlyOwner {
    require(beneficiaries.length == totalEarnings.length, "Invalid array length");

    uint256[] memory amounts = new uint256[](totalEarnings.length);

    uint256 total = 0;
    for (uint256 i = 0; i < beneficiaries.length; i++) {
      address beneficiary = beneficiaries[i];
      uint256 totalEarned = totalEarnings[i];
      uint256 totalReceived = totalPayoutsFor[beneficiary];
      require(totalEarned >= totalReceived, "Invalid batch");
      uint256 amount = totalEarned.sub(totalReceived);

      if (amount == 0) continue;

      amounts[i] = amount;
      total = total.add(amount);
      totalPayoutsFor[beneficiary] = totalEarned;
    }

    if (total == 0) return;

    decreaseUnclaimed(total);
    token.transferMany(beneficiaries, amounts);
    emit Airdrop(total);
  }

  function setTokenHolder(address account) public onlyOwner {
    require(account != address(0), "Zero address");
    tokenHolder = account;
  }
  
  function newEpoch(bytes32 epochRoot, uint256 blockNumber, uint256 newPricePerBlock) public onlyOwner {
    require(lastBlockNumber < blockNumber, "Invalid block number");
    require(blockNumber < block.number, "Invalid block number");
    epochRoots[blockNumber] = epochRoot;

    uint256 blocks = blockNumber.sub(lastBlockNumber);
    uint256 totalReward = blocks.mul(pricePerBlock);
    pricePerBlock = newPricePerBlock;
    lastBlockNumber = blockNumber;
    increaseUnclaimed(totalReward);

    token.transferFrom(tokenHolder, address(this), totalReward);
    emit NewEpoch(epochRoot, newPricePerBlock);
  }

  function claim(address recipient, uint256 totalEarned, uint256 blockNumber, bytes32[] calldata proof) external {
    require(isValidProof(recipient, totalEarned, blockNumber, proof), "Invalid proof");

    uint256 totalReceived = totalPayoutsFor[recipient];
    require(totalEarned >= totalReceived, "Already paid");

    uint256 amount = totalEarned.sub(totalReceived);
    if (amount == 0) return;

    totalPayoutsFor[recipient] = totalEarned;
    decreaseUnclaimed(amount);
    token.transfer(recipient, amount);
  }

  function isValidProof(address recipient, uint256 totalEarned, uint256 blockNumber, bytes32[] calldata proof) public view returns (bool) {
    uint256 chainId;
    assembly {
      chainId := chainid()
    }
    bytes32 leaf = keccak256(abi.encodePacked(recipient, totalEarned, chainId, address(this)));
    bytes32 root = epochRoots[blockNumber];
    return proof.verify(root, leaf);
  }

  function recoverTokens(IERC20 erc20, address to, uint256 amount) public onlyOwner {
    uint256 balance = erc20.balanceOf(address(this));

    if (address(erc20) == address(token)) {
      balance = balance.sub(totalUnclaimed);
    }

    require(balance >= amount, "Given amount is larger than recoverable balance");
    erc20.safeTransfer(to, amount);
  }

  function increaseUnclaimed(uint256 delta) internal {
    totalUnclaimed = totalUnclaimed.add(delta);
    emit UnclaimedChanged(totalUnclaimed);
  }

  function decreaseUnclaimed(uint256 delta) internal {
    totalUnclaimed = totalUnclaimed.sub(delta);
    emit UnclaimedChanged(totalUnclaimed);
  }
}

interface IERC20TransferMany {
  function transferMany(
    address[] calldata recipients,
    uint256[] calldata amounts
  ) external;

  function transfer(
    address recipient,
    uint256 amount
  ) external;
  
  function transferFrom(
    address sender,
    address recipient,
    uint256 amount
  ) external returns (bool);
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_tokenHolder","type":"address"},{"internalType":"uint256","name":"_programStart","type":"uint256"},{"internalType":"uint256","name":"_pricePerBlock","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalDropped","type":"uint256"}],"name":"Airdrop","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"root","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"pricePerBlock","type":"uint256"}],"name":"NewEpoch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"totalUnclaimed","type":"uint256"}],"name":"UnclaimedChanged","type":"event"},{"inputs":[{"internalType":"address[]","name":"beneficiaries","type":"address[]"},{"internalType":"uint256[]","name":"totalEarnings","type":"uint256[]"}],"name":"airdrop","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"totalEarned","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"claim","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"epochRoots","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"totalEarned","type":"uint256"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"isValidProof","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBlockNumber","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"epochRoot","type":"bytes32"},{"internalType":"uint256","name":"blockNumber","type":"uint256"},{"internalType":"uint256","name":"newPricePerBlock","type":"uint256"}],"name":"newEpoch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pricePerBlock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"erc20","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"setTokenHolder","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20TransferMany","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"tokenHolder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"totalPayoutsFor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalUnclaimed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516118003803806118008339818101604052608081101561003357600080fd5b5080516020820151604083015160609093015191929091600061005461011d565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b038087166001600160a01b03199283161790925560028054928616929091169190911790556005829055600681905560408051600081526020810183905281517f7e3b246e8208875d9340777795117acb27d617adbd416ef1e943fe975325db45929181900390910190a150505050610121565b3390565b6116d0806101306000396000f3fe608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063e649256711610066578063e6492567146103cc578063f29d2f28146103f5578063f2fde38b1461041b578063fc0c546a1461044157610100565b80638da5cb5b14610314578063ab792cdb1461031c578063c96f14b814610324578063ca5a27801461032c57610100565b806355deccc1116100d357806355deccc1146101f75780635f3e849f14610214578063672434821461024a578063715018a61461030c57610100565b8063172bd6de146101055780632552317c14610193578063420a83e7146101ad5780634d676fa7146101d1575b600080fd5b6101916004803603608081101561011b57600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561015257600080fd5b82018360208201111561016457600080fd5b8035906020019184602083028401116401000000008311171561018657600080fd5b509092509050610449565b005b61019b6105ca565b60408051918252519081900360200190f35b6101b56105d0565b604080516001600160a01b039092168252519081900360200190f35b61019b600480360360208110156101e757600080fd5b50356001600160a01b03166105df565b61019b6004803603602081101561020d57600080fd5b50356105f1565b6101916004803603606081101561022a57600080fd5b506001600160a01b03813581169160208101359091169060400135610603565b6101916004803603604081101561026057600080fd5b81019060208101813564010000000081111561027b57600080fd5b82018360208201111561028d57600080fd5b803590602001918460208302840111640100000000831117156102af57600080fd5b9193909290916020810190356401000000008111156102cd57600080fd5b8201836020820111156102df57600080fd5b8035906020019184602083028401116401000000008311171561030157600080fd5b50909250905061076b565b610191610ace565b6101b5610b8f565b61019b610b9e565b61019b610ba4565b6103b86004803603608081101561034257600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561037957600080fd5b82018360208201111561038b57600080fd5b803590602001918460208302840111640100000000831117156103ad57600080fd5b509092509050610baa565b604080519115158252519081900360200190f35b610191600480360360608110156103e257600080fd5b5080359060208101359060400135610c5c565b6101916004803603602081101561040b57600080fd5b50356001600160a01b0316610ea3565b6101916004803603602081101561043157600080fd5b50356001600160a01b0316610f97565b6101b56110ae565b6104568585858585610baa565b6104a7576040805162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f6600000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03851660009081526004602052604090205480851015610515576040805162461bcd60e51b815260206004820152600c60248201527f416c726561647920706169640000000000000000000000000000000000000000604482015290519081900360640190fd5b600061052186836110bd565b90508061052f5750506105c3565b6001600160a01b038716600090815260046020526040902086905561055381611108565b6001546040805163a9059cbb60e01b81526001600160a01b038a81166004830152602482018590529151919092169163a9059cbb91604480830192600092919082900301818387803b1580156105a857600080fd5b505af11580156105bc573d6000803e3d6000fd5b5050505050505b5050505050565b60055481565b6002546001600160a01b031681565b60046020526000908152604090205481565b60036020526000908152604090205481565b61060b61114f565b6000546001600160a01b0390811691161461066d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156106bc57600080fd5b505afa1580156106d0573d6000803e3d6000fd5b505050506040513d60208110156106e657600080fd5b50516001549091506001600160a01b03858116911614156107125760075461070f9082906110bd565b90505b818110156107515760405162461bcd60e51b815260040180806020018281038252602f815260200180611621602f913960400191505060405180910390fd5b6107656001600160a01b0385168484611153565b50505050565b61077361114f565b6000546001600160a01b039081169116146107d5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b828114610829576040805162461bcd60e51b815260206004820152601460248201527f496e76616c6964206172726179206c656e677468000000000000000000000000604482015290519081900360640190fd5b60608167ffffffffffffffff8111801561084257600080fd5b5060405190808252806020026020018201604052801561086c578160200160208202803683370190505b5090506000805b8581101561098d57600087878381811061088957fe5b905060200201356001600160a01b0316905060008686848181106108a957fe5b6001600160a01b0385166000908152600460209081526040909120549102929092013592505080821015610924576040805162461bcd60e51b815260206004820152600d60248201527f496e76616c696420626174636800000000000000000000000000000000000000604482015290519081900360640190fd5b600061093083836110bd565b9050806109405750505050610985565b8087868151811061094d57fe5b602090810291909101015261096286826111bf565b6001600160a01b0390941660009081526004602052604090209290925550909250505b600101610873565b508061099a575050610765565b6109a381611108565b600154604080517fb7fc661200000000000000000000000000000000000000000000000000000000815260048101918252604481018890526001600160a01b039092169163b7fc661291899189918791819060248101906064018660208702808284376000838201819052601f909101601f1916909201858103845286518152865160209182019382890193509102908190849084905b83811015610a52578181015183820152602001610a3a565b5050505090500195505050505050600060405180830381600087803b158015610a7a57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b50506040805184815290517fd0ecdf4854f39daba34ba0e2c1ed0132a7023a5434bffc90b24f3335fb90e5e39350908190036020019150a1505050505050565b610ad661114f565b6000546001600160a01b03908116911614610b38576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000546001600160a01b031690565b60065481565b60075481565b60408051606087811b6bffffffffffffffffffffffff19166020808401919091526034830188905246605484018190523090921b607484015283518084036068018152608884018086528151918301919091206000898152600384528681205493880280870160a8908101909852888452909694959194610c4f938593879391928c928c92839201908490808284376000920191909152509294939250506112199050565b9998505050505050505050565b610c6461114f565b6000546001600160a01b03908116911614610cc6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8160055410610d1c576040805162461bcd60e51b815260206004820152601460248201527f496e76616c696420626c6f636b206e756d626572000000000000000000000000604482015290519081900360640190fd5b438210610d70576040805162461bcd60e51b815260206004820152601460248201527f496e76616c696420626c6f636b206e756d626572000000000000000000000000604482015290519081900360640190fd5b6000828152600360205260408120849055600554610d8f9084906110bd565b90506000610da8600654836112c290919063ffffffff16565b600684905560058590559050610dbd8161131b565b600154600254604080517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b03928316600482015230602482015260448101859052905191909216916323b872dd9160648083019260209291908290030181600087803b158015610e3557600080fd5b505af1158015610e49573d6000803e3d6000fd5b505050506040513d6020811015610e5f57600080fd5b5050604080518681526020810185905281517f7e3b246e8208875d9340777795117acb27d617adbd416ef1e943fe975325db45929181900390910190a15050505050565b610eab61114f565b6000546001600160a01b03908116911614610f0d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610f68576040805162461bcd60e51b815260206004820152600c60248201527f5a65726f20616464726573730000000000000000000000000000000000000000604482015290519081900360640190fd5b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610f9f61114f565b6000546001600160a01b03908116911614611001576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110465760405162461bcd60e51b81526004018080602001828103825260268152602001806115fb6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b60006110ff83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611328565b90505b92915050565b60075461111590826110bd565b600781905560408051918252517faaa44799f25da76278865165ddf7404f07849d863428398153850230503d50b19181900360200190a150565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b1790526111ba9084906113bf565b505050565b6000828201838110156110ff576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081815b85518110156112b757600086828151811061123557fe5b6020026020010151905080831161127c57828160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506112ae565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b5060010161121e565b509092149392505050565b6000826112d157506000611102565b828202828482816112de57fe5b04146110ff5760405162461bcd60e51b81526004018080602001828103825260218152602001806116506021913960400191505060405180910390fd5b60075461111590826111bf565b600081848411156113b75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561137c578181015183820152602001611364565b50505050905090810190601f1680156113a95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6060611414826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114709092919063ffffffff16565b8051909150156111ba5780806020019051602081101561143357600080fd5b50516111ba5760405162461bcd60e51b815260040180806020018281038252602a815260200180611671602a913960400191505060405180910390fd5b606061147f8484600085611487565b949350505050565b6060611492856115f4565b6114e3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106115225780518252601f199092019160209182019101611503565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611584576040519150601f19603f3d011682016040523d82523d6000602084013e611589565b606091505b5091509150811561159d57915061147f9050565b8051156115ad5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561137c578181015183820152602001611364565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373476976656e20616d6f756e74206973206c6172676572207468616e207265636f76657261626c652062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220731a488b5f194de9d5d9cd279eb09b6dfb806c63dfc9a534e3cae48a62b7b52964736f6c634300060c0033000000000000000000000000362bc847a3a9637d3af6624eec853618a43ed7d200000000000000000000000083a8225295a308273a6adba48ac5f66514447f390000000000000000000000000000000000000000000000000000000000aabec70000000000000000000000000000000000000000000000000de0b6b3a7640000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101005760003560e01c80638da5cb5b11610097578063e649256711610066578063e6492567146103cc578063f29d2f28146103f5578063f2fde38b1461041b578063fc0c546a1461044157610100565b80638da5cb5b14610314578063ab792cdb1461031c578063c96f14b814610324578063ca5a27801461032c57610100565b806355deccc1116100d357806355deccc1146101f75780635f3e849f14610214578063672434821461024a578063715018a61461030c57610100565b8063172bd6de146101055780632552317c14610193578063420a83e7146101ad5780634d676fa7146101d1575b600080fd5b6101916004803603608081101561011b57600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561015257600080fd5b82018360208201111561016457600080fd5b8035906020019184602083028401116401000000008311171561018657600080fd5b509092509050610449565b005b61019b6105ca565b60408051918252519081900360200190f35b6101b56105d0565b604080516001600160a01b039092168252519081900360200190f35b61019b600480360360208110156101e757600080fd5b50356001600160a01b03166105df565b61019b6004803603602081101561020d57600080fd5b50356105f1565b6101916004803603606081101561022a57600080fd5b506001600160a01b03813581169160208101359091169060400135610603565b6101916004803603604081101561026057600080fd5b81019060208101813564010000000081111561027b57600080fd5b82018360208201111561028d57600080fd5b803590602001918460208302840111640100000000831117156102af57600080fd5b9193909290916020810190356401000000008111156102cd57600080fd5b8201836020820111156102df57600080fd5b8035906020019184602083028401116401000000008311171561030157600080fd5b50909250905061076b565b610191610ace565b6101b5610b8f565b61019b610b9e565b61019b610ba4565b6103b86004803603608081101561034257600080fd5b6001600160a01b03823516916020810135916040820135919081019060808101606082013564010000000081111561037957600080fd5b82018360208201111561038b57600080fd5b803590602001918460208302840111640100000000831117156103ad57600080fd5b509092509050610baa565b604080519115158252519081900360200190f35b610191600480360360608110156103e257600080fd5b5080359060208101359060400135610c5c565b6101916004803603602081101561040b57600080fd5b50356001600160a01b0316610ea3565b6101916004803603602081101561043157600080fd5b50356001600160a01b0316610f97565b6101b56110ae565b6104568585858585610baa565b6104a7576040805162461bcd60e51b815260206004820152600d60248201527f496e76616c69642070726f6f6600000000000000000000000000000000000000604482015290519081900360640190fd5b6001600160a01b03851660009081526004602052604090205480851015610515576040805162461bcd60e51b815260206004820152600c60248201527f416c726561647920706169640000000000000000000000000000000000000000604482015290519081900360640190fd5b600061052186836110bd565b90508061052f5750506105c3565b6001600160a01b038716600090815260046020526040902086905561055381611108565b6001546040805163a9059cbb60e01b81526001600160a01b038a81166004830152602482018590529151919092169163a9059cbb91604480830192600092919082900301818387803b1580156105a857600080fd5b505af11580156105bc573d6000803e3d6000fd5b5050505050505b5050505050565b60055481565b6002546001600160a01b031681565b60046020526000908152604090205481565b60036020526000908152604090205481565b61060b61114f565b6000546001600160a01b0390811691161461066d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6000836001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156106bc57600080fd5b505afa1580156106d0573d6000803e3d6000fd5b505050506040513d60208110156106e657600080fd5b50516001549091506001600160a01b03858116911614156107125760075461070f9082906110bd565b90505b818110156107515760405162461bcd60e51b815260040180806020018281038252602f815260200180611621602f913960400191505060405180910390fd5b6107656001600160a01b0385168484611153565b50505050565b61077361114f565b6000546001600160a01b039081169116146107d5576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b828114610829576040805162461bcd60e51b815260206004820152601460248201527f496e76616c6964206172726179206c656e677468000000000000000000000000604482015290519081900360640190fd5b60608167ffffffffffffffff8111801561084257600080fd5b5060405190808252806020026020018201604052801561086c578160200160208202803683370190505b5090506000805b8581101561098d57600087878381811061088957fe5b905060200201356001600160a01b0316905060008686848181106108a957fe5b6001600160a01b0385166000908152600460209081526040909120549102929092013592505080821015610924576040805162461bcd60e51b815260206004820152600d60248201527f496e76616c696420626174636800000000000000000000000000000000000000604482015290519081900360640190fd5b600061093083836110bd565b9050806109405750505050610985565b8087868151811061094d57fe5b602090810291909101015261096286826111bf565b6001600160a01b0390941660009081526004602052604090209290925550909250505b600101610873565b508061099a575050610765565b6109a381611108565b600154604080517fb7fc661200000000000000000000000000000000000000000000000000000000815260048101918252604481018890526001600160a01b039092169163b7fc661291899189918791819060248101906064018660208702808284376000838201819052601f909101601f1916909201858103845286518152865160209182019382890193509102908190849084905b83811015610a52578181015183820152602001610a3a565b5050505090500195505050505050600060405180830381600087803b158015610a7a57600080fd5b505af1158015610a8e573d6000803e3d6000fd5b50506040805184815290517fd0ecdf4854f39daba34ba0e2c1ed0132a7023a5434bffc90b24f3335fb90e5e39350908190036020019150a1505050505050565b610ad661114f565b6000546001600160a01b03908116911614610b38576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a36000805473ffffffffffffffffffffffffffffffffffffffff19169055565b6000546001600160a01b031690565b60065481565b60075481565b60408051606087811b6bffffffffffffffffffffffff19166020808401919091526034830188905246605484018190523090921b607484015283518084036068018152608884018086528151918301919091206000898152600384528681205493880280870160a8908101909852888452909694959194610c4f938593879391928c928c92839201908490808284376000920191909152509294939250506112199050565b9998505050505050505050565b610c6461114f565b6000546001600160a01b03908116911614610cc6576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b8160055410610d1c576040805162461bcd60e51b815260206004820152601460248201527f496e76616c696420626c6f636b206e756d626572000000000000000000000000604482015290519081900360640190fd5b438210610d70576040805162461bcd60e51b815260206004820152601460248201527f496e76616c696420626c6f636b206e756d626572000000000000000000000000604482015290519081900360640190fd5b6000828152600360205260408120849055600554610d8f9084906110bd565b90506000610da8600654836112c290919063ffffffff16565b600684905560058590559050610dbd8161131b565b600154600254604080517f23b872dd0000000000000000000000000000000000000000000000000000000081526001600160a01b03928316600482015230602482015260448101859052905191909216916323b872dd9160648083019260209291908290030181600087803b158015610e3557600080fd5b505af1158015610e49573d6000803e3d6000fd5b505050506040513d6020811015610e5f57600080fd5b5050604080518681526020810185905281517f7e3b246e8208875d9340777795117acb27d617adbd416ef1e943fe975325db45929181900390910190a15050505050565b610eab61114f565b6000546001600160a01b03908116911614610f0d576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b038116610f68576040805162461bcd60e51b815260206004820152600c60248201527f5a65726f20616464726573730000000000000000000000000000000000000000604482015290519081900360640190fd5b6002805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b610f9f61114f565b6000546001600160a01b03908116911614611001576040805162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015290519081900360640190fd5b6001600160a01b0381166110465760405162461bcd60e51b81526004018080602001828103825260268152602001806115fb6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36000805473ffffffffffffffffffffffffffffffffffffffff19166001600160a01b0392909216919091179055565b6001546001600160a01b031681565b60006110ff83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250611328565b90505b92915050565b60075461111590826110bd565b600781905560408051918252517faaa44799f25da76278865165ddf7404f07849d863428398153850230503d50b19181900360200190a150565b3390565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1663a9059cbb60e01b1790526111ba9084906113bf565b505050565b6000828201838110156110ff576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600081815b85518110156112b757600086828151811061123557fe5b6020026020010151905080831161127c57828160405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092506112ae565b808360405160200180838152602001828152602001925050506040516020818303038152906040528051906020012092505b5060010161121e565b509092149392505050565b6000826112d157506000611102565b828202828482816112de57fe5b04146110ff5760405162461bcd60e51b81526004018080602001828103825260218152602001806116506021913960400191505060405180910390fd5b60075461111590826111bf565b600081848411156113b75760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561137c578181015183820152602001611364565b50505050905090810190601f1680156113a95780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b6060611414826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166114709092919063ffffffff16565b8051909150156111ba5780806020019051602081101561143357600080fd5b50516111ba5760405162461bcd60e51b815260040180806020018281038252602a815260200180611671602a913960400191505060405180910390fd5b606061147f8484600085611487565b949350505050565b6060611492856115f4565b6114e3576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106115225780518252601f199092019160209182019101611503565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114611584576040519150601f19603f3d011682016040523d82523d6000602084013e611589565b606091505b5091509150811561159d57915061147f9050565b8051156115ad5780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561137c578181015183820152602001611364565b3b15159056fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373476976656e20616d6f756e74206973206c6172676572207468616e207265636f76657261626c652062616c616e6365536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a2646970667358221220731a488b5f194de9d5d9cd279eb09b6dfb806c63dfc9a534e3cae48a62b7b52964736f6c634300060c0033

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

000000000000000000000000362bc847a3a9637d3af6624eec853618a43ed7d200000000000000000000000083a8225295a308273a6adba48ac5f66514447f390000000000000000000000000000000000000000000000000000000000aabec70000000000000000000000000000000000000000000000000de0b6b3a7640000

-----Decoded View---------------
Arg [0] : _token (address): 0x362bc847A3a9637d3af6624EeC853618a43ed7D2
Arg [1] : _tokenHolder (address): 0x83a8225295A308273a6adbA48aC5f66514447F39
Arg [2] : _programStart (uint256): 11189959
Arg [3] : _pricePerBlock (uint256): 1000000000000000000

-----Encoded View---------------
4 Constructor Arguments found :
Arg [0] : 000000000000000000000000362bc847a3a9637d3af6624eec853618a43ed7d2
Arg [1] : 00000000000000000000000083a8225295a308273a6adba48ac5f66514447f39
Arg [2] : 0000000000000000000000000000000000000000000000000000000000aabec7
Arg [3] : 0000000000000000000000000000000000000000000000000de0b6b3a7640000


Deployed Bytecode Sourcemap

22071:4200:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24651:532;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24651:532:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24651:532:0;;-1:-1:-1;24651:532:0;-1:-1:-1;24651:532:0;:::i;:::-;;22383:30;;;:::i;:::-;;;;;;;;;;;;;;;;22247:26;;;:::i;:::-;;;;-1:-1:-1;;;;;22247:26:0;;;;;;;;;;;;;;22328:50;;;;;;;;;;;;;;;;-1:-1:-1;22328:50:0;-1:-1:-1;;;;;22328:50:0;;:::i;22278:45::-;;;;;;;;;;;;;;;;-1:-1:-1;22278:45:0;;:::i;25590:366::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;25590:366:0;;;;;;;;;;;;;;;;;:::i;22941:920::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22941:920:0;;-1:-1:-1;22941:920:0;-1:-1:-1;22941:920:0;:::i;9210:148::-;;;:::i;8568:79::-;;;:::i;22418:28::-;;;:::i;22451:29::-;;;:::i;25189:395::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25189:395:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25189:395:0;;-1:-1:-1;25189:395:0;-1:-1:-1;25189:395:0;:::i;:::-;;;;;;;;;;;;;;;;;;24020:625;;;;;;;;;;;;;;;;-1:-1:-1;24020:625:0;;;;;;;;;;;;:::i;23867:145::-;;;;;;;;;;;;;;;;-1:-1:-1;23867:145:0;-1:-1:-1;;;;;23867:145:0;;:::i;9513:244::-;;;;;;;;;;;;;;;;-1:-1:-1;9513:244:0;-1:-1:-1;;;;;9513:244:0;;:::i;22211:31::-;;;:::i;24651:532::-;24777:56;24790:9;24801:11;24814;24827:5;;24777:12;:56::i;:::-;24769:82;;;;;-1:-1:-1;;;24769:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;24884:26:0;;24860:21;24884:26;;;:15;:26;;;;;;24925:28;;;;24917:53;;;;;-1:-1:-1;;;24917:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;24979:14;24996:30;:11;25012:13;24996:15;:30::i;:::-;24979:47;-1:-1:-1;25037:11:0;25033:24;;25050:7;;;;25033:24;-1:-1:-1;;;;;25065:26:0;;;;;;:15;:26;;;;;:40;;;25112:25;25130:6;25112:17;:25::i;:::-;25144:5;;:33;;;-1:-1:-1;;;25144:33:0;;-1:-1:-1;;;;;25144:33:0;;;;;;;;;;;;;;;:5;;;;;:14;;:33;;;;;:5;;:33;;;;;;;:5;;:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24651:532;;;;;;;;:::o;22383:30::-;;;;:::o;22247:26::-;;;-1:-1:-1;;;;;22247:26:0;;:::o;22328:50::-;;;;;;;;;;;;;:::o;22278:45::-;;;;;;;;;;;;;:::o;25590:366::-;8790:12;:10;:12::i;:::-;8780:6;;-1:-1:-1;;;;;8780:6:0;;;:22;;;8772:67;;;;;-1:-1:-1;;;8772:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25679:15:::1;25697:5;-1:-1:-1::0;;;;;25697:15:0::1;;25721:4;25697:30;;;;;;;;;;;;;-1:-1:-1::0;;;;;25697:30:0::1;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;25697:30:0;25766:5:::1;::::0;25697:30;;-1:-1:-1;;;;;;25740:32:0;;::::1;25766:5:::0;::::1;25740:32;25736:92;;;25805:14;::::0;25793:27:::1;::::0;:7;;:11:::1;:27::i;:::-;25783:37;;25736:92;25855:6;25844:7;:17;;25836:77;;;;-1:-1:-1::0;;;25836:77:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25920:30;-1:-1:-1::0;;;;;25920:18:0;::::1;25939:2:::0;25943:6;25920:18:::1;:30::i;:::-;8850:1;25590:366:::0;;;:::o;22941:920::-;8790:12;:10;:12::i;:::-;8780:6;;-1:-1:-1;;;;;8780:6:0;;;:22;;;8772:67;;;;;-1:-1:-1;;;8772:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23060:44;;::::1;23052:77;;;::::0;;-1:-1:-1;;;23052:77:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;23138:24;23179:13:::0;23165:35:::1;::::0;::::1;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;-1:-1:-1;23165:35:0::1;;23138:62;;23209:13;23238:9:::0;23233:484:::1;23253:24:::0;;::::1;23233:484;;;23293:19;23315:13;;23329:1;23315:16;;;;;;;;;;;;;-1:-1:-1::0;;;;;23315:16:0::1;23293:38;;23340:19;23362:13;;23376:1;23362:16;;;;;;;-1:-1:-1::0;;;;;23411:28:0;::::1;23387:21;23411:28:::0;;;:15:::1;23362:16;23411:28:::0;;;;;;;;23362:16;::::1;::::0;;;::::1;;::::0;-1:-1:-1;;23456:28:0;;::::1;;23448:54;;;::::0;;-1:-1:-1;;;23448:54:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;23511:14;23528:30;:11:::0;23544:13;23528:15:::1;:30::i;:::-;23511:47:::0;-1:-1:-1;23573:11:0;23569:25:::1;;23586:8;;;;;;23569:25;23618:6;23605:7;23613:1;23605:10;;;;;;;;;::::0;;::::1;::::0;;;;;:19;23641:17:::1;:5:::0;23651:6;23641:9:::1;:17::i;:::-;-1:-1:-1::0;;;;;23667:28:0;;::::1;;::::0;;;:15:::1;:28;::::0;;;;:42;;;;-1:-1:-1;23633:25:0;;-1:-1:-1;;23233:484:0::1;23279:3;;23233:484;;;-1:-1:-1::0;23729:10:0;23725:23:::1;;23741:7;;;;23725:23;23756:24;23774:5;23756:17;:24::i;:::-;23787:5;::::0;:42:::1;::::0;;;;;::::1;::::0;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;23787:5:0;;::::1;::::0;:18:::1;::::0;23806:13;;;;23821:7;;23787:42;;;;;;;;23806:13;23787:42:::1;::::0;::::1;::::0;23806:13;23787:42;::::1;;::::0;;::::1;::::0;;;::::1;::::0;;::::1;-1:-1:-1::0;;23787:42:0::1;::::0;;::::1;::::0;;::::1;::::0;;;;;;;;::::1;::::0;;::::1;::::0;;;::::1;::::0;-1:-1:-1;23787:42:0;::::1;::::0;;;;;;;::::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;;23841:14:0::1;::::0;;;;;;;::::1;::::0;-1:-1:-1;23841:14:0;;;;::::1;::::0;;-1:-1:-1;23841:14:0::1;8850:1;;22941:920:::0;;;;:::o;9210:148::-;8790:12;:10;:12::i;:::-;8780:6;;-1:-1:-1;;;;;8780:6:0;;;:22;;;8772:67;;;;;-1:-1:-1;;;8772:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9317:1:::1;9301:6:::0;;9280:40:::1;::::0;-1:-1:-1;;;;;9301:6:0;;::::1;::::0;9280:40:::1;::::0;9317:1;;9280:40:::1;9348:1;9331:19:::0;;-1:-1:-1;;9331:19:0::1;::::0;;9210:148::o;8568:79::-;8606:7;8633:6;-1:-1:-1;;;;;8633:6:0;8568:79;:::o;22418:28::-;;;;:::o;22451:29::-;;;;:::o;25189:395::-;25430:64;;;;;;;-1:-1:-1;;25430:64:0;;;;;;;;;;;;;;;25383:9;25430:64;;;;;;25488:4;25430:64;;;;;;;;;;;;;;;;;;;;;;25420:75;;;;;;;;;-1:-1:-1;25517:23:0;;;:10;:23;;;;;;25554:12;;;;;;;;;;;;;;;;-1:-1:-1;;25383:9:0;;25420:75;;25554:24;;25517:23;;25420:75;;25430:64;;25554:5;;:12;;;;;;:5;;:12;:5;:12;;;;;;;;;-1:-1:-1;25554:12:0;;:24;;-1:-1:-1;;25554:12:0;:24;-1:-1:-1;25554:24:0:i;:::-;25547:31;25189:395;-1:-1:-1;;;;;;;;;25189:395:0:o;24020:625::-;8790:12;:10;:12::i;:::-;8780:6;;-1:-1:-1;;;;;8780:6:0;;;:22;;;8772:67;;;;;-1:-1:-1;;;8772:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24154:11:::1;24136:15;;:29;24128:62;;;::::0;;-1:-1:-1;;;24128:62:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;24219:12;24205:11;:26;24197:59;;;::::0;;-1:-1:-1;;;24197:59:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;24263:23;::::0;;;:10:::1;:23;::::0;;;;:35;;;24340:15:::1;::::0;24324:32:::1;::::0;24274:11;;24324:15:::1;:32::i;:::-;24307:49;;24363:19;24385:25;24396:13;;24385:6;:10;;:25;;;;:::i;:::-;24417:13;:32:::0;;;24456:15:::1;:29:::0;;;24363:47;-1:-1:-1;24492:30:0::1;24363:47:::0;24492:17:::1;:30::i;:::-;24531:5;::::0;24550:11:::1;::::0;24531:59:::1;::::0;;;;;-1:-1:-1;;;;;24550:11:0;;::::1;24531:59;::::0;::::1;::::0;24571:4:::1;24531:59:::0;;;;;;;;;;;;:5;;;::::1;::::0;:18:::1;::::0;:59;;;;;::::1;::::0;;;;;;;;:5:::1;::::0;:59;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;;24602:37:0::1;::::0;;;;;24531:59:::1;24602:37:::0;::::1;::::0;;;;;::::1;::::0;;;;;;;;;::::1;8850:1;;24020:625:::0;;;:::o;23867:145::-;8790:12;:10;:12::i;:::-;8780:6;;-1:-1:-1;;;;;8780:6:0;;;:22;;;8772:67;;;;;-1:-1:-1;;;8772:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;23940:21:0;::::1;23932:46;;;::::0;;-1:-1:-1;;;23932:46:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;::::1;;23985:11;:21:::0;;-1:-1:-1;;23985:21:0::1;-1:-1:-1::0;;;;;23985:21:0;;;::::1;::::0;;;::::1;::::0;;23867:145::o;9513:244::-;8790:12;:10;:12::i;:::-;8780:6;;-1:-1:-1;;;;;8780:6:0;;;:22;;;8772:67;;;;;-1:-1:-1;;;8772:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;9602:22:0;::::1;9594:73;;;;-1:-1:-1::0;;;9594:73:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9704:6;::::0;;9683:38:::1;::::0;-1:-1:-1;;;;;9683:38:0;;::::1;::::0;9704:6;::::1;::::0;9683:38:::1;::::0;::::1;9732:6;:17:::0;;-1:-1:-1;;9732:17:0::1;-1:-1:-1::0;;;;;9732:17:0;;;::::1;::::0;;;::::1;::::0;;9513:244::o;22211:31::-;;;-1:-1:-1;;;;;22211:31:0;;:::o;1415:136::-;1473:7;1500:43;1504:1;1507;1500:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1493:50;;1415:136;;;;;:::o;26118:150::-;26193:14;;:25;;26212:5;26193:18;:25::i;:::-;26176:14;:42;;;26230:32;;;;;;;;;;;;;;;;26118:150;:::o;7206:106::-;7294:10;7206:106;:::o;18998:177::-;19108:58;;;-1:-1:-1;;;;;19108:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;19108:58:0;;;19081:86;;19101:5;;19081:19;:86::i;:::-;18998:177;;;:::o;951:181::-;1009:7;1041:5;;;1065:6;;;;1057:46;;;;;-1:-1:-1;;;1057:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;5860:796;5951:4;5991;5951;6008:525;6032:5;:12;6028:1;:16;6008:525;;;6066:20;6089:5;6095:1;6089:8;;;;;;;;;;;;;;6066:31;;6134:12;6118;:28;6114:408;;6288:12;6302;6271:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6261:55;;;;;;6246:70;;6114:408;;;6478:12;6492;6461:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6451:55;;;;;;6436:70;;6114:408;-1:-1:-1;6046:3:0;;6008:525;;;-1:-1:-1;6628:20:0;;;;5860:796;-1:-1:-1;;;5860:796:0:o;2305:471::-;2363:7;2608:6;2604:47;;-1:-1:-1;2638:1:0;2631:8;;2604:47;2675:5;;;2679:1;2675;:5;:1;2699:5;;;;;:10;2691:56;;;;-1:-1:-1;;;2691:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25962:150;26037:14;;:25;;26056:5;26037:18;:25::i;1854:192::-;1940:7;1976:12;1968:6;;;;1960:29;;;;-1:-1:-1;;;1960:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;2012:5:0;;;1854:192::o;21303:761::-;21727:23;21753:69;21781:4;21753:69;;;;;;;;;;;;;;;;;21761:5;-1:-1:-1;;;;;21753:27:0;;;:69;;;;;:::i;:::-;21837:17;;21727:95;;-1:-1:-1;21837:21:0;21833:224;;21979:10;21968:30;;;;;;;;;;;;;;;-1:-1:-1;21968:30:0;21960:85;;;;-1:-1:-1;;;21960:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16076:196;16179:12;16211:53;16234:6;16242:4;16248:1;16251:12;16211:22;:53::i;:::-;16204:60;16076:196;-1:-1:-1;;;;16076:196:0:o;17453:979::-;17583:12;17616:18;17627:6;17616:10;:18::i;:::-;17608:60;;;;;-1:-1:-1;;;17608:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17742:12;17756:23;17783:6;-1:-1:-1;;;;;17783:11:0;17803:8;17814:4;17783:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;17783:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;17741:78;;;;17834:7;17830:595;;;17865:10;-1:-1:-1;17858:17:0;;-1:-1:-1;17858:17:0;17830:595;17979:17;;:21;17975:439;;18242:10;18236:17;18303:15;18290:10;18286:2;18282:19;18275:44;18190:148;18378:20;;-1:-1:-1;;;18378:20:0;;;;;;;;;;;;;;;;;18385:12;;18378:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13158:422;13525:20;13564:8;;;13158:422::o

Swarm Source

ipfs://731a488b5f194de9d5d9cd279eb09b6dfb806c63dfc9a534e3cae48a62b7b529

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.