More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Retrieve | 13642466 | 1099 days ago | IN | 0 AVAX | 0.0019044 |
Loading...
Loading
Contract Name:
StakingWarmup
Compiler Version
v0.7.5+commit.eb77ed08
Contract Source Code (Solidity)
/** *Submitted for verification at snowscan.xyz 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); } contract StakingWarmup { address public immutable staking; address public immutable MEMOries; constructor ( address _staking, address _MEMOries ) { require( _staking != address(0) ); staking = _staking; require( _MEMOries != address(0) ); MEMOries = _MEMOries; } function retrieve( address _staker, uint _amount ) external { require( msg.sender == staking ); IERC20( MEMOries ).transfer( _staker, _amount ); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[{"internalType":"address","name":"_staking","type":"address"},{"internalType":"address","name":"_MEMOries","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MEMOries","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_staker","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"retrieve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"staking","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60c060405234801561001057600080fd5b506040516102b43803806102b48339818101604052604081101561003357600080fd5b5080516020909101516001600160a01b03821661004f57600080fd5b6001600160601b0319606083901b166080526001600160a01b03811661007457600080fd5b606081811b6001600160601b03191660a052608051901c91506001600160a01b03166101fa6100ba6000398060a2528061011f52508060c6528060f352506101fa6000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c806349880e52146100465780634cf088d91461006a578063c3a2a66514610072575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b61004e6100c4565b61009e6004803603604081101561008857600080fd5b506001600160a01b0381351690602001356100e8565b005b7f000000000000000000000000000000000000000000000000000000000000000081565b7f000000000000000000000000000000000000000000000000000000000000000081565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461011d57600080fd5b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561019457600080fd5b505af11580156101a8573d6000803e3d6000fd5b505050506040513d60208110156101be57600080fd5b5050505056fea264697066735822122080650cf66de5dd0906be23b359e5dd164b0dafcce0947e2e9ea32718f00fb2d764736f6c634300070500330000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9000000000000000000000000136acd46c134e8269052c62a67042d6bdedde3c9
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100415760003560e01c806349880e52146100465780634cf088d91461006a578063c3a2a66514610072575b600080fd5b61004e6100a0565b604080516001600160a01b039092168252519081900360200190f35b61004e6100c4565b61009e6004803603604081101561008857600080fd5b506001600160a01b0381351690602001356100e8565b005b7f000000000000000000000000136acd46c134e8269052c62a67042d6bdedde3c981565b7f0000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b981565b336001600160a01b037f0000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9161461011d57600080fd5b7f000000000000000000000000136acd46c134e8269052c62a67042d6bdedde3c96001600160a01b031663a9059cbb83836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561019457600080fd5b505af11580156101a8573d6000803e3d6000fd5b505050506040513d60208110156101be57600080fd5b5050505056fea264697066735822122080650cf66de5dd0906be23b359e5dd164b0dafcce0947e2e9ea32718f00fb2d764736f6c63430007050033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9000000000000000000000000136acd46c134e8269052c62a67042d6bdedde3c9
-----Decoded View---------------
Arg [0] : _staking (address): 0x4456B87Af11e87E329AB7d7C7A246ed1aC2168B9
Arg [1] : _MEMOries (address): 0x136Acd46C134E8269052c62A67042D6bDeDde3C9
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004456b87af11e87e329ab7d7c7a246ed1ac2168b9
Arg [1] : 000000000000000000000000136acd46c134e8269052c62a67042d6bdedde3c9
Deployed Bytecode Sourcemap
2648:502:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2719:33;;;:::i;:::-;;;;-1:-1:-1;;;;;2719:33:0;;;;;;;;;;;;;;2680:32;;;:::i;2978:169::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;2978:169:0;;;;;;;;:::i;:::-;;2719:33;;;:::o;2680:32::-;;;:::o;2978:169::-;3058:10;-1:-1:-1;;;;;3072:7:0;3058:21;;3049:32;;;;;;3100:8;-1:-1:-1;;;;;3092:27:0;;3121:7;3130;3092:47;;;;;;;;;;;;;-1:-1:-1;;;;;3092:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;2978:169:0:o
Swarm Source
ipfs://80650cf66de5dd0906be23b359e5dd164b0dafcce0947e2e9ea32718f00fb2d7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
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.