xf00f / web3x

Ethereum TypeScript Client Library - for perfect types and tiny builds.
211 stars 27 forks source link

Update ContractEntryDefinition with receive type #78

Open d1ll0n opened 4 years ago

d1ll0n commented 4 years ago

The latest Solidity release (^0.6.0) has an additional function type called receive. The type for ContractEntryDefinition in web3x-codegen does not include this function type, which breaks compatibility with Solidity versions above 0.6.0. This PR adds 'receive' to the type union for that field.