Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 99 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 13665624 | 1143 days ago | IN | 0 ETH | 0.020828 | ||||
Stake | 13659742 | 1144 days ago | IN | 0 ETH | 0.02326462 | ||||
Stake | 13658183 | 1144 days ago | IN | 0 ETH | 0.01420733 | ||||
Stake | 13658175 | 1144 days ago | IN | 0 ETH | 0.0145322 | ||||
Stake | 13658057 | 1144 days ago | IN | 0 ETH | 0.01367732 | ||||
Stake | 13657882 | 1144 days ago | IN | 0 ETH | 0.01402664 | ||||
Stake | 13657599 | 1144 days ago | IN | 0 ETH | 0.01897022 | ||||
Stake | 13657159 | 1144 days ago | IN | 0 ETH | 0.01708715 | ||||
Stake | 13653917 | 1145 days ago | IN | 0 ETH | 0.02319641 | ||||
Stake | 13653761 | 1145 days ago | IN | 0 ETH | 0.02273329 | ||||
Stake | 13653488 | 1145 days ago | IN | 0 ETH | 0.02555231 | ||||
Stake | 13653294 | 1145 days ago | IN | 0 ETH | 0.02165845 | ||||
Stake | 13653231 | 1145 days ago | IN | 0 ETH | 0.02825143 | ||||
Stake | 13652820 | 1145 days ago | IN | 0 ETH | 0.02587402 | ||||
Stake | 13652731 | 1145 days ago | IN | 0 ETH | 0.01871737 | ||||
Stake | 13652653 | 1145 days ago | IN | 0 ETH | 0.02132213 | ||||
Stake | 13652554 | 1145 days ago | IN | 0 ETH | 0.02058552 | ||||
Stake | 13652550 | 1145 days ago | IN | 0 ETH | 0.02027236 | ||||
Stake | 13652520 | 1145 days ago | IN | 0 ETH | 0.02145769 | ||||
Stake | 13652396 | 1145 days ago | IN | 0 ETH | 0.02281968 | ||||
Stake | 13652394 | 1145 days ago | IN | 0 ETH | 0.02998233 | ||||
Stake | 13652376 | 1145 days ago | IN | 0 ETH | 0.02274398 | ||||
Stake | 13652358 | 1145 days ago | IN | 0 ETH | 0.02188626 | ||||
Stake | 13652346 | 1145 days ago | IN | 0 ETH | 0.02248997 | ||||
Stake | 13652271 | 1145 days ago | IN | 0 ETH | 0.02095601 |
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-11-20 */ // 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 Dawgsta; constructor ( address _staking, address _Dawgsta ) { require( _staking != address(0) ); staking = _staking; require( _Dawgsta != address(0) ); Dawgsta = _Dawgsta; } function stake( uint _amount, address recipient ) external { IERC20( Dawgsta ).transferFrom( msg.sender, address(this), _amount ); IERC20( Dawgsta ).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":"_Dawgsta","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"Dawgsta","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
60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060c6528061011552806101d252508060a252806101a15280610272528061030b52506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780635ac092891461006a5780637acb775714610072575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b61004e6100c4565b61009e6004803603604081101561008857600080fd5b50803590602001356001600160a01b03166100e8565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561015d57600080fd5b505af1158015610171573d6000803e3d6000fd5b505050506040513d602081101561018757600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b15801561021d57600080fd5b505af1158015610231573d6000803e3d6000fd5b505050506040513d602081101561024757600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b1580156102bd57600080fd5b505af11580156102d1573d6000803e3d6000fd5b505050506040513d60208110156102e757600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561035557600080fd5b505af1158015610369573d6000803e3d6000fd5b50505050505056fea2646970667358221220b8f87587dd949bbbb45b0a5bc135a14d53e487e31e7ec1e4f52f120cb98b755e64736f6c634300070500330000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f0000000000000000000000006330e5e49022d0b424a612bfb539f99a24f1c41d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780635ac092891461006a5780637acb775714610072575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b61004e6100c4565b61009e6004803603604081101561008857600080fd5b50803590602001356001600160a01b03166100e8565b005b7f0000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f81565b7f0000000000000000000000006330e5e49022d0b424a612bfb539f99a24f1c41d81565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f0000000000000000000000006330e5e49022d0b424a612bfb539f99a24f1c41d16916323b872dd9160648083019260209291908290030181600087803b15801561015d57600080fd5b505af1158015610171573d6000803e3d6000fd5b505050506040513d602081101561018757600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f811660048301526024820185905291517f0000000000000000000000006330e5e49022d0b424a612bfb539f99a24f1c41d9092169163095ea7b3916044808201926020929091908290030181600087803b15801561021d57600080fd5b505af1158015610231573d6000803e3d6000fd5b505050506040513d602081101561024757600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f0000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f90921691637acb7757916044808201926020929091908290030181600087803b1580156102bd57600080fd5b505af11580156102d1573d6000803e3d6000fd5b505050506040513d60208110156102e757600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f0000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f90921691631e83409a9160248082019260009290919082900301818387803b15801561035557600080fd5b505af1158015610369573d6000803e3d6000fd5b50505050505056fea2646970667358221220b8f87587dd949bbbb45b0a5bc135a14d53e487e31e7ec1e4f52f120cb98b755e64736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f0000000000000000000000006330e5e49022d0b424a612bfb539f99a24f1c41d
-----Decoded View---------------
Arg [0] : _staking (address): 0x8E67be9CAC992591BC4E397dD29e414876365d0F
Arg [1] : _Dawgsta (address): 0x6330E5E49022D0B424a612bFb539F99A24f1c41D
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000008e67be9cac992591bc4e397dd29e414876365d0f
Arg [1] : 0000000000000000000000006330e5e49022d0b424a612bfb539f99a24f1c41d
Deployed Bytecode Sourcemap
2810:637:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2842:32:0;;;;;;;;;;;;;;2881;;;:::i;3135:309::-;;;;;;;;;;;;;;;;-1:-1:-1;3135:309:0;;;;;;-1:-1:-1;;;;;3135:309:0;;:::i;:::-;;2842:32;;;:::o;2881:::-;;;:::o;3135:309::-;3205:68;;;-1:-1:-1;;;3205:68:0;;3237:10;3205:68;;;;3257:4;3205:68;;;;;;;;;;;;-1:-1:-1;;;;;3213:7:0;3205:30;;;;:68;;;;;;;;;;;;;;-1:-1:-1;3205:30:0;:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3284:45:0;;;-1:-1:-1;;;3284:45:0;;-1:-1:-1;;;;;3311:7:0;3284:45;;;;;;;;;;;;;;3292:7;3284:25;;;;;;:45;;;;;3205:68;;3284:45;;;;;;;;-1:-1:-1;3284:25:0;:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3340:47:0;;;-1:-1:-1;;;3340:47:0;;;;;;;;-1:-1:-1;;;;;3340:47:0;;;;;;;;;3350:7;3340:25;;;;;;:47;;;;;3284:45;;3340:47;;;;;;;;-1:-1:-1;3340:25:0;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3398:38:0;;;-1:-1:-1;;;3398:38:0;;-1:-1:-1;;;;;3398:38:0;;;;;;;;;3408:7;3398:25;;;;;;:38;;;;;-1:-1:-1;;3398:38:0;;;;;;;;-1:-1:-1;3398:25:0;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3135:309;;:::o
Swarm Source
ipfs://b8f87587dd949bbbb45b0a5bc135a14d53e487e31e7ec1e4f52f120cb98b755e
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.