Contract 0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c 1

 

Contract Overview

Balance:
0 MATIC

MATIC Value:
$0.00

Token:
 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x7167cd8cb67614a58b102f32bff5ea6b5c19acb4e06dd517b995dd0f14709d9eStake240853022022-01-24 0:37:1940 mins ago0x77db23ed94508b0b70ed06a6ffbcd24ab0ed16ca IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.011876837706 68.191847562
0x0c0f9fc06dab1cd6519397c812cf8ab6e5824e0c9e49601f6fd8bf7f9b52b908Stake240850692022-01-24 0:29:2148 mins ago0x1d9edb7a8dab97f69bf17e523ec37eb5af5b6dd9 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.022093018983 126.842344188
0x96c8104eecfabf4de049c24b4bc60bf29b28a657d523a2df5b8042fd904b4a95Stake240841422022-01-23 23:55:181 hr 22 mins ago0x2a35e35ab43f772afb881aa4eea78af172444585 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.012323603397 70.753333662
0xd7c497b8866257e175329447e54dfd5c2ad3dd5f14b3edf86ea21a3eb828505aStake240837112022-01-23 23:38:201 hr 39 mins ago0x13be51bf329438854df96cb06f374dbbc7618d3b IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.00925029358 53.111326881
0x5b2a96a525b971e0d95eeec97743317884ca3a330b6ad0a9474dd37523a7ff9aStake240798652022-01-23 21:23:403 hrs 54 mins ago0xa41bbaaa151662eafae511826b154c45b3dbb336 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.014288887276 82.040829982
0x3a9aaf1bfa3567f38ef3f6e0bd16a5789d21c2c18fa2bbb4af983727accc31aaStake240785762022-01-23 20:39:194 hrs 38 mins ago0x5bc3b0546d38687f28c899a061543ba8c991c275 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.00752813417 43.221172545
0x95019f0de228d3e402b30742bbf7dd1a9cb3d896567814758d1611201e048932Stake240663022022-01-23 13:05:3512 hrs 12 mins ago0x26f7678429ad78fbef8fa7f933b5f472fe74607f IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.035055827101 201.275935311
0xa8b48bdf2375386c8853c16f05f3108403d327d2231bec213cfc3dab0b09170fStake240661572022-01-23 12:54:1712 hrs 23 mins ago0xf886fffadd71c2f28e9c419e9ea059ac8a212fdd IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.009181710224 52.714825865
0x9dfaabf707b02519ad337bec38f8461a963e842739f6afa07dcc00af8cd0c8ffStake240626842022-01-23 10:44:0914 hrs 33 mins ago0x9fc2f7e64f306356806cba5c6b9de1dabccada5e IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.011542268709 66.270891951
0x73321c33b545e89c3140a71d4c30bc3f7b08369311bc532587daf0c4b441b4fcStake240620992022-01-23 10:21:5514 hrs 56 mins ago0xcf96dd2a375177ab99e189196ed35aa2b8c9d650 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.015480317354 82.413129159
0xd043f6be0a5132f1dbba693a3917599185a9683a34ed04cc5b23ae511d7c5046Stake240619682022-01-23 10:15:1715 hrs 2 mins ago0x150a3b0f356d856cd1168e311fe3e58213b9d26e IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.009146869293 52.514794111
0xa31b1a1c5a34d7255843e71aa9dac0bcb4b31cd518b96ce8ab961030b9edd402Stake240609322022-01-23 9:33:1715 hrs 44 mins ago0x1dcd6ebffb3ab6f037c24b1df3541a41c24c7c9d IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.010854308913 57.782403396
0xecfc15347e75098468f6add0c735fd2edb916cc9d81da7eda4aeb3ef6b94e0aeStake240589492022-01-23 8:20:5116 hrs 57 mins ago0x425a07e6fb964697799a274ffb590284ebbf3ce1 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.013075717156 75.079624001
0xc61eb5310106bed242a60e7662ead126c7c7a5bea775282f4d0c7623b0da7dc9Stake240551052022-01-23 6:06:2519 hrs 11 mins ago0x2d579bc68bef90d946a12c0251beedc36ef8a608 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.009621186379 55.240838613
0x134ca87214d4d0cd03a94dcba221b240f21819d382eed690d62dbbcff5dae6a0Stake240542852022-01-23 5:36:0519 hrs 41 mins ago0xd0ad343f78d3864f4ffca528ace86551754adec7 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.009655728276 51.399353106
0xf570f387ec8e6ef9ff3d97e689dfedcac5e7d8ef17df376523e9f10f83f46643Stake240477672022-01-23 1:47:3823 hrs 30 mins ago0xca01f68eb40e3e428089ff406da55597701418b7 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.009642629263 55.363954705
0x4a40eb42546d523c9ac48205f9f4245de86dd4e7ec964638f5fad36b65379b2cStake240464052022-01-23 1:00:501 day 17 mins ago0xf6cf249d968bffa64d0ac9c86291aeb6ec24055c IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.01231729007 70.717087044
0x6029a9374da79c174eb7c147cded5d387701b227801ab79b4cbbde747b043e44Stake240450602022-01-23 0:14:121 day 1 hr ago0x70e4aa6edc60f01215e7826bd621a9192ba8e3e6 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.011073340114 63.578499576
0x40e5ad8d4db4ac3373aa390acb65cf73756463b3363499784942bdcee1e6d65eStake240448542022-01-23 0:07:041 day 1 hr ago0x4dc116bdd2d6e63ff2a082afdaca166aa1eb1c28 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.011478142737 65.902707374
0x007b45094f2ebbc8a18bc177901880ad326ebf218d1def1fdb13f5eb65e73391Stake240425502022-01-22 22:43:361 day 2 hrs ago0xc98a4e074db554c23f5e3941a36aedecc652d8b9 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.010496041519 60.263891871
0x208fc1313b074f7585028868ec7e400c25ecc8936306f061aa8d6da5bfae39cdStake240420552022-01-22 22:26:301 day 2 hrs ago0x13be51bf329438854df96cb06f374dbbc7618d3b IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.009537008834 54.75469686
0x5ddc5733621ec0c59d41142b71a81f0bc39b56a88639673494f356f575f37487Stake240405462022-01-22 21:30:201 day 3 hrs ago0xd74f3efa027ea11b9e6f02468612a3b8e0af1386 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.014572898203 83.66717881
0x3d34eef379c592892d2a27001459e59860133d96ff6b576f37232c81b10aa1cfStake240360612022-01-22 18:49:281 day 6 hrs ago0x5bc3b0546d38687f28c899a061543ba8c991c275 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.178184836427 1,023.0629991
0x7e93d8cf4e3e90f2775793a4621edc8a9d476a9ad0dd869dfa2ae307dcc0d1c6Stake240352402022-01-22 18:18:201 day 6 hrs ago0x13be51bf329438854df96cb06f374dbbc7618d3b IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.101917210559 585.13587075
0x15ea77fd4d0b402547cef96babd56288b97007270c3da7f3ce751072e77593feStake240349172022-01-22 18:05:521 day 7 hrs ago0xad613562a8df0ce3c6fc2d9c89f7570ff3d8a5d0 IN  0x14d9e4bcc1791aef83170c6876629f7e60c9ba1c0 MATIC0.057751541037 331.568123447
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingHelper

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

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

contract StakingHelper {

    address public immutable staking;
    address public immutable GURU;

    constructor ( address _staking, address _GURU ) {
        require( _staking != address(0) );
        staking = _staking;
        require( _GURU != address(0) );
        GURU = _GURU;
    }

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

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

Contract Security Audit

Contract ABI

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

60c060405234801561001057600080fd5b506040516106163803806106168339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561008857600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100f957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505060805160601c60a05160601c6104a36101736000398061010252806101ed528061044b52508060de528061022952806102da52806103a752506104a36000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d914610046578063a694fc3a1461007a578063ff402d23146100a8575b600080fd5b61004e6100dc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100a66004803603602081101561009057600080fd5b8101908080359060200190929190505050610100565b005b6100b0610449565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330846040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156101af57600080fd5b505af11580156101c3573d6000803e3d6000fd5b505050506040513d60208110156101d957600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000836040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b15801561029c57600080fd5b505af11580156102b0573d6000803e3d6000fd5b505050506040513d60208110156102c657600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637acb775782336040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561036957600080fd5b505af115801561037d573d6000803e3d6000fd5b505050506040513d602081101561039357600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631e83409a336040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561042e57600080fd5b505af1158015610442573d6000803e3d6000fd5b5050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea2646970667358221220baa900f7ed35ea47eb43ad13cd7872ddfcc57d11a22f8b67637ac37740fe2a3064736f6c634300070500330000000000000000000000004eef9cb4d2da4ab2a76a4477e9d2b07f403f0675000000000000000000000000057e0bd9b797f9eeeb8307b35dbc8c12e534c41e

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

0000000000000000000000004eef9cb4d2da4ab2a76a4477e9d2b07f403f0675000000000000000000000000057e0bd9b797f9eeeb8307b35dbc8c12e534c41e

-----Decoded View---------------
Arg [0] : _staking (address): 0x4eef9cb4d2da4ab2a76a4477e9d2b07f403f0675
Arg [1] : _GURU (address): 0x057e0bd9b797f9eeeb8307b35dbc8c12e534c41e

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004eef9cb4d2da4ab2a76a4477e9d2b07f403f0675
Arg [1] : 000000000000000000000000057e0bd9b797f9eeeb8307b35dbc8c12e534c41e


Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.