ETH Price: $3,408.00 (+2.58%)

Contract

0xbdB7189105BBE8Bc8f003883F6c18E8C5947D364
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Get Reward214490952024-12-21 6:28:592 days ago1734762539IN
0xbdB71891...C5947D364
0 ETH0.000714158.15380128
Get Reward213855902024-12-12 9:40:2311 days ago1733996423IN
0xbdB71891...C5947D364
0 ETH0.0014032119.40584926
Get Reward212094712024-11-17 19:18:5936 days ago1731871139IN
0xbdB71891...C5947D364
0 ETH0.0011345812.95393378
Get Reward209010542024-10-05 18:13:2379 days ago1728152003IN
0xbdB71891...C5947D364
0 ETH0.0012105216.74105741
Get Reward208814502024-10-03 0:37:5982 days ago1727915879IN
0xbdB71891...C5947D364
0 ETH0.000431035.96102925
Get Reward208605362024-09-30 2:40:1185 days ago1727664011IN
0xbdB71891...C5947D364
0 ETH0.0011419213.0377496
Get Reward208571892024-09-29 15:27:3585 days ago1727623655IN
0xbdB71891...C5947D364
0 ETH0.000623398.62120494
Get Reward208507752024-09-28 17:58:1186 days ago1727546291IN
0xbdB71891...C5947D364
0 ETH0.00044026.0878666
Get Reward208490132024-09-28 12:03:5986 days ago1727525039IN
0xbdB71891...C5947D364
0 ETH0.000528466.0337252
Get Reward208462462024-09-28 2:48:1187 days ago1727491691IN
0xbdB71891...C5947D364
0 ETH0.000619837.07687539
Get Reward207983032024-09-21 10:17:5993 days ago1726913879IN
0xbdB71891...C5947D364
0 ETH0.0008976810.24914843
Get Reward207806162024-09-18 22:59:3596 days ago1726700375IN
0xbdB71891...C5947D364
0 ETH0.000407214.6493012
Get Reward207649502024-09-16 18:25:4798 days ago1726511147IN
0xbdB71891...C5947D364
0 ETH0.000410835.68166238
Get Reward207507252024-09-14 18:46:35100 days ago1726339595IN
0xbdB71891...C5947D364
0 ETH0.000191982.65511607
Get Reward207342962024-09-12 11:41:11102 days ago1726141271IN
0xbdB71891...C5947D364
0 ETH0.000256073.54143631
Get Reward207272722024-09-11 12:09:11103 days ago1726056551IN
0xbdB71891...C5947D364
0 ETH0.000228472.60860212
Get Reward207077762024-09-08 18:47:35106 days ago1725821255IN
0xbdB71891...C5947D364
0 ETH0.0001631.86105369
Get Reward207077262024-09-08 18:37:35106 days ago1725820655IN
0xbdB71891...C5947D364
0 ETH0.000101181.39932538
Get Reward206987532024-09-07 12:34:23107 days ago1725712463IN
0xbdB71891...C5947D364
0 ETH0.000181852.07634845
Get Reward206702782024-09-03 13:13:47111 days ago1725369227IN
0xbdB71891...C5947D364
0 ETH0.000144511.99853485
Get Reward206490802024-08-31 14:14:47114 days ago1725113687IN
0xbdB71891...C5947D364
0 ETH0.00014031.94034912
Get Reward206444162024-08-30 22:36:35115 days ago1725057395IN
0xbdB71891...C5947D364
0 ETH0.000118371.35154879
Get Reward206410412024-08-30 11:17:35115 days ago1725016655IN
0xbdB71891...C5947D364
0 ETH0.000179012.04386566
Get Reward206205352024-08-27 14:31:35118 days ago1724769095IN
0xbdB71891...C5947D364
0 ETH0.000300834.16043825
Get Reward206165662024-08-27 1:13:23119 days ago1724721203IN
0xbdB71891...C5947D364
0 ETH0.000058750.81251821
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

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

Contract Name:
StakingRewards

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
london EvmVersion
File 1 of 4 : StakingRewards.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.17;

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

error UnsuccessfulFetchOfTokenBalance();

