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 https://github.com/OffchainLabs/arbitrum-sdk/pull/445, https://github.com/OffchainLabs/arbitrum-sdk/pull/530 and https://github.com/OffchainLabs/arbitrum-sdk/pull/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 https://github.com/OffchainLabs/arbitrum-sdk/pull/548)
* Added information about native token to `getArbitrumNetworkInformationFromRollup` (spsjvc in https://github.com/OffchainLabs/arbitrum-sdk/pull/544)
* Made proxy admin addresses optional on `ArbitrumNetwork` (spsjvc in https://github.com/OffchainLabs/arbitrum-sdk/pull/545)
* Fixed an issue with the zero address incorrectly being detected as a custom gas token (spsjvc in https://github.com/OffchainLabs/arbitrum-sdk/pull/541)
**Full Changelog**: https://github.com/OffchainLabs/arbitrum-sdk/compare/v4.0.1...v4.0.2