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 1 internal transaction
Advanced mode:
Parent Txn Hash | Block | From | To | Value | ||
---|---|---|---|---|---|---|
5882232 | 2097 days ago | 9.569 ETH |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0x29e577a5...e6616951D The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
SimpleEscrow
Compiler Version
v0.4.20+commit.3155dd80
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2018-06-01 */ pragma solidity ^0.4.18; contract SimpleEscrow { uint public PERIOD = 21 days; uint public SAFE_PERIOD = 5 days; address public developerWallet = 0xEA15Adb66DC92a4BbCcC8Bf32fd25E2e86a2A770; address public customerWallet; uint public started; uint public orderLastDate; uint public safeLastDate; address public owner; function SimpleEscrow() public { owner = msg.sender; } modifier onlyCustomer() { require(msg.sender == customerWallet); _; } modifier onlyDeveloper() { require(msg.sender == developerWallet); _; } function setDeveloperWallet(address newDeveloperWallet) public { require(msg.sender == owner); developerWallet = newDeveloperWallet; } function completed() public onlyCustomer { developerWallet.transfer(this.balance); } function orderNotAccepted() public onlyCustomer { require(now >= orderLastDate); safeLastDate += SAFE_PERIOD; } function failedByDeveloper() public onlyDeveloper { customerWallet.transfer(this.balance); } function completeOrderBySafePeriod() public onlyDeveloper { require(now >= safeLastDate); developerWallet.transfer(this.balance); } function () external payable { require(customerWallet == address(0x0)); customerWallet = msg.sender; started = now; orderLastDate = started + PERIOD; safeLastDate = orderLastDate + SAFE_PERIOD; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"developerWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"started","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"customerWallet","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"completeOrderBySafePeriod","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"orderLastDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"newDeveloperWallet","type":"address"}],"name":"setDeveloperWallet","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"completed","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"failedByDeveloper","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"safeLastDate","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"PERIOD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"orderNotAccepted","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"SAFE_PERIOD","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"}]
Deployed Bytecode
0x6060604052600436106100c45763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663185870f9811461011a5780631f2698ab1461014957806320fd88611461016e5780632fa997911461018157806357d9fd41146101965780636cd56878146101a95780638da5cb5b146101c85780639d9a7fe9146101db578063a37e6f69146101ee578063a7fbe7ad14610201578063b4d1d79514610214578063b5f529cf14610227578063c55fb39f1461023a575b600354600160a060020a0316156100da57600080fd5b6003805473ffffffffffffffffffffffffffffffffffffffff191633600160a060020a031617905542600481905560005401600581905560015401600655005b341561012557600080fd5b61012d61024d565b604051600160a060020a03909116815260200160405180910390f35b341561015457600080fd5b61015c61025c565b60405190815260200160405180910390f35b341561017957600080fd5b61012d610262565b341561018c57600080fd5b610194610271565b005b34156101a157600080fd5b61015c6102d6565b34156101b457600080fd5b610194600160a060020a03600435166102dc565b34156101d357600080fd5b61012d610326565b34156101e657600080fd5b610194610335565b34156101f957600080fd5b610194610350565b341561020c57600080fd5b61015c6103a4565b341561021f57600080fd5b61015c6103aa565b341561023257600080fd5b6101946103b0565b341561024557600080fd5b61015c6103e8565b600254600160a060020a031681565b60045481565b600354600160a060020a031681565b60025433600160a060020a0390811691161461028c57600080fd5b60065442101561029b57600080fd5b600254600160a060020a039081169030163180156108fc0290604051600060405180830381858888f1935050505015156102d457600080fd5b565b60055481565b60075433600160a060020a039081169116146102f757600080fd5b6002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600754600160a060020a031681565b60035433600160a060020a0390811691161461029b57600080fd5b60025433600160a060020a0390811691161461036b57600080fd5b600354600160a060020a039081169030163180156108fc0290604051600060405180830381858888f1935050505015156102d457600080fd5b60065481565b60005481565b60035433600160a060020a039081169116146103cb57600080fd5b6005544210156103da57600080fd5b600154600680549091019055565b600154815600a165627a7a72305820e3caafaca75de5d5f01b6a1afa60bcae0f69c1829a2ea5f5939028c0fb3cffe60029
Swarm Source
bzzr://e3caafaca75de5d5f01b6a1afa60bcae0f69c1829a2ea5f5939028c0fb3cffe6
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 24 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
[ 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.