Skip to content

Instantly share code, notes, and snippets.

@ahmetozlu
Created April 24, 2021 00:35
Show Gist options
  • Save ahmetozlu/fb7309904a33e6742e4b0332bd7ff6cd to your computer and use it in GitHub Desktop.
Save ahmetozlu/fb7309904a33e6742e4b0332bd7ff6cd to your computer and use it in GitHub Desktop.
// the contract's owner address
address payable public owner;
// the customer address
address public customerAddress;
// Order struct
struct Order {
uint ID;
string burgerMenu;
uint quantity;
uint price;
uint safePayment;
uint orderDate;
uint deliveryDate;
bool created;
}
// Invoice struct
struct Invoice {
uint ID;
uint orderNo;
bool created;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment