ETH Price: $2,126.70 (+3.01%)

Contract

0x2D7637beD2F33Ebc82E4e14b0c558BD97ab637D3
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer87524462019-10-16 13:26:332331 days ago1571232393IN
0x2D7637be...97ab637D3
0 ETH0.0002932910
Transfer85667512019-09-17 11:46:352361 days ago1568720795IN
0x2D7637be...97ab637D3
0 ETH0.0005774927.49999923

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-87524462019-10-16 13:26:332331 days ago1571232393
0x2D7637be...97ab637D3
4 ETH
-81490452019-07-14 11:56:172426 days ago1563105377  Contract Creation4 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x16fB0e46...A96bbeB75
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
Lock

Compiler Version
v0.5.0+commit.1d4f565a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2019-07-12
*/

/**
 *Submitted for verification at Etherscan.io on 2019-06-19
*/

pragma solidity ^0.5.0;

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 { // payable so solidity doesn't add unnecessary logic
        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 Security Audit

Contract ABI

API
[{"inputs":[{"name":"owner","type":"address"},{"name":"unlockTime","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]

0x60806040526040516040806100c383398101806040526040811015602257600080fd5b81019080805190602001909291908051906020019092919050505081600055806001555050606e806100556000396000f3fe6080604052600154421160008114601b5760018114602057603f565b600080fd5b60008060008030316000545af160008114603857603d565b600080fd5b505b5000fea165627a7a723058204eb8a3bdf29246cf4d71b219e968bef7f03867af2803553ef1508429a50988a000290000000000000000000000005b66d9d950920b2734470cd7a282a27d0715915a000000000000000000000000000000000000000000000000000000005da46261

Deployed Bytecode

0x6080604052600154421160008114601b5760018114602057603f565b600080fd5b60008060008030316000545af160008114603857603d565b600080fd5b505b5000fea165627a7a723058204eb8a3bdf29246cf4d71b219e968bef7f03867af2803553ef1508429a50988a00029

Deployed Bytecode Sourcemap

98:730:0:-;;;609:4;603:11;592:9;589:26;634:1;629:23;;;;671:1;666:141;;;;582:225;;629:23;648:1;645;638:12;666:141;749:1;746;743;740;730:7;722:16;715:4;709:11;704:3;699:52;774:1;769:23;;;;692:100;;769:23;788:1;785;778:12;692:100;;582:225;;98:730

Swarm Source

bzzr://4eb8a3bdf29246cf4d71b219e968bef7f03867af2803553ef1508429a50988a0

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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.