graphprotocol / research

Research, proposals, papers, and specs
48 stars 9 forks source link

Replace generated types with Array<EthereumValue> #38

Closed Zerim closed 6 years ago

Zerim commented 6 years ago

Based on conversation with @Jannis this morning... dramatically cuts down on the amount of types that we would have to generate by opting for an EthereumValue type which can be converted to a concrete value using a method such as toString, toUInt256, etc. (or throw otherwise).

Jannis commented 6 years ago

Looks good to me! 👍