Contract 0xC1770525F41F05cB10524e68B19b879d3f86c017

 
Txn Hash
Method
Block
From
To
Value
0x36577413165f4a65e1146b866ff4950a8b4b0a3f13cd5e6383f4ca08f72dcd1aNew Time Locked ...115002542020-12-22 1:24:46605 days 23 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0207459530.93400461
0x9f7b88d370a26a821b8ad7830e29dc7a906e6a6985a8af1a281a8caa22b44f96New Time Locked ...114587672020-12-15 16:35:06612 days 8 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0422510763
0x9e2b4bfac9273aac739b76c5d28fcb1861b2c48d3027a079f934d66a3dddec6eNew Time Locked ...113880582020-12-04 19:27:05623 days 5 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0101624215.5
0x2490f49da9784814e886eeb8e395a41796dc565f4f3cddc095908c5c6cce6ddeNew Time Locked ...113880482020-12-04 19:24:44623 days 5 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0101624215.5
0x5f747efe7943b7b1764ef0cd63bc591ddce99cd7f20d41eb32292453654036a8New Time Locked ...113880482020-12-04 19:24:44623 days 5 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.010162615.5
0x0698c2fc2d468141c4c2284c98b1a472580b74eb84a4bc184a645c354e4a15bfNew Time Locked ...113880402020-12-04 19:22:56623 days 5 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0101624215.5
0xc894acb576b90dc4a19abb12afcb3bd2244939b2a064e1f083348d6d3d095474New Time Locked ...113859042020-12-04 11:35:42623 days 13 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.016766325
0xa3781687ba6fe35f912f2ad88e646b5ea0bbec13be8a4b85886257266961e090New Time Locked ...113466682020-11-28 11:12:50629 days 13 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0111460817
0x508ab790a627002d4ff8e27f56776849079a458416d981f035394ce81e91f057New Time Locked ...113466582020-11-28 11:11:02629 days 13 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0096380814.7
0x383057f4561c0fdb099cfaf98425931044c9a31a4bb385600b96211d7823a28dNew Time Locked ...113466542020-11-28 11:10:41629 days 13 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0111326216.6
0x348f15451b73590d7cafc98b6293beab5a481d04d52b87d07571b17871fc7660New Time Locked ...113403822020-11-27 11:46:33630 days 12 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0125229519.1
0x515cf3e3bdc15ca4fab092a63f47c179c205eaf8e149582a3789e58d131362f8New Time Locked ...113294952020-11-25 19:43:54632 days 4 hrs agoKatalyo: Deployer IN  0xc1770525f41f05cb10524e68b19b879d3f86c0170 Ether0.0150843422
0x45ce96970eabd75571f6d040c45ab290020f87bad6a837061a0935f03b646ed40x60806040113271872020-11-25 11:10:50632 days 13 hrs agoKatalyo: Deployer IN  Create: TimeLockWalletFactory0 Ether0.042362946.2
[ Download CSV Export 
Latest 12 internal transactions
Parent Txn Hash Block From To Value
0x36577413165f4a65e1146b866ff4950a8b4b0a3f13cd5e6383f4ca08f72dcd1a115002542020-12-22 1:24:46605 days 23 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x9f7b88d370a26a821b8ad7830e29dc7a906e6a6985a8af1a281a8caa22b44f96114587672020-12-15 16:35:06612 days 8 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x9e2b4bfac9273aac739b76c5d28fcb1861b2c48d3027a079f934d66a3dddec6e113880582020-12-04 19:27:05623 days 5 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x2490f49da9784814e886eeb8e395a41796dc565f4f3cddc095908c5c6cce6dde113880482020-12-04 19:24:44623 days 5 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x5f747efe7943b7b1764ef0cd63bc591ddce99cd7f20d41eb32292453654036a8113880482020-12-04 19:24:44623 days 5 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x0698c2fc2d468141c4c2284c98b1a472580b74eb84a4bc184a645c354e4a15bf113880402020-12-04 19:22:56623 days 5 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0xc894acb576b90dc4a19abb12afcb3bd2244939b2a064e1f083348d6d3d095474113859042020-12-04 11:35:42623 days 13 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0xa3781687ba6fe35f912f2ad88e646b5ea0bbec13be8a4b85886257266961e090113466682020-11-28 11:12:50629 days 13 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x508ab790a627002d4ff8e27f56776849079a458416d981f035394ce81e91f057113466582020-11-28 11:11:02629 days 13 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x383057f4561c0fdb099cfaf98425931044c9a31a4bb385600b96211d7823a28d113466542020-11-28 11:10:41629 days 13 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x348f15451b73590d7cafc98b6293beab5a481d04d52b87d07571b17871fc7660113403822020-11-27 11:46:33630 days 12 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
0x515cf3e3bdc15ca4fab092a63f47c179c205eaf8e149582a3789e58d131362f8113294952020-11-25 19:43:54632 days 4 hrs ago 0xc1770525f41f05cb10524e68b19b879d3f86c017  Contract Creation0 Ether
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TimeLockWalletFactory

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity Multiple files format)

File 3 of 3: TimeLockWalletFactory.sol
pragma solidity ^0.4.18;

import "./TimeLockWallet.sol";

contract TimeLockWalletFactory {
 
    mapping(address => address[]) wallets;

    function getWallets(address _user) 
        public
        view
        returns(address[])
    {
        return wallets[_user];
    }

    function newTimeLockedWallet(address _owner, uint256 _unlockDate)
        payable
        public
        returns(address wallet)
    {
        // Create new wallet.
        wallet = new TimeLockedWallet(msg.sender, _owner, _unlockDate);
        
        // Add wallet to sender's wallets.
        wallets[msg.sender].push(wallet);

        // If owner is the same as sender then add wallet to sender's wallets too.
        if(msg.sender != _owner){
            wallets[_owner].push(wallet);
        }

        // Send ether from this transaction to the created contract.
        wallet.transfer(msg.value);

        // Emit event.
        emit Created(wallet, msg.sender, _owner, now, _unlockDate, msg.value);
    }

    // Prevents accidental sending of ether to the factory
    function () public {
        revert();
    }

    event Created(address wallet, address from, address to, uint256 createdAt, uint256 unlockDate, uint256 amount);
}

File 1 of 3: ERC20.sol
pragma solidity ^0.4.18;


/**
 * @title ERC20
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 {
  uint256 public totalSupply;

  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);

  event Approval(address indexed owner, address indexed spender, uint256 value);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

File 2 of 3: TimeLockWallet.sol
pragma solidity ^0.4.18;

import "./ERC20.sol";

contract TimeLockedWallet {

    address public creator;
    address public owner;
    uint256 public unlockDate;
    uint256 public createdAt;

    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    constructor(
        address _creator,
        address _owner,
        uint256 _unlockDate
    ) public {
        creator = _creator;
        owner = _owner;
        unlockDate = _unlockDate;
        createdAt = now;
    }

    // keep all the ether sent to this address
    function() payable public { 
       emit Received(msg.sender, msg.value);
    }

    // callable by owner only, after specified time
    function withdraw() onlyOwner public {
       require(now >= unlockDate,"Unlock date is in the future");
       //now send all the balance
       msg.sender.transfer(address(this).balance);
       emit Withdrew(msg.sender, address(this).balance);
    }

    // callable by owner only, after specified time, only for Tokens implementing ERC20
    function releaseTokens(address _tokenContract) onlyOwner public {
       require(now >= unlockDate,"Unlock date is in the future");
       ERC20 token = ERC20(_tokenContract);
       //now send all the token balance
       uint256 tokenBalance = token.balanceOf(this);
       token.transfer(owner, tokenBalance);
       emit ReleasedTokens(_tokenContract, msg.sender, tokenBalance);
    }

    function info() public view returns(address, address, uint256, uint256, uint256) {
        return (creator, owner, unlockDate, createdAt, address(this).balance);
    }

    event Received(address from, uint256 amount);
    event Withdrew(address to, uint256 amount);
    event ReleasedTokens(address tokenContract, address to, uint256 amount);
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_owner","type":"address"},{"name":"_unlockDate","type":"uint256"}],"name":"newTimeLockedWallet","outputs":[{"name":"wallet","type":"address"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[{"name":"_user","type":"address"}],"name":"getWallets","outputs":[{"name":"","type":"address[]"}],"payable":false,"stateMutability":"view","type":"function"},{"payable":false,"stateMutability":"nonpayable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"wallet","type":"address"},{"indexed":false,"name":"from","type":"address"},{"indexed":false,"name":"to","type":"address"},{"indexed":false,"name":"createdAt","type":"uint256"},{"indexed":false,"name":"unlockDate","type":"uint256"},{"indexed":false,"name":"amount","type":"uint256"}],"name":"Created","type":"event"}]

608060405234801561001057600080fd5b50610fa9806100206000396000f30060806040526004361061004c576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff1680630a9ef9271461005e578063422c29a4146100de575b34801561005857600080fd5b50600080fd5b61009c600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610176565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156100ea57600080fd5b5061011f600480360381019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506104bc565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b83811015610162578082015181840152602081019050610147565b505050509050019250505060405180910390f35b6000338383610183610588565b808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051809103906000f08015801561020f573d6000803e3d6000fd5b5090506000803373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550508273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614151561038c576000808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190806001815401808255809150509060018203906000526020600020016000909192909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505b8073ffffffffffffffffffffffffffffffffffffffff166108fc349081150290604051600060405180830381858888f193505050501580156103d2573d6000803e3d6000fd5b507f14d5db8c1f746c7adcbcd13cf8945dd2ac6ad58be52380b8c4933c876f76e1bf813385428634604051808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001848152602001838152602001828152602001965050505050505060405180910390a192915050565b60606000808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002080548060200260200160405190810160405280929190818152602001828054801561057c57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311610532575b50505050509050919050565b6040516109e580610599833901905600608060405234801561001057600080fd5b506040516060806109e5833981018060405281019080805190602001909291908051906020019092919080519060200190929190505050826000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555081600160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600281905550426003819055505050506108fd806100e86000396000f300608060405260043610610083576000357c0100000000000000000000000000000000000000000000000000000000900463ffffffff16806302d05d3f146100f0578063370158ea146101475780633ccfd60b146101e657806369ac5721146101fd57806387b0be48146102285780638da5cb5b1461026b578063cf09e0d0146102c2575b7f88a5966d370b9919b20f3e2c13ff65706f196a4e32cc2c12bf57088f885258743334604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1005b3480156100fc57600080fd5b506101056102ed565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561015357600080fd5b5061015c610312565b604051808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018381526020018281526020019550505050505060405180910390f35b3480156101f257600080fd5b506101fb61038e565b005b34801561020957600080fd5b50610212610546565b6040518082815260200191505060405180910390f35b34801561023457600080fd5b50610269600480360381019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061054c565b005b34801561027757600080fd5b506102806108a5565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b3480156102ce57600080fd5b506102d76108cb565b6040518082815260200191505060405180910390f35b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60008060008060008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166002546003543073ffffffffffffffffffffffffffffffffffffffff1631945094509450945094509091929394565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156103ea57600080fd5b6002544210151515610464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e6c6f636b206461746520697320696e20746865206675747572650000000081525060200191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc3073ffffffffffffffffffffffffffffffffffffffff16319081150290604051600060405180830381858888f193505050501580156104c1573d6000803e3d6000fd5b507fb244b9a17ad633c6e83b7983ee04320484956a68ddbe96a0b70dfca1cf19d723333073ffffffffffffffffffffffffffffffffffffffff1631604051808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019250505060405180910390a1565b60025481565b600080600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161415156105ab57600080fd5b6002544210151515610625576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f556e6c6f636b206461746520697320696e20746865206675747572650000000081525060200191505060405180910390fd5b8291508173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001915050602060405180830381600087803b1580156106c357600080fd5b505af11580156106d7573d6000803e3d6000fd5b505050506040513d60208110156106ed57600080fd5b810190808051906020019092919050505090508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16836040518363ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401808373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050602060405180830381600087803b1580156107c557600080fd5b505af11580156107d9573d6000803e3d6000fd5b505050506040513d60208110156107ef57600080fd5b8101908080519060200190929190505050507f831de114ef81f9a10c65a454192b9a883c1266ada7d78bef8f38c5ee631de54f833383604051808473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001828152602001935050505060405180910390a1505050565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b600354815600a165627a7a72305820ec3044f7d0bc9d0e6ed3d7f97941b491b37312f32577ec0dd8916faeb22730700029a165627a7a7230582033b6a9bb0497577de8271b6124dca540c7c6571e04d01f60f9f30aab4028574b0029

Deployed ByteCode Sourcemap

62:1206:2:-;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;62:1206:2;1130:8;;;296:736;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;149:139;;8:9:-1;5:2;;;30:1;27;20:12;5:2;149:139:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;99:1;94:3;90:11;84:18;80:1;75:3;71:11;64:39;52:2;49:1;45:10;40:15;;8:100;;;12:14;149:139:2;;;;;;;;;;;;;;;;;296:736;412:14;505:10;517:6;525:11;484:53;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;484:53:2;475:62;;602:7;:19;610:10;602:19;;;;;;;;;;;;;;;627:6;602:32;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;602:32:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;748:6;734:20;;:10;:20;;;;731:79;;;770:7;:15;778:6;770:15;;;;;;;;;;;;;;;791:6;770:28;;39:1:-1;33:3;27:10;23:18;57:10;52:3;45:23;79:10;72:17;;0:93;770:28:2;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;731:79;892:6;:15;;:26;908:9;892:26;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;892:26:2;960:64;968:6;976:10;988:6;996:3;1001:11;1014:9;960:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;296:736;;;;:::o;149:139::-;232:9;266:7;:14;274:5;266:14;;;;;;;;;;;;;;;259:21;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;149:139;;;:::o;62:1206::-;;;;;;;;;;:::o

Swarm Source

bzzr://33b6a9bb0497577de8271b6124dca540c7c6571e04d01f60f9f30aab4028574b
Block Transaction Difficulty Gas Used Reward
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.

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.