ETH Price: $1,967.79 (+2.43%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Stake163080202022-12-31 23:26:111154 days ago1672529171IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0020006713.95834036
Stake143595092022-03-10 14:02:251451 days ago1646920945IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0055944223.78360545
Stake142396482022-02-20 0:19:471469 days ago1645316387IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0380322495.23680746
Stake142181402022-02-16 16:10:291473 days ago1645027829IN
0x747cC8F2...4Dcbe90f9
0 ETH0.019398450.2987312
Stake142087662022-02-15 5:08:521474 days ago1644901732IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0181887147.16206842
Stake142087532022-02-15 5:05:411474 days ago1644901541IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0177393843.81479292
Stake142052332022-02-14 16:06:021475 days ago1644854762IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0251082665.10399431
Stake142004922022-02-13 22:28:081476 days ago1644791288IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0252311665.4226682
Stake141995062022-02-13 18:51:341476 days ago1644778294IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0221477657.42627032
Stake141975672022-02-13 11:42:011476 days ago1644752521IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0115109229.84634064
Stake141947742022-02-13 1:23:091476 days ago1644715389IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0155677340.3660467
Stake141775462022-02-10 9:31:451479 days ago1644485505IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0188632248.90988624
Stake141702922022-02-09 6:34:551480 days ago1644388495IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0272606570.68497954
Stake141695542022-02-09 3:49:181480 days ago1644378558IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0200708452.04500379
Stake141646722022-02-08 9:39:081481 days ago1644313148IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0204386952.99612586
Stake141397232022-02-04 13:15:501485 days ago1643980550IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0288321474.75974881
Stake141302942022-02-03 2:10:161486 days ago1643854216IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0353886891.76279526
Stake141191602022-02-01 8:46:001488 days ago1643705160IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0273614270.94812181
Stake141184892022-02-01 6:14:141488 days ago1643696054IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0382805299.26132473
Stake141093602022-01-30 20:31:381490 days ago1643574698IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0439572110.07629051
Stake141086532022-01-30 17:53:421490 days ago1643565222IN
0x747cC8F2...4Dcbe90f9
0 ETH0.04617024115.61522844
Stake141057942022-01-30 7:31:561490 days ago1643527916IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0245245963.59223455
Stake141053622022-01-30 5:51:481490 days ago1643521908IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0299248577.59508527
Stake141029552022-01-29 20:58:141491 days ago1643489894IN
0x747cC8F2...4Dcbe90f9
0 ETH0.05771399144.51875459
Stake141017532022-01-29 16:33:381491 days ago1643474018IN
0x747cC8F2...4Dcbe90f9
0 ETH0.0326346684.62161322
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
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:
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-10
*/

// 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( uint _amount, address _recipient ) external returns ( bool );
    function claim( address _recipient ) external;
}

contract StakingHelper {

    address public immutable staking;
    address public immutable MNFST;

    event Staked(address sender, uint256 amount);

    constructor ( address _staking, address _MNFST ) {
        require( _staking != address(0) );
        staking = _staking;
        require( _MNFST != address(0) );
        MNFST = _MNFST;
    }

    function stake( uint _amount ) external {
        IERC20( MNFST ).transferFrom( msg.sender, address(this), _amount );
        IERC20( MNFST ).approve( staking, _amount );
        IStaking( staking ).stake( _amount, msg.sender );
        IStaking( staking ).claim( msg.sender );
        emit Staked(msg.sender, _amount);
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_MNFST","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Staked","type":"event"},{"inputs":[],"name":"MNFST","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c060405234801561001057600080fd5b506040516104923803806104928339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103c86100ca6000398060e2528061019f52806103705250806093528061016e528061023d52806102d152506103c86000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d914610046578063a694fc3a1461006a578063b5764e4714610089575b600080fd5b61004e610091565b604080516001600160a01b039092168252519081900360200190f35b6100876004803603602081101561008057600080fd5b50356100b5565b005b61004e61036e565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810183905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561012a57600080fd5b505af115801561013e573d6000803e3d6000fd5b505050506040513d602081101561015457600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820184905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101ea57600080fd5b505af11580156101fe573d6000803e3d6000fd5b505050506040513d602081101561021457600080fd5b505060408051637acb775760e01b81526004810183905233602482015290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691637acb77579160448083019260209291908290030181600087803b15801561028557600080fd5b505af1158015610299573d6000803e3d6000fd5b505050506040513d60208110156102af57600080fd5b505060408051630f41a04d60e11b815233600482015290516001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691631e83409a91602480830192600092919082900301818387803b15801561031857600080fd5b505af115801561032c573d6000803e3d6000fd5b5050604080513381526020810185905281517f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d9450908190039091019150a150565b7f00000000000000000000000000000000000000000000000000000000000000008156fea264697066735822122062ecb4c94e77c396abeda7b7c1486c090410dc7ba7751168abd12174b638113264736f6c634300070500330000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb600000000000000000000000021585bbcd5bdc3f5737620cf0db2e51978cf60ac

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d914610046578063a694fc3a1461006a578063b5764e4714610089575b600080fd5b61004e610091565b604080516001600160a01b039092168252519081900360200190f35b6100876004803603602081101561008057600080fd5b50356100b5565b005b61004e61036e565b7f0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb681565b604080516323b872dd60e01b81523360048201523060248201526044810183905290516001600160a01b037f00000000000000000000000021585bbcd5bdc3f5737620cf0db2e51978cf60ac16916323b872dd9160648083019260209291908290030181600087803b15801561012a57600080fd5b505af115801561013e573d6000803e3d6000fd5b505050506040513d602081101561015457600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb6811660048301526024820184905291517f00000000000000000000000021585bbcd5bdc3f5737620cf0db2e51978cf60ac9092169163095ea7b3916044808201926020929091908290030181600087803b1580156101ea57600080fd5b505af11580156101fe573d6000803e3d6000fd5b505050506040513d602081101561021457600080fd5b505060408051637acb775760e01b81526004810183905233602482015290516001600160a01b037f0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb61691637acb77579160448083019260209291908290030181600087803b15801561028557600080fd5b505af1158015610299573d6000803e3d6000fd5b505050506040513d60208110156102af57600080fd5b505060408051630f41a04d60e11b815233600482015290516001600160a01b037f0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb61691631e83409a91602480830192600092919082900301818387803b15801561031857600080fd5b505af115801561032c573d6000803e3d6000fd5b5050604080513381526020810185905281517f9e71bc8eea02a63969f509818f2dafb9254532904319f9dbda79b67bd34a5f3d9450908190039091019150a150565b7f00000000000000000000000021585bbcd5bdc3f5737620cf0db2e51978cf60ac8156fea264697066735822122062ecb4c94e77c396abeda7b7c1486c090410dc7ba7751168abd12174b638113264736f6c63430007050033

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

0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb600000000000000000000000021585bbcd5bdc3f5737620cf0db2e51978cf60ac

-----Decoded View---------------
Arg [0] : _staking (address): 0x9c9022c6a2E1ed9f3110E177763123C4400D5Eb6
Arg [1] : _MNFST (address): 0x21585BBcD5bDC3f5737620cf0Db2E51978cf60ac

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb6
Arg [1] : 00000000000000000000000021585bbcd5bdc3f5737620cf0db2e51978cf60ac


Deployed Bytecode Sourcemap

2810:702:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2842:32:0;;;;;;;;;;;;;;3178:331;;;;;;;;;;;;;;;;-1:-1:-1;3178:331:0;;:::i;:::-;;2881:30;;;:::i;2842:32::-;;;:::o;3178:331::-;3229:66;;;-1:-1:-1;;;3229:66:0;;3259:10;3229:66;;;;3279:4;3229:66;;;;;;;;;;;;-1:-1:-1;;;;;3237:5:0;3229:28;;;;:66;;;;;;;;;;;;;;-1:-1:-1;3229:28:0;:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3306:43:0;;;-1:-1:-1;;;3306:43:0;;-1:-1:-1;;;;;3331:7:0;3306:43;;;;;;;;;;;;;;3314:5;3306:23;;;;;;:43;;;;;3229:66;;3306:43;;;;;;;;-1:-1:-1;3306:23:0;:43;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3360:48:0;;;-1:-1:-1;;;3360:48:0;;;;;;;;3396:10;3360:48;;;;;;-1:-1:-1;;;;;3370:7:0;3360:25;;;;:48;;;;;3306:43;;3360:48;;;;;;;-1:-1:-1;3360:25:0;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3419:39:0;;;-1:-1:-1;;;3419:39:0;;3446:10;3419:39;;;;;;-1:-1:-1;;;;;3429:7:0;3419:25;;;;:39;;;;;-1:-1:-1;;3419:39:0;;;;;;;-1:-1:-1;3419:25:0;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3474:27:0;;;3481:10;3474:27;;;;;;;;;;;;-1:-1:-1;3474:27:0;;;;;;;;-1:-1:-1;3474:27:0;3178:331;:::o;2881:30::-;;;:::o

Swarm Source

ipfs://62ecb4c94e77c396abeda7b7c1486c090410dc7ba7751168abd12174b6381132

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