Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
0x60c06040 | 13586069 | 1041 days ago | IN | 0 ETH | 0.02231418 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
StakingWarmup
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2021-11-10 */ // 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); } contract StakingWarmup { address public immutable staking; address public immutable sMNFST; constructor ( address _staking, address _sMNFST ) { require( _staking != address(0) ); staking = _staking; require( _sMNFST != address(0) ); sMNFST = _sMNFST; } function retrieve( address _staker, uint _amount ) external { require( msg.sender == staking ); IERC20( sMNFST ).transfer( _staker, _amount ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_sMNFST","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"retrieve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"sMNFST","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b506040516102b43803806102b48339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166101fa6100ba6000398060fb52806101a252508060a2528060cf52506101fa6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d914610046578063c3a2a6651461006a578063fddadad414610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b506001600160a01b0381351690602001356100c4565b005b61004e6101a0565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146100f957600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561017057600080fd5b505af1158015610184573d6000803e3d6000fd5b505050506040513d602081101561019a57600080fd5b50505050565b7f00000000000000000000000000000000000000000000000000000000000000008156fea264697066735822122038ff6b65bf7bc0478fb3272b820b79cd6074eb375fa54af93f92b3db1c99106964736f6c634300070500330000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb6000000000000000000000000d9ccb7bd2b66edb2998e9de53bd7883891ca665b
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c80634cf088d914610046578063c3a2a6651461006a578063fddadad414610098575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b6100966004803603604081101561008057600080fd5b506001600160a01b0381351690602001356100c4565b005b61004e6101a0565b7f0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb681565b336001600160a01b037f0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb616146100f957600080fd5b7f000000000000000000000000d9ccb7bd2b66edb2998e9de53bd7883891ca665b6001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561017057600080fd5b505af1158015610184573d6000803e3d6000fd5b505050506040513d602081101561019a57600080fd5b50505050565b7f000000000000000000000000d9ccb7bd2b66edb2998e9de53bd7883891ca665b8156fea264697066735822122038ff6b65bf7bc0478fb3272b820b79cd6074eb375fa54af93f92b3db1c99106964736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb6000000000000000000000000d9ccb7bd2b66edb2998e9de53bd7883891ca665b
-----Decoded View---------------
Arg [0] : _staking (address): 0x9c9022c6a2E1ed9f3110E177763123C4400D5Eb6
Arg [1] : _sMNFST (address): 0xd9Ccb7bD2b66edB2998E9De53Bd7883891CA665B
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000009c9022c6a2e1ed9f3110e177763123c4400d5eb6
Arg [1] : 000000000000000000000000d9ccb7bd2b66edb2998e9de53bd7883891ca665b
Deployed Bytecode Sourcemap
2648:490:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2680:32;;;:::i;:::-;;;;-1:-1:-1;;;;;2680:32:0;;;;;;;;;;;;;;2968:167;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2968:167:0;;;;;;;;:::i;:::-;;2719:31;;;:::i;2680:32::-;;;:::o;2968:167::-;3048:10;-1:-1:-1;;;;;3062:7:0;3048:21;;3039:32;;;;;;3090:6;-1:-1:-1;;;;;3082:25:0;;3109:7;3118;3082:45;;;;;;;;;;;;;-1:-1:-1;;;;;3082:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2968:167:0:o;2719:31::-;;;:::o
Swarm Source
ipfs://38ff6b65bf7bc0478fb3272b820b79cd6074eb375fa54af93f92b3db1c991069
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 27 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.