Soliditätsrückgabearray von Struktur
struct MyStruct {
uint8 level
uint8 exp
}
function myFunc() public returns (MyStruct[]) {
return [MyStruct(5, 3), MyStruct(2, 4)]
}
John Appleseed