ETH Price: $2,370.50 (-3.74%)

Contract

0x9Ed7c36Dc9773d8E04c87321502F062b493Dd32A
 

Overview

ETH Balance

262 wei

Eth Value

Less Than $0.01 (@ $2,370.50/ETH)

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Treasury Per...143337282022-03-06 13:55:57914 days ago1646574957IN
0x9Ed7c36D...b493Dd32A
0 ETH0.0005187416.73916366
Set Rewards Perc...143337242022-03-06 13:55:33914 days ago1646574933IN
0x9Ed7c36D...b493Dd32A
0 ETH0.0006185119.97256791
0x60806040143336482022-03-06 13:39:38914 days ago1646573978IN
 Create: OKLGRewardsTreasurySplitter
0 ETH0.0168851522.96196709

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
203026382024-07-14 5:25:2353 days ago1720934723
0x9Ed7c36D...b493Dd32A
0.00145002 ETH
203026382024-07-14 5:25:2353 days ago1720934723
0x9Ed7c36D...b493Dd32A
0.00145002 ETH
203026382024-07-14 5:25:2353 days ago1720934723
0x9Ed7c36D...b493Dd32A
0.00290005 ETH
184832182023-11-02 8:28:59308 days ago1698913739
0x9Ed7c36D...b493Dd32A
0.00225463 ETH
184832182023-11-02 8:28:59308 days ago1698913739
0x9Ed7c36D...b493Dd32A
0.00225463 ETH
184832182023-11-02 8:28:59308 days ago1698913739
0x9Ed7c36D...b493Dd32A
0.00450926 ETH
175138332023-06-19 12:36:23444 days ago1687178183
0x9Ed7c36D...b493Dd32A
0.00208008 ETH
175138332023-06-19 12:36:23444 days ago1687178183
0x9Ed7c36D...b493Dd32A
0.00208008 ETH
175138332023-06-19 12:36:23444 days ago1687178183
0x9Ed7c36D...b493Dd32A
0.00416016 ETH
175137732023-06-19 12:23:59444 days ago1687177439
0x9Ed7c36D...b493Dd32A
0.00157329 ETH
175137732023-06-19 12:23:59444 days ago1687177439
0x9Ed7c36D...b493Dd32A
0.00157329 ETH
175137732023-06-19 12:23:59444 days ago1687177439
0x9Ed7c36D...b493Dd32A
0.00314658 ETH
174521142023-06-10 20:23:35453 days ago1686428615
0x9Ed7c36D...b493Dd32A
0.00151319 ETH
174521142023-06-10 20:23:35453 days ago1686428615
0x9Ed7c36D...b493Dd32A
0.00151319 ETH
174521142023-06-10 20:23:35453 days ago1686428615
0x9Ed7c36D...b493Dd32A
0.00302639 ETH
174432362023-06-09 14:21:59454 days ago1686320519
0x9Ed7c36D...b493Dd32A
0.00102952 ETH
174432362023-06-09 14:21:59454 days ago1686320519
0x9Ed7c36D...b493Dd32A
0.00102952 ETH
174432362023-06-09 14:21:59454 days ago1686320519
0x9Ed7c36D...b493Dd32A
0.00205904 ETH
174431932023-06-09 14:13:23454 days ago1686320003
0x9Ed7c36D...b493Dd32A
0.0005685 ETH
174431932023-06-09 14:13:23454 days ago1686320003
0x9Ed7c36D...b493Dd32A
0.0005685 ETH
174431932023-06-09 14:13:23454 days ago1686320003
0x9Ed7c36D...b493Dd32A
0.001137 ETH
174431602023-06-09 14:06:47454 days ago1686319607
0x9Ed7c36D...b493Dd32A
0.00086074 ETH
174431602023-06-09 14:06:47454 days ago1686319607
0x9Ed7c36D...b493Dd32A
0.00086074 ETH
174431602023-06-09 14:06:47454 days ago1686319607
0x9Ed7c36D...b493Dd32A
0.00172149 ETH
174431552023-06-09 14:05:47454 days ago1686319547
0x9Ed7c36D...b493Dd32A
0.00377798 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OKLGRewardsTreasurySplitter

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : OKLGRewardsTreasurySplitter.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '../interfaces/IOKLGRewardDistributor.sol';
import '../OKLGWithdrawable.sol';

contract OKLGRewardsTreasurySplitter is OKLGWithdrawable {
  // BSC: 0x6A67398C803aeFe4f7b6768d42EF76426bFe0F8d
  // ETH: 0x8b61F51F639ADf0d883F6b6E30f2C822B238fC2E
  address public rewards;
  uint8 public rewardsPercent = 100;
  IOKLGRewardDistributor rewardsContract;

  // BSC: 0xDB7014e9bC92d087Ad7c096d9FF9940711015eC3
  // ETH: 0xDb3AC91239b79Fae75c21E1f75a189b1D75dD906
  address public treasury;
  uint8 public treasuryPercent = 0;

  constructor(address _rewards, address _treasury) {
    rewards = _rewards;
    rewardsContract = IOKLGRewardDistributor(rewards);
    treasury = _treasury;
  }

  function setRewards(address _r) external onlyOwner {
    rewards = _r;
    rewardsContract = IOKLGRewardDistributor(rewards);
  }

  function setRewardsPercent(uint8 _p) external onlyOwner {
    require(_p + treasuryPercent <= 100, 'total percent must be <= 100');
    rewardsPercent = _p;
  }

  function setTreasury(address _t) external onlyOwner {
    treasury = _t;
  }

  function setTreasuryPercent(uint8 _p) external onlyOwner {
    require(_p + rewardsPercent <= 100, 'total percent must be <= 100');
    treasuryPercent = _p;
  }

  receive() external payable {
    if (treasuryPercent > 0) {
      payable(treasury).call{ value: (msg.value * treasuryPercent) / 100 }('');
    }
    if (rewardsPercent > 0) {
      rewardsContract.depositRewards{
        value: (msg.value * rewardsPercent) / 100
      }();
    }
  }
}

File 2 of 7 : IOKLGRewardDistributor.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IOKLGRewardDistributor {
  function depositRewards() external payable;

  function getShares(address wallet) external view returns (uint256);

  function getBoostNfts(address wallet)
    external
    view
    returns (uint256[] memory);
}

File 3 of 7 : OKLGWithdrawable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

import '@openzeppelin/contracts/access/Ownable.sol';
import '@openzeppelin/contracts/interfaces/IERC20.sol';

/**
 * @title OKLGWithdrawable
 * @dev Supports being able to get tokens or ETH out of a contract with ease
 */
contract OKLGWithdrawable is Ownable {
  function withdrawTokens(address _tokenAddy, uint256 _amount)
    external
    onlyOwner
  {
    IERC20 _token = IERC20(_tokenAddy);
    _amount = _amount > 0 ? _amount : _token.balanceOf(address(this));
    require(_amount > 0, 'make sure there is a balance available to withdraw');
    _token.transfer(owner(), _amount);
  }

  function withdrawETH() external onlyOwner {
    payable(owner()).call{ value: address(this).balance }('');
  }
}

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _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 5 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC20.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/IERC20.sol";

File 6 of 7 : 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;
    }
}

File 7 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_rewards","type":"address"},{"internalType":"address","name":"_treasury","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"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"rewards","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rewardsPercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_r","type":"address"}],"name":"setRewards","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_p","type":"uint8"}],"name":"setRewardsPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_t","type":"address"}],"name":"setTreasury","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_p","type":"uint8"}],"name":"setTreasuryPercent","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"treasury","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"treasuryPercent","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdrawETH","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenAddy","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260018054601960a21b60ff60a01b199182161790915560038054909116905534801561002f57600080fd5b50604051610bdb380380610bdb83398101604081905261004e91610101565b61005733610095565b600180546001600160a01b039384166001600160a01b0319918216811790925560028054821690921790915560038054929093169116179055610133565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100fc57600080fd5b919050565b60008060408385031215610113578182fd5b61011c836100e5565b915061012a602084016100e5565b90509250929050565b610a99806101426000396000f3fe6080604052600436106100c65760003560e01c80638da5cb5b1161007f578063e086e5ec11610059578063e086e5ec1461032c578063ec38a86214610341578063f0f4426014610361578063f2fde38b1461038157600080fd5b80638da5cb5b146102ce5780639856f531146102ec5780639ec5a8941461030c57600080fd5b806304ef9d58146101e85780630636241b1461022057806306b091f91461024157806307cf6e521461026157806361d027b314610281578063715018a6146102b957600080fd5b366101e357600354600160a01b900460ff1615610151576003546001600160a01b0381169060649061010290600160a01b900460ff1634610a57565b61010c9190610a37565b604051600081818185875af1925050503d8060008114610148576040519150601f19603f3d011682016040523d82523d6000602084013e61014d565b606091505b5050505b600154600160a01b900460ff16156101e1576002546001546001600160a01b039091169063152111f79060649061019290600160a01b900460ff1634610a57565b61019c9190610a37565b6040518263ffffffff1660e01b81526004016000604051808303818588803b1580156101c757600080fd5b505af11580156101db573d6000803e3d6000fd5b50505050505b005b600080fd5b3480156101f457600080fd5b5060035461020990600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b34801561022c57600080fd5b5060015461020990600160a01b900460ff1681565b34801561024d57600080fd5b506101e161025c36600461095b565b6103a1565b34801561026d57600080fd5b506101e161027c3660046109bc565b61056c565b34801561028d57600080fd5b506003546102a1906001600160a01b031681565b6040516001600160a01b039091168152602001610217565b3480156102c557600080fd5b506101e1610621565b3480156102da57600080fd5b506000546001600160a01b03166102a1565b3480156102f857600080fd5b506101e16103073660046109bc565b610657565b34801561031857600080fd5b506001546102a1906001600160a01b031681565b34801561033857600080fd5b506101e161070c565b34801561034d57600080fd5b506101e161035c36600461093a565b610791565b34801561036d57600080fd5b506101e161037c36600461093a565b6107e7565b34801561038d57600080fd5b506101e161039c36600461093a565b610833565b6000546001600160a01b031633146103d45760405162461bcd60e51b81526004016103cb906109dd565b60405180910390fd5b8181610456576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561041957600080fd5b505afa15801561042d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045191906109a4565b610458565b815b9150600082116104c55760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b60648201526084016103cb565b806001600160a01b031663a9059cbb6104e66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561052e57600080fd5b505af1158015610542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105669190610984565b50505050565b6000546001600160a01b031633146105965760405162461bcd60e51b81526004016103cb906109dd565b6001546064906105b090600160a01b900460ff1683610a12565b60ff1611156106015760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103cb565b6003805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461064b5760405162461bcd60e51b81526004016103cb906109dd565b61065560006108ce565b565b6000546001600160a01b031633146106815760405162461bcd60e51b81526004016103cb906109dd565b60035460649061069b90600160a01b900460ff1683610a12565b60ff1611156106ec5760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103cb565b6001805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146107365760405162461bcd60e51b81526004016103cb906109dd565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d806000811461078c576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b505050565b6000546001600160a01b031633146107bb5760405162461bcd60e51b81526004016103cb906109dd565b600180546001600160a01b039092166001600160a01b0319928316811790915560028054909216179055565b6000546001600160a01b031633146108115760405162461bcd60e51b81526004016103cb906109dd565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461085d5760405162461bcd60e51b81526004016103cb906109dd565b6001600160a01b0381166108c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103cb565b6108cb816108ce565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461093557600080fd5b919050565b60006020828403121561094b578081fd5b6109548261091e565b9392505050565b6000806040838503121561096d578081fd5b6109768361091e565b946020939093013593505050565b600060208284031215610995578081fd5b81518015158114610954578182fd5b6000602082840312156109b5578081fd5b5051919050565b6000602082840312156109cd578081fd5b813560ff81168114610954578182fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060ff821660ff84168060ff03821115610a2f57610a2f610a76565b019392505050565b600082610a5257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a7157610a71610a76565b500290565b634e487b7160e01b600052601160045260246000fdfea164736f6c6343000804000a0000000000000000000000008b61f51f639adf0d883f6b6e30f2c822b238fc2e000000000000000000000000db3ac91239b79fae75c21e1f75a189b1d75dd906

Deployed Bytecode

0x6080604052600436106100c65760003560e01c80638da5cb5b1161007f578063e086e5ec11610059578063e086e5ec1461032c578063ec38a86214610341578063f0f4426014610361578063f2fde38b1461038157600080fd5b80638da5cb5b146102ce5780639856f531146102ec5780639ec5a8941461030c57600080fd5b806304ef9d58146101e85780630636241b1461022057806306b091f91461024157806307cf6e521461026157806361d027b314610281578063715018a6146102b957600080fd5b366101e357600354600160a01b900460ff1615610151576003546001600160a01b0381169060649061010290600160a01b900460ff1634610a57565b61010c9190610a37565b604051600081818185875af1925050503d8060008114610148576040519150601f19603f3d011682016040523d82523d6000602084013e61014d565b606091505b5050505b600154600160a01b900460ff16156101e1576002546001546001600160a01b039091169063152111f79060649061019290600160a01b900460ff1634610a57565b61019c9190610a37565b6040518263ffffffff1660e01b81526004016000604051808303818588803b1580156101c757600080fd5b505af11580156101db573d6000803e3d6000fd5b50505050505b005b600080fd5b3480156101f457600080fd5b5060035461020990600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b34801561022c57600080fd5b5060015461020990600160a01b900460ff1681565b34801561024d57600080fd5b506101e161025c36600461095b565b6103a1565b34801561026d57600080fd5b506101e161027c3660046109bc565b61056c565b34801561028d57600080fd5b506003546102a1906001600160a01b031681565b6040516001600160a01b039091168152602001610217565b3480156102c557600080fd5b506101e1610621565b3480156102da57600080fd5b506000546001600160a01b03166102a1565b3480156102f857600080fd5b506101e16103073660046109bc565b610657565b34801561031857600080fd5b506001546102a1906001600160a01b031681565b34801561033857600080fd5b506101e161070c565b34801561034d57600080fd5b506101e161035c36600461093a565b610791565b34801561036d57600080fd5b506101e161037c36600461093a565b6107e7565b34801561038d57600080fd5b506101e161039c36600461093a565b610833565b6000546001600160a01b031633146103d45760405162461bcd60e51b81526004016103cb906109dd565b60405180910390fd5b8181610456576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561041957600080fd5b505afa15801561042d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061045191906109a4565b610458565b815b9150600082116104c55760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b60648201526084016103cb565b806001600160a01b031663a9059cbb6104e66000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561052e57600080fd5b505af1158015610542573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105669190610984565b50505050565b6000546001600160a01b031633146105965760405162461bcd60e51b81526004016103cb906109dd565b6001546064906105b090600160a01b900460ff1683610a12565b60ff1611156106015760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103cb565b6003805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461064b5760405162461bcd60e51b81526004016103cb906109dd565b61065560006108ce565b565b6000546001600160a01b031633146106815760405162461bcd60e51b81526004016103cb906109dd565b60035460649061069b90600160a01b900460ff1683610a12565b60ff1611156106ec5760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103cb565b6001805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146107365760405162461bcd60e51b81526004016103cb906109dd565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d806000811461078c576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b505050565b6000546001600160a01b031633146107bb5760405162461bcd60e51b81526004016103cb906109dd565b600180546001600160a01b039092166001600160a01b0319928316811790915560028054909216179055565b6000546001600160a01b031633146108115760405162461bcd60e51b81526004016103cb906109dd565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b0316331461085d5760405162461bcd60e51b81526004016103cb906109dd565b6001600160a01b0381166108c25760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103cb565b6108cb816108ce565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461093557600080fd5b919050565b60006020828403121561094b578081fd5b6109548261091e565b9392505050565b6000806040838503121561096d578081fd5b6109768361091e565b946020939093013593505050565b600060208284031215610995578081fd5b81518015158114610954578182fd5b6000602082840312156109b5578081fd5b5051919050565b6000602082840312156109cd578081fd5b813560ff81168114610954578182fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060ff821660ff84168060ff03821115610a2f57610a2f610a76565b019392505050565b600082610a5257634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a7157610a71610a76565b500290565b634e487b7160e01b600052601160045260246000fdfea164736f6c6343000804000a

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

0000000000000000000000008b61f51f639adf0d883f6b6e30f2c822b238fc2e000000000000000000000000db3ac91239b79fae75c21e1f75a189b1d75dd906

-----Decoded View---------------
Arg [0] : _rewards (address): 0x8b61F51F639ADf0d883F6b6E30f2C822B238fC2E
Arg [1] : _treasury (address): 0xDb3AC91239b79Fae75c21E1f75a189b1D75dD906

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008b61f51f639adf0d883f6b6e30f2c822b238fc2e
Arg [1] : 000000000000000000000000db3ac91239b79fae75c21e1f75a189b1d75dd906


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.