Releases: OffchainLabs/arbitrum-sdk
v4.0.2
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
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
v4.0.1
v4.0.0
What's Changed
This release includes significant changes that improve the experience of working with both L2 and L3 Arbitrum chains.
You can find the v3-to-v4 migration guide here. You can find the code and documentation for v3 here.
Changes Overview
- Terminology change from L1/L2 to parent/child to accommodate for both L2s and L3s
- Simplified networks registration and management
v3.7.0
What's Changed
- Added support for L1 to L3 bridging, see
EthL1L3Bridger
andErc20L1L3Bridger
(@godzillaba in #409) - Removed support for Stylus Testnet v2 (@spsjvc in #510)
Full Changelog: v3.6.0...v3.7.0
v3.6.0
What's Changed
- Added support for BOLD (@yahgwai, @godzillaba in #332)
- Removed support for Stylus Testnet v1 (@spsjvc in #495)
Full Changelog: v3.5.1...v3.6.0
v3.5.1
v3.5.0
What's Changed
- Added
AdminErc20Bridger.approveGasTokenForCustomTokenRegistration
(@brtkx in #477)- You can use it to approve the gas token to be spent on registering a custom token (only on a custom gas token chain)
- Added
Erc20Bridger.isRegistered
(@brtkx in #481)- You can use it to check if a token is properly registered on gateways (mostly useful for custom gateways)
- Fixed wrong ABI usage for L2GatewayRouter (@justmert in #388)
- Fixed an issue in
InboxTools
for finding the force includable block range when parent is an Arbitrum chain (@brtkx in #475)
New Contributors
Full Changelog: v3.4.1...v3.5.0