ETH Price: $3,275.17 (+0.87%)

Contract

0x82e12e8B9DFa7c0aaed46554766Af224b1Ccda63
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Exit167010142023-02-24 22:01:11686 days ago1677276071IN
0x82e12e8B...4b1Ccda63
0 ETH0.0012267824.64224593
Exit167009982023-02-24 21:57:59686 days ago1677275879IN
0x82e12e8B...4b1Ccda63
0 ETH0.0012538625.18617368
Exit164063202023-01-14 16:44:47727 days ago1673714687IN
0x82e12e8B...4b1Ccda63
0 ETH0.000973716.42239145
Exit164063142023-01-14 16:43:35727 days ago1673714615IN
0x82e12e8B...4b1Ccda63
0 ETH0.0015457218.85233823
Withdraw Reward164049512023-01-14 12:09:35728 days ago1673698175IN
0x82e12e8B...4b1Ccda63
0 ETH0.0004918720.72461233
Withdraw Reward164047412023-01-14 11:27:35728 days ago1673695655IN
0x82e12e8B...4b1Ccda63
0 ETH0.001032416.68426115
Transfer Ownersh...164047342023-01-14 11:26:11728 days ago1673695571IN
0x82e12e8B...4b1Ccda63
0 ETH0.0005104217.61178429
Stake164028072023-01-14 4:59:11728 days ago1673672351IN
0x82e12e8B...4b1Ccda63
0 ETH0.0023515821.54273765
Stake164028042023-01-14 4:58:35728 days ago1673672315IN
0x82e12e8B...4b1Ccda63
0 ETH0.0023539121.56407742
Stake164027992023-01-14 4:57:35728 days ago1673672255IN
0x82e12e8B...4b1Ccda63
0 ETH0.0023996922.99464174
Stake164027952023-01-14 4:56:47728 days ago1673672207IN
0x82e12e8B...4b1Ccda63
0 ETH0.001982621.53621122
Stake164027902023-01-14 4:55:47728 days ago1673672147IN
0x82e12e8B...4b1Ccda63
0 ETH0.0020877723.39003339
Stake164027902023-01-14 4:55:47728 days ago1673672147IN
0x82e12e8B...4b1Ccda63
0 ETH0.0021532623.39003339
Exit164026902023-01-14 4:35:47728 days ago1673670947IN
0x82e12e8B...4b1Ccda63
0 ETH0.0030542238.59412813
Exit164026262023-01-14 4:22:47728 days ago1673670167IN
0x82e12e8B...4b1Ccda63
0 ETH0.0016409920.73611485
Stake164025732023-01-14 4:12:11728 days ago1673669531IN
0x82e12e8B...4b1Ccda63
0 ETH0.0021482320.62692772
Stake164025732023-01-14 4:12:11728 days ago1673669531IN
0x82e12e8B...4b1Ccda63
0 ETH0.0023794621.79818298
Stake164025672023-01-14 4:10:59728 days ago1673669459IN
0x82e12e8B...4b1Ccda63
0 ETH0.0024294223.27949426
Stake164025612023-01-14 4:09:47728 days ago1673669387IN
0x82e12e8B...4b1Ccda63
0 ETH0.0024248924.24898836
Stake164025302023-01-14 4:03:35728 days ago1673669015IN
0x82e12e8B...4b1Ccda63
0 ETH0.0027034625.90545127
Exit164024562023-01-14 3:48:47728 days ago1673668127IN
0x82e12e8B...4b1Ccda63
0 ETH0.001763122.27909647
Stake164021292023-01-14 2:43:23728 days ago1673664203IN
0x82e12e8B...4b1Ccda63
0 ETH0.0022427425.70218731
Stake164018012023-01-14 1:37:35728 days ago1673660255IN
0x82e12e8B...4b1Ccda63
0 ETH0.0028510230.96948951
Exit164018002023-01-14 1:37:11728 days ago1673660231IN
0x82e12e8B...4b1Ccda63
0 ETH0.0024704631.21759054
Stake164014692023-01-14 0:30:35728 days ago1673656235IN
0x82e12e8B...4b1Ccda63
0 ETH0.0032427135.2197023
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 0xA54d98CF...BB3a7aec1
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
DOERewards

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 1 : DOERewards.sol
/**
 *Submitted for verification at Etherscan.io on 2021-11-05
*/

//SPDX-License-Identifier: MIT

// DOERewards based on contracts by Synthetix and Yearn Finance.
// Licensed under: MIT
// Credit to them.

// File: @openzeppelin/contracts/ownership/Ownable.sol

pragma solidity ^0.8.7;

/**
 * @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.
 *
 * 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 {
    address public owner;

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

    constructor() {
        owner = msg.sender;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(msg.sender == owner, "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 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 onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(owner, newOwner);
        owner = newOwner;
    }
}

interface IERC20 {
    function totalSupply() external view returns (uint256);
    function balanceOf(address account) external view returns (uint256);
    function transfer(address recipient, uint256 amount) external returns (bool);
    function allowance(address owner, address spender) external view returns (uint256);
    function approve(address spender, uint256 amount) external returns (bool);
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);
    
    event Transfer(address indexed from, address indexed to, uint256 value);
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

contract StakedTokenWrapper {
    uint256 public totalSupply;

    mapping(address => uint256) private _balances;
    IERC20 public stakedToken;
    
    event Staked(address indexed user, uint256 amount);
    event Withdrawn(address indexed user, uint256 amount);

    function balanceOf(address account) public view returns (uint256) {
        return _balances[account];
    }

    string constant _transferErrorMessage = "staked token transfer failed";
    
    function stakeFor(address forWhom, uint128 amount) public payable virtual {
        IERC20 st = stakedToken;
        if(st == IERC20(address(0))) { //eth
            unchecked {
                totalSupply += msg.value;
                _balances[forWhom] += msg.value;
            }
        }
        else {
            require(msg.value == 0, "non-zero eth");
            require(amount > 0, "Cannot stake 0");
            require(st.transferFrom(msg.sender, address(this), amount), _transferErrorMessage);
            unchecked { 
                totalSupply += amount;
                _balances[forWhom] += amount;
            }
        }
        emit Staked(forWhom, amount);
    }

    function withdraw(uint128 amount) public virtual {
        require(amount <= _balances[msg.sender], "withdraw: balance is lower");
        unchecked {
            _balances[msg.sender] -= amount;
            totalSupply = totalSupply-amount;
        }
        IERC20 st = stakedToken;
        if(st == IERC20(address(0))) { //eth
            (bool success, ) = msg.sender.call{value: amount}("");
            require(success, "eth transfer failure");
        }
        else {
            require(stakedToken.transfer(msg.sender, amount), _transferErrorMessage);
        }
        emit Withdrawn(msg.sender, amount);
    }
}

contract DOERewards is StakedTokenWrapper, Ownable {
    IERC20 public rewardToken;
    uint256 public rewardRate;
    uint64 public periodFinish;
    uint64 public lastUpdateTime;
    uint128 public rewardPerTokenStored;
    struct UserRewards {
        uint128 userRewardPerTokenPaid;
        uint128 rewards;
    }
    mapping(address => UserRewards) public userRewards;

    event RewardAdded(uint256 reward);
    event RewardPaid(address indexed user, uint256 reward);

    constructor(IERC20 _rewardToken, IERC20 _stakedToken) {
        rewardToken = _rewardToken;
        stakedToken = _stakedToken;
    }

    modifier updateReward(address account) {
        uint128 _rewardPerTokenStored = rewardPerToken();
        lastUpdateTime = lastTimeRewardApplicable();
        rewardPerTokenStored = _rewardPerTokenStored;
        userRewards[account].rewards = earned(account);
        userRewards[account].userRewardPerTokenPaid = _rewardPerTokenStored;
        _;
    }

    function lastTimeRewardApplicable() public view returns (uint64) {
        uint64 blockTimestamp = uint64(block.timestamp);
        return blockTimestamp < periodFinish ? blockTimestamp : periodFinish;
    }

    function rewardPerToken() public view returns (uint128) {
        uint256 totalStakedSupply = totalSupply;
        if (totalStakedSupply == 0) {
            return rewardPerTokenStored;
        }
        unchecked {
            uint256 rewardDuration = lastTimeRewardApplicable()-lastUpdateTime;
            return uint128(rewardPerTokenStored + rewardDuration*rewardRate*1e18/totalStakedSupply);
        }
    }

    function earned(address account) public view returns (uint128) {
        unchecked { 
            return uint128(balanceOf(account)*(rewardPerToken()-userRewards[account].userRewardPerTokenPaid)/1e18 + userRewards[account].rewards);
        }
    }

    function stake(uint128 amount) external payable {
        stakeFor(msg.sender, amount);
    }

    function stakeFor(address forWhom, uint128 amount) public payable override updateReward(forWhom) {
        super.stakeFor(forWhom, amount);
    }

    function withdraw(uint128 amount) public override updateReward(msg.sender) {
        super.withdraw(amount);
    }

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

    function getReward() public updateReward(msg.sender) {
        uint256 reward = earned(msg.sender);
        if (reward > 0) {
            userRewards[msg.sender].rewards = 0;
            require(rewardToken.transfer(msg.sender, reward), "reward transfer failed");
            emit RewardPaid(msg.sender, reward);
        }
    }

    function setRewardParams(uint128 reward, uint64 duration) external onlyOwner {
        unchecked {
            require(reward > 0);
            rewardPerTokenStored = rewardPerToken();
            uint64 blockTimestamp = uint64(block.timestamp);
            uint256 maxRewardSupply = rewardToken.balanceOf(address(this));
            if(rewardToken == stakedToken)
                maxRewardSupply -= totalSupply;
            uint256 leftover = 0;
            if (blockTimestamp >= periodFinish) {
                rewardRate = reward/duration;
            } else {
                uint256 remaining = periodFinish-blockTimestamp;
                leftover = remaining*rewardRate;
                rewardRate = (reward+leftover)/duration;
            }
            require(reward+leftover <= maxRewardSupply, "not enough tokens");
            lastUpdateTime = blockTimestamp;
            periodFinish = blockTimestamp+duration;
            emit RewardAdded(reward);
        }
    }

    function withdrawReward() external onlyOwner {
        uint256 rewardSupply = rewardToken.balanceOf(address(this));
        require(rewardToken.transfer(msg.sender, rewardSupply));
        rewardRate = 0;
        periodFinish = uint64(block.timestamp);
    }
}

// Licenses and credits below

/*
   ____            __   __        __   _
  / __/__ __ ___  / /_ / /  ___  / /_ (_)__ __
 _\ \ / // // _ \/ __// _ \/ -_)/ __// / \ \ /
/___/ \_, //_//_/\__//_//_/\__/ \__//_/ /_\_\
     /___/

* Synthetix: YFIRewards.sol
*
* Docs: https://docs.synthetix.io/
*
*
* MIT License
* ===========
*
* Copyright (c) 2020 Synthetix
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
*/

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"contract IERC20","name":"_rewardToken","type":"address"},{"internalType":"contract IERC20","name":"_stakedToken","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"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":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":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"earned","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"exit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getReward","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"lastTimeRewardApplicable","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastUpdateTime","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"periodFinish","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewardPerToken","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardPerTokenStored","outputs":[{"internalType":"uint128","name":"","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardRate","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"reward","type":"uint128"},{"internalType":"uint64","name":"duration","type":"uint64"}],"name":"setRewardParams","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"forWhom","type":"address"},{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"stakeFor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"stakedToken","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":[{"internalType":"address","name":"","type":"address"}],"name":"userRewards","outputs":[{"internalType":"uint128","name":"userRewardPerTokenPaid","type":"uint128"},{"internalType":"uint128","name":"rewards","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint128","name":"amount","type":"uint128"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawReward","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106101345760003560e01c806389ee4bde116100ab578063cd3daf9d1161006f578063cd3daf9d146103c2578063df136d65146103ed578063e9fad8ee14610418578063ebe2b12b1461042f578063f2fde38b1461045a578063f7c618c11461048357610134565b806389ee4bde146103015780638da5cb5b1461032a578063c885bc5814610355578063c8f33c911461036c578063cc7a262e1461039757610134565b806370458d85116100fd57806370458d851461021f57806370a082311461023b578063715018a6146102785780637b0a47ee1461028f57806380faa57d146102ba57806388fe2be8146102e557610134565b80628cc2621461013957806302387a7b146101765780630660f1e81461019f57806318160ddd146101dd5780633d18b91214610208575b600080fd5b34801561014557600080fd5b50610160600480360381019061015b9190611f4b565b6104ae565b60405161016d9190612443565b60405180910390f35b34801561018257600080fd5b5061019d60048036038101906101989190611fe5565b6105c5565b005b3480156101ab57600080fd5b506101c660048036038101906101c19190611f4b565b610743565b6040516101d4929190612479565b60405180910390f35b3480156101e957600080fd5b506101f261079f565b6040516101ff91906124a2565b60405180910390f35b34801561021457600080fd5b5061021d6107a5565b005b61023960048036038101906102349190611f78565b610af9565b005b34801561024757600080fd5b50610262600480360381019061025d9190611f4b565b610c79565b60405161026f91906124a2565b60405180910390f35b34801561028457600080fd5b5061028d610cc2565b005b34801561029b57600080fd5b506102a4610e13565b6040516102b191906124a2565b60405180910390f35b3480156102c657600080fd5b506102cf610e19565b6040516102dc91906124bd565b60405180910390f35b6102ff60048036038101906102fa9190611fe5565b610e74565b005b34801561030d57600080fd5b5061032860048036038101906103239190612012565b610e81565b005b34801561033657600080fd5b5061033f61126f565b60405161034c9190612262565b60405180910390f35b34801561036157600080fd5b5061036a611295565b005b34801561037857600080fd5b506103816114c0565b60405161038e91906124bd565b60405180910390f35b3480156103a357600080fd5b506103ac6114da565b6040516103b99190612306565b60405180910390f35b3480156103ce57600080fd5b506103d7611500565b6040516103e49190612443565b60405180910390f35b3480156103f957600080fd5b506104026115bf565b60405161040f9190612443565b60405180910390f35b34801561042457600080fd5b5061042d6115e1565b005b34801561043b57600080fd5b506104446115fc565b60405161045191906124bd565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c9190611f4b565b611616565b005b34801561048f57600080fd5b506104986116b2565b6040516104a59190612306565b60405180910390f35b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16670de0b6b3a7640000600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a90046fffffffffffffffffffffffffffffffff16610591611500565b036fffffffffffffffffffffffffffffffff166105ad85610c79565b02816105bc576105bb6125f2565b5b04019050919050565b3360006105d0611500565b90506105da610e19565b600660086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600660106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550610644826104ae565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555061073e836116d8565b505050565b60076020528060005260406000206000915090508060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b60005481565b3360006107b0611500565b90506107ba610e19565b600660086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600660106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550610824826104ae565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506000610920336104ae565b6fffffffffffffffffffffffffffffffff1690506000811115610af4576000600760003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b8152600401610a149291906122dd565b602060405180830381600087803b158015610a2e57600080fd5b505af1158015610a42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a669190611fb8565b610aa5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9c906123a3565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff167fe2403640ba68fed3a2f88b7557551d1993f84b99bb10ff833f0cf8db0c5e048682604051610aeb91906124a2565b60405180910390a25b505050565b816000610b04611500565b9050610b0e610e19565b600660086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555080600660106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550610b78826104ae565b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550610c738484611a82565b50505050565b6000600160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610d52576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4990612423565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b60055481565b600080429050600660009054906101000a900467ffffffffffffffff1667ffffffffffffffff168167ffffffffffffffff1610610e6c57600660009054906101000a900467ffffffffffffffff16610e6e565b805b91505090565b610e7e3382610af9565b50565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614610f11576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f0890612423565b60405180910390fd5b6000826fffffffffffffffffffffffffffffffff1611610f3057600080fd5b610f38611500565b600660106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060004290506000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401610fd29190612262565b60206040518083038186803b158015610fea57600080fd5b505afa158015610ffe573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906110229190612052565b9050600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156110a457600054810390505b6000600660009054906101000a900467ffffffffffffffff1667ffffffffffffffff168367ffffffffffffffff1610611121578367ffffffffffffffff16856fffffffffffffffffffffffffffffffff1681611103576111026125f2565b5b046fffffffffffffffffffffffffffffffff16600581905550611186565b600083600660009054906101000a900467ffffffffffffffff160367ffffffffffffffff169050600554810291508467ffffffffffffffff1682876fffffffffffffffffffffffffffffffff16018161117d5761117c6125f2565b5b04600581905550505b8181866fffffffffffffffffffffffffffffffff160111156111dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111d490612403565b60405180910390fd5b82600660086101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550838301600660006101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055507fde88a922e0d3b88b24e9623efeb464919c6bf9f66857a65e2bfcf2ce87a9433d85604051611260919061245e565b60405180910390a15050505050565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611325576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131c90612423565b60405180910390fd5b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016113829190612262565b60206040518083038186803b15801561139a57600080fd5b505afa1580156113ae573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113d29190612052565b9050600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33836040518363ffffffff1660e01b81526004016114319291906122dd565b602060405180830381600087803b15801561144b57600080fd5b505af115801561145f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114839190611fb8565b61148c57600080fd5b600060058190555042600660006101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b600660089054906101000a900467ffffffffffffffff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000806000549050600081141561153857600660109054906101000a90046fffffffffffffffffffffffffffffffff169150506115bc565b6000600660089054906101000a900467ffffffffffffffff16611559610e19565b0367ffffffffffffffff16905081670de0b6b3a764000060055483020281611584576115836125f2565b5b04600660109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1601925050505b90565b600660109054906101000a90046fffffffffffffffffffffffffffffffff1681565b6115e96107a5565b6115fa6115f533610c79565b6105c5565b565b600660009054906101000a900467ffffffffffffffff1681565b600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146116a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169d90612423565b60405180910390fd5b6116af81611db2565b50565b600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054816fffffffffffffffffffffffffffffffff16111561176c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611763906123c3565b60405180910390fd5b806fffffffffffffffffffffffffffffffff16600160003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540392505081905550806fffffffffffffffffffffffffffffffff16600054036000819055506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156119085760003373ffffffffffffffffffffffffffffffffffffffff16836fffffffffffffffffffffffffffffffff1660405161187c9061224d565b60006040518083038185875af1925050503d80600081146118b9576040519150601f19603f3d011682016040523d82523d6000602084013e6118be565b606091505b5050905080611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f9906123e3565b60405180910390fd5b50611a30565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663a9059cbb33846040518363ffffffff1660e01b81526004016119659291906122b4565b602060405180830381600087803b15801561197f57600080fd5b505af1158015611993573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119b79190611fb8565b6040518060400160405280601c81526020017f7374616b656420746f6b656e207472616e73666572206661696c65640000000081525090611a2e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a259190612321565b60405180910390fd5b505b3373ffffffffffffffffffffffffffffffffffffffff167f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d583604051611a76919061245e565b60405180910390a25050565b6000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b3f5734600080828254019250508190555034600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282540192505081905550611d5f565b60003414611b82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b7990612383565b60405180910390fd5b6000826fffffffffffffffffffffffffffffffff1611611bd7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bce90612363565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401611c149392919061227d565b602060405180830381600087803b158015611c2e57600080fd5b505af1158015611c42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c669190611fb8565b6040518060400160405280601c81526020017f7374616b656420746f6b656e207472616e73666572206661696c65640000000081525090611cdd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd49190612321565b60405180910390fd5b50816fffffffffffffffffffffffffffffffff166000808282540192505081905550816fffffffffffffffffffffffffffffffff16600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825401925050819055505b8273ffffffffffffffffffffffffffffffffffffffff167f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d83604051611da5919061245e565b60405180910390a2505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e22576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e1990612343565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600360009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600360006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600081359050611ef1816127a8565b92915050565b600081519050611f06816127bf565b92915050565b600081359050611f1b816127d6565b92915050565b600081519050611f30816127ed565b92915050565b600081359050611f4581612804565b92915050565b600060208284031215611f6157611f60612621565b5b6000611f6f84828501611ee2565b91505092915050565b60008060408385031215611f8f57611f8e612621565b5b6000611f9d85828601611ee2565b9250506020611fae85828601611f0c565b9150509250929050565b600060208284031215611fce57611fcd612621565b5b6000611fdc84828501611ef7565b91505092915050565b600060208284031215611ffb57611ffa612621565b5b600061200984828501611f0c565b91505092915050565b6000806040838503121561202957612028612621565b5b600061203785828601611f0c565b925050602061204885828601611f36565b9150509250929050565b60006020828403121561206857612067612621565b5b600061207684828501611f21565b91505092915050565b612088816124ff565b82525050565b61209781612577565b82525050565b60006120a8826124d8565b6120b281856124ee565b93506120c28185602086016125bf565b6120cb81612626565b840191505092915050565b60006120e36026836124ee565b91506120ee82612637565b604082019050919050565b6000612106600e836124ee565b915061211182612686565b602082019050919050565b6000612129600c836124ee565b9150612134826126af565b602082019050919050565b600061214c6016836124ee565b9150612157826126d8565b602082019050919050565b600061216f601a836124ee565b915061217a82612701565b602082019050919050565b60006121926014836124ee565b915061219d8261272a565b602082019050919050565b60006121b56011836124ee565b91506121c082612753565b602082019050919050565b60006121d86020836124ee565b91506121e38261277c565b602082019050919050565b60006121fb6000836124e3565b9150612206826127a5565b600082019050919050565b61221a8161251d565b82525050565b61222981612589565b82525050565b61223881612559565b82525050565b61224781612563565b82525050565b6000612258826121ee565b9150819050919050565b6000602082019050612277600083018461207f565b92915050565b6000606082019050612292600083018661207f565b61229f602083018561207f565b6122ac6040830184612220565b949350505050565b60006040820190506122c9600083018561207f565b6122d66020830184612220565b9392505050565b60006040820190506122f2600083018561207f565b6122ff602083018461222f565b9392505050565b600060208201905061231b600083018461208e565b92915050565b6000602082019050818103600083015261233b818461209d565b905092915050565b6000602082019050818103600083015261235c816120d6565b9050919050565b6000602082019050818103600083015261237c816120f9565b9050919050565b6000602082019050818103600083015261239c8161211c565b9050919050565b600060208201905081810360008301526123bc8161213f565b9050919050565b600060208201905081810360008301526123dc81612162565b9050919050565b600060208201905081810360008301526123fc81612185565b9050919050565b6000602082019050818103600083015261241c816121a8565b9050919050565b6000602082019050818103600083015261243c816121cb565b9050919050565b60006020820190506124586000830184612211565b92915050565b60006020820190506124736000830184612220565b92915050565b600060408201905061248e6000830185612211565b61249b6020830184612211565b9392505050565b60006020820190506124b7600083018461222f565b92915050565b60006020820190506124d2600083018461223e565b92915050565b600081519050919050565b600081905092915050565b600082825260208201905092915050565b600061250a82612539565b9050919050565b60008115159050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600067ffffffffffffffff82169050919050565b60006125828261259b565b9050919050565b60006125948261251d565b9050919050565b60006125a6826125ad565b9050919050565b60006125b882612539565b9050919050565b60005b838110156125dd5780820151818401526020810190506125c2565b838111156125ec576000848401525b50505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600080fd5b6000601f19601f8301169050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f43616e6e6f74207374616b652030000000000000000000000000000000000000600082015250565b7f6e6f6e2d7a65726f206574680000000000000000000000000000000000000000600082015250565b7f726577617264207472616e73666572206661696c656400000000000000000000600082015250565b7f77697468647261773a2062616c616e6365206973206c6f776572000000000000600082015250565b7f657468207472616e73666572206661696c757265000000000000000000000000600082015250565b7f6e6f7420656e6f75676820746f6b656e73000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b50565b6127b1816124ff565b81146127bc57600080fd5b50565b6127c881612511565b81146127d357600080fd5b50565b6127df8161251d565b81146127ea57600080fd5b50565b6127f681612559565b811461280157600080fd5b50565b61280d81612563565b811461281857600080fd5b5056fea26469706673582212202638e2a36319e5ab01457527c04fcb2b8a305549bbe11b90831feaa6d66a466c64736f6c63430008070033

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.