More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 3,033 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Withdraw | 16479621 | 653 days ago | IN | 0 ETH | 0.00180235 | ||||
Withdraw | 14558439 | 942 days ago | IN | 0 ETH | 0.00280518 | ||||
Withdraw | 14522565 | 948 days ago | IN | 0 ETH | 0.00654802 | ||||
Withdraw | 14399433 | 967 days ago | IN | 0 ETH | 0.0032103 | ||||
Withdraw | 14264419 | 988 days ago | IN | 0 ETH | 0.00881458 | ||||
Withdraw | 14242967 | 991 days ago | IN | 0 ETH | 0.00332348 | ||||
Withdraw | 14229696 | 993 days ago | IN | 0 ETH | 0.00357532 | ||||
Withdraw | 14147568 | 1006 days ago | IN | 0 ETH | 0.0050462 | ||||
Withdraw | 14126675 | 1009 days ago | IN | 0 ETH | 0.00626119 | ||||
Withdraw | 14118768 | 1010 days ago | IN | 0 ETH | 0.00669555 | ||||
Withdraw | 14093974 | 1014 days ago | IN | 0 ETH | 0.00479098 | ||||
Withdraw | 14091878 | 1014 days ago | IN | 0 ETH | 0.01015879 | ||||
Withdraw | 14085546 | 1015 days ago | IN | 0 ETH | 0.00953497 | ||||
Withdraw | 14082725 | 1016 days ago | IN | 0 ETH | 0.01125641 | ||||
Withdraw | 14077476 | 1017 days ago | IN | 0 ETH | 0.00871102 | ||||
Withdraw | 14075909 | 1017 days ago | IN | 0 ETH | 0.012567 | ||||
Withdraw | 14069387 | 1018 days ago | IN | 0 ETH | 0.00735129 | ||||
Withdraw | 14063424 | 1019 days ago | IN | 0 ETH | 0.00740326 | ||||
Withdraw | 14042587 | 1022 days ago | IN | 0 ETH | 0.00941983 | ||||
Withdraw | 14042583 | 1022 days ago | IN | 0 ETH | 0.01146366 | ||||
Withdraw | 14040140 | 1022 days ago | IN | 0 ETH | 0.00847911 | ||||
Withdraw | 14039899 | 1023 days ago | IN | 0 ETH | 0.00544489 | ||||
Withdraw | 14039285 | 1023 days ago | IN | 0 ETH | 0.00753235 | ||||
Withdraw | 14034771 | 1023 days ago | IN | 0 ETH | 0.005766 | ||||
Withdraw | 14017766 | 1026 days ago | IN | 0 ETH | 0.01217761 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
MagicStaking
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import '@openzeppelin/contracts/access/Ownable.sol'; import '@openzeppelin/contracts/token/ERC20/IERC20.sol'; import '@openzeppelin/contracts/security/ReentrancyGuard.sol'; contract MagicStaking is Ownable, ReentrancyGuard { //Total deposit balance mapping(address => uint256) public depositBalances; IERC20 public stakedToken; uint256 public totalSupply; uint256 public unlockTime; event Staked(address indexed user, uint256 amount, uint256 timeStamp); event Withdrawn(address indexed user, uint256 amount); event TimelockEnd(uint256 timeStamp); function balanceOf(address account) public view returns (uint256) { return depositBalances[account]; } function totalStaked() public view returns (uint256) { return stakedToken.balanceOf(address(this)); } // for emergencies function alterTimelock(uint256 _timeStamp) public onlyOwner { unlockTime = _timeStamp; } function _timeLock() public view returns (uint256) { return unlockTime; } string constant _transferErrorMessage = 'staked token transfer failed'; constructor(IERC20 _stakedToken, uint256 _unlockTime) { stakedToken = _stakedToken; unlockTime = _unlockTime; } function stakeFor(address forWhom, uint256 amount) public payable { IERC20 st = stakedToken; if (st == IERC20(address(0))) { unchecked { totalSupply += msg.value; depositBalances[forWhom] += msg.value; } } else { require(msg.value == 0, 'non-zero eth'); require(amount > 0, 'Cannot stake 0'); require( st.transferFrom(msg.sender, address(this), amount), _transferErrorMessage ); unchecked { totalSupply += amount; depositBalances[forWhom] += amount; } } emit Staked(forWhom, amount, uint256(block.timestamp)); } function stake(uint256 amount) external payable { require(msg.sender == tx.origin, 'humans only please.'); stakeFor(msg.sender, amount); } function withdraw(uint256 amount) public nonReentrant { require( amount <= depositBalances[msg.sender], 'withdraw: balance is lower' ); require( block.timestamp >= unlockTime, 'withdraw: timelock has not expired' ); unchecked { depositBalances[msg.sender] -= amount; totalSupply = totalSupply - amount; } IERC20 st = stakedToken; if (st == IERC20(address(0))) { (bool success, ) = msg.sender.call{ value: amount }(''); require(success, 'eth transfer failure'); } else { require( stakedToken.transfer(msg.sender, amount), _transferErrorMessage ); } emit Withdrawn(msg.sender, amount); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @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); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } }, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"contract IERC20","name":"_stakedToken","type":"address"},{"internalType":"uint256","name":"_unlockTime","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"timeStamp","type":"uint256"}],"name":"Staked","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"timeStamp","type":"uint256"}],"name":"TimelockEnd","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Withdrawn","type":"event"},{"inputs":[],"name":"_timeLock","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_timeStamp","type":"uint256"}],"name":"alterTimelock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"depositBalances","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stake","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"forWhom","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"stakeFor","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"stakedToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalStaked","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockTime","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b50604051610c29380380610c2983398101604081905261002f916100b5565b61003833610065565b60018055600380546001600160a01b0319166001600160a01b0393909316929092179091556005556100ed565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600080604083850312156100c7578182fd5b82516001600160a01b03811681146100dd578283fd5b6020939093015192949293505050565b610b2d806100fc6000396000f3fe6080604052600436106100dd5760003560e01c8063752120011161007f5780639a50a9eb116100595780639a50a9eb14610235578063a694fc3a1461024a578063cc7a262e1461025d578063f2fde38b1461027d57600080fd5b806375212001146101ce578063817b1cd2146101ee5780638da5cb5b1461020357600080fd5b80632e1a7d4d116100bb5780632e1a7d4d1461014e5780632ee409081461017057806370a0823114610183578063715018a6146101b957600080fd5b806318160ddd146100e25780631eb903cf1461010b578063251c1aa314610138575b600080fd5b3480156100ee57600080fd5b506100f860045481565b6040519081526020015b60405180910390f35b34801561011757600080fd5b506100f86101263660046109d5565b60026020526000908152604090205481565b34801561014457600080fd5b506100f860055481565b34801561015a57600080fd5b5061016e610169366004610a3f565b61029d565b005b61016e61017e3660046109f6565b610595565b34801561018f57600080fd5b506100f861019e3660046109d5565b6001600160a01b031660009081526002602052604090205490565b3480156101c557600080fd5b5061016e61079d565b3480156101da57600080fd5b5061016e6101e9366004610a3f565b6107d3565b3480156101fa57600080fd5b506100f8610802565b34801561020f57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b34801561024157600080fd5b506005546100f8565b61016e610258366004610a3f565b610883565b34801561026957600080fd5b5060035461021d906001600160a01b031681565b34801561028957600080fd5b5061016e6102983660046109d5565b6108d5565b600260015414156102f55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001819055336000908152602091909152604090205481111561035c5760405162461bcd60e51b815260206004820152601a60248201527f77697468647261773a2062616c616e6365206973206c6f77657200000000000060448201526064016102ec565b6005544210156103b95760405162461bcd60e51b815260206004820152602260248201527f77697468647261773a2074696d656c6f636b20686173206e6f74206578706972604482015261195960f21b60648201526084016102ec565b336000908152600260205260409020805482900390556004805482900390556003546001600160a01b03168061047e57604051600090339084908381818185875af1925050503d806000811461042b576040519150601f19603f3d011682016040523d82523d6000602084013e610430565b606091505b50509050806104785760405162461bcd60e51b8152602060048201526014602482015273657468207472616e73666572206661696c75726560601b60448201526064016102ec565b50610558565b60035460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156104ca57600080fd5b505af11580156104de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105029190610a1f565b6040518060400160405280601c81526020017f7374616b656420746f6b656e207472616e73666572206661696c656400000000815250906105565760405162461bcd60e51b81526004016102ec9190610a6f565b505b60405182815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59060200160405180910390a2505060018055565b6003546001600160a01b0316806105d55760048054349081019091556001600160a01b038416600090815260026020526040902080549091019055610755565b34156106125760405162461bcd60e51b815260206004820152600c60248201526b0dcdedc5af4cae4de40cae8d60a31b60448201526064016102ec565b600082116106535760405162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b60448201526064016102ec565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038216906323b872dd90606401602060405180830381600087803b1580156106a157600080fd5b505af11580156106b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d99190610a1f565b6040518060400160405280601c81526020017f7374616b656420746f6b656e207472616e73666572206661696c6564000000008152509061072d5760405162461bcd60e51b81526004016102ec9190610a6f565b5060048054830190556001600160a01b03831660009081526002602052604090208054830190555b604080518381524260208201526001600160a01b038516917f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90910160405180910390a2505050565b6000546001600160a01b031633146107c75760405162461bcd60e51b81526004016102ec90610ac2565b6107d16000610969565b565b6000546001600160a01b031633146107fd5760405162461bcd60e51b81526004016102ec90610ac2565b600555565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561084657600080fd5b505afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e9190610a57565b905090565b3332146108c85760405162461bcd60e51b8152602060048201526013602482015272343ab6b0b7399037b7363c90383632b0b9b29760691b60448201526064016102ec565b6108d23382610595565b50565b6000546001600160a01b031633146108ff5760405162461bcd60e51b81526004016102ec90610ac2565b6001600160a01b0381166109645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ec565b6108d2815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146109d057600080fd5b919050565b6000602082840312156109e6578081fd5b6109ef826109b9565b9392505050565b60008060408385031215610a08578081fd5b610a11836109b9565b946020939093013593505050565b600060208284031215610a30578081fd5b815180151581146109ef578182fd5b600060208284031215610a50578081fd5b5035919050565b600060208284031215610a68578081fd5b5051919050565b6000602080835283518082850152825b81811015610a9b57858101830151858201604001528201610a7f565b81811115610aac5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220226952b6b4719809296f33f1203f14698319c800f305231c0a3dab1aab46541d64736f6c63430008040033000000000000000000000000b0c7a3ba49c7a6eaba6cd4a96c55a1391070ac9a00000000000000000000000000000000000000000000000000000000615dd610
Deployed Bytecode
0x6080604052600436106100dd5760003560e01c8063752120011161007f5780639a50a9eb116100595780639a50a9eb14610235578063a694fc3a1461024a578063cc7a262e1461025d578063f2fde38b1461027d57600080fd5b806375212001146101ce578063817b1cd2146101ee5780638da5cb5b1461020357600080fd5b80632e1a7d4d116100bb5780632e1a7d4d1461014e5780632ee409081461017057806370a0823114610183578063715018a6146101b957600080fd5b806318160ddd146100e25780631eb903cf1461010b578063251c1aa314610138575b600080fd5b3480156100ee57600080fd5b506100f860045481565b6040519081526020015b60405180910390f35b34801561011757600080fd5b506100f86101263660046109d5565b60026020526000908152604090205481565b34801561014457600080fd5b506100f860055481565b34801561015a57600080fd5b5061016e610169366004610a3f565b61029d565b005b61016e61017e3660046109f6565b610595565b34801561018f57600080fd5b506100f861019e3660046109d5565b6001600160a01b031660009081526002602052604090205490565b3480156101c557600080fd5b5061016e61079d565b3480156101da57600080fd5b5061016e6101e9366004610a3f565b6107d3565b3480156101fa57600080fd5b506100f8610802565b34801561020f57600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610102565b34801561024157600080fd5b506005546100f8565b61016e610258366004610a3f565b610883565b34801561026957600080fd5b5060035461021d906001600160a01b031681565b34801561028957600080fd5b5061016e6102983660046109d5565b6108d5565b600260015414156102f55760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c0060448201526064015b60405180910390fd5b60026001819055336000908152602091909152604090205481111561035c5760405162461bcd60e51b815260206004820152601a60248201527f77697468647261773a2062616c616e6365206973206c6f77657200000000000060448201526064016102ec565b6005544210156103b95760405162461bcd60e51b815260206004820152602260248201527f77697468647261773a2074696d656c6f636b20686173206e6f74206578706972604482015261195960f21b60648201526084016102ec565b336000908152600260205260409020805482900390556004805482900390556003546001600160a01b03168061047e57604051600090339084908381818185875af1925050503d806000811461042b576040519150601f19603f3d011682016040523d82523d6000602084013e610430565b606091505b50509050806104785760405162461bcd60e51b8152602060048201526014602482015273657468207472616e73666572206661696c75726560601b60448201526064016102ec565b50610558565b60035460405163a9059cbb60e01b8152336004820152602481018490526001600160a01b039091169063a9059cbb90604401602060405180830381600087803b1580156104ca57600080fd5b505af11580156104de573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105029190610a1f565b6040518060400160405280601c81526020017f7374616b656420746f6b656e207472616e73666572206661696c656400000000815250906105565760405162461bcd60e51b81526004016102ec9190610a6f565b505b60405182815233907f7084f5476618d8e60b11ef0d7d3f06914655adb8793e28ff7f018d4c76d505d59060200160405180910390a2505060018055565b6003546001600160a01b0316806105d55760048054349081019091556001600160a01b038416600090815260026020526040902080549091019055610755565b34156106125760405162461bcd60e51b815260206004820152600c60248201526b0dcdedc5af4cae4de40cae8d60a31b60448201526064016102ec565b600082116106535760405162461bcd60e51b815260206004820152600e60248201526d043616e6e6f74207374616b6520360941b60448201526064016102ec565b6040516323b872dd60e01b8152336004820152306024820152604481018390526001600160a01b038216906323b872dd90606401602060405180830381600087803b1580156106a157600080fd5b505af11580156106b5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106d99190610a1f565b6040518060400160405280601c81526020017f7374616b656420746f6b656e207472616e73666572206661696c6564000000008152509061072d5760405162461bcd60e51b81526004016102ec9190610a6f565b5060048054830190556001600160a01b03831660009081526002602052604090208054830190555b604080518381524260208201526001600160a01b038516917f1449c6dd7851abc30abf37f57715f492010519147cc2652fbc38202c18a6ee90910160405180910390a2505050565b6000546001600160a01b031633146107c75760405162461bcd60e51b81526004016102ec90610ac2565b6107d16000610969565b565b6000546001600160a01b031633146107fd5760405162461bcd60e51b81526004016102ec90610ac2565b600555565b6003546040516370a0823160e01b81523060048201526000916001600160a01b0316906370a082319060240160206040518083038186803b15801561084657600080fd5b505afa15801561085a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061087e9190610a57565b905090565b3332146108c85760405162461bcd60e51b8152602060048201526013602482015272343ab6b0b7399037b7363c90383632b0b9b29760691b60448201526064016102ec565b6108d23382610595565b50565b6000546001600160a01b031633146108ff5760405162461bcd60e51b81526004016102ec90610ac2565b6001600160a01b0381166109645760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ec565b6108d2815b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b03811681146109d057600080fd5b919050565b6000602082840312156109e6578081fd5b6109ef826109b9565b9392505050565b60008060408385031215610a08578081fd5b610a11836109b9565b946020939093013593505050565b600060208284031215610a30578081fd5b815180151581146109ef578182fd5b600060208284031215610a50578081fd5b5035919050565b600060208284031215610a68578081fd5b5051919050565b6000602080835283518082850152825b81811015610a9b57858101830151858201604001528201610a7f565b81811115610aac5783604083870101525b50601f01601f1916929092016040019392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260408201526060019056fea2646970667358221220226952b6b4719809296f33f1203f14698319c800f305231c0a3dab1aab46541d64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000b0c7a3ba49c7a6eaba6cd4a96c55a1391070ac9a00000000000000000000000000000000000000000000000000000000615dd610
-----Decoded View---------------
Arg [0] : _stakedToken (address): 0xB0c7a3Ba49C7a6EaBa6cD4a96C55a1391070Ac9A
Arg [1] : _unlockTime (uint256): 1633539600
-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 000000000000000000000000b0c7a3ba49c7a6eaba6cd4a96c55a1391070ac9a
Arg [1] : 00000000000000000000000000000000000000000000000000000000615dd610
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | 100.00% | $0.366877 | 54,051.2092 | $19,830.14 |
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.