Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,580 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Stake | 15062492 | 932 days ago | IN | 0 ETH | 0.00303564 | ||||
Stake | 14621959 | 1005 days ago | IN | 0 ETH | 0.00660754 | ||||
Stake | 14547845 | 1016 days ago | IN | 0 ETH | 0.00883213 | ||||
Stake | 14533174 | 1019 days ago | IN | 0 ETH | 0.01654273 | ||||
Stake | 14533168 | 1019 days ago | IN | 0 ETH | 0.01894321 | ||||
Stake | 14532720 | 1019 days ago | IN | 0 ETH | 0.01416113 | ||||
Stake | 14525071 | 1020 days ago | IN | 0 ETH | 0.01082809 | ||||
Stake | 14516574 | 1021 days ago | IN | 0 ETH | 0.00690775 | ||||
Stake | 14515671 | 1021 days ago | IN | 0 ETH | 0.00802792 | ||||
Stake | 14511822 | 1022 days ago | IN | 0 ETH | 0.00603458 | ||||
Stake | 14506535 | 1023 days ago | IN | 0 ETH | 0.0071815 | ||||
Stake | 14505632 | 1023 days ago | IN | 0 ETH | 0.00786794 | ||||
Stake | 14503421 | 1023 days ago | IN | 0 ETH | 0.01023671 | ||||
Stake | 14502884 | 1023 days ago | IN | 0 ETH | 0.01048645 | ||||
Stake | 14486295 | 1026 days ago | IN | 0 ETH | 0.00419071 | ||||
Stake | 14448954 | 1032 days ago | IN | 0 ETH | 0.00717777 | ||||
Stake | 14448944 | 1032 days ago | IN | 0 ETH | 0.00567608 | ||||
Stake | 14447066 | 1032 days ago | IN | 0 ETH | 0.00679866 | ||||
Stake | 14445241 | 1032 days ago | IN | 0 ETH | 0.01511304 | ||||
Stake | 14439272 | 1033 days ago | IN | 0 ETH | 0.00664684 | ||||
Stake | 14436686 | 1034 days ago | IN | 0 ETH | 0.00801295 | ||||
Stake | 14424238 | 1036 days ago | IN | 0 ETH | 0.00330716 | ||||
Stake | 14420834 | 1036 days ago | IN | 0 ETH | 0.00333626 | ||||
Stake | 14414458 | 1037 days ago | IN | 0 ETH | 0.00641068 | ||||
Stake | 14395074 | 1040 days ago | IN | 0 ETH | 0.00704634 |
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-23 */ // 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(uint256 _amount, address _recipient) external returns (bool); function claim(address _recipient) external; } contract StakingHelper { address public immutable staking; address public immutable LOBI; constructor(address _staking, address _LOBI) { require(_staking != address(0)); staking = _staking; require(_LOBI != address(0)); LOBI = _LOBI; } function stake(uint256 _amount, address _recipient) external { IERC20(LOBI).transferFrom(msg.sender, address(this), _amount); IERC20(LOBI).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":"_LOBI","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"LOBI","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
60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060f152806101ae528061034f52508060a2528061017d528061024e52806102e752506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063a5ffd19714610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea264697066735822122051855029f63a5e9f0ab0561b10326d2a6d045be9634549a3868e00e981b81b1b64736f6c634300070500330000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063a5ffd19714610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d9081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d16916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90811660048301526024820185905291517f000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d9092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d9090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d9090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d8156fea264697066735822122051855029f63a5e9f0ab0561b10326d2a6d045be9634549a3868e00e981b81b1b64736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d
-----Decoded View---------------
Arg [0] : _staking (address): 0x3818eff63418e0a0BA3980ABA5fF388b029b6d90
Arg [1] : _LOBI (address): 0xDEc41Db0c33F3F6f3cb615449C311ba22D418A8d
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000003818eff63418e0a0ba3980aba5ff388b029b6d90
Arg [1] : 000000000000000000000000dec41db0c33f3f6f3cb615449c311ba22d418a8d
Deployed Bytecode Sourcemap
2838:551:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2866:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2866:32:0;;;;;;;;;;;;;;3113:273;;;;;;;;;;;;;;;;-1:-1:-1;3113:273:0;;;;;;-1:-1:-1;;;;;3113:273:0;;:::i;:::-;;2903:29;;;:::i;2866:32::-;;;:::o;3113:273::-;3181:61;;;-1:-1:-1;;;3181:61:0;;3207:10;3181:61;;;;3227:4;3181:61;;;;;;;;;;;;-1:-1:-1;;;;;3188:4:0;3181:25;;;;:61;;;;;;;;;;;;;;-1:-1:-1;3181:25:0;:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3249:38:0;;;-1:-1:-1;;;3249:38:0;;-1:-1:-1;;;;;3270:7:0;3249:38;;;;;;;;;;;;;;3256:4;3249:20;;;;;;:38;;;;;3181:61;;3249:38;;;;;;;;-1:-1:-1;3249:20:0;:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3294:44:0;;;-1:-1:-1;;;3294:44:0;;;;;;;;-1:-1:-1;;;;;3294:44:0;;;;;;;;;3303:7;3294:23;;;;;;:44;;;;;3249:38;;3294:44;;;;;;;;-1:-1:-1;3294:23:0;:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3345:35:0;;;-1:-1:-1;;;3345:35:0;;-1:-1:-1;;;;;3345:35:0;;;;;;;;;3354:7;3345:23;;;;;;:35;;;;;-1:-1:-1;;3345:35:0;;;;;;;;-1:-1:-1;3345:23:0;:35;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3113:273;;:::o;2903:29::-;;;:::o
Swarm Source
ipfs://51855029f63a5e9f0ab0561b10326d2a6d045be9634549a3868e00e981b81b1b
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.