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
contract Order{ | |
address owner; | |
uint timestamp; | |
function Order(){ | |
owner = msg.sender; | |
timestamp = now; | |
} | |
} |
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
contract Billboard{ | |
uint minimumBid = 10; | |
uint minimumBidDelta = 10; | |
Slot[] slots; //an array of slots. Each slot is one period of time (for example one day) | |
struct Slot{ | |
address winner; // winner of the slot | |
uint bid; // amount of wei the winner bid |
NewerOlder