Closed banteg closed 3 years ago
Related to #9
Yes, 100% agreed @banteg
It also might be better to return an array of structs as opposed to unzipped arrays of different params
You mean enabling the experimental v2 ABI encoder?
It also might be better to return an array of structs as opposed to unzipped arrays of different params
You mean enabling the experimental v2 ABI encoder?
Yes, it'd need experimental ABI encoder for that.
I think it would make sense to add vault addresses to
getVaultsInfo()
in the next iteration of registry so it returns complete information. It also might be better to return an array of structs as opposed to unzipped arrays of different params.Consider this example.
With the proposed changes it would be as simple as: