ETH Price: $1,627.15 (+0.64%)
 

Overview

ETH Balance

13.345417797644089946 ETH

Eth Value

$21,714.99 (@ $1,627.15/ETH)

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Dividend151181532022-07-11 0:37:591009 days ago1657499879IN
0x50C29546...1f155B369
0 ETH0.0015266316.08460959
Claim Dividend147785482022-05-15 7:10:411065 days ago1652598641IN
0x50C29546...1f155B369
0 ETH0.0014298123.55041277
Claim Dividend146120942022-04-18 23:30:291092 days ago1650324629IN
0x50C29546...1f155B369
0 ETH0.0018689430.78329984
Claim Dividend146008902022-04-17 5:10:511093 days ago1650172251IN
0x50C29546...1f155B369
0 ETH0.0018982620
Claim Dividend145410642022-04-07 21:00:321103 days ago1649365232IN
0x50C29546...1f155B369
0 ETH0.0031299751.55365364
Claim Dividend145270542022-04-05 16:31:401105 days ago1649176300IN
0x50C29546...1f155B369
0 ETH0.0030031849.46528734
Claim Dividend145270452022-04-05 16:30:291105 days ago1649176229IN
0x50C29546...1f155B369
0 ETH0.0058364261.4923144
Claim Dividend145095132022-04-02 22:49:421108 days ago1648939782IN
0x50C29546...1f155B369
0 ETH0.0038364263.1894755
Claim Dividend145083962022-04-02 18:46:501108 days ago1648925210IN
0x50C29546...1f155B369
0 ETH0.0029470548.54074933
Claim Dividend144900392022-03-30 21:50:111111 days ago1648677011IN
0x50C29546...1f155B369
0 ETH0.0029427348.46957055
Claim Dividend144543072022-03-25 8:16:141116 days ago1648196174IN
0x50C29546...1f155B369
0 ETH0.001656827.28909414
Claim Dividend144273582022-03-21 3:38:151120 days ago1647833895IN
0x50C29546...1f155B369
0 ETH0.001502324.74436458
Claim Dividend143732362022-03-12 17:19:461129 days ago1647105586IN
0x50C29546...1f155B369
0 ETH0.0018357930.23734586
Claim Dividend143597992022-03-10 15:03:351131 days ago1646924615IN
0x50C29546...1f155B369
0 ETH0.0017455628.75109214
Claim Dividend143550992022-03-09 21:49:381132 days ago1646862578IN
0x50C29546...1f155B369
0 ETH0.0019752432.53419561
Claim Dividend143539082022-03-09 17:26:031132 days ago1646846763IN
0x50C29546...1f155B369
0 ETH0.0020161933.2086475
Claim Dividend143372742022-03-07 3:17:031134 days ago1646623023IN
0x50C29546...1f155B369
0 ETH0.0027509828.98429962
Claim Dividend143365482022-03-07 0:37:291135 days ago1646613449IN
0x50C29546...1f155B369
0 ETH0.0043051570.90994821
Claim Dividend143364372022-03-07 0:10:241135 days ago1646611824IN
0x50C29546...1f155B369
0 ETH0.0041565368.46194872
Claim Dividend143339172022-03-06 14:37:331135 days ago1646577453IN
0x50C29546...1f155B369
0 ETH0.002511641.36852808
Claim Dividend143307372022-03-06 2:47:141135 days ago1646534834IN
0x50C29546...1f155B369
0 ETH0.0011400318.77747798
Claim Dividend143307342022-03-06 2:46:321135 days ago1646534792IN
0x50C29546...1f155B369
0 ETH0.0010739717.68942088
Claim Dividend143299552022-03-05 23:54:021136 days ago1646524442IN
0x50C29546...1f155B369
0 ETH0.0019614832.30747864
Claim Dividend143299552022-03-05 23:54:021136 days ago1646524442IN
0x50C29546...1f155B369
0 ETH0.0019614832.30747864
Claim Dividend143271602022-03-05 13:32:031136 days ago1646487123IN
0x50C29546...1f155B369
0 ETH0.0019799520.8607323
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Transfer189102412024-01-01 4:32:59469 days ago1704083579
0x50C29546...1f155B369
0.02216681 ETH
Deposit189102412024-01-01 4:32:59469 days ago1704083579
0x50C29546...1f155B369
0 ETH
Transfer189102412024-01-01 4:32:59469 days ago1704083579
0x50C29546...1f155B369
7.54053542 ETH
Transfer151181532022-07-11 0:37:591009 days ago1657499879
0x50C29546...1f155B369
0.00662975 ETH
-148442192022-05-25 21:38:521055 days ago1653514732
0x50C29546...1f155B369
7.54053542 ETH
-147996022022-05-18 15:25:181062 days ago1652887518
0x50C29546...1f155B369
7.54053542 ETH
-147996022022-05-18 15:25:181062 days ago1652887518
0x50C29546...1f155B369
0.00748855 ETH
-147937672022-05-17 17:09:571063 days ago1652807397
0x50C29546...1f155B369
7.54053542 ETH
-147937672022-05-17 17:09:571063 days ago1652807397
0x50C29546...1f155B369
0.00363713 ETH
-147785482022-05-15 7:10:411065 days ago1652598641
0x50C29546...1f155B369
0.01711872 ETH
-146632522022-04-27 0:18:141084 days ago1651018694
0x50C29546...1f155B369
7.54053542 ETH
-146632522022-04-27 0:18:141084 days ago1651018694
0x50C29546...1f155B369
0.07454156 ETH
-146621832022-04-26 20:21:481084 days ago1651004508
0x50C29546...1f155B369
7.54053542 ETH
-146621832022-04-26 20:21:481084 days ago1651004508
0x50C29546...1f155B369
0.01782714 ETH
-146185582022-04-19 23:37:051091 days ago1650411425
0x50C29546...1f155B369
7.54053542 ETH
-146185582022-04-19 23:37:051091 days ago1650411425
0x50C29546...1f155B369
0.00840868 ETH
-146121162022-04-18 23:34:391092 days ago1650324879
0x50C29546...1f155B369
7.54053542 ETH
-146121162022-04-18 23:34:391092 days ago1650324879
0x50C29546...1f155B369
0.00031587 ETH
-146121162022-04-18 23:34:391092 days ago1650324879
0x50C29546...1f155B369
0.05543652 ETH
-146121162022-04-18 23:34:391092 days ago1650324879
0x50C29546...1f155B369
7.52044655 ETH
-146120942022-04-18 23:30:291092 days ago1650324629
0x50C29546...1f155B369
0.02370357 ETH
-146113092022-04-18 20:29:581092 days ago1650313798
0x50C29546...1f155B369
7.52044655 ETH
-146113092022-04-18 20:29:581092 days ago1650313798
0x50C29546...1f155B369
0.00242138 ETH
-146009252022-04-17 5:18:161093 days ago1650172696
0x50C29546...1f155B369
7.52044655 ETH
-146008902022-04-17 5:10:511093 days ago1650172251
0x50C29546...1f155B369
0.00873162 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
DividendDistributor

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : DividendDistributor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

import './IDividendDistributor.sol';
import './SafeMath.sol';
import './IERC20.sol';
import './ReentrancyGuard.sol';

contract DividendDistributor is IDividendDistributor, ReentrancyGuard {
    using SafeMath for uint256;

    event DividendDistributed(address shareholder, uint256 amount);

    address _token;

    struct Share {
        uint256 amount;
        uint256 totalExcluded;
        uint256 totalRealised;
    }

    address[] shareholders;
    mapping(address => uint256) shareholderIndexes;
    mapping(address => uint256) shareholderClaims;

    mapping(address => Share) public shares;

    uint256 public totalShares;
    uint256 public totalDividends;
    uint256 public totalDistributed;
    uint256 public dividendsPerShare;
    uint256 public dividendsPerShareAccuracyFactor = 10**36;

    uint256 public minPeriod = 1 hours;
    uint256 public minDistribution = 1 * (10**18);

    uint256 currentIndex;

    modifier onlyToken() {
        require(msg.sender == _token);
        _;
    }

    constructor() public {
        _token = msg.sender;
    }

    function setDistributionCriteria(
        uint256 _minPeriod,
        uint256 _minDistribution
    ) external override onlyToken {
        minPeriod = _minPeriod;
        minDistribution = _minDistribution;
    }

    function setShare(address shareholder, uint256 amount)
        external
        override
        onlyToken
    {
        if (shares[shareholder].amount > 0) {
            distributeDividend(payable(shareholder));
        }

        if (amount > 0 && shares[shareholder].amount == 0) {
            addShareholder(shareholder);
        } else if (amount == 0 && shares[shareholder].amount > 0) {
            removeShareholder(shareholder);
        }

        totalShares = totalShares.sub(shares[shareholder].amount).add(amount);
        shares[shareholder].amount = amount;

        shares[shareholder].totalExcluded = getCumulativeDividends(
            shares[shareholder].amount
        );
    }

    function deposit() external payable override onlyToken {
        totalDividends = totalDividends.add(msg.value);
        dividendsPerShare = dividendsPerShare.add(
            dividendsPerShareAccuracyFactor.mul(msg.value).div(totalShares)
        );
    }

    function distributeDividend(address payable shareholder) internal nonReentrant {
        if (shares[shareholder].amount == 0) {
            return;
        }

        uint256 amount = getUnpaidEarnings(shareholder);

        if (amount > 0) {
            totalDistributed = totalDistributed.add(amount);
            shareholder.transfer(amount);
            shareholderClaims[shareholder] = block.timestamp;
            shares[shareholder].totalRealised = shares[shareholder]
                .totalRealised
                .add(amount);
            shares[shareholder].totalExcluded = getCumulativeDividends(
                shares[shareholder].amount
            );

            emit DividendDistributed(shareholder, amount);
        }
    }

    function claimDividend() external {
        distributeDividend(msg.sender);
    }

    function getUnpaidEarnings(address shareholder)
        public
        view
        returns (uint256)
    {
        if (shares[shareholder].amount == 0) {
            return 0;
        }

        uint256 shareholderTotalDividends = getCumulativeDividends(
            shares[shareholder].amount
        );
        uint256 shareholderTotalExcluded = shares[shareholder].totalExcluded;

        if (shareholderTotalDividends <= shareholderTotalExcluded) {
            return 0;
        }

        return shareholderTotalDividends.sub(shareholderTotalExcluded);
    }

    function getCumulativeDividends(uint256 share)
        internal
        view
        returns (uint256)
    {
        return
            share.mul(dividendsPerShare).div(dividendsPerShareAccuracyFactor);
    }

    function addShareholder(address shareholder) internal {
        shareholderIndexes[shareholder] = shareholders.length;
        shareholders.push(shareholder);
    }

    function getShareholders()
        external
        view
        returns (address[] memory)
    {
        return shareholders;
    }

    function getShareholderAmount(address shareholder)
        external
        view
        returns (uint256)
    {
        return shares[shareholder].amount;
    }

    function removeShareholder(address shareholder) internal {
        shareholders[shareholderIndexes[shareholder]] = shareholders[
            shareholders.length - 1
        ];
        shareholderIndexes[
            shareholders[shareholders.length - 1]
        ] = shareholderIndexes[shareholder];
        shareholders.pop();
    }
}

File 2 of 5 : IDividendDistributor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

interface IDividendDistributor {
    function setDistributionCriteria(
        uint256 _minPeriod,
        uint256 _minDistribution
    ) external;

    function setShare(address shareholder, uint256 amount) external;

    function deposit() external payable;

}

File 3 of 5 : SafeMath.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

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

File 4 of 5 : IERC20.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

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

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

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

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

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

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

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

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

File 5 of 5 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.6.0;

abstract contract ReentrancyGuard {
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() public {
        _status = _NOT_ENTERED;
    }

    modifier nonReentrant() {
        require(_status != _ENTERED, 'ReentrancyGuard: reentrant call');
        _status = _ENTERED;
        _;
        _status = _NOT_ENTERED;
    }

    modifier isHuman() {
        require(tx.origin == msg.sender, 'sorry humans only');
        _;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"shareholder","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"DividendDistributed","type":"event"},{"inputs":[],"name":"claimDividend","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"dividendsPerShare","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"dividendsPerShareAccuracyFactor","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"shareholder","type":"address"}],"name":"getShareholderAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getShareholders","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"shareholder","type":"address"}],"name":"getUnpaidEarnings","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minDistribution","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minPeriod","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_minPeriod","type":"uint256"},{"internalType":"uint256","name":"_minDistribution","type":"uint256"}],"name":"setDistributionCriteria","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"shareholder","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"setShare","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"totalExcluded","type":"uint256"},{"internalType":"uint256","name":"totalRealised","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDistributed","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalDividends","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"}]

60806040526ec097ce7bc90715b34b9f1000000000600a55610e10600b55670de0b6b3a7640000600c5534801561003557600080fd5b506001600081905580546001600160a01b03191633179055610bc88061005c6000396000f3fe6080604052600436106100e85760003560e01c8063997664d71161008a578063e2d2e21911610059578063e2d2e219146102e2578063efca2eed146102f7578063f0fc6bca1461030c578063ffd49c8414610321576100e8565b8063997664d714610241578063abd3775314610256578063ce7c2ac214610289578063d0e30db0146102da576100e8565b80632d48e896116100c65780632d48e896146101825780633a98ef39146101b257806341ca641e146101c75780634fab0ae81461022c576100e8565b806311ce023d146100ed57806314b6ca961461011457806328fd31981461014f575b600080fd5b3480156100f957600080fd5b50610102610336565b60408051918252519081900360200190f35b34801561012057600080fd5b5061014d6004803603604081101561013757600080fd5b506001600160a01b03813516906020013561033c565b005b34801561015b57600080fd5b506101026004803603602081101561017257600080fd5b50356001600160a01b0316610461565b34801561018e57600080fd5b5061014d600480360360408110156101a557600080fd5b50803590602001356104ed565b3480156101be57600080fd5b5061010261050f565b3480156101d357600080fd5b506101dc610515565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610218578181015183820152602001610200565b505050509050019250505060405180910390f35b34801561023857600080fd5b50610102610577565b34801561024d57600080fd5b5061010261057d565b34801561026257600080fd5b506101026004803603602081101561027957600080fd5b50356001600160a01b0316610583565b34801561029557600080fd5b506102bc600480360360208110156102ac57600080fd5b50356001600160a01b031661059e565b60408051938452602084019290925282820152519081900360600190f35b61014d6105bf565b3480156102ee57600080fd5b50610102610612565b34801561030357600080fd5b50610102610618565b34801561031857600080fd5b5061014d61061e565b34801561032d57600080fd5b50610102610629565b600a5481565b6001546001600160a01b0316331461035357600080fd5b6001600160a01b0382166000908152600560205260409020541561037a5761037a8261062f565b6000811180156103a057506001600160a01b038216600090815260056020526040902054155b156103b3576103ae826107ca565b6103e6565b801580156103d857506001600160a01b03821660009081526005602052604090205415155b156103e6576103e68261082b565b6001600160a01b03821660009081526005602052604090205460065461041791839161041191610918565b90610963565b6006556001600160a01b038216600090815260056020526040902081905561043e816109bd565b6001600160a01b0390921660009081526005602052604090206001019190915550565b6001600160a01b038116600090815260056020526040812054610486575060006104e8565b6001600160a01b0382166000908152600560205260408120546104a8906109bd565b6001600160a01b0384166000908152600560205260409020600101549091508082116104d9576000925050506104e8565b6104e38282610918565b925050505b919050565b6001546001600160a01b0316331461050457600080fd5b600b91909155600c55565b60065481565b6060600280548060200260200160405190810160405280929190818152602001828054801561056d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161054f575b5050505050905090565b600c5481565b60075481565b6001600160a01b031660009081526005602052604090205490565b60056020526000908152604090208054600182015460029092015490919083565b6001546001600160a01b031633146105d657600080fd5b6007546105e39034610963565b600755600654600a5461060d91610604916105fe90346109da565b90610a33565b60095490610963565b600955565b60095481565b60085481565b6106273361062f565b565b600b5481565b60026000541415610687576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081556001600160a01b0382168152600560205260409020546106ad576107c2565b60006106b882610461565b905080156107c0576008546106cd9082610963565b6008556040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610706573d6000803e3d6000fd5b506001600160a01b0382166000908152600460209081526040808320429055600590915290206002015461073a9082610963565b6001600160a01b0383166000908152600560205260409020600281019190915554610764906109bd565b6001600160a01b03831660008181526005602090815260409182902060010193909355805191825291810183905281517f84fcdd4a7f507f2206dd50958e7473061bf941f91791c6ffaf74033a07c82f12929181900390910190a15b505b506001600055565b600280546001600160a01b039092166000818152600360205260408120849055600184018355919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90910180546001600160a01b0319169091179055565b60028054600019810190811061083d57fe5b60009182526020808320909101546001600160a01b038481168452600390925260409092205460028054929093169291811061087557fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905591831681526003918290526040812054600280549193929160001981019081106108c357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205560028054806108f357fe5b600082815260209020810160001990810180546001600160a01b031916905501905550565b600061095a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a75565b90505b92915050565b60008282018381101561095a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061095d600a546105fe600954856109da90919063ffffffff16565b6000826109e95750600061095d565b828202828482816109f657fe5b041461095a5760405162461bcd60e51b8152600401808060200182810382526021815260200180610b726021913960400191505060405180910390fd5b600061095a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610b0c565b60008184841115610b045760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ac9578181015183820152602001610ab1565b50505050905090810190601f168015610af65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610b5b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ac9578181015183820152602001610ab1565b506000838581610b6757fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122098cdaff230485efc5b98fcc147b04ab1a61ca8743a89f106e482b0ad51a90f9464736f6c634300060c0033

Deployed Bytecode

0x6080604052600436106100e85760003560e01c8063997664d71161008a578063e2d2e21911610059578063e2d2e219146102e2578063efca2eed146102f7578063f0fc6bca1461030c578063ffd49c8414610321576100e8565b8063997664d714610241578063abd3775314610256578063ce7c2ac214610289578063d0e30db0146102da576100e8565b80632d48e896116100c65780632d48e896146101825780633a98ef39146101b257806341ca641e146101c75780634fab0ae81461022c576100e8565b806311ce023d146100ed57806314b6ca961461011457806328fd31981461014f575b600080fd5b3480156100f957600080fd5b50610102610336565b60408051918252519081900360200190f35b34801561012057600080fd5b5061014d6004803603604081101561013757600080fd5b506001600160a01b03813516906020013561033c565b005b34801561015b57600080fd5b506101026004803603602081101561017257600080fd5b50356001600160a01b0316610461565b34801561018e57600080fd5b5061014d600480360360408110156101a557600080fd5b50803590602001356104ed565b3480156101be57600080fd5b5061010261050f565b3480156101d357600080fd5b506101dc610515565b60408051602080825283518183015283519192839290830191858101910280838360005b83811015610218578181015183820152602001610200565b505050509050019250505060405180910390f35b34801561023857600080fd5b50610102610577565b34801561024d57600080fd5b5061010261057d565b34801561026257600080fd5b506101026004803603602081101561027957600080fd5b50356001600160a01b0316610583565b34801561029557600080fd5b506102bc600480360360208110156102ac57600080fd5b50356001600160a01b031661059e565b60408051938452602084019290925282820152519081900360600190f35b61014d6105bf565b3480156102ee57600080fd5b50610102610612565b34801561030357600080fd5b50610102610618565b34801561031857600080fd5b5061014d61061e565b34801561032d57600080fd5b50610102610629565b600a5481565b6001546001600160a01b0316331461035357600080fd5b6001600160a01b0382166000908152600560205260409020541561037a5761037a8261062f565b6000811180156103a057506001600160a01b038216600090815260056020526040902054155b156103b3576103ae826107ca565b6103e6565b801580156103d857506001600160a01b03821660009081526005602052604090205415155b156103e6576103e68261082b565b6001600160a01b03821660009081526005602052604090205460065461041791839161041191610918565b90610963565b6006556001600160a01b038216600090815260056020526040902081905561043e816109bd565b6001600160a01b0390921660009081526005602052604090206001019190915550565b6001600160a01b038116600090815260056020526040812054610486575060006104e8565b6001600160a01b0382166000908152600560205260408120546104a8906109bd565b6001600160a01b0384166000908152600560205260409020600101549091508082116104d9576000925050506104e8565b6104e38282610918565b925050505b919050565b6001546001600160a01b0316331461050457600080fd5b600b91909155600c55565b60065481565b6060600280548060200260200160405190810160405280929190818152602001828054801561056d57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831161054f575b5050505050905090565b600c5481565b60075481565b6001600160a01b031660009081526005602052604090205490565b60056020526000908152604090208054600182015460029092015490919083565b6001546001600160a01b031633146105d657600080fd5b6007546105e39034610963565b600755600654600a5461060d91610604916105fe90346109da565b90610a33565b60095490610963565b600955565b60095481565b60085481565b6106273361062f565b565b600b5481565b60026000541415610687576040805162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604482015290519081900360640190fd5b600260009081556001600160a01b0382168152600560205260409020546106ad576107c2565b60006106b882610461565b905080156107c0576008546106cd9082610963565b6008556040516001600160a01b0383169082156108fc029083906000818181858888f19350505050158015610706573d6000803e3d6000fd5b506001600160a01b0382166000908152600460209081526040808320429055600590915290206002015461073a9082610963565b6001600160a01b0383166000908152600560205260409020600281019190915554610764906109bd565b6001600160a01b03831660008181526005602090815260409182902060010193909355805191825291810183905281517f84fcdd4a7f507f2206dd50958e7473061bf941f91791c6ffaf74033a07c82f12929181900390910190a15b505b506001600055565b600280546001600160a01b039092166000818152600360205260408120849055600184018355919091527f405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5ace90910180546001600160a01b0319169091179055565b60028054600019810190811061083d57fe5b60009182526020808320909101546001600160a01b038481168452600390925260409092205460028054929093169291811061087557fe5b600091825260208083209190910180546001600160a01b0319166001600160a01b0394851617905591831681526003918290526040812054600280549193929160001981019081106108c357fe5b60009182526020808320909101546001600160a01b0316835282019290925260400190205560028054806108f357fe5b600082815260209020810160001990810180546001600160a01b031916905501905550565b600061095a83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f770000815250610a75565b90505b92915050565b60008282018381101561095a576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061095d600a546105fe600954856109da90919063ffffffff16565b6000826109e95750600061095d565b828202828482816109f657fe5b041461095a5760405162461bcd60e51b8152600401808060200182810382526021815260200180610b726021913960400191505060405180910390fd5b600061095a83836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f000000000000815250610b0c565b60008184841115610b045760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015610ac9578181015183820152602001610ab1565b50505050905090810190601f168015610af65780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60008183610b5b5760405162461bcd60e51b8152602060048201818152835160248401528351909283926044909101919085019080838360008315610ac9578181015183820152602001610ab1565b506000838581610b6757fe5b049594505050505056fe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f77a264697066735822122098cdaff230485efc5b98fcc147b04ab1a61ca8743a89f106e482b0ad51a90f9464736f6c634300060c0033

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  ]
[ 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.