Feature Tip: Add private address tag to any address under My Name Tag !
Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 25 from a total of 379 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer | 16535409 | 640 days ago | IN | 0 ETH | 0.0004183 | ||||
Transfer | 16319731 | 670 days ago | IN | 0 ETH | 0.00035869 | ||||
Transfer | 16319725 | 670 days ago | IN | 0 ETH | 0.00030457 | ||||
Transfer | 10504760 | 1565 days ago | IN | 0 ETH | 0.001071 | ||||
Transfer | 10366488 | 1586 days ago | IN | 0 ETH | 0.001323 | ||||
Transfer | 9869044 | 1663 days ago | IN | 0 ETH | 0.0000105 | ||||
Lock | 9867207 | 1664 days ago | IN | 200 ETH | 0.00002319 | ||||
Lock | 9867140 | 1664 days ago | IN | 5 ETH | 0.00035952 | ||||
Lock | 9867112 | 1664 days ago | IN | 3.8 ETH | 0.00028819 | ||||
Lock | 9867094 | 1664 days ago | IN | 1 ETH | 0.00035952 | ||||
Lock | 9867068 | 1664 days ago | IN | 100 ETH | 0.00014379 | ||||
Lock | 9867002 | 1664 days ago | IN | 1,500 ETH | 0.00096055 | ||||
Lock | 9866988 | 1664 days ago | IN | 0.05 ETH | 0.00096055 | ||||
Lock | 9866847 | 1664 days ago | IN | 150 ETH | 0.00023968 | ||||
Lock | 9866840 | 1664 days ago | IN | 16.94 ETH | 0.00011982 | ||||
Lock | 9866803 | 1664 days ago | IN | 0.64 ETH | 0.00036013 | ||||
Lock | 9866757 | 1664 days ago | IN | 61 ETH | 0.00059914 | ||||
Lock | 9866754 | 1664 days ago | IN | 500 ETH | 0.00059903 | ||||
Lock | 9866746 | 1664 days ago | IN | 500 ETH | 0.00095863 | ||||
Lock | 9866731 | 1664 days ago | IN | 20 ETH | 0.00024016 | ||||
Lock | 9866716 | 1664 days ago | IN | 0.3 ETH | 0.00023959 | ||||
Lock | 9866599 | 1664 days ago | IN | 20 ETH | 0.00025159 | ||||
Lock | 9866544 | 1664 days ago | IN | 10 ETH | 0.00026417 | ||||
Lock | 9866538 | 1664 days ago | IN | 3.00701202 ETH | 0.00012008 | ||||
Lock | 9866467 | 1664 days ago | IN | 1 ETH | 0.00024016 |
Latest 25 internal transactions (View All)
Advanced mode:
Loading...
Loading
Contract Name:
Lockdrop
Compiler Version
v0.5.15+commit.6a57276f
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-03-13 */ pragma solidity 0.5.15; contract Lock { // address owner; slot #0 // address unlockTime; slot #1 constructor (address owner, uint256 unlockTime) public payable { assembly { sstore(0x00, owner) sstore(0x01, unlockTime) } } /** * @dev Withdraw function once timestamp has passed unlock time */ function () external payable { assembly { switch gt(timestamp, sload(0x01)) case 0 { revert(0, 0) } case 1 { switch call(gas, sload(0x00), balance(address), 0, 0, 0, 0) case 0 { revert(0, 0) } } } } } contract Lockdrop { // Time constants uint256 constant public LOCK_DROP_PERIOD = 30 days; uint256 public LOCK_START_TIME; uint256 public LOCK_END_TIME; // ETH locking events event Locked(uint256 indexed eth, uint256 indexed duration, address lock, address introducer); constructor(uint startTime) public { LOCK_START_TIME = startTime; LOCK_END_TIME = startTime + LOCK_DROP_PERIOD; } /** * @dev Locks up the value sent to contract in a new Lock * @param _days The length of the lock up * @param _introducer The introducer of the user. */ function lock(uint256 _days, address _introducer) external payable didStart didNotEnd { // Accept External Owned Accounts only require(msg.sender == tx.origin); // Accept only fixed set of durations require(_days == 30 || _days == 100 || _days == 300 || _days == 1000); uint256 unlockTime = now + _days * 1 days; // Accept non-zero payments only require(msg.value > 0); uint256 eth = msg.value; // Create ETH lock contract Lock lockAddr = (new Lock).value(eth)(msg.sender, unlockTime); // ensure lock contract has all ETH, or fail assert(address(lockAddr).balance >= eth); emit Locked(eth, _days, address(lockAddr), _introducer); } /** * @dev Ensures the lockdrop has started */ modifier didStart() { require(now >= LOCK_START_TIME); _; } /** * @dev Ensures the lockdrop has not ended */ modifier didNotEnd() { require(now <= LOCK_END_TIME); _; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"uint256","name":"startTime","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"eth","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"duration","type":"uint256"},{"indexed":false,"internalType":"address","name":"lock","type":"address"},{"indexed":false,"internalType":"address","name":"introducer","type":"address"}],"name":"Locked","type":"event"},{"constant":true,"inputs":[],"name":"LOCK_DROP_PERIOD","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"LOCK_END_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"LOCK_START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"_days","type":"uint256"},{"internalType":"address","name":"_introducer","type":"address"}],"name":"lock","outputs":[],"payable":true,"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405234801561001057600080fd5b506040516103323803806103328339818101604052602081101561003357600080fd5b5051600081905562278d00016001556102e1806100516000396000f3fe60806040526004361061003f5760003560e01c806315f2e2f714610044578063396214661461006b57806366dfbfb4146100805780638cf0cb55146100ae575b600080fd5b34801561005057600080fd5b506100596100c3565b60408051918252519081900360200190f35b34801561007757600080fd5b506100596100c9565b6100ac6004803603604081101561009657600080fd5b50803590602001356001600160a01b03166100cf565b005b3480156100ba57600080fd5b506100596101ea565b60005481565b60015481565b6000544210156100de57600080fd5b6001544211156100ed57600080fd5b3332146100f957600080fd5b81601e14806101085750816064145b8061011457508161012c145b806101205750816103e8145b61012957600080fd5b42620151808302013461013b57600080fd5b60003490506000813384604051610151906101f1565b6001600160a01b03909216825260208201526040805191829003019082f080158015610181573d6000803e3d6000fd5b509050905081816001600160a01b031631101561019a57fe5b604080516001600160a01b038084168252861660208201528151879285927f1f8f04eebd96e2dab57d8611613f0e859a7e1b4bc41c7831d74435a3ee9e42fe929081900390910190a35050505050565b62278d0081565b60af806101fe8339019056fe60806040526040516100af3803806100af83398181016040526040811015602557600080fd5b508051602090910151600091909155600155606a806100456000396000f3fe60806040526001544211801560195760018114601e576032565b600080fd5b60008060008030316000545af18015601957505b5000fea265627a7a7231582013876a131fb612745be13765f49451cc6f0f1d0f7b13e21ac2cf9c7d3aeca18964736f6c634300050f0032a265627a7a723158204e19f9c974509cadd995b0246fd82bb8873200bbd389ec7bf218d174645b3c1064736f6c634300050f0032000000000000000000000000000000000000000000000000000000005e6d7000
Deployed Bytecode
0x60806040526004361061003f5760003560e01c806315f2e2f714610044578063396214661461006b57806366dfbfb4146100805780638cf0cb55146100ae575b600080fd5b34801561005057600080fd5b506100596100c3565b60408051918252519081900360200190f35b34801561007757600080fd5b506100596100c9565b6100ac6004803603604081101561009657600080fd5b50803590602001356001600160a01b03166100cf565b005b3480156100ba57600080fd5b506100596101ea565b60005481565b60015481565b6000544210156100de57600080fd5b6001544211156100ed57600080fd5b3332146100f957600080fd5b81601e14806101085750816064145b8061011457508161012c145b806101205750816103e8145b61012957600080fd5b42620151808302013461013b57600080fd5b60003490506000813384604051610151906101f1565b6001600160a01b03909216825260208201526040805191829003019082f080158015610181573d6000803e3d6000fd5b509050905081816001600160a01b031631101561019a57fe5b604080516001600160a01b038084168252861660208201528151879285927f1f8f04eebd96e2dab57d8611613f0e859a7e1b4bc41c7831d74435a3ee9e42fe929081900390910190a35050505050565b62278d0081565b60af806101fe8339019056fe60806040526040516100af3803806100af83398181016040526040811015602557600080fd5b508051602090910151600091909155600155606a806100456000396000f3fe60806040526001544211801560195760018114601e576032565b600080fd5b60008060008030316000545af18015601957505b5000fea265627a7a7231582013876a131fb612745be13765f49451cc6f0f1d0f7b13e21ac2cf9c7d3aeca18964736f6c634300050f0032a265627a7a723158204e19f9c974509cadd995b0246fd82bb8873200bbd389ec7bf218d174645b3c1064736f6c634300050f0032
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000005e6d7000
-----Decoded View---------------
Arg [0] : startTime (uint256): 1584230400
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000000000000000000000000000000000005e6d7000
Deployed Bytecode Sourcemap
702:1793:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;807:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;807:30:0;;;:::i;:::-;;;;;;;;;;;;;;;;844:28;;8:9:-1;5:2;;;30:1;27;20:12;5:2;844:28:0;;;:::i;1364:805::-;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1364:805:0;;;;;;-1:-1:-1;;;;;1364:805:0;;:::i;:::-;;750:50;;8:9:-1;5:2;;;30:1;27;20:12;5:2;750:50:0;;;:::i;807:30::-;;;;:::o;844:28::-;;;;:::o;1364:805::-;2294:15;;2287:3;:22;;2279:31;;;;;;2458:13;;2451:3;:20;;2443:29;;;;;;1558:10;1572:9;1558:23;1550:32;;;;;;1650:5;1659:2;1650:11;:27;;;;1665:5;1674:3;1665:12;1650:27;:43;;;;1681:5;1690:3;1681:12;1650:43;:60;;;;1697:5;1706:4;1697:13;1650:60;1642:69;;;;;;1744:3;1758:6;1750:14;;1744:20;1827:9;1819:22;;;;;;1852:11;1866:9;1852:23;;1925:13;1958:3;1963:10;1975;1941:45;;;;;:::i;:::-;-1:-1:-1;;;;;1941:45:0;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1941:45:0;;;1925:61;;2089:3;2068:8;-1:-1:-1;;;;;2060:25:0;;:32;;2053:40;;;;2111:50;;;-1:-1:-1;;;;;2111:50:0;;;;;;;;;;;;;2123:5;;2118:3;;2111:50;;;;;;;;;;;2483:1;;;1364:805;;:::o;750:50::-;793:7;750:50;:::o;702:1793::-;;;;;;;;:::o
Swarm Source
bzzr://4e19f9c974509cadd995b0246fd82bb8873200bbd389ec7bf218d174645b3c10
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.