ETH Price: $3,366.92 (+0.13%)

Contract

0xe6333fce83A1C1bA4BFf1661267bd256c94723fd
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake147674812022-05-13 12:50:57979 days ago1652446257IN
0xe6333fce...6c94723fd
0 ETH0.0111332547.50390537
Stake142896112022-02-27 17:38:141054 days ago1645983494IN
0xe6333fce...6c94723fd
0 ETH0.0135294657.73039664
Stake141702072022-02-09 6:15:351072 days ago1644387335IN
0xe6333fce...6c94723fd
0 ETH0.0150881368.36647349
Stake141463332022-02-05 13:43:201076 days ago1644068600IN
0xe6333fce...6c94723fd
0 ETH0.0209502154
Stake141452582022-02-05 9:46:211076 days ago1644054381IN
0xe6333fce...6c94723fd
0 ETH0.0095405751.13752815
Stake141438612022-02-05 4:32:461076 days ago1644035566IN
0xe6333fce...6c94723fd
0 ETH0.0154718782.92934749
Stake141429902022-02-05 1:05:361077 days ago1644023136IN
0xe6333fce...6c94723fd
0 ETH0.0156284783.76867664
Stake141411402022-02-04 18:29:191077 days ago1643999359IN
0xe6333fce...6c94723fd
0 ETH0.04178969104.05334377
Stake141264492022-02-02 11:48:251079 days ago1643802505IN
0xe6333fce...6c94723fd
0 ETH0.0243152863.18793949
Stake141206742022-02-01 14:37:351080 days ago1643726255IN
0xe6333fce...6c94723fd
0 ETH0.04349801113.04057411
Stake141165682022-01-31 23:16:081081 days ago1643670968IN
0xe6333fce...6c94723fd
0 ETH0.03618572193.95567954
Stake141161592022-01-31 21:45:031081 days ago1643665503IN
0xe6333fce...6c94723fd
0 ETH0.02473629132.58664591
Stake141161482022-01-31 21:42:301081 days ago1643665350IN
0xe6333fce...6c94723fd
0 ETH0.02470828132.43650771
Stake141156342022-01-31 19:47:271081 days ago1643658447IN
0xe6333fce...6c94723fd
0 ETH0.0373825997.14332005
Stake141038472022-01-30 0:21:111083 days ago1643502071IN
0xe6333fce...6c94723fd
0 ETH0.02024176101.08902161
Stake141016732022-01-29 16:16:451083 days ago1643473005IN
0xe6333fce...6c94723fd
0 ETH0.0168038590.06438291
Stake141015652022-01-29 15:55:561083 days ago1643471756IN
0xe6333fce...6c94723fd
0 ETH0.02300813123.31777324
Stake141014522022-01-29 15:30:231083 days ago1643470223IN
0xe6333fce...6c94723fd
0 ETH0.01939672103.96152075
Stake140975772022-01-29 0:59:071084 days ago1643417947IN
0xe6333fce...6c94723fd
0 ETH0.04309202111.98289989
Stake140893442022-01-27 18:32:141085 days ago1643308334IN
0xe6333fce...6c94723fd
0 ETH0.07029908182.6856546
Stake140854302022-01-27 4:09:131085 days ago1643256553IN
0xe6333fce...6c94723fd
0 ETH0.02861902153.40634434
Stake140835402022-01-26 20:58:031086 days ago1643230683IN
0xe6333fce...6c94723fd
0 ETH0.02708472145.17427187
Stake140772692022-01-25 21:46:041087 days ago1643147164IN
0xe6333fce...6c94723fd
0 ETH0.02196166117.70894404
Stake140771212022-01-25 21:18:221087 days ago1643145502IN
0xe6333fce...6c94723fd
0 ETH0.04927481264.12741243
Stake140752802022-01-25 14:30:161087 days ago1643121016IN
0xe6333fce...6c94723fd
0 ETH0.02686022117.13088427
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingHelper

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 1 : StakingHelper.sol
// SPDX-License-Identifier: AGPL-3.0-or-later
pragma solidity 0.7.5;

interface IERC20 {
  function decimals() external view returns (uint8);

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

interface IStaking {
  function stake(uint256 _amount, address _recipient) external returns (bool);

