Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
Latest 1 from a total of 1 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Release | 9523543 | 1737 days ago | IN | 0 ETH | 0.00008002 |
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xcc94c97b...85a609946 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
lexDAOetherEscrow
Compiler Version
v0.5.11+commit.c082d0b4
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2020-01-18 */ pragma solidity ^0.5.2; // LEE is a digital escrow program in beta. Use at your own risk. || lexDAO || contract lexDAOetherEscrow { address payable public buyer; address payable public seller; address payable public arbitrator; uint256 public price; string public details; string public complaint; bool public disputed; bool public closed; event Released(uint256 indexed price); event Disputed(address indexed complainant); event Resolved(uint256 indexed buyerAward, uint256 indexed sellerAward); constructor( address payable _buyer, address payable _seller, address payable _arbitrator, string memory _details) payable public { buyer = _buyer; seller = _seller; arbitrator = _arbitrator; price = msg.value; details = _details; } function release() public { require(msg.sender == buyer); require(disputed == false); address(seller).transfer(price); closed = true; emit Released(price); } function dispute(string memory _complaint) public { require(msg.sender == buyer || msg.sender == seller); require(closed == false); disputed = true; complaint = _complaint; emit Disputed(msg.sender); } function resolve(uint256 buyerAward, uint256 sellerAward) public { require(msg.sender == arbitrator); require(disputed == true); uint256 arbFee = price / 20; require(buyerAward + sellerAward + arbFee == price); address(buyer).transfer(buyerAward); address(seller).transfer(sellerAward); address(arbitrator).transfer(arbFee); closed = true; emit Resolved(buyerAward, sellerAward); } function getBalance() public view returns (uint256) { return address(this).balance; } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[],"name":"disputed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"seller","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"complaint","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"string","name":"_complaint","type":"string"}],"name":"dispute","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"details","outputs":[{"internalType":"string","name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"closed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"arbitrator","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"buyer","outputs":[{"internalType":"address payable","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"release","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"internalType":"uint256","name":"buyerAward","type":"uint256"},{"internalType":"uint256","name":"sellerAward","type":"uint256"}],"name":"resolve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_buyer","type":"address"},{"internalType":"address payable","name":"_seller","type":"address"},{"internalType":"address payable","name":"_arbitrator","type":"address"},{"internalType":"string","name":"_details","type":"string"}],"payable":true,"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"price","type":"uint256"}],"name":"Released","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"complainant","type":"address"}],"name":"Disputed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"buyerAward","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"sellerAward","type":"uint256"}],"name":"Resolved","type":"event"}]
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106100b45760003560e01c8063597e1fb511610071578063597e1fb5146103045780636cc6cde1146103265780637150d8ae1461037057806386d1a69f146103ba578063a035b1fe146103c4578063d1691a6f146103e2576100b4565b80630695c46c146100b957806308551a53146100db57806312065fe014610125578063218b3150146101435780632fb2c8b1146101c6578063565974d314610281575b600080fd5b6100c161041a565b604051808215151515815260200191505060405180910390f35b6100e361042d565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b61012d610453565b6040518082815260200191505060405180910390f35b61014b610472565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561018b578082015181840152602081019050610170565b50505050905090810190601f1680156101b85780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61027f600480360360208110156101dc57600080fd5b81019080803590602001906401000000008111156101f957600080fd5b82018360208201111561020b57600080fd5b8035906020019184600183028401116401000000008311171561022d57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050610510565b005b610289610659565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102c95780820151818401526020810190506102ae565b50505050905090810190601f1680156102f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b61030c6106f7565b604051808215151515815260200191505060405180910390f35b61032e61070a565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610378610730565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103c2610755565b005b6103cc610885565b6040518082815260200191505060405180910390f35b610418600480360360408110156103f857600080fd5b81019080803590602001909291908035906020019092919050505061088b565b005b600660009054906101000a900460ff1681565b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b60003073ffffffffffffffffffffffffffffffffffffffff1631905090565b60058054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156105085780601f106104dd57610100808354040283529160200191610508565b820191906000526020600020905b8154815290600101906020018083116104eb57829003601f168201915b505050505081565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614806105b85750600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16145b6105c157600080fd5b60001515600660019054906101000a900460ff161515146105e157600080fd5b6001600660006101000a81548160ff0219169083151502179055508060059080519060200190610612929190610ab0565b503373ffffffffffffffffffffffffffffffffffffffff167f695fbf2fe28b4fde5705122279ffc4160ebfc0f45e4d96f7e6699001be5062ef60405160405180910390a250565b60048054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156106ef5780601f106106c4576101008083540402835291602001916106ef565b820191906000526020600020905b8154815290600101906020018083116106d257829003601f168201915b505050505081565b600660019054906101000a900460ff1681565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146107ae57600080fd5b60001515600660009054906101000a900460ff161515146107ce57600080fd5b600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6003549081150290604051600060405180830381858888f19350505050158015610838573d6000803e3d6000fd5b506001600660016101000a81548160ff0219169083151502179055506003547ffb81f9b30d73d830c3544b34d827c08142579ee75710b490bab0b3995468c56560405160405180910390a2565b60035481565b600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146108e557600080fd5b60011515600660009054906101000a900460ff1615151461090557600080fd5b600060146003548161091357fe5b04905060035481838501011461092857600080fd5b6000809054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc849081150290604051600060405180830381858888f1935050505015801561098f573d6000803e3d6000fd5b50600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc839081150290604051600060405180830381858888f193505050501580156109f8573d6000803e3d6000fd5b50600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc829081150290604051600060405180830381858888f19350505050158015610a61573d6000803e3d6000fd5b506001600660016101000a81548160ff02191690831515021790555081837f8a1cc9089f9efc6450ff2639ff6d6b27f6aaaac01cccae1789c0a36dffc2104160405160405180910390a3505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10610af157805160ff1916838001178555610b1f565b82800160010185558215610b1f579182015b82811115610b1e578251825591602001919060010190610b03565b5b509050610b2c9190610b30565b5090565b610b5291905b80821115610b4e576000816000905550600101610b36565b5090565b9056fea265627a7a72315820f4de98cd9c6a31cf4e4ad6f9ddc0f4dbf6f748b158e43d8cb4b2156c5bd200ec64736f6c634300050b0032
Deployed Bytecode Sourcemap
109:1865:0:-;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;109:1865:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;345:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;184:29;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;1872:99;;;:::i;:::-;;;;;;;;;;;;;;;;;;;315:23;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;315:23:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1130:251;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1130:251:0;;;;;;;;;;21:11:-1;8;5:28;2:2;;;46:1;43;36:12;2:2;1130:251:0;;35:9:-1;28:4;12:14;8:25;5:40;2:2;;;58:1;55;48:12;2:2;1130:251:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;39:11;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;1130:251:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;93:3;85:6;81:16;74:27;137:4;133:9;126:4;121:3;117:14;113:30;106:37;;169:3;161:6;157:16;147:26;;1130:251:0;;;;;;;;;;;;;;;:::i;:::-;;287:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;287:21:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;372:18;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;220:33;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;149:28;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;911:207;;;:::i;:::-;;260:20;;;:::i;:::-;;;;;;;;;;;;;;;;;;;1393:467;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;1393:467:0;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;345:20;;;;;;;;;;;;;:::o;184:29::-;;;;;;;;;;;;;:::o;1872:99::-;1915:7;1950:4;1942:21;;;1935:28;;1872:99;:::o;315:23::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;1130:251::-;1213:5;;;;;;;;;;;1199:19;;:10;:19;;;:43;;;;1236:6;;;;;;;;;;;1222:20;;:10;:20;;;1199:43;1191:52;;;;;;1272:5;1262:15;;:6;;;;;;;;;;;:15;;;1254:24;;;;;;1300:4;1289:8;;:15;;;;;;;;;;;;;;;;;;1327:10;1315:9;:22;;;;;;;;;;;;:::i;:::-;;1362:10;1353:20;;;;;;;;;;;;1130:251;:::o;287:21::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;372:18::-;;;;;;;;;;;;;:::o;220:33::-;;;;;;;;;;;;;:::o;149:28::-;;;;;;;;;;;;;:::o;911:207::-;970:5;;;;;;;;;;;956:19;;:10;:19;;;948:28;;;;;;1007:5;995:17;;:8;;;;;;;;;;;:17;;;987:26;;;;;;1032:6;;;;;;;;;;;1024:24;;:31;1049:5;;1024:31;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1024:31:0;1075:4;1066:6;;:13;;;;;;;;;;;;;;;;;;1104:5;;1095:15;;;;;;;;;;911:207::o;260:20::-;;;;:::o;1393:467::-;1491:10;;;;;;;;;;;1477:24;;:10;:24;;;1469:33;;;;;;1533:4;1521:16;;:8;;;;;;;;;;;:16;;;1513:25;;;;;;1549:14;1574:2;1566:5;;:10;;;;;;1549:27;;1632:5;;1622:6;1608:11;1595:10;:24;:33;:42;1587:51;;;;;;1657:5;;;;;;;;;;;1649:23;;:35;1673:10;1649:35;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1649:35:0;1703:6;;;;;;;;;;;1695:24;;:37;1720:11;1695:37;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1695:37:0;1751:10;;;;;;;;;;;1743:28;;:36;1772:6;1743:36;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;1743:36:0;1799:4;1790:6;;:13;;;;;;;;;;;;;;;;;;1840:11;1828:10;1819:33;;;;;;;;;;1393:467;;;:::o;109:1865::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o
Swarm Source
bzzr://f4de98cd9c6a31cf4e4ad6f9ddc0f4dbf6f748b158e43d8cb4b2156c5bd200ec
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.