ETH Price: $2,152.15 (+0.92%)

Contract

0x1a65C85CA2ce80f48b5abfb497Ff431Ca014a2b6
 

Overview

ETH Balance

21 wei

Eth Value

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

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Treasury Per...142187392022-02-16 18:21:231494 days ago1645035683IN
0x1a65C85C...Ca014a2b6
0 ETH0.0028006890.37378035
Set Rewards Perc...142187372022-02-16 18:20:421494 days ago1645035642IN
0x1a65C85C...Ca014a2b6
0 ETH0.0028982693.62542167
Set Treasury Per...141302242022-02-03 1:53:361507 days ago1643853216IN
0x1a65C85C...Ca014a2b6
0 ETH0.00398525128.5982548
Set Rewards Perc...141302222022-02-03 1:52:541507 days ago1643853174IN
0x1a65C85C...Ca014a2b6
0 ETH0.00388883125.5758964
Set Rewards141200072022-02-01 12:08:251509 days ago1643717305IN
0x1a65C85C...Ca014a2b6
0 ETH0.00374379110.08561463

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
-142823372022-02-26 14:47:481484 days ago1645886868
0x1a65C85C...Ca014a2b6
0.00884554 ETH
-142823372022-02-26 14:47:481484 days ago1645886868
0x1a65C85C...Ca014a2b6
0.00884554 ETH
-142815112022-02-26 11:41:291484 days ago1645875689
0x1a65C85C...Ca014a2b6
0.01971093 ETH
-142815112022-02-26 11:41:291484 days ago1645875689
0x1a65C85C...Ca014a2b6
0.01971093 ETH
-142805542022-02-26 8:16:331484 days ago1645863393
0x1a65C85C...Ca014a2b6
0.01908261 ETH
-142805542022-02-26 8:16:331484 days ago1645863393
0x1a65C85C...Ca014a2b6
0.01908261 ETH
-142796312022-02-26 4:45:441484 days ago1645850744
0x1a65C85C...Ca014a2b6
0.35387981 ETH
-142796312022-02-26 4:45:441484 days ago1645850744
0x1a65C85C...Ca014a2b6
0.35387981 ETH
-142714942022-02-24 22:25:141485 days ago1645741514
0x1a65C85C...Ca014a2b6
0.15015208 ETH
-142714942022-02-24 22:25:141485 days ago1645741514
0x1a65C85C...Ca014a2b6
0.15015208 ETH
-142714922022-02-24 22:23:231485 days ago1645741403
0x1a65C85C...Ca014a2b6
0.19763776 ETH
-142714922022-02-24 22:23:231485 days ago1645741403
0x1a65C85C...Ca014a2b6
0.19763776 ETH
-142674882022-02-24 7:36:391486 days ago1645688199
0x1a65C85C...Ca014a2b6
0.17852344 ETH
-142674882022-02-24 7:36:391486 days ago1645688199
0x1a65C85C...Ca014a2b6
0.17852344 ETH
-142663592022-02-24 3:28:251486 days ago1645673305
0x1a65C85C...Ca014a2b6
0.42820176 ETH
-142663592022-02-24 3:28:251486 days ago1645673305
0x1a65C85C...Ca014a2b6
0.42820176 ETH
-142585392022-02-22 22:25:161487 days ago1645568716
0x1a65C85C...Ca014a2b6
0.0116102 ETH
-142585392022-02-22 22:25:161487 days ago1645568716
0x1a65C85C...Ca014a2b6
0.0116102 ETH
-142565302022-02-22 14:59:051488 days ago1645541945
0x1a65C85C...Ca014a2b6
0.22834313 ETH
-142565302022-02-22 14:59:051488 days ago1645541945
0x1a65C85C...Ca014a2b6
0.22834313 ETH
-142565302022-02-22 14:59:051488 days ago1645541945
0x1a65C85C...Ca014a2b6
0.32807301 ETH
-142565302022-02-22 14:59:051488 days ago1645541945
0x1a65C85C...Ca014a2b6
0.32807301 ETH
-142548502022-02-22 8:46:351488 days ago1645519595
0x1a65C85C...Ca014a2b6
0.01509123 ETH
-142548502022-02-22 8:46:351488 days ago1645519595
0x1a65C85C...Ca014a2b6
0.01509123 ETH
-142546652022-02-22 8:02:051488 days ago1645516925
0x1a65C85C...Ca014a2b6
0.02508024 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
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
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

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

contract OKLGRewardsTreasurySplitter is OKLGWithdrawable {
  // BSC: 0x62eFd9bAa38A54CFBC0CDCC74B884e1821D91A88
  // ETH: 0xB003f7431Dbb693Bb3C297B344Bbc40838877Cd1
  address public rewards;
  uint8 public rewardsPercent = 100;
  IOKLGDividendDistributor rewardsContract;

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

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

  function setRewards(address _r) external onlyOwner {
    rewards = _r;
    rewardsContract = IOKLGDividendDistributor(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.depositDividends{
        value: (msg.value * rewardsPercent) / 100
      }(0x0000000000000000000000000000000000000000, 0);
    }
  }
}

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IOKLGDividendDistributor {
  function depositDividends(address tokenAddress, uint256 erc20DirectAmount)
    external
    payable;

  function shares(address wallet) external view returns (uint256);
}

