Contract 0x3d371d925db78f8e46130af95756789ece6387ce

Contract Overview

Snowbank DAO: Staking Helper
Balance:
0 AVAX

AVAX Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x53b7fffb0683693e2d5ea389817294f47f6db8b41838b6ae336ebe811b94e0d3Stake78762532021-12-06 9:11:176 mins ago0xf333193872a0dbbf8ad7c82579626e4c6216d5e3 IN  Snowbank DAO: Staking Helper0 AVAX0.0060323430
0x2613f9007a35313b8217d6c132a9bfdb39a582e2dc26efa3464e24b659344f01Stake78760572021-12-06 9:04:4812 mins ago0x467dbd4d95f690863f3cc843408fce23e7a7f771 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x2c41c54789b651014ca7363da5acc2a8e90974a226a5a691b8bb9b735ced6cd9Stake78759422021-12-06 9:01:0216 mins ago0xa16040e7a99a00c44e46c179445c74bff357f1fc IN  Snowbank DAO: Staking Helper0 AVAX0.006545730
0x365c090c9c0c2ba1b4acb9617abc14cd6527ae8c9898c710f316576a12792505Stake78758582021-12-06 8:58:1219 mins ago0xcdcdf84b978ea29a8250e244a0e776dbbf166f67 IN  Snowbank DAO: Staking Helper0 AVAX0.00552997527.5
0x2109f347cd8894b53b71d8cd46f470ebd717c44422ac7a03737bb416f1c39d9bStake78758152021-12-06 8:56:4620 mins ago0x01afc10e794eb1208d67adacb87f26498b4dbcf8 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x9bc213f14a6130db8bc68356bf28dd4b15e6b6453c05f919a0c26476907ffdb5Stake78757342021-12-06 8:54:0123 mins ago0xf7d01a8da9ed7cf9c0f7c1c8e1b455be494fab27 IN  Snowbank DAO: Staking Helper0 AVAX0.0060330630
0x2428ec66cccd464e0b49c971a8fbd54131a77a10b6c666c73551c62520c13c87Stake78754212021-12-06 8:43:3333 mins ago0xf7d01a8da9ed7cf9c0f7c1c8e1b455be494fab27 IN  Snowbank DAO: Staking Helper0 AVAX0.0065460630
0x12b9bf9cf45583b8e1c44fe968774b9fd066a573796f98caa48ad4b328662f1cStake78753352021-12-06 8:40:4136 mins ago0x7f62bf17a1674d3a6cb78aaa98d1b7769ea15059 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0xf913a506aed75b94f50897068ae172ac67e93936c6a11c50b29fcd5f24bfb251Stake78752742021-12-06 8:38:4438 mins ago0x93fda01cc21c7ef1689006dccb5bc1601f69a0d9 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x03f9f0550d2dd0f9de83b5003096b8a0d9f230946ab80c95c018d6919c797436Stake78751502021-12-06 8:34:4242 mins ago0x676c5a7c584d0a1e7c24e49510f58a08adde562b IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0xc4e29d8521a2da9e974775472fcf6d5c8a8c1d6b1a198758ce2da336ab0327fdStake78748972021-12-06 8:26:2051 mins ago0x6a184eb57d2eb8fed03234a044fd4ccb24b7eb50 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x92b224007156dd8a3d7d2fcd939ae811df0f86cfc9f1412a43277a56aefdfebaStake78746972021-12-06 8:19:3857 mins ago0xa5c4c3a849338d11258fb5a2624c7160653f2aa6 IN  Snowbank DAO: Staking Helper0 AVAX0.00502725 25
0x8cf34f8597c8e18a8c5ce18226d953fcb7bd07d80158363f35d6724131c2c793Stake78745922021-12-06 8:16:131 hr 1 min ago0xa435c8b973b2d3884bed365c2f7896eb2330c787 IN  Snowbank DAO: Staking Helper0 AVAX0.0065453430
0xfce32c4b8ef7b69a1433519b7e21a0fc19a61ec093fb1b306df676be1a905d99Stake78745062021-12-06 8:13:231 hr 3 mins ago0xcfe31652839b642a2e3b71cd09110329766a78e9 IN  Snowbank DAO: Staking Helper0 AVAX0.0065453430
0xfc3819ad1aba336168da42b6798b9c26ef9f349cc64d8b91432f1ada6fc9a4c8Stake78745042021-12-06 8:13:181 hr 4 mins ago0x9d28b39518742eaafb0d01a97a9bd9aab7930684 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x739570b9c07e04d57b91c8ee29ffb10f021e6f705b2096c2611da30046d2eb5bStake78744532021-12-06 8:11:421 hr 5 mins ago0xef2f7ff6897073ba27e94ac369ad6de996683dba IN  Snowbank DAO: Staking Helper0 AVAX0.006545730
0xc3525bab4dd61fc629f4a377134f3241f6b883d49c0bb815c74fcf187979fa81Stake78744302021-12-06 8:10:551 hr 6 mins ago0xc80660af245064cdd8eff2112b65ded35f2f5cc6 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x0918816ee0bda646048113ae93d09a8a14a30c152ac701cf49e3fe7697010e9fStake78744012021-12-06 8:09:531 hr 7 mins ago0x77a73072d78577ec0033be2ccb11ba4695943aa8 IN  Snowbank DAO: Staking Helper0 AVAX0.0065453430
0x49c8c5185b1239c07568bd85e32b9ddcf808ba0a4d9d010dcd363825f3828c4cStake78742902021-12-06 8:06:151 hr 11 mins ago0x86466b1601ff8aa45140f85a618b4e9b452b7250 IN  Snowbank DAO: Staking Helper0 AVAX0.006545730
0x4fe845a1f73a6524b4cfe30d89ebc3d3b512a88b6377f7acfdd7c7bab37b2a0bStake78741792021-12-06 8:02:561 hr 14 mins ago0x547c200d03ee795eb0c054f0a85cb430bdc468f5 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x4b2a86b33578e3df32aa5d63eafea0763415505b9e4b4387ca2622d24e7ac8eeStake78741252021-12-06 8:01:081 hr 16 mins ago0x084674b479621e5f9d6ce5c9ad370217f39236f1 IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x935482467ca36cacf31d582bf2be1d3f288ccf2e150104f74a7afb1f744731f1Stake78741232021-12-06 8:01:041 hr 16 mins ago0xfc0dd70fc67bb3e10f67a08066364bbef96b7a8d IN  Snowbank DAO: Staking Helper0 AVAX0.006032730
0x44d7b04e38429061a2d8d51efabb289887bafb909c57e107f6ec2cf25b70a004Stake78739782021-12-06 7:56:191 hr 21 mins ago0x248b577366120d234b5fa83129d19be1820f950c IN  Snowbank DAO: Staking Helper0 AVAX0.0065453430
0x4e485e0117d212fc72cc60c388edc048a3e85c492c17f3a1d28eba2fe0882c0cStake78739712021-12-06 7:56:041 hr 21 mins ago0xe0aa89e90134b6f2e9c670445f1644a8a8828062 IN  Snowbank DAO: Staking Helper0 AVAX0.0060330630
0xf12a40911d490a30c905cdd56d36e193de15b66129bdcd25bdb2c280ca62d137Stake78737862021-12-06 7:49:451 hr 27 mins ago0x5b4bab78f8bcb5fbac2d453ba44f7991fea476cd IN  Snowbank DAO: Staking Helper0 AVAX0.006545730
[ 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, GNU GPLv2 license
/**
 *Submitted for verification at snowtrace.io on 2021-11-05
*/

// 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"}]

60c060405234801561001057600080fd5b506040516106373803806106378339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561008857600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100f957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505060805160601c60a05160601c6104c461017360003980610122528061020d528061046c52508060fe528061024952806102fa52806103c752506104c46000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461007a578063f8e157ea146100c8575b600080fd5b61004e6100fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100c66004803603604081101561009057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610120565b005b6100d061046a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156101cf57600080fd5b505af11580156101e3573d6000803e3d6000fd5b505050506040513d60208110156101f957600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156102bc57600080fd5b505af11580156102d0573d6000803e3d6000fd5b505050506040513d60208110156102e657600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637acb775783836040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561038957600080fd5b505af115801561039d573d6000803e3d6000fd5b505050506040513d60208110156103b357600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631e83409a826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561044e57600080fd5b505af1158015610462573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea26469706673582212202cb2fa9ba4df8f9d51d223410688eb8daee0093b89161118fa02702e9b0131a264736f6c6343000705003300000000000000000000000085784d5e2ccae89bcb39ebf0ac6cdc93d42d99ad0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f

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

00000000000000000000000085784d5e2ccae89bcb39ebf0ac6cdc93d42d99ad0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f

-----Decoded View---------------
Arg [0] : _staking (address): 0x85784d5e2ccae89bcb39ebf0ac6cdc93d42d99ad
Arg [1] : _Time (address): 0x7d1232b90d3f809a54eeaeebc639c62df8a8942f

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 00000000000000000000000085784d5e2ccae89bcb39ebf0ac6cdc93d42d99ad
Arg [1] : 0000000000000000000000007d1232b90d3f809a54eeaeebc639c62df8a8942f


Deployed ByteCode Sourcemap

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

Swarm Source

ipfs://2cb2fa9ba4df8f9d51d223410688eb8daee0093b89161118fa02702e9b0131a2
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.