0.1.0
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
andEthers.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
throughEthers.Contracts.Multicall3
- Added
Ethers.Multicall
as an abstraction forEthers.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 toEthers.send/2
orEthers.call/2
is required - Events no longer accept
address
overrides. Overriding now happens atEthers.get_logs/2
- Function
Ethers.get_logs/3
is now changed toEthers.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 listEthers.deploy/4
is now removed and replaced withEthers.deploy/2
Bug fixes
- Fix event filters with mixed indexed and non-indexed arguments
Pull Requests in Release
- Bump dialyxir from 1.4.0 to 1.4.1 by @dependabot in #15
- Do not implicitly make transactions by @alisinabh in #17
- Bump ethereumex from 0.10.4 to 0.10.5 by @dependabot in #20
- Support for typed arguments and selector inferrence by @alisinabh in #21
- Bump ex_abi from 0.6.0 to 0.6.2 by @dependabot in #22
- Implement checksum address utility functions by @alisinabh in #24
- Fix Types.max value for larger bitsizes by @alisinabh in #27
- Fix default address collision by @alisinabh in #29
- Fix mixed index event filter functions by @alisinabh in #30
- Automatically convert integer block numbers by @alisinabh in #32
- Bump credo from 1.7.0 to 1.7.1 by @dependabot in #33
- Bump ex_doc from 0.30.6 to 0.30.7 by @dependabot in #35
- Bump excoveralls from 0.17.1 to 0.18.0 by @dependabot in #36
- Remove Ethers.RPC module by @alisinabh in #37
- Return structs in generated functions and event filters by @alisinabh in #39
- Support dynamic sized types in event indexed args by @alisinabh in #43
- Optional call list by @BlazeWasHere in #46
- adds more registry contract tests by @BlazeWasHere in #47
- Bump ex_doc from 0.30.7 to 0.30.9 by @dependabot in #50
- Bump dialyxir from 1.4.1 to 1.4.2 by @dependabot in #48
- Add return names in docs and TxData inspection by @alisinabh in #51
- Multicall by @BlazeWasHere in #52
- Bump ex_abi from 0.6.3 to 0.6.4 by @dependabot in #53
- Implement batch request by @alisinabh in #54
- Improve documentation by @alisinabh in #55
- Update README.md with new changes by @alisinabh in #56
New Contributors
- @BlazeWasHere made their first contribution in #46
Full Changelog: v0.0.6...v0.1.0