Skip to content

Instantly share code, notes, and snippets.

@ahmetozlu
Created April 24, 2021 00:41
Show Gist options
  • Save ahmetozlu/b2bacddc879b0b8fe0214a294cd81025 to your computer and use it in GitHub Desktop.
Save ahmetozlu/b2bacddc879b0b8fe0214a294cd81025 to your computer and use it in GitHub Desktop.
// mapping for orders to have an list for the orders
mapping (uint => Order) orders;
// mapping for invoices to have an list for the invoices
mapping (uint => Invoice) invoices;
// index value of the orders
uint orderseq;
// index value of the invoices
uint invoiceseq;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment