Skip to content

Instantly share code, notes, and snippets.

@jamesmorgan
Last active March 3, 2023 10:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jamesmorgan/8acf2c2cc2458c3a82f8f7d6b7ecfd8b to your computer and use it in GitHub Desktop.
Save jamesmorgan/8acf2c2cc2458c3a82f8f7d6b7ecfd8b to your computer and use it in GitHub Desktop.
contract Structs {
struct Shipment {
address receiver;
uint price;
bool delivered;
string package;
uint8 typeCode;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment