Address Contract Partially Verified
Address
0x68785705e925da4b361Fd62892F76559e6669F48
Balance
0 ETH
Nonce
1
Code Size
106 bytes
Creator
0xa4803f17...502b at tx 0x0d1cccf3...3e33d1
Indexed Transactions
0
Contract Bytecode
106 bytes
0x60806040526001544211801560195760018114601e576032565b600080fd5b60008060008030316000545af18015601957505b5000fea265627a7a7231582013876a131fb612745be13765f49451cc6f0f1d0f7b13e21ac2cf9c7d3aeca18964736f6c634300050f0032
Verified Source Code Partial Match
Compiler: v0.5.15+commit.6a57276f
EVM: istanbul
Optimization: Yes (200 runs)
Lock.sol 26 lines
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) }
}
}
}
}
Recent Transactions
No transactions found for this address