Contract 0xd80a0186ac95fa975b393335ab5be987f4881fb9

 

Contract Overview

Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6ac90f83bcbddbb331503959f31e3c011fbc345387525188257902d985df9762Stake37515742021-12-11 12:26:0438 days 10 hrs ago0x42ca4609546e3c5010d664e6961cc79f6b466e5e IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000486955191 ETH
0xa3029feb391a993f515a0774bc8a32effdecd8c0d12cccc0eb470935588c8da5Stake36546902021-12-07 23:27:3941 days 23 hrs ago0xa4f0b6899ca568df1595a3d12054499e5e1c9faf IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000677094743 ETH
0x187fa45a2afd5551222d3d881c79850fcfde57043dc0b07fcf4b77fe6e2f16abStake36067372021-12-06 5:19:3143 days 18 hrs ago0xabe1a48d2c17f18451cf2c7d5f807425bce4f92b IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000762834632 ETH
0x67f11022fc2019faf9e3488e73a87754e148e33a9544ec1f0bb5b589aead7e09Stake36022442021-12-06 0:29:5743 days 22 hrs ago0x25d53e1fe43e686cc669fb4e992891e63588434c IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000772721507 ETH
0x8d2643e65b7b9e11a8946d40023a7f0416a6f33ae2abf82d8f91b30a321d623fStake36021892021-12-06 0:25:5843 days 22 hrs ago0x45e48c0a6fe8b759652624451c83387130c58367 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.002284763259 ETH
0x5bae407bf423db5bb05447db8b9af012dd9b992adb8f346a9df1550b23bc7bcbStake35793172021-12-05 3:48:0344 days 19 hrs ago0xfaa326b586af5c56122da0ed7a16461eb07e42d5 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.001055365123 ETH
0x0c3e57da70b0dc702022cb20f3696c0822e115f529d267663127208d1a8dc971Stake35467882021-12-04 0:12:2545 days 23 hrs ago0xcd75281aab13da6fd25d3f04a17fa1f769859edc IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.002266386392 ETH
0xb43e6c1cb8687e3fb049e8807c705d66ae5dfbe7f04d84cde4ac3f7b580b52edStake35408412021-12-03 19:13:5346 days 4 hrs ago0x85ed153cd04a8559e4338a9e7e5ac22bca297f06 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000761250442 ETH
0x899f515dafa05508d3d9ae3ea2f35269499b6b523fedc236d527161da492e8aaStake35282952021-12-03 6:29:1146 days 16 hrs ago0x2bfe66759f0331066f3e7d57b3dc9a96bfc17927 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000787654753 ETH
0xecf785db822e16c3b72cd82a146f5d0793b0c6a56f46181f16b062083e39626eStake35271502021-12-03 5:06:1946 days 18 hrs ago0xd88fe69eab4942481dbf4ee6135bc59dfbe80a22 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000783585697 ETH
0xb4665a4b0880b7ebcc2cd12b27178685f947142252168ae704f6f93b34610834Stake35142762021-12-02 14:33:5947 days 8 hrs ago0xa1958a37c21372482deff4618baebbec23c9a449 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.00077860392 ETH
0x7f6051ccbc8e6c4616445cfdeb9a8fe7b931cdac6fbb40d079ce2c5e68dc0d49Stake35060372021-12-02 6:11:2047 days 17 hrs ago0x6a52af952b64c1eb04cfe7e5b67cdc3388f8b21e IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000862400514 ETH
0x244c43190ed3233af30503ba12d5975e93f1b19652ec4a2fa85e773a834be4d0Stake35048822021-12-02 4:48:0247 days 18 hrs ago0xbdabe38399cac8f898bfe8e913ebd256a6c37a14 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000874257133 ETH
0x0d216694be5dc4edd917b6c8778d28a1a29a365a2aca74d4a83931a9714e7141Stake35017292021-12-02 2:02:0547 days 21 hrs ago0xeef7e0b8f66e16dca3000a92bf806df9e8307d13 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000868770632 ETH
0x6da6c2cf503307e033d12d84a35c9b518e32a05fa6dd2408cf1d317adecb9332Stake34915602021-12-01 16:00:1048 days 7 hrs ago0xfdc3e8edd74a90fe971ef7d56a0c66c870b10f5d IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.002558158135 ETH
0x15f5944dca51e04d85ee411848608f4ea6d98421dc49009801a7645c326ad456Stake34872332021-12-01 12:04:1548 days 11 hrs ago0xd55ca002c8ac7d73b8423696ed55f8f40652914a IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.00110121875 ETH
0x9b687ed7c84420ac1583ccba64864e3e6512f261eedb42fe55ba35faab54bfddStake34868912021-12-01 11:47:1048 days 11 hrs ago0x73b32628daec3974155c7a64aa912fbad87029d6 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000878349421 ETH
0xa591fa2a6071ac13b7832c8fbe5a2bcce46eaf4367508f0de8628b932113525dStake34850082021-12-01 9:59:3548 days 13 hrs ago0x75ee09051d6439b71a9f69381a14887dc2ec8333 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.001125555174 ETH
0xf888260de88810d0f344081475efb95ea87e6c68428ac0cb0f5495e0a3e18779Stake34845652021-12-01 9:37:1748 days 13 hrs ago0xc4ed448e7d7bdd954e943954459017be63584f69 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000887974893 ETH
0x02df74122495ef23ae7dc6fec97ef2aa61024b8ce99caee31c90e6fff9df7966Stake34844842021-12-01 9:32:4148 days 13 hrs ago0x01a768f42d1f05ea4c8d3baabdd26b0f0db688f1 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000883331777 ETH
0x6a7b18d30ca6c89bf4f095803c22bc9f43f718431344b2e95fa09ad52106b78dStake34839932021-12-01 9:07:5348 days 14 hrs ago0xd9001c195d563986094778fedd4acc4bf36ddb9e IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000879043878 ETH
0x96c81a752b35dd2161225f67b45a4aec3a3c90e6330e1bbfaf140d2f68e8a8b2Stake34830792021-12-01 8:29:5148 days 14 hrs ago0xa812202eca0a478b9aff492ec831adc3a8f388a4 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000877132453 ETH
0x2dedeb72498fb66bb6c5706948b45fe42b7a539a9ef796a2c7d3dfec4e8e914aStake34827292021-12-01 8:13:1148 days 15 hrs ago0xf6c0d46b99af68f2536b905a1327c9a0dcde4074 IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000877062115 ETH
0x74af5ec3ba2943d3ac1f0db14adb6471c1965647270fe7f9df4c8cc56049e274Stake34825512021-12-01 8:05:5348 days 15 hrs ago0x98a969343a4116ad98216bd55fc3b986f6e3421f IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.000877157921 ETH
0x3c62aceb7f0a08ed917a49d1379dc1ee27634a989db31f6caef2d88aa9a0c4f6Stake34820912021-12-01 7:47:5148 days 15 hrs ago0x98a969343a4116ad98216bd55fc3b986f6e3421f IN  0xd80a0186ac95fa975b393335ab5be987f4881fb90 ETH0.001121441429 ETH
[ 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:
Yes with 100 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 Z2O;

    constructor ( address _staking, address _Z2O ) {
        require( _staking != address(0) );
        staking = _staking;
        require( _Z2O != address(0) );
        Z2O = _Z2O;
    }

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

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 100
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract ABI

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

60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060f152806101ae528061034f52508060a2528061017d528061024e52806102e752506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063f1696d2e14610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea26469706673582212205f3e3bb82bac474a25bbd7578e1d0b74fc532a448a666dd7b6b54c20a5f9fab164736f6c6343000705003300000000000000000000000006b4dfabaf0fb0cf813526572cc86b2695c9d050000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac

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

00000000000000000000000006b4dfabaf0fb0cf813526572cc86b2695c9d050000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac

-----Decoded View---------------
Arg [0] : _staking (address): 0x06b4dfabaf0fb0cf813526572cc86b2695c9d050
Arg [1] : _Z2O (address): 0xdb96f8efd6865644993505318cc08ff9c42fb9ac

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000006b4dfabaf0fb0cf813526572cc86b2695c9d050
Arg [1] : 000000000000000000000000db96f8efd6865644993505318cc08ff9c42fb9ac


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.