  function claim(address _recipient) external;
}

contract StakingHelper {
  address public immutable staking;
  address public immutable DMND;

  constructor(address _staking, address _DMND) {
    require(_staking != address(0));
    staking = _staking;
    require(_DMND != address(0));
    DMND = _DMND;
  }

  function stake(uint256 _amount, address _recipient) external {
    IERC20(DMND).transferFrom(msg.sender, address(this), _amount);
    IERC20(DMND).approve(staking, _amount);
    IStaking(staking).stake(_amount, _recipient);
    IStaking(staking).claim(_recipient);
  }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_DMND","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"DMND","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c060405234801561001057600080fd5b506040516104d53803806104d58339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b031661040b6100ca6000398060c6528061012e528061020452508060a252806101d352806102bd528061036f525061040b6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780636d7e9a081461006a5780637acb775714610072575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b61004e6100c4565b61009e6004803603604081101561008857600080fd5b50803590602001356001600160a01b03166100e8565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561017657600080fd5b505af115801561018a573d6000803e3d6000fd5b505050506040513d60208110156101a057600080fd5b5050604080517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b15801561024f57600080fd5b505af1158015610263573d6000803e3d6000fd5b505050506040513d602081101561027957600080fd5b5050604080517f7acb7757000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561030857600080fd5b505af115801561031c573d6000803e3d6000fd5b505050506040513d602081101561033257600080fd5b5050604080517f1e83409a0000000000000000000000000000000000000000000000000000000081526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b1580156103b957600080fd5b505af11580156103cd573d6000803e3d6000fd5b50505050505056fea264697066735822122063adae22208b585cc1ec713b85547729357260a608f0d6dff57ec97325f2601a64736f6c63430007050033000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca3000000000000000000000000144e3b02e08e644ffbb7ff652763f5b72ee22701

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780636d7e9a081461006a5780637acb775714610072575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b61004e6100c4565b61009e6004803603604081101561008857600080fd5b50803590602001356001600160a01b03166100e8565b005b7f000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca381565b7f000000000000000000000000144e3b02e08e644ffbb7ff652763f5b72ee2270181565b604080517f23b872dd0000000000000000000000000000000000000000000000000000000081523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000144e3b02e08e644ffbb7ff652763f5b72ee2270116916323b872dd9160648083019260209291908290030181600087803b15801561017657600080fd5b505af115801561018a573d6000803e3d6000fd5b505050506040513d60208110156101a057600080fd5b5050604080517f095ea7b30000000000000000000000000000000000000000000000000000000081526001600160a01b037f000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca3811660048301526024820185905291517f000000000000000000000000144e3b02e08e644ffbb7ff652763f5b72ee227019092169163095ea7b3916044808201926020929091908290030181600087803b15801561024f57600080fd5b505af1158015610263573d6000803e3d6000fd5b505050506040513d602081101561027957600080fd5b5050604080517f7acb7757000000000000000000000000000000000000000000000000000000008152600481018490526001600160a01b03838116602483015291517f000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca390921691637acb7757916044808201926020929091908290030181600087803b15801561030857600080fd5b505af115801561031c573d6000803e3d6000fd5b505050506040513d602081101561033257600080fd5b5050604080517f1e83409a0000000000000000000000000000000000000000000000000000000081526001600160a01b03838116600483015291517f000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca390921691631e83409a9160248082019260009290919082900301818387803b1580156103b957600080fd5b505af11580156103cd573d6000803e3d6000fd5b50505050505056fea264697066735822122063adae22208b585cc1ec713b85547729357260a608f0d6dff57ec97325f2601a64736f6c63430007050033

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

000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca3000000000000000000000000144e3b02e08e644ffbb7ff652763f5b72ee22701

-----Decoded View---------------
Arg [0] : _staking (address): 0xdcaCD61fCC9CeE58C6B38076D867Ba4C7E738ca3
Arg [1] : _DMND (address): 0x144E3b02e08e644fFbB7fF652763F5B72eE22701

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000dcacd61fcc9cee58c6b38076d867ba4c7e738ca3
Arg [1] : 000000000000000000000000144e3b02e08e644ffbb7ff652763f5b72ee22701


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.