Skip to content

Instantly share code, notes, and snippets.

@jw122 jw122/Purchase.sol Secret
Created Jul 11, 2017

Embed
What would you like to do?
Solidity contract for members in an escrow payment
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
You can’t perform that action at this time.