-
-
Save jw122/c561c8059ca239df6623db9080805634 to your computer and use it in GitHub Desktop.
Solidity contract for members in an escrow payment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pragma solidity ^0.4.4; | |
contract Purchase { | |
address public buyer; | |
address public seller; | |
address public arbiter; | |
// uint public balance; | |
// constructor | |
function Purchase(address _seller, address _arbiter){ | |
buyer = msg.sender; | |
// balance = msg.value; | |
seller = _seller; | |
arbiter = _arbiter; | |
} | |
function getArbiter() constant returns (address) { | |
return arbiter; | |
} | |
function getSeller() constant returns(address) { | |
return seller; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment