Ethereum tuples / Solidity structs
This release adds support for Ethereum tuples (or structs in Solidity). graph codegen
now generates classes with getter properties for the members of a struct/tuple.
E.g. for a Solidity struct like
struct ValuableItem {
address owner;
uint256 price;
}
it generates a class where owner
and price
can be accessed with
let owner = item.owner
let price = item.price
This also works if structs are used as event parameters. Nested structs are also supported.