Skip to content

v3.7.1

Compare
Choose a tag to compare
@spsjvc spsjvc released this 05 Nov 22:50
· 116 commits to main since this release
1a9ba31

What's Changed

Support for non-18 decimal custom gas tokens

This release adds support for non-18 decimal custom gas tokens. Added by @brtkx and @chrstph-dvx in #445 and #539.

The necessary scaling is done in the background for you. However, if you need to do any scaling yourself (e.g. for approvals), we've provided the following utilities - scaleFrom18DecimalsToNativeTokenDecimals and scaleFromNativeTokenDecimalsTo18Decimals.

Other

  • Added AdminErc20Bridger to exports (@spsjvc in #548)
  • Fixed an issue with the zero address incorrectly being detected as a custom gas token (@spsjvc in #541)

New Contributors

Full Changelog: v3.7.0...v3.7.1