contract StakingRewards is Ownable {
	IERC20 public immutable stakingToken;
	IERC20 public immutable rewardsToken;

	// Duration of rewards to be paid out (in seconds)
	uint256 public duration;
	// Timestamp of when the rewards finish
	uint256 public finishAt;
	// Minimum of last updated time and reward finish time
	uint256 public updatedAt;
	// Reward to be paid out per second
	uint256 public rewardRate;
	// Sum of (reward rate * dt * 1e18 / total supply)
	uint256 public rewardPerTokenStored;
	// User address => rewardPerTokenStored
	mapping(address => uint256) public userRewardPerTokenPaid;
	// User address => rewards to be claimed
	mapping(address => uint256) public rewards;

	// Total staked
	uint256 public totalSupply;
	// User address => staked amount
	mapping(address => uint256) public balanceOf;

	event RewardAdded(uint256 reward);
	event Staked(address indexed user, uint256 amount);
	event Withdrawn(address indexed user, uint256 amount);
	event RewardPaid(address indexed user, uint256 reward);
	event RewardsDurationUpdated(uint256 newDuration);
	event Recovered(address token, uint256 amount);

	constructor(address _stakingToken, address _rewardToken, uint256 _duration) {
		stakingToken = IERC20(_stakingToken);
		rewardsToken = IERC20(_rewardToken);
		setRewardsDuration(_duration);
	}

	modifier updateReward(address _account) {
		rewardPerTokenStored = rewardPerToken();
		updatedAt = lastTimeRewardApplicable();

		if (_account != address(0)) {
			rewards[_account] = earned(_account);
			userRewardPerTokenPaid[_account] = rewardPerTokenStored;
		}

		_;
	}

	function lastTimeRewardApplicable() public view returns (uint256) {
		return _min(finishAt, block.timestamp);
	}

	function rewardPerToken() public view returns (uint256) {
		if (totalSupply == 0) {
			return rewardPerTokenStored;
		}

		return rewardPerTokenStored + (rewardRate * (lastTimeRewardApplicable() - updatedAt) * 1e18) / totalSupply;
	}

	function stake(uint256 _amount) external updateReward(msg.sender) {
		require(_amount > 0, "Cannot stake 0");
		uint256 balance = getTokenBalance(address(stakingToken));
		stakingToken.transferFrom(msg.sender, address(this), _amount);
		uint256 transferredAmount = getTokenBalance(address(stakingToken)) - balance;
		balanceOf[msg.sender] += transferredAmount;
		totalSupply += transferredAmount;
		emit Staked(msg.sender, transferredAmount);
	}

	function withdraw(uint256 _amount) public updateReward(msg.sender) {
		require(_amount > 0, "Cannot withdraw 0");
		require(balanceOf[msg.sender] >= _amount, "Withdraw exceeds balance");
		balanceOf[msg.sender] -= _amount;
		totalSupply -= _amount;
		stakingToken.transfer(msg.sender, _amount);
		emit Withdrawn(msg.sender, _amount);
	}

	function getRewardForDuration() external view returns (uint256) {
		return rewardRate * duration;
	}

	function earned(address _account) public view returns (uint256) {
		return
			((balanceOf[_account] * (rewardPerToken() - userRewardPerTokenPaid[_account])) / 1e18) + rewards[_account];
	}

	function getReward() public updateReward(msg.sender) {
		uint256 reward = rewards[msg.sender];
		if (reward > 0) {
			rewards[msg.sender] = 0;
			rewardsToken.transfer(msg.sender, reward);
			emit RewardPaid(msg.sender, reward);
		}
	}

	function setRewardsDuration(uint256 _duration) public onlyOwner {
		require(
			block.timestamp > finishAt,
			"Previous rewards period must be complete before changing the duration for the new period"
		);
		duration = _duration;
		emit RewardsDurationUpdated(_duration);
	}

	function notifyRewardAmount(uint256 _amount) external onlyOwner updateReward(address(0)) {
		if (block.timestamp >= finishAt) {
			rewardRate = _amount / duration;
		} else {
			uint256 remainingRewards = (finishAt - block.timestamp) * rewardRate;
			rewardRate = (_amount + remainingRewards) / duration;
		}

		require(rewardRate > 0, "reward rate = 0");
		require(rewardRate * duration <= rewardsToken.balanceOf(address(this)), "Provided reward too high");

		finishAt = block.timestamp + duration;
		updatedAt = block.timestamp;
		emit RewardAdded(_amount);
	}

	function exit() external {
		withdraw(balanceOf[msg.sender]);
		getReward();
	}

	// Added to support recovering LP Rewards from other systems such as BAL to be distributed to holders
	function recoverERC20(address tokenAddress, uint256 tokenAmount) external onlyOwner {
		require(tokenAddress != address(stakingToken), "Cannot withdraw the staking token");
		IERC20(tokenAddress).transfer(msg.sender, tokenAmount);
		emit Recovered(tokenAddress, tokenAmount);
	}

	function getTokenBalance(address token) internal view returns (uint256) {
		(bool success, bytes memory encodedBalance) = token.staticcall(
			abi.encodeWithSelector(IERC20.balanceOf.selector, address(this))
		);

		if (success && encodedBalance.length >= 32) {
			return abi.decode(encodedBalance, (uint256));
		}
		revert UnsuccessfulFetchOfTokenBalance();
	}

	function _min(uint256 x, uint256 y) private pure returns (uint256) {
		return x <= y ? x : y;
	}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

File 4 of 4 : 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
{
  "evmVersion": "london",
  "libraries": {},
  "metadata": {
    "bytecodeHash": "ipfs",
    "useLiteralContent": true
  },
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "remappings": [],
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_stakingToken","type":"address"},{"internalType":"address","name":"_rewardToken","type":"address"},{"internalType":"uint256","name":"_duration","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"UnsuccessfulFetchOfTokenBalance","type":"error"},{"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":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"reward","type":"uint256"}],"name":"RewardPaid","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"newDuration","type":"uint256"}],"name":"RewardsDurationUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"duration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"finishAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getRewardForDuration","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"notifyRewardAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"rewards","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_duration","type":"uint256"}],"name":"setRewardsDuration","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updatedAt","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userRewardPerTokenPaid","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101725760003560e01c80637519ab50116100de578063a694fc3a11610097578063d1af0c7d11610071578063d1af0c7d14610403578063df136d6514610421578063e9fad8ee1461043f578063f2fde38b1461044957610172565b8063a694fc3a146103ad578063cc1a378f146103c9578063cd3daf9d146103e557610172565b80637519ab50146102e95780637b0a47ee1461030757806380faa57d146103255780638980f11f146103435780638b8763471461035f5780638da5cb5b1461038f57610172565b80633c6b16ab116101305780633c6b16ab1461024d5780633d18b9121461026957806367d3b4881461027357806370a0823114610291578063715018a6146102c157806372f702f3146102cb57610172565b80628cc262146101775780630700037d146101a75780630fb5a6b4146101d757806318160ddd146101f55780631c1f78eb146102135780632e1a7d4d14610231575b600080fd5b610191600480360381019061018c91906117e9565b610465565b60405161019e919061182f565b60405180910390f35b6101c160048036038101906101bc91906117e9565b610567565b6040516101ce919061182f565b60405180910390f35b6101df61057f565b6040516101ec919061182f565b60405180910390f35b6101fd610585565b60405161020a919061182f565b60405180910390f35b61021b61058b565b604051610228919061182f565b60405180910390f35b61024b60048036038101906102469190611876565b6105a2565b005b61026760048036038101906102629190611876565b6108ab565b005b610271610b80565b005b61027b610de8565b604051610288919061182f565b60405180910390f35b6102ab60048036038101906102a691906117e9565b610dee565b6040516102b8919061182f565b60405180910390f35b6102c9610e06565b005b6102d3610e1a565b6040516102e09190611902565b60405180910390f35b6102f1610e3e565b6040516102fe919061182f565b60405180910390f35b61030f610e44565b60405161031c919061182f565b60405180910390f35b61032d610e4a565b60405161033a919061182f565b60405180910390f35b61035d6004803603810190610358919061191d565b610e5d565b005b610379600480360381019061037491906117e9565b610faf565b604051610386919061182f565b60405180910390f35b610397610fc7565b6040516103a4919061196c565b60405180910390f35b6103c760048036038101906103c29190611876565b610ff0565b005b6103e360048036038101906103de9190611876565b6112e0565b005b6103ed61136d565b6040516103fa919061182f565b60405180910390f35b61040b6113d7565b6040516104189190611902565b60405180910390f35b6104296113fb565b604051610436919061182f565b60405180910390f35b610447611401565b005b610463600480360381019061045e91906117e9565b611453565b005b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054670de0b6b3a7640000600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546104f861136d565b61050291906119b6565b600960008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205461054c91906119ea565b6105569190611a5b565b6105609190611a8c565b9050919050565b60076020528060005260406000206000915090505481565b60015481565b60085481565b600060015460045461059d91906119ea565b905090565b336105ab61136d565b6005819055506105b9610e4a565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610686576105fc81610465565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600554600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b600082116106c9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106c090611b1d565b60405180910390fd5b81600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054101561074b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161074290611b89565b60405180910390fd5b81600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461079a91906119b6565b9250508190555081600860008282546107b391906119b6565b925050819055507f000000000000000000000000354f4647189572ac5a2a1118fb74d312504c2ff373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b8152600401610815929190611ba9565b6020604051808303816000875af1158015610834573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108589190611c0a565b503373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d58360405161089f919061182f565b60405180910390a25050565b6108b36114d6565b60006108bd61136d565b6005819055506108cb610e4a565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146109985761090e81610465565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600554600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60025442106109ba57600154826109af9190611a5b565b6004819055506109fa565b6000600454426002546109cd91906119b6565b6109d791906119ea565b905060015481846109e89190611a8c565b6109f29190611a5b565b600481905550505b600060045411610a3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3690611c83565b60405180910390fd5b7f000000000000000000000000b2a25f7d864636e44bc1bf7a316897652bf0746373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610a98919061196c565b602060405180830381865afa158015610ab5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ad99190611cb8565b600154600454610ae991906119ea565b1115610b2a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2190611d31565b60405180910390fd5b60015442610b389190611a8c565b600281905550426003819055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d82604051610b74919061182f565b60405180910390a15050565b33610b8961136d565b600581905550610b97610e4a565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610c6457610bda81610465565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600554600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b6000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490506000811115610de4576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055507f000000000000000000000000b2a25f7d864636e44bc1bf7a316897652bf0746373ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610d51929190611ba9565b6020604051808303816000875af1158015610d70573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d949190611c0a565b503373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610ddb919061182f565b60405180910390a25b5050565b60025481565b60096020528060005260406000206000915090505481565b610e0e6114d6565b610e186000611554565b565b7f000000000000000000000000354f4647189572ac5a2a1118fb74d312504c2ff381565b60035481565b60045481565b6000610e5860025442611618565b905090565b610e656114d6565b7f000000000000000000000000354f4647189572ac5a2a1118fb74d312504c2ff373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610ef3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610eea90611dc3565b60405180910390fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610f2e929190611ba9565b6020604051808303816000875af1158015610f4d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610f719190611c0a565b507f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa288282604051610fa3929190611ba9565b60405180910390a15050565b60066020528060005260406000206000915090505481565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b33610ff961136d565b600581905550611007610e4a565b600381905550600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16146110d45761104a81610465565b600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600554600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b60008211611117576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110e90611e2f565b60405180910390fd5b60006111427f000000000000000000000000354f4647189572ac5a2a1118fb74d312504c2ff3611632565b90507f000000000000000000000000354f4647189572ac5a2a1118fb74d312504c2ff373ffffffffffffffffffffffffffffffffffffffff166323b872dd3330866040518463ffffffff1660e01b81526004016111a193929190611e4f565b6020604051808303816000875af11580156111c0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111e49190611c0a565b506000816112117f000000000000000000000000354f4647189572ac5a2a1118fb74d312504c2ff3611632565b61121b91906119b6565b905080600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461126c9190611a8c565b9250508190555080600860008282546112859190611a8c565b925050819055503373ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d826040516112d2919061182f565b60405180910390a250505050565b6112e86114d6565b600254421161132c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132390611f1e565b60405180910390fd5b806001819055507ffb46ca5a5e06d4540d6387b930a7c978bce0db5f449ec6b3f5d07c6e1d44f2d381604051611362919061182f565b60405180910390a150565b600080600854036113825760055490506113d4565b600854670de0b6b3a7640000600354611399610e4a565b6113a391906119b6565b6004546113b091906119ea565b6113ba91906119ea565b6113c49190611a5b565b6005546113d19190611a8c565b90505b90565b7f000000000000000000000000b2a25f7d864636e44bc1bf7a316897652bf0746381565b60055481565b611449600960003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546105a2565b611451610b80565b565b61145b6114d6565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16036114ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114c190611fb0565b60405180910390fd5b6114d381611554565b50565b6114de61177e565b73ffffffffffffffffffffffffffffffffffffffff166114fc610fc7565b73ffffffffffffffffffffffffffffffffffffffff1614611552576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115499061201c565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081831115611628578161162a565b825b905092915050565b60008060008373ffffffffffffffffffffffffffffffffffffffff166370a0823160e01b30604051602401611667919061196c565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040516116d191906120ad565b600060405180830381855afa9150503d806000811461170c576040519150601f19603f3d011682016040523d82523d6000602084013e611711565b606091505b509150915081801561172557506020815110155b15611747578080602001905181019061173e9190611cb8565b92505050611779565b6040517f7677db4d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b600033905090565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006117b68261178b565b9050919050565b6117c6816117ab565b81146117d157600080fd5b50565b6000813590506117e3816117bd565b92915050565b6000602082840312156117ff576117fe611786565b5b600061180d848285016117d4565b91505092915050565b6000819050919050565b61182981611816565b82525050565b60006020820190506118446000830184611820565b92915050565b61185381611816565b811461185e57600080fd5b50565b6000813590506118708161184a565b92915050565b60006020828403121561188c5761188b611786565b5b600061189a84828501611861565b91505092915050565b6000819050919050565b60006118c86118c36118be8461178b565b6118a3565b61178b565b9050919050565b60006118da826118ad565b9050919050565b60006118ec826118cf565b9050919050565b6118fc816118e1565b82525050565b600060208201905061191760008301846118f3565b92915050565b6000806040838503121561193457611933611786565b5b6000611942858286016117d4565b925050602061195385828601611861565b9150509250929050565b611966816117ab565b82525050565b6000602082019050611981600083018461195d565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006119c182611816565b91506119cc83611816565b92508282039050818111156119e4576119e3611987565b5b92915050565b60006119f582611816565b9150611a0083611816565b9250828202611a0e81611816565b91508282048414831517611a2557611a24611987565b5b5092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000611a6682611816565b9150611a7183611816565b925082611a8157611a80611a2c565b5b828204905092915050565b6000611a9782611816565b9150611aa283611816565b9250828201905080821115611aba57611ab9611987565b5b92915050565b600082825260208201905092915050565b7f43616e6e6f742077697468647261772030000000000000000000000000000000600082015250565b6000611b07601183611ac0565b9150611b1282611ad1565b602082019050919050565b60006020820190508181036000830152611b3681611afa565b9050919050565b7f576974686472617720657863656564732062616c616e63650000000000000000600082015250565b6000611b73601883611ac0565b9150611b7e82611b3d565b602082019050919050565b60006020820190508181036000830152611ba281611b66565b9050919050565b6000604082019050611bbe600083018561195d565b611bcb6020830184611820565b9392505050565b60008115159050919050565b611be781611bd2565b8114611bf257600080fd5b50565b600081519050611c0481611bde565b92915050565b600060208284031215611c2057611c1f611786565b5b6000611c2e84828501611bf5565b91505092915050565b7f7265776172642072617465203d20300000000000000000000000000000000000600082015250565b6000611c6d600f83611ac0565b9150611c7882611c37565b602082019050919050565b60006020820190508181036000830152611c9c81611c60565b9050919050565b600081519050611cb28161184a565b92915050565b600060208284031215611cce57611ccd611786565b5b6000611cdc84828501611ca3565b91505092915050565b7f50726f76696465642072657761726420746f6f20686967680000000000000000600082015250565b6000611d1b601883611ac0565b9150611d2682611ce5565b602082019050919050565b60006020820190508181036000830152611d4a81611d0e565b9050919050565b7f43616e6e6f7420776974686472617720746865207374616b696e6720746f6b6560008201527f6e00000000000000000000000000000000000000000000000000000000000000602082015250565b6000611dad602183611ac0565b9150611db882611d51565b604082019050919050565b60006020820190508181036000830152611ddc81611da0565b9050919050565b7f43616e6e6f74207374616b652030000000000000000000000000000000000000600082015250565b6000611e19600e83611ac0565b9150611e2482611de3565b602082019050919050565b60006020820190508181036000830152611e4881611e0c565b9050919050565b6000606082019050611e64600083018661195d565b611e71602083018561195d565b611e7e6040830184611820565b949350505050565b7f50726576696f7573207265776172647320706572696f64206d7573742062652060008201527f636f6d706c657465206265666f7265206368616e67696e67207468652064757260208201527f6174696f6e20666f7220746865206e657720706572696f640000000000000000604082015250565b6000611f08605883611ac0565b9150611f1382611e86565b606082019050919050565b60006020820190508181036000830152611f3781611efb565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000611f9a602683611ac0565b9150611fa582611f3e565b604082019050919050565b60006020820190508181036000830152611fc981611f8d565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000612006602083611ac0565b915061201182611fd0565b602082019050919050565b6000602082019050818103600083015261203581611ff9565b9050919050565b600081519050919050565b600081905092915050565b60005b83811015612070578082015181840152602081019050612055565b60008484015250505050565b60006120878261203c565b6120918185612047565b93506120a1818560208601612052565b80840191505092915050565b60006120b9828461207c565b91508190509291505056fea2646970667358221220da447776c8a1966d40bcc7456df885c9714d4490714813bed5dbfd0c7e4a68d064736f6c63430008110033

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.