Skip to content

v4.0.2

Latest
Compare
Choose a tag to compare
@spsjvc spsjvc released this 05 Nov 23:21
· 6 commits to main since this release
b8d7b71

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, @spsjvc and @chrstph-dvx in #445, #530 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)
  • Added information about native token to getArbitrumNetworkInformationFromRollup (@spsjvc in #544)
  • Made proxy admin addresses optional on ArbitrumNetwork (@spsjvc in #545)
  • Fixed an issue with the zero address incorrectly being detected as a custom gas token (@spsjvc in #541)

Full Changelog: v4.0.1...v4.0.2