// 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 }('');
  }
}

// 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";

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

// 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

API
[{"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"}]

608060405260018054601960a21b60ff60a01b199182161790915560038054909116905534801561002f57600080fd5b50604051610bee380380610bee83398101604081905261004e91610101565b61005733610095565b600180546001600160a01b039384166001600160a01b0319918216811790925560028054821690921790915560038054929093169116179055610133565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146100fc57600080fd5b919050565b60008060408385031215610113578182fd5b61011c836100e5565b915061012a602084016100e5565b90509250929050565b610aac806101426000396000f3fe6080604052600436106100c65760003560e01c80638da5cb5b1161007f578063e086e5ec11610059578063e086e5ec1461033f578063ec38a86214610354578063f0f4426014610374578063f2fde38b1461039457600080fd5b80638da5cb5b146102e15780639856f531146102ff5780639ec5a8941461031f57600080fd5b806304ef9d58146101fb5780630636241b1461023357806306b091f91461025457806307cf6e521461027457806361d027b314610294578063715018a6146102cc57600080fd5b366101f657600354600160a01b900460ff1615610151576003546001600160a01b0381169060649061010290600160a01b900460ff1634610a6a565b61010c9190610a4a565b604051600081818185875af1925050503d8060008114610148576040519150601f19603f3d011682016040523d82523d6000602084013e61014d565b606091505b5050505b600154600160a01b900460ff16156101f4576002546001546001600160a01b0390911690639935cd8e9060649061019290600160a01b900460ff1634610a6a565b61019c9190610a4a565b6040516001600160e01b031960e084901b16815260006004820181905260248201526044016000604051808303818588803b1580156101da57600080fd5b505af11580156101ee573d6000803e3d6000fd5b50505050505b005b600080fd5b34801561020757600080fd5b5060035461021c90600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b34801561023f57600080fd5b5060015461021c90600160a01b900460ff1681565b34801561026057600080fd5b506101f461026f36600461096e565b6103b4565b34801561028057600080fd5b506101f461028f3660046109cf565b61057f565b3480156102a057600080fd5b506003546102b4906001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b3480156102d857600080fd5b506101f4610634565b3480156102ed57600080fd5b506000546001600160a01b03166102b4565b34801561030b57600080fd5b506101f461031a3660046109cf565b61066a565b34801561032b57600080fd5b506001546102b4906001600160a01b031681565b34801561034b57600080fd5b506101f461071f565b34801561036057600080fd5b506101f461036f36600461094d565b6107a4565b34801561038057600080fd5b506101f461038f36600461094d565b6107fa565b3480156103a057600080fd5b506101f46103af36600461094d565b610846565b6000546001600160a01b031633146103e75760405162461bcd60e51b81526004016103de906109f0565b60405180910390fd5b8181610469576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561042c57600080fd5b505afa158015610440573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046491906109b7565b61046b565b815b9150600082116104d85760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b60648201526084016103de565b806001600160a01b031663a9059cbb6104f96000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561054157600080fd5b505af1158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190610997565b50505050565b6000546001600160a01b031633146105a95760405162461bcd60e51b81526004016103de906109f0565b6001546064906105c390600160a01b900460ff1683610a25565b60ff1611156106145760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103de565b6003805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461065e5760405162461bcd60e51b81526004016103de906109f0565b61066860006108e1565b565b6000546001600160a01b031633146106945760405162461bcd60e51b81526004016103de906109f0565b6003546064906106ae90600160a01b900460ff1683610a25565b60ff1611156106ff5760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103de565b6001805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146107495760405162461bcd60e51b81526004016103de906109f0565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d806000811461079f576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b505050565b6000546001600160a01b031633146107ce5760405162461bcd60e51b81526004016103de906109f0565b600180546001600160a01b039092166001600160a01b0319928316811790915560028054909216179055565b6000546001600160a01b031633146108245760405162461bcd60e51b81526004016103de906109f0565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108705760405162461bcd60e51b81526004016103de906109f0565b6001600160a01b0381166108d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103de565b6108de816108e1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461094857600080fd5b919050565b60006020828403121561095e578081fd5b61096782610931565b9392505050565b60008060408385031215610980578081fd5b61098983610931565b946020939093013593505050565b6000602082840312156109a8578081fd5b81518015158114610967578182fd5b6000602082840312156109c8578081fd5b5051919050565b6000602082840312156109e0578081fd5b813560ff81168114610967578182fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060ff821660ff84168060ff03821115610a4257610a42610a89565b019392505050565b600082610a6557634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a8457610a84610a89565b500290565b634e487b7160e01b600052601160045260246000fdfea164736f6c6343000804000a000000000000000000000000b003f7431dbb693bb3c297b344bbc40838877cd1000000000000000000000000db3ac91239b79fae75c21e1f75a189b1d75dd906

Deployed Bytecode

