Skip to content

Instantly share code, notes, and snippets.

@keyz182
Created March 27, 2019 12:25
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 keyz182/dd83e3bcdbcfab0573415924e5a6c873 to your computer and use it in GitHub Desktop.
Save keyz182/dd83e3bcdbcfab0573415924e5a6c873 to your computer and use it in GitHub Desktop.
Created using remix-ide: Realtime Ethereum Contract Compiler and Runtime. Load this file by pasting this gists URL or ID at https://remix.ethereum.org/#version=soljson-v0.5.1+commit.c8a2cb62.js&optimize=false&gist=
pragma solidity ^0.5.1;
pragma experimental ABIEncoderV2;
contract TestContract {
constructor() public {}
struct Foo { uint8 bar; uint8 baz; }
function test (Foo[] calldata input) external {}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment