Skip to content

Instantly share code, notes, and snippets.

@hayeah

hayeah/block22. Secret

Created September 3, 2017 10:30
Show Gist options
  • Save hayeah/23a1ed64ddddb8d001288ed352fdde96 to your computer and use it in GitHub Desktop.
Save hayeah/23a1ed64ddddb8d001288ed352fdde96 to your computer and use it in GitHub Desktop.
> encode_abi(["int8[3]", "int256[3]"],[[1, 2, 3], [4, 5, 6]]).hex()
// int8[3]
0000000000000000000000000000000000000000000000000000000000000001
0000000000000000000000000000000000000000000000000000000000000002
0000000000000000000000000000000000000000000000000000000000000003
// int256[3]
0000000000000000000000000000000000000000000000000000000000000004
0000000000000000000000000000000000000000000000000000000000000005
0000000000000000000000000000000000000000000000000000000000000006
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment