Solidity Array Of Structs
Solidity Array Of Structs . In case of memory array, element type can not be mapping and in case it is to be used as function parameter then element type should be an abi type. You can define your own type by creating a struct. Learning Solidity Tutorial 6 Data Types (Array, Mapping, Struct from www.youtube.com It’s an array, which is how solidity tuples are returned to javascript land. Unlike c, in solidity, omitting that number from inside the [] implies that the array is dynamic (i.e., can add and remove elements). Generally, it is used to represent a record.