v3.7.1
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