Contract 0x096bbfb78311227b805c968b070a81d358c13379 3

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x5cd4a071e41a40b276042336e2f7ad6db621c1dcb771d346de3b05f8f8702c14Stake78758392021-12-06 8:57:3311 secs ago0xb6d7167f0ae42f247def44738bdd4c0d8da9f75b IN  Wonderland: Staking Helper0 AVAX0.00597558 30
0xe0477be3c6dc0bf5df6dc7b18d08de2acc968c52161f06274825126658843a35Stake78758312021-12-06 8:57:1826 secs ago0xd5a34d827b0ac95034b7836fe22763389bee1c06 IN  Wonderland: Staking Helper0 AVAX0.0059759430
0x8d697e893fd706a6282b189a4e07c9a816298917fe77d726db1de21b4671bff1Stake78758292021-12-06 8:57:1331 secs ago0x7fb8533967a2ff979bbb8089d34cbdcce41f2b5c IN  Wonderland: Staking Helper0 AVAX0.0064885830
0xf9c44c8862faef81cde8d0a56f4b9d6cbad036a044bdd65544c562e343f26a02Stake78758292021-12-06 8:57:1331 secs ago0x90206e42215e737eeeffb1797acac3850e85f318 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0x20ba9b1ff78079e59666b04e738ffcfd03c022d42d3127d2f68684d9ce023fc1Stake78758282021-12-06 8:57:0935 secs ago0xcf8b4a068405d641cba1ef282d648391a75434f0 IN  Wonderland: Staking Helper0 AVAX0.0008410530
0x6d2db7b467ac5590d316f7f09d04e1eb18e508144a2be2059732ed24aba084a8Stake78758282021-12-06 8:57:0935 secs ago0xe86861631ff847ca6fcad6b4d8e305589a2bff65 IN  Wonderland: Staking Helper0 AVAX0.0064885830
0x588c7a74238ab96ae1a513ecf637565d034618078671180b2b82da19d49dcb0fStake78758272021-12-06 8:57:0638 secs ago0xf6b91499cea2f8f3951370254bc4a836b02d16b9 IN  Wonderland: Staking Helper0 AVAX0.0059752230
0x53c521a8aa3cda5ff891cf9414e600f6eb2bcdeedafa00afbfb1e518ad1d8fadStake78758262021-12-06 8:57:0539 secs ago0xcf8b4a068405d641cba1ef282d648391a75434f0 IN  Wonderland: Staking Helper0 AVAX0.0064885830
0x2f197c5e78197c2e9f2669e6b21d085676d09c568fd88bfc851089a298ef5830Stake78758112021-12-06 8:56:381 min ago0x727001a1253f2353788ada94a2982fc816cce620 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0x83a82872268018c2542d3dc2a1265f4871bc824800f7d933312ee7f39ae5e9abStake78758112021-12-06 8:56:381 min ago0x75e8c4aa79d0b7e2185373df415b3bc306f24760 IN  Wonderland: Staking Helper0 AVAX0.0059752230
0xd49bd0225e4060288700e3349fb6d374d9a299d1e94af1042778a12dc9caa671Stake78758012021-12-06 8:56:181 min ago0x9da56bfb4c50f3f9195472b5e39caa800603dab0 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0xee64bcd1fa3dc5f029d7e246f448194b1ec27d767ef13258d7d36b46c61c6865Stake78757992021-12-06 8:56:121 min ago0xfb4606bb4319c7cdcce3f9cb0c57e19a0644d495 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0xb2a8667e634becc5b7ea71a576e31a0969bd672890a5f7e97fdce23ecd0be300Stake78757982021-12-06 8:56:091 min ago0xf414271cef0c0b156aca97f1aaf9e4f895cfe53b IN  Wonderland: Staking Helper0 AVAX0.0049793525
0x6364343bb901b08f6907b736a2e51b8e56802154f08d4a9f86065ce9c9770a63Stake78757902021-12-06 8:55:561 min ago0x433a9deef037e0b36df0d0b3043d9b372db862ba IN  Wonderland: Staking Helper0 AVAX0.0064885830
0x91f6de1ae5c0238fd21eefb59416ca0370a8601eedd37888b07f76dcf3374235Stake78757862021-12-06 8:55:471 min ago0x4b323c6231283bb1e662c294dc07cacf36030605 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0x9b705655e8d9eb469db9c91b131b0b8ded17baf729614c299eb257d564ab2360Stake78757842021-12-06 8:55:432 mins ago0x8e3845281caf503ca93c486d304e4f94efc3fde4 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0xb6c0787b0971b4627030a05f82d3b39144b987944b10eec2737aa13932071ca9Stake78757792021-12-06 8:55:342 mins ago0x40d97a7951d71e7ee035fa320830cec8a8a305b1 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0x420d2bad67b7e6019983553f46605d00234318df2018996e3dbe3489c2c5b275Stake78757792021-12-06 8:55:342 mins ago0x7e7078e9c6228bbfa8cf3d00e10d12e9c3cad97c IN  Wonderland: Staking Helper0 AVAX0.0059752230
0x3cb5f904d2ead6f5e7db47e13dce8ac1f0051a82b2646ea8ec99ace7e81b7a98Stake78757702021-12-06 8:55:132 mins ago0xb7477eb1446cb9fd7161344ed311818aee265d13 IN  Wonderland: Staking Helper0 AVAX0.0064885830
0x28c0e4cb864ed1d8c1c5902184ad4f4da93b17927c851a1434bb3a58466906bfStake78757642021-12-06 8:54:592 mins ago0xf209a39fa16a1595371aeed056d7a684a11fa206 IN  Wonderland: Staking Helper0 AVAX0.0064885830
0xb725f3285c9d26284e057957d67c3131b2dfe9da5b475af637005fef54798be0Stake78757622021-12-06 8:54:542 mins ago0x39122bced911e2a0e839f843a4e5c5f1afb2bc6c IN  Wonderland: Staking Helper0 AVAX0.0059752230
0x5965611324bf28677b2fd42495ce63f475fae80a4579403e0f2c65d34817c1c5Stake78757522021-12-06 8:54:373 mins ago0xae0b3c21a31f3e07702b0e1150ab2a7239596f97 IN  Wonderland: Staking Helper0 AVAX0.0064885830
0xde79fd8702b8d18cde906beb23899d9d40e5f79d655150ec7d174ee1115ea9deStake78757482021-12-06 8:54:293 mins ago0x7ba92eab5c17040e2697f5707582f4c816868cd5 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0x09b26158979a582e90087146005cfd91053f7e83feaccbec2414a472308e3a62Stake78757402021-12-06 8:54:133 mins ago0x542afc944bc765925cdeacdec5f18a1fb0ca2794 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0xdf73b70e56bcbd89526d703469376cc084313b47b5b6a485abdc36ee916894e8Stake78757402021-12-06 8:54:133 mins ago0xee19297660dcdd8dc72affa4cb349de485e66653 IN  Wonderland: Staking Helper0 AVAX0.0064885830
[ 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 200 runs

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

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

    constructor ( address _staking, address _Time ) {
        require( _staking != address(0) );
        staking = _staking;
        require( _Time != address(0) );
        Time = _Time;
    }

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

Contract ABI

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

60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060f152806101ae528061034f52508060a2528061017d528061024e52806102e752506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063f8e157ea14610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea2646970667358221220dbdbc0d130043ad9c37c8dad45ff494a3b628614127ec8de795544a4d35613a364736f6c634300070500330000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9000000000000000000000000b54f16fb19478766a268f172c9480f8da1a7c9c3

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

0000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9000000000000000000000000b54f16fb19478766a268f172c9480f8da1a7c9c3

-----Decoded View---------------
Arg [0] : _staking (address): 0x4456b87af11e87e329ab7d7c7a246ed1ac2168b9
Arg [1] : _Time (address): 0xb54f16fb19478766a268f172c9480f8da1a7c9c3

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9
Arg [1] : 000000000000000000000000b54f16fb19478766a268f172c9480f8da1a7c9c3


Deployed ByteCode Sourcemap

2810:616:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2842:32:0;;;;;;;;;;;;;;3120:303;;;;;;;;;;;;;;;;-1:-1:-1;3120:303:0;;;;;;-1:-1:-1;;;;;3120:303:0;;:::i;:::-;;2881:29;;;:::i;2842:32::-;;;:::o;3120:303::-;3190:65;;;-1:-1:-1;;;3190:65:0;;3219:10;3190:65;;;;3239:4;3190:65;;;;;;;;;;;;-1:-1:-1;;;;;3198:4:0;3190:27;;;;:65;;;;;;;;;;;;;;-1:-1:-1;3190:27:0;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3266:42:0;;;-1:-1:-1;;;3266:42:0;;-1:-1:-1;;;;;3290:7:0;3266:42;;;;;;;;;;;;;;3274:4;3266:22;;;;;;:42;;;;;3190:65;;3266:42;;;;;;;;-1:-1:-1;3266:22:0;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3319:47:0;;;-1:-1:-1;;;3319:47:0;;;;;;;;-1:-1:-1;;;;;3319:47:0;;;;;;;;;3329:7;3319:25;;;;;;:47;;;;;3266:42;;3319:47;;;;;;;;-1:-1:-1;3319:25:0;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3377:38:0;;;-1:-1:-1;;;3377:38:0;;-1:-1:-1;;;;;3377:38:0;;;;;;;;;3387:7;3377:25;;;;;;:38;;;;;-1:-1:-1;;3377:38:0;;;;;;;;-1:-1:-1;3377:25:0;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3120:303;;:::o;2881:29::-;;;:::o

Swarm Source

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