ETH Price: $3,512.71 (+0.74%)
Gas: 2 Gwei

Contract

0x644D94dA13af3ac88a9a0dcaaA108E474B9a9B5F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake150624922022-07-02 10:13:35749 days ago1656756815IN
0x644D94dA...74B9a9B5F
0 ETH0.0030356412.9446292
Stake146219592022-04-20 12:41:07822 days ago1650458467IN
0x644D94dA...74B9a9B5F
0 ETH0.0066075435.39199529
Stake145478452022-04-08 22:41:03834 days ago1649457663IN
0x644D94dA...74B9a9B5F
0 ETH0.0088321347.30758687
Stake145331742022-04-06 15:43:05836 days ago1649259785IN
0x644D94dA...74B9a9B5F
0 ETH0.0165427382.55844105
Stake145331682022-04-06 15:42:05836 days ago1649259725IN
0x644D94dA...74B9a9B5F
0 ETH0.0189432194.53833196
Stake145327202022-04-06 13:54:02836 days ago1649253242IN
0x644D94dA...74B9a9B5F
0 ETH0.0141611375.85131505
Stake145250712022-04-05 9:24:22837 days ago1649150662IN
0x644D94dA...74B9a9B5F
0 ETH0.0108280957.99856045
Stake145165742022-04-04 1:17:31838 days ago1649035051IN
0x644D94dA...74B9a9B5F
0 ETH0.0069077537
Stake145156712022-04-03 21:55:41839 days ago1649022941IN
0x644D94dA...74B9a9B5F
0 ETH0.0080279243
Stake145118222022-04-03 7:22:04839 days ago1648970524IN
0x644D94dA...74B9a9B5F
0 ETH0.0060345832.32306425
Stake145065352022-04-02 11:42:09840 days ago1648899729IN
0x644D94dA...74B9a9B5F
0 ETH0.007181538.4644419
Stake145056322022-04-02 8:14:26840 days ago1648887266IN
0x644D94dA...74B9a9B5F
0 ETH0.0078679442.14107418
Stake145034212022-04-01 23:47:28841 days ago1648856848IN
0x644D94dA...74B9a9B5F
0 ETH0.0102367151.08525832
Stake145028842022-04-01 21:47:55841 days ago1648849675IN
0x644D94dA...74B9a9B5F
0 ETH0.0104864556.16590931
Stake144862952022-03-30 7:41:49843 days ago1648626109IN
0x644D94dA...74B9a9B5F
0 ETH0.0041907122.44674936
Stake144489542022-03-24 12:27:53849 days ago1648124873IN
0x644D94dA...74B9a9B5F
0 ETH0.0071777738.44633339
Stake144489442022-03-24 12:24:41849 days ago1648124681IN
0x644D94dA...74B9a9B5F
0 ETH0.0056760830.4028463
Stake144470662022-03-24 5:21:34849 days ago1648099294IN
0x644D94dA...74B9a9B5F
0 ETH0.0067986630.7828273
Stake144452412022-03-23 22:23:50850 days ago1648074230IN
0x644D94dA...74B9a9B5F
0 ETH0.0151130468.42568738
Stake144392722022-03-23 0:12:31851 days ago1647994351IN
0x644D94dA...74B9a9B5F
0 ETH0.0066468435.60249034
Stake144366862022-03-22 14:42:36851 days ago1647960156IN
0x644D94dA...74B9a9B5F
0 ETH0.0080129536.28252786
Stake144242382022-03-20 16:03:47853 days ago1647792227IN
0x644D94dA...74B9a9B5F
0 ETH0.0033071617.71513027
Stake144208342022-03-20 3:24:33853 days ago1647746673IN
0x644D94dA...74B9a9B5F
0 ETH0.0033362616.65004668
Stake144144582022-03-19 3:34:56854 days ago1647660896IN
0x644D94dA...74B9a9B5F
0 ETH0.0064106834.33592856
Stake143950742022-03-16 3:02:49857 days ago1647399769IN
0x644D94dA...74B9a9B5F
0 ETH0.0070463431.90424686
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 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
/**
 *Submitted for verification at Etherscan.io on 2021-11-23
*/

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

  constructor(address _staking, address _LOBI) {
    require(_staking != address(0));
    staking = _staking;
    require(_LOBI != address(0));
    LOBI = _LOBI;
  }

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_LOBI","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"LOBI","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"}]

60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060f152806101ae528061034f52508060a2528061017d528061024e52806102e752506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063a5ffd19714610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea264697066735822122051855029f63a5e9f0ab0561b10326d2a6d045be9634549a3868e00e981b81b1b64736f6c634300070500330000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063a5ffd19714610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d9081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d16916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90811660048301526024820185905291517f000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d9092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d9090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d9090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d8156fea264697066735822122051855029f63a5e9f0ab0561b10326d2a6d045be9634549a3868e00e981b81b1b64736f6c63430007050033

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

0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d

-----Decoded View---------------
Arg [0] : _staking (address): 0x3818eff63418e0a0BA3980ABA5fF388b029b6d90
Arg [1] : _LOBI (address): 0xDEc41Db0c33F3F6f3cb615449C311ba22D418A8d

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90
Arg [1] : 000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d


Deployed Bytecode Sourcemap

2838:551:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2866:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2866:32:0;;;;;;;;;;;;;;3113:273;;;;;;;;;;;;;;;;-1:-1:-1;3113:273:0;;;;;;-1:-1:-1;;;;;3113:273:0;;:::i;:::-;;2903:29;;;:::i;2866:32::-;;;:::o;3113:273::-;3181:61;;;-1:-1:-1;;;3181:61:0;;3207:10;3181:61;;;;3227:4;3181:61;;;;;;;;;;;;-1:-1:-1;;;;;3188:4:0;3181:25;;;;:61;;;;;;;;;;;;;;-1:-1:-1;3181:25:0;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3249:38:0;;;-1:-1:-1;;;3249:38:0;;-1:-1:-1;;;;;3270:7:0;3249:38;;;;;;;;;;;;;;3256:4;3249:20;;;;;;:38;;;;;3181:61;;3249:38;;;;;;;;-1:-1:-1;3249:20:0;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3294:44:0;;;-1:-1:-1;;;3294:44:0;;;;;;;;-1:-1:-1;;;;;3294:44:0;;;;;;;;;3303:7;3294:23;;;;;;:44;;;;;3249:38;;3294:44;;;;;;;;-1:-1:-1;3294:23:0;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3345:35:0;;;-1:-1:-1;;;3345:35:0;;-1:-1:-1;;;;;3345:35:0;;;;;;;;;3354:7;3345:23;;;;;;:35;;;;;-1:-1:-1;;3345:35:0;;;;;;;;-1:-1:-1;3345:23:0;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3113:273;;:::o;2903:29::-;;;:::o

Swarm Source

ipfs://51855029f63a5e9f0ab0561b10326d2a6d045be9634549a3868e00e981b81b1b

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.