Skip to content

Releases: ExWeb3/elixir_ethers

0.3.1

05 Mar 17:14
7974c55
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • Fix trimmed zeros in transaction encoder with unified hex encoding for transaction

Pull Requests in Release

Full Changelog: v0.3.0...v0.3.1

0.3.0

05 Feb 18:07
02bbcc4
Compare
Choose a tag to compare

What's Changed

Breaking Changes

  • Removed signature_v, signature_recovery_id and signature_y_parity from Ethers.Transaction
    struct and introduce new signature_v_or_y_parity value
  • Update ex_abi to 0.7.0 with new method_id logic for event selectors and use its value

Enhancements

  • Cleanup implementation of Transaction encoders and value decoder

Pull Requests in Release

Full Changelog: v0.2.3...v0.3.0

0.2.3

30 Jan 02:48
e0ce162
Compare
Choose a tag to compare

What's Changed

New features

  • Add Ethers.get_transaction_receipt/2 function to query native chain transaction receipt by transaction hash.

Enhancements

  • Add more metadata to Ethers.Transaction struct.
  • Return Ethers.Transaction struct in Ethers.get_transaction/2 function.
  • Support get_transaction in batch requests.

Pull Requests in Release

  • Bump ex_doc from 0.31.0 to 0.31.1 by @dependabot in #77
  • Add Ethers.get_transaction_receipt by @calvin-nl in #80
  • Decode transaction body by @wchenNL in #76

New Contributors

Full Changelog: v0.2.2...v0.2.3

0.2.2

09 Jan 01:57
aa0ba81
Compare
Choose a tag to compare

What's Changed

New features

  • Add Ethers.get_transaction/2 function to query native chain transaction by transaction hash.

Pull Requests in Release

  • add Ethers.get_transaction by @wchenNL in #74
  • Bump credo from 1.7.2 to 1.7.3 by @dependabot in #75

New Contributors

  • @wchenNL made their first yet another contribution in #74

Full Changelog: v0.2.1...v0.2.2

0.2.1

04 Jan 04:49
828f771
Compare
Choose a tag to compare

What's Changed

New features

  • Add Ethers.get_balance/2 function to query native chain balance of accounts.

Bug fixes

  • Encode integers to hex even when they are part of params

Pull Requests in Release

  • Fix integer encoding in parameters of transactions by @alisinabh in #72
  • Implement Ethers.get_balance/2 with tests by @alisinabh in #73

Full Changelog: v0.2.0...v0.2.1

0.2.0

02 Jan 01:50
465a839
Compare
Choose a tag to compare

What's Changed

New Features

  • Ethers.sign_transaction/2 function
  • Signer behaviour
  • Local Signer implementation
  • JsonRPC Signer implementation
  • Ethers.Transaction struct and helper functions

Pull Requests in Release

New Contributors

Full Changelog: v0.1.3...v0.2.0

0.1.3

27 Dec 03:18
8586869
Compare
Choose a tag to compare

What's Changed

Bug fixes

  • unsized integer encoding to hex will now raise if given negative numbers.
  • Utils.date_to_block_number/3 going to negative block numbers issue fixed.

Pull Requests in Release

Full Changelog: v0.1.2...v0.1.3

0.1.2

12 Dec 06:15
e5d7e44
Compare
Choose a tag to compare

Breaking Changes

  • TxData.to_map/2 now returns hex values for all integers.
  • Utils.maybe_add_gas_limit/2 now adds hex gas limit value instead of integer.

Pull Requests in Release

  • Convert integer override values to hexadecimal as per Ethereum JSON RPC spec by @alisinabh in #64
  • Bump ex_doc from 0.30.9 to 0.31.0 by @dependabot in #63

Full Changelog: v0.1.1...v0.1.2

0.1.1

22 Nov 05:47
c94ca89
Compare
Choose a tag to compare

Bug fixes

  • Multicall: aggregate_3 decoder returns nil in case of failure
  • Multicall: Feed decoded results through Utils.human_arg/2

Pull Requests in Release

New Contributors

Full Changelog: v0.1.0...v0.1.1

0.1.0

19 Nov 05:41
7178db2
Compare
Choose a tag to compare

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