More Info
Private Name Tags
Latest 25 from a total of 418 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 21137987 | 2 days ago | IN | 0 ETH | 0.00693031 | ||||
Stake | 16614015 | 636 days ago | IN | 0 ETH | 0.00594226 | ||||
Stake | 15835879 | 745 days ago | IN | 0 ETH | 0.00410796 | ||||
Stake | 15575600 | 781 days ago | IN | 0 ETH | 0.00350852 | ||||
Stake | 15469200 | 797 days ago | IN | 0 ETH | 0.00222921 | ||||
Stake | 15176726 | 844 days ago | IN | 0 ETH | 0.00847811 | ||||
Stake | 15171192 | 844 days ago | IN | 0 ETH | 0.00571588 | ||||
Stake | 15148089 | 848 days ago | IN | 0 ETH | 0.0154036 | ||||
Stake | 15116473 | 853 days ago | IN | 0 ETH | 0.00975309 | ||||
Stake | 15083726 | 858 days ago | IN | 0 ETH | 0.00785214 | ||||
Stake | 15077495 | 859 days ago | IN | 0 ETH | 0.01041205 | ||||
Stake | 15072719 | 860 days ago | IN | 0 ETH | 0.00555624 | ||||
Stake | 15065541 | 861 days ago | IN | 0 ETH | 0.01237673 | ||||
Stake | 15064842 | 861 days ago | IN | 0 ETH | 0.00594201 | ||||
Stake | 15042678 | 865 days ago | IN | 0 ETH | 0.02459806 | ||||
Stake | 15014376 | 870 days ago | IN | 0 ETH | 0.02641072 | ||||
Stake | 14979371 | 876 days ago | IN | 0 ETH | 0.00802568 | ||||
Stake | 14945434 | 882 days ago | IN | 0 ETH | 0.01943899 | ||||
Stake | 14904793 | 889 days ago | IN | 0 ETH | 0.02329799 | ||||
Stake | 14892305 | 891 days ago | IN | 0 ETH | 0.02893598 | ||||
Stake | 14887248 | 892 days ago | IN | 0 ETH | 0.01257308 | ||||
Stake | 14838170 | 900 days ago | IN | 0 ETH | 0.00999347 | ||||
Stake | 14791792 | 907 days ago | IN | 0 ETH | 0.01039976 | ||||
Stake | 14786597 | 908 days ago | IN | 0 ETH | 0.01167715 | ||||
Stake | 14681357 | 925 days ago | IN | 0 ETH | 0.01560183 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakingHelper
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-12-01 */ // 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 USV; constructor ( address _staking, address _USV ) { require( _staking != address(0) ); staking = _staking; require( _USV != address(0) ); USV = _USV; } function stake( uint _amount, address _recipient ) external { IERC20( USV ).transferFrom( msg.sender, address(this), _amount ); IERC20( USV ).approve( staking, _amount ); IStaking( staking ).stake( _amount, _recipient ); IStaking( staking ).claim( _recipient ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_USV","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"USV","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"}]
Contract Creation Code
60c060405234801561001057600080fd5b506040516106373803806106378339818101604052604081101561003357600080fd5b810190808051906020019092919080519060200190929190505050600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561008857600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156100f957600080fd5b8073ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505060805160601c60a05160601c6104c461017360003980610122528061020d528061046c52508060fe528061024952806102fa52806103c752506104c46000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461007a578063e222ad78146100c8575b600080fd5b61004e6100fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100c66004803603604081101561009057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610120565b005b6100d061046a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156101cf57600080fd5b505af11580156101e3573d6000803e3d6000fd5b505050506040513d60208110156101f957600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f0000000000000000000000000000000000000000000000000000000000000000846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156102bc57600080fd5b505af11580156102d0573d6000803e3d6000fd5b505050506040513d60208110156102e657600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16637acb775783836040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561038957600080fd5b505af115801561039d573d6000803e3d6000fd5b505050506040513d60208110156103b357600080fd5b8101908080519060200190929190505050507f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16631e83409a826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561044e57600080fd5b505af1158015610462573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea264697066735822122014d81eeeb95a993945c394febe5892be9ff0cac507c973e68aa0c1288713995664736f6c63430007050033000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db2613705500000000000000000000000088536c9b2c4701b8db824e6a16829d5b5eb84440
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461007a578063e222ad78146100c8575b600080fd5b61004e6100fc565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6100c66004803603604081101561009057600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050610120565b005b6100d061046a565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b7f000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db2613705581565b7f00000000000000000000000088536c9b2c4701b8db824e6a16829d5b5eb8444073ffffffffffffffffffffffffffffffffffffffff166323b872dd3330856040518463ffffffff1660e01b8152600401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050602060405180830381600087803b1580156101cf57600080fd5b505af11580156101e3573d6000803e3d6000fd5b505050506040513d60208110156101f957600080fd5b8101908080519060200190929190505050507f00000000000000000000000088536c9b2c4701b8db824e6a16829d5b5eb8444073ffffffffffffffffffffffffffffffffffffffff1663095ea7b37f000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db26137055846040518363ffffffff1660e01b8152600401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156102bc57600080fd5b505af11580156102d0573d6000803e3d6000fd5b505050506040513d60208110156102e657600080fd5b8101908080519060200190929190505050507f000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db2613705573ffffffffffffffffffffffffffffffffffffffff16637acb775783836040518363ffffffff1660e01b8152600401808381526020018273ffffffffffffffffffffffffffffffffffffffff16815260200192505050602060405180830381600087803b15801561038957600080fd5b505af115801561039d573d6000803e3d6000fd5b505050506040513d60208110156103b357600080fd5b8101908080519060200190929190505050507f000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db2613705573ffffffffffffffffffffffffffffffffffffffff16631e83409a826040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff168152602001915050600060405180830381600087803b15801561044e57600080fd5b505af1158015610462573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000088536c9b2c4701b8db824e6a16829d5b5eb844408156fea264697066735822122014d81eeeb95a993945c394febe5892be9ff0cac507c973e68aa0c1288713995664736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db2613705500000000000000000000000088536c9b2c4701b8db824e6a16829d5b5eb84440
-----Decoded View---------------
Arg [0] : _staking (address): 0xf7d3B9727A0A94Cf7Eb53bc26D3B62Db26137055
Arg [1] : _USV (address): 0x88536C9B2C4701b8dB824e6A16829D5B5Eb84440
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f7d3b9727a0a94cf7eb53bc26d3b62db26137055
Arg [1] : 00000000000000000000000088536c9b2c4701b8db824e6a16829d5b5eb84440
Deployed Bytecode Sourcemap
2810:612:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;3115:304;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;2881:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::o;3115:304::-;3194:3;3186:26;;;3214:10;3234:4;3241:7;3186:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3269:3;3261:21;;;3284:7;3293;3261:41;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3323:7;3313:25;;;3340:7;3349:10;3313:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3382:7;3372:25;;;3399:10;3372:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3115:304;;:::o;2881:28::-;;;:::o
Swarm Source
ipfs://14d81eeeb95a993945c394febe5892be9ff0cac507c973e68aa0c12887139956
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $1.76 | 0.1068 | $0.1877 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.