Overview
FTM Balance
0 FTM
FTM Value
$0.00More Info
Private Name Tags
ContractCreator:
Sponsored
Latest 25 from a total of 9,445 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
Value | ||||
---|---|---|---|---|---|---|---|---|---|
Stake | 58570184 | 366 days ago | IN | 0 FTM | 0.00645518 | ||||
Stake | 39784802 | 663 days ago | IN | 0 FTM | 0.00147025 | ||||
Stake | 39568883 | 666 days ago | IN | 0 FTM | 0.00388358 | ||||
Stake | 36944060 | 703 days ago | IN | 0 FTM | 0.0421576 | ||||
Stake | 36513001 | 708 days ago | IN | 0 FTM | 0.04423553 | ||||
Stake | 28199074 | 801 days ago | IN | 0 FTM | 0.05028052 | ||||
Stake | 27538070 | 808 days ago | IN | 0 FTM | 0.0151114 | ||||
Stake | 27495832 | 808 days ago | IN | 0 FTM | 0.01962354 | ||||
Stake | 27315252 | 810 days ago | IN | 0 FTM | 0.02892012 | ||||
Stake | 27314195 | 810 days ago | IN | 0 FTM | 0.03549755 | ||||
Stake | 27280678 | 811 days ago | IN | 0 FTM | 0.02972227 | ||||
Stake | 27274364 | 811 days ago | IN | 0 FTM | 0.04437002 | ||||
Stake | 27244413 | 811 days ago | IN | 0 FTM | 0.05841492 | ||||
Stake | 27014184 | 813 days ago | IN | 0 FTM | 0.03434729 | ||||
Stake | 26921239 | 814 days ago | IN | 0 FTM | 0.04714333 | ||||
Stake | 26725941 | 816 days ago | IN | 0 FTM | 0.02685897 | ||||
Stake | 26714024 | 816 days ago | IN | 0 FTM | 0.02456628 | ||||
Stake | 26674609 | 817 days ago | IN | 0 FTM | 0.01199885 | ||||
Stake | 26515754 | 819 days ago | IN | 0 FTM | 0.01363395 | ||||
Stake | 26466687 | 819 days ago | IN | 0 FTM | 0.012562 | ||||
Stake | 26466562 | 819 days ago | IN | 0 FTM | 0.01316866 | ||||
Stake | 26434144 | 819 days ago | IN | 0 FTM | 0.03753531 | ||||
Stake | 26428915 | 819 days ago | IN | 0 FTM | 0.02495295 | ||||
Stake | 26418351 | 820 days ago | IN | 0 FTM | 0.03302991 | ||||
Stake | 26413419 | 820 days ago | IN | 0 FTM | 0.01933993 |
Latest 1 internal transaction
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
23670979 | 848 days ago | Contract Creation | 0 FTM |
Loading...
Loading
Contract Name:
StakingHelper
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at ftmscan.com 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 GIZA; constructor ( address _staking, address _GIZA ) { require( _staking != address(0) ); staking = _staking; require( _GIZA != address(0) ); GIZA = _GIZA; } function stake( uint _amount, address _recipient ) external { IERC20( GIZA ).transferFrom( msg.sender, address(this), _amount ); IERC20( GIZA ).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":"_GIZA","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"GIZA","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
60c060405234801561001057600080fd5b506040516104713803806104718339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166103a76100ca6000398060f152806101ae528061034f52508060a2528061017d528061024e52806102e752506103a76000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063866d6f3714610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000000000000000000000000000000000000000000081565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301526024820185905291517f00000000000000000000000000000000000000000000000000000000000000009092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000000000000000000000000000000000000000000090921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000000000000000000000000000000000000000000090921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea264697066735822122031a53c4c262ed579e0b30fe70ac6299017e6c410facdb2e6d6a57d259fda917b64736f6c63430007050033000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b0000000000000000000000003389492f36642f27f7bf4a7749fb3fc2c8fbb7ee
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d9146100465780637acb77571461006a578063866d6f3714610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b50803590602001356001600160a01b03166100c4565b005b61004e61034d565b7f000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b81565b604080516323b872dd60e01b81523360048201523060248201526044810184905290516001600160a01b037f0000000000000000000000003389492f36642f27f7bf4a7749fb3fc2c8fbb7ee16916323b872dd9160648083019260209291908290030181600087803b15801561013957600080fd5b505af115801561014d573d6000803e3d6000fd5b505050506040513d602081101561016357600080fd5b50506040805163095ea7b360e01b81526001600160a01b037f000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b811660048301526024820185905291517f0000000000000000000000003389492f36642f27f7bf4a7749fb3fc2c8fbb7ee9092169163095ea7b3916044808201926020929091908290030181600087803b1580156101f957600080fd5b505af115801561020d573d6000803e3d6000fd5b505050506040513d602081101561022357600080fd5b505060408051637acb775760e01b8152600481018490526001600160a01b03838116602483015291517f000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b90921691637acb7757916044808201926020929091908290030181600087803b15801561029957600080fd5b505af11580156102ad573d6000803e3d6000fd5b505050506040513d60208110156102c357600080fd5b505060408051630f41a04d60e11b81526001600160a01b03838116600483015291517f000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b90921691631e83409a9160248082019260009290919082900301818387803b15801561033157600080fd5b505af1158015610345573d6000803e3d6000fd5b505050505050565b7f0000000000000000000000003389492f36642f27f7bf4a7749fb3fc2c8fbb7ee8156fea264697066735822122031a53c4c262ed579e0b30fe70ac6299017e6c410facdb2e6d6a57d259fda917b64736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b0000000000000000000000003389492f36642f27f7bf4a7749fb3fc2c8fbb7ee
-----Decoded View---------------
Arg [0] : _staking (address): 0xF5aB479d02336917bA84981fb8C3999147FcC12B
Arg [1] : _GIZA (address): 0x3389492f36642f27F7bF4a7749fb3FC2c8fbB7EE
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000f5ab479d02336917ba84981fb8c3999147fcc12b
Arg [1] : 0000000000000000000000003389492f36642f27f7bf4a7749fb3fc2c8fbb7ee
Deployed Bytecode Sourcemap
2810:619:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2842:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2842:32:0;;;;;;;;;;;;;;3120:306;;;;;;;;;;;;;;;;-1:-1:-1;3120:306:0;;;;;;-1:-1:-1;;;;;3120:306:0;;:::i;:::-;;2881:29;;;:::i;2842:32::-;;;:::o;3120:306::-;3191:65;;;-1:-1:-1;;;3191:65:0;;3220:10;3191:65;;;;3240:4;3191:65;;;;;;;;;;;;-1:-1:-1;;;;;3199:4:0;3191:27;;;;:65;;;;;;;;;;;;;;-1:-1:-1;3191:27:0;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3267:42:0;;;-1:-1:-1;;;3267:42:0;;-1:-1:-1;;;;;3291:7:0;3267:42;;;;;;;;;;;;;;3275:4;3267:22;;;;;;:42;;;;;3191:65;;3267:42;;;;;;;;-1:-1:-1;3267:22:0;:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3320:48:0;;;-1:-1:-1;;;3320:48:0;;;;;;;;-1:-1:-1;;;;;3320:48:0;;;;;;;;;3330:7;3320:25;;;;;;:48;;;;;3267:42;;3320:48;;;;;;;;-1:-1:-1;3320:25:0;:48;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;3379:39:0;;;-1:-1:-1;;;3379:39:0;;-1:-1:-1;;;;;3379:39:0;;;;;;;;;3389:7;3379:25;;;;;;:39;;;;;-1:-1:-1;;3379:39:0;;;;;;;;-1:-1:-1;3379:25:0;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3120:306;;:::o;2881:29::-;;;:::o
Swarm Source
ipfs://31a53c4c262ed579e0b30fe70ac6299017e6c410facdb2e6d6a57d259fda917b
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ 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.