Skip to content

0.1.0

Compare
Choose a tag to compare
@alisinabh alisinabh released this 19 Nov 05:41
· 183 commits to main since this release
7178db2

New Features

  • Checksum address utility functions

Enhancements

  • Use zip_reduce for event generators
  • Move documentation generators to ContractHelpers
  • Display message for empty parameters or return types
  • Ethers.call/2 and Ethers.get_logs/2 now automatically convert integer block numbers to hex values
  • Return structs as a result in generated functions and event filter with Inspection protocols implemented for better development experience
  • Support dynamically sized indexed event filters (bytes, strings, arrays and structs)
  • Ethers.call/2 now only returns as a list if the return type is either a solidity array or tuple
  • Add return names in documentations and TxData inspection
  • Added an interface for Multicall3 through Ethers.Contracts.Multicall3
  • Added Ethers.Multicall as an abstraction for Ethers.Contracts.Multicall3
  • Added batching functionality using Ethers.batch/2

Breaking Changes

  • The generated contract functions no longer call or send transactions, They will only prepare parameters
    To execute an explicit call to Ethers.send/2 or Ethers.call/2 is required
  • Events no longer accept address overrides. Overriding now happens at Ethers.get_logs/2
  • Function Ethers.get_logs/3 is now changed to Ethers.get_logs/2
  • Generated contract modules and EventFilter modules default_address/0 function is now renamed to __default_adress__/0 to prevent collision
  • Removal of Ethers.RPC module
  • Remove Ethers.Types.dynamically_sized_types/0 function
  • Ethers.call/2 response is not always a list
  • Ethers.deploy/4 is now removed and replaced with Ethers.deploy/2

Bug fixes

  • Fix event filters with mixed indexed and non-indexed arguments

Pull Requests in Release

New Contributors

Full Changelog: v0.0.6...v0.1.0