0x6080604052600436106100c65760003560e01c80638da5cb5b1161007f578063e086e5ec11610059578063e086e5ec1461033f578063ec38a86214610354578063f0f4426014610374578063f2fde38b1461039457600080fd5b80638da5cb5b146102e15780639856f531146102ff5780639ec5a8941461031f57600080fd5b806304ef9d58146101fb5780630636241b1461023357806306b091f91461025457806307cf6e521461027457806361d027b314610294578063715018a6146102cc57600080fd5b366101f657600354600160a01b900460ff1615610151576003546001600160a01b0381169060649061010290600160a01b900460ff1634610a6a565b61010c9190610a4a565b604051600081818185875af1925050503d8060008114610148576040519150601f19603f3d011682016040523d82523d6000602084013e61014d565b606091505b5050505b600154600160a01b900460ff16156101f4576002546001546001600160a01b0390911690639935cd8e9060649061019290600160a01b900460ff1634610a6a565b61019c9190610a4a565b6040516001600160e01b031960e084901b16815260006004820181905260248201526044016000604051808303818588803b1580156101da57600080fd5b505af11580156101ee573d6000803e3d6000fd5b50505050505b005b600080fd5b34801561020757600080fd5b5060035461021c90600160a01b900460ff1681565b60405160ff90911681526020015b60405180910390f35b34801561023f57600080fd5b5060015461021c90600160a01b900460ff1681565b34801561026057600080fd5b506101f461026f36600461096e565b6103b4565b34801561028057600080fd5b506101f461028f3660046109cf565b61057f565b3480156102a057600080fd5b506003546102b4906001600160a01b031681565b6040516001600160a01b03909116815260200161022a565b3480156102d857600080fd5b506101f4610634565b3480156102ed57600080fd5b506000546001600160a01b03166102b4565b34801561030b57600080fd5b506101f461031a3660046109cf565b61066a565b34801561032b57600080fd5b506001546102b4906001600160a01b031681565b34801561034b57600080fd5b506101f461071f565b34801561036057600080fd5b506101f461036f36600461094d565b6107a4565b34801561038057600080fd5b506101f461038f36600461094d565b6107fa565b3480156103a057600080fd5b506101f46103af36600461094d565b610846565b6000546001600160a01b031633146103e75760405162461bcd60e51b81526004016103de906109f0565b60405180910390fd5b8181610469576040516370a0823160e01b81523060048201526001600160a01b038216906370a082319060240160206040518083038186803b15801561042c57600080fd5b505afa158015610440573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061046491906109b7565b61046b565b815b9150600082116104d85760405162461bcd60e51b815260206004820152603260248201527f6d616b65207375726520746865726520697320612062616c616e636520617661604482015271696c61626c6520746f20776974686472617760701b60648201526084016103de565b806001600160a01b031663a9059cbb6104f96000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b03909116600482015260248101859052604401602060405180830381600087803b15801561054157600080fd5b505af1158015610555573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105799190610997565b50505050565b6000546001600160a01b031633146105a95760405162461bcd60e51b81526004016103de906109f0565b6001546064906105c390600160a01b900460ff1683610a25565b60ff1611156106145760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103de565b6003805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b0316331461065e5760405162461bcd60e51b81526004016103de906109f0565b61066860006108e1565b565b6000546001600160a01b031633146106945760405162461bcd60e51b81526004016103de906109f0565b6003546064906106ae90600160a01b900460ff1683610a25565b60ff1611156106ff5760405162461bcd60e51b815260206004820152601c60248201527f746f74616c2070657263656e74206d757374206265203c3d203130300000000060448201526064016103de565b6001805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000546001600160a01b031633146107495760405162461bcd60e51b81526004016103de906109f0565b6000546001600160a01b03166001600160a01b03164760405160006040518083038185875af1925050503d806000811461079f576040519150601f19603f3d011682016040523d82523d6000602084013e505050565b505050565b6000546001600160a01b031633146107ce5760405162461bcd60e51b81526004016103de906109f0565b600180546001600160a01b039092166001600160a01b0319928316811790915560028054909216179055565b6000546001600160a01b031633146108245760405162461bcd60e51b81526004016103de906109f0565b600380546001600160a01b0319166001600160a01b0392909216919091179055565b6000546001600160a01b031633146108705760405162461bcd60e51b81526004016103de906109f0565b6001600160a01b0381166108d55760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016103de565b6108de816108e1565b50565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461094857600080fd5b919050565b60006020828403121561095e578081fd5b61096782610931565b9392505050565b60008060408385031215610980578081fd5b61098983610931565b946020939093013593505050565b6000602082840312156109a8578081fd5b81518015158114610967578182fd5b6000602082840312156109c8578081fd5b5051919050565b6000602082840312156109e0578081fd5b813560ff81168114610967578182fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060ff821660ff84168060ff03821115610a4257610a42610a89565b019392505050565b600082610a6557634e487b7160e01b81526012600452602481fd5b500490565b6000816000190483118215151615610a8457610a84610a89565b500290565b634e487b7160e01b600052601160045260246000fdfea164736f6c6343000804000a

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

000000000000000000000000b003f7431dbb693bb3c297b344bbc40838877cd1000000000000000000000000db3ac91239b79fae75c21e1f75a189b1d75dd906

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

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


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.