Skip to content

v2.6.1

Compare
Choose a tag to compare
@0xFirekeeper 0xFirekeeper released this 24 Oct 19:17
· 24 commits to main since this release
8ec6324

What's Changed

  • Added support for passing generic List or Array types to ThirdwebContract.Read and deserializing tuples into them.
    • Supports List of objects return type.
    • Supports object[] return type.
    • Supports Lists and Arrays of primitive types (if your function returns a tuple of multiple values of the same type such as uints).
    • Supports complex structs (indexed and non indexed MySolTuple is serialized then deserialized into your passed type).
    • Supports complex struct arrays (indexed and non indexed MySolTupleArray is serialized as a dictionary then deserialized into your type).