Solidez retorno matriz de estructura
struct MyStruct {
uint8 level
uint8 exp
}
function myFunc() public returns (MyStruct[]) {
return [MyStruct(5, 3), MyStruct(2, 4)]
}
John Appleseed