Contract 0x096bbfb78311227b805c968b070a81d358c13379 7

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x6631e5ee5e56d48cf0b3534b64962ff1b0dfb73f4421b77091739981bb40354dStake229736442022-11-29 2:14:442 hrs 39 mins ago0xb253211e4201341062bafee5ad0b236cfb4fd1d3 IN  Wonderland: Staking Helper0 AVAX0.00597594 30
0x47ebe460edd897805bd5612c3f14de407e5da799130b707ae6c87a3d7d069fb5Stake229700942022-11-29 0:14:504 hrs 39 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x177cac4c901822f59c3a4fbc4a9dfd3618bc9962011b1e11e168b4e1741f5a8eStake229657912022-11-28 21:48:027 hrs 6 mins ago0xc8d7f9385c2366c7fd77a10512a08ef8a020f4c3 IN  Wonderland: Staking Helper0 AVAX0.00597558 30
0x8955268fd993025f26d726b2b0bce64c409ce77c37134b4caa397eb088b315e3Stake229627092022-11-28 20:02:468 hrs 51 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x99bd0b388ecb8112eca7cca934f5e007a9aae048305fbc3263badbdf0ec4a18bStake229554202022-11-28 15:54:5512 hrs 59 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x7b048d32df8d5d790ee5b68cd884f8a81ea0461d8f120f444cb07e03f27fcd00Stake229550562022-11-28 15:42:2613 hrs 12 mins ago0x60b76ab319b4cd77a1626fde0784ac7ee8589cb0 IN  Wonderland: Staking Helper0 AVAX0.00597486 30
0xc70f59bc1eb0d5ab1006c05f4f7079fef0a2507c68926bc161c74aa0111ed710Stake229544292022-11-28 15:21:1413 hrs 33 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0xcf53330e3ce6117c1fbd0ff60384bbdc064d3b29266324fca9e0fba1286242a4Stake229519612022-11-28 13:58:0614 hrs 56 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x6a0b399bfa48b0f5af614a22214298ccf1e8977554899bc3fd1fe80a18f30bd4Stake229518092022-11-28 13:53:0215 hrs 1 min ago0xf3e11d89b07e738f31de12e8d8cfa0eac7867a37 IN  Wonderland: Staking Helper0 AVAX0.00597558 30
0x20116e2c5a6c8796a1406e5675751da13a5b83daf79db8f0f9f5c92e8bc5122aStake229472022022-11-28 11:14:4317 hrs 39 mins ago0xc533e4eb101b9b43073b0f8b1f7dd69bac315982 IN  Wonderland: Staking Helper0 AVAX0.0059755830
0x1e5bc5e9d2147c22a7175cbd2e6098859d6d31a77f693157e68e086f678ec5bdStake229469432022-11-28 11:05:4617 hrs 48 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x59323791427fc54e13f1867969319b826a83fb4c73ae102686f5bae2625d7d98Stake229467912022-11-28 11:00:2817 hrs 53 mins ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0xd2881cd4aa42a66bb6459b487e5116af464c9511dfa5f755393d77718e1541d4Stake229431352022-11-28 8:53:3220 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x967a87371fa988981d6f14f73e353e0ed550be0a9d078d250019ec3584c17960Stake229315532022-11-28 2:12:591 day 2 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0xb58382662d103cdaab94207e489fd38f8c4cae32b966a34a42f89a2f085d1034Stake229305812022-11-28 1:40:171 day 3 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.007910306716 36.571335458
0xb51de12c4804c5b6d3b4998b05b004401be48aa62cb25d478e8d3c2da6253b29Stake229303352022-11-28 1:32:351 day 3 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x1fd5fcd5b6ba40db8066d3e020efb0295e238e484c8289a0106b0174709b34ceStake229299472022-11-28 1:20:071 day 3 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054287786 25.1
0xddcab4cd31349a13bc30962556d447cad040d7a0041825edb196c553eef8d444Stake229283322022-11-28 0:24:311 day 4 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x7cfd5c9183fd2b84240853b6c01bae30aec828b42577e2c07d8eb6762c6e0e11Stake229268542022-11-27 23:33:151 day 5 hrs ago0x0dab2a43b2d69a175fd7203ae5d874116c2574c4 IN  Wonderland: Staking Helper0 AVAX0.00597558 30
0x607d23f9acf6799178ec4dc5e35cb470c7c19907d26d001f5a70950bf957be18Stake229264492022-11-27 23:19:351 day 5 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x4f73a5591280c3a795b880e58a4c7a943e647ab1b5bfcd32efeddb882fdfb9c5Stake229217662022-11-27 20:38:201 day 8 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x67e6f332c40dddf90fe6b2c92d172d488eb9a9d9aedd3a22c9fd09e56273b697Stake229181832022-11-27 18:35:471 day 10 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0xe16ae5b5c18010518b71b89877b27f165fca65e841629cc0e17f314e8ba73348Stake229156602022-11-27 17:09:591 day 11 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0xee3116196cea248cb7f7ef02bcdeddbd46097e50d8d4ac5894e1079ac4f116bfStake229124242022-11-27 15:20:561 day 13 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
0x44b17d46c17d2710f5a0040e9e141597477a6d4e2345d80d49cb41de73633fa7Stake229113772022-11-27 14:45:451 day 14 hrs ago0x2dff26d86942ce30e8c1d1e8323172cec8910b7e IN  Wonderland: Staking Helper0 AVAX0.0054290798 25.1
[ 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.