Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- contract paysafe {
- address buyer;
- address seller;
- function initalize() { /* start the contract - buyer and seller are uniquily identified */ }
- function lockMoney() { /* lock money in the contract - cannot be refunded by the buyer himself */ }
- function confirmDelivery() { /* confirm delivery, money is transfered to seller. Only buyser can call this. */ }
- function confirmCancellation() { /* confirm cancellation, money is transfered back to buyer. Only seller can call this. */ }
- }
Add Comment
Please, Sign In to add comment