Skip to content

Instantly share code, notes, and snippets.

@agoiabel
Last active March 31, 2020 13:29
Show Gist options
  • Save agoiabel/c008f4ea73dcb05c04f5b4da90f2787f to your computer and use it in GitHub Desktop.
Save agoiabel/c008f4ea73dcb05c04f5b4da90f2787f to your computer and use it in GitHub Desktop.
storage array initialisation
pragma solidity ^0.5.3;
contract Array {
uint[] intergerArray; //sample showing initialization of an array of integers
bool[] boolArray; //sample showing initialization of an array of booleans
address[] addressArray; //sample showing initialization of an array of address etc.
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment