Skip to content

Releases: OffchainLabs/arbitrum-sdk

v4.0.2

05 Nov 23:21
b8d7b71
Compare
Choose a tag to compare

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

05 Nov 22:50
1a9ba31
Compare
Choose a tag to compare

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

02 Aug 10:26
fd66cee
Compare
Choose a tag to compare

What's Changed

  • Added isTestnet property to ArbitrumNetwork (@brtkx in #522)
    • If you have defined custom networks of your own, you'll have to add this property to them

Full Changelog: v4.0.0...v4.0.1

v4.0.0

18 Jul 13:24
6357832
Compare
Choose a tag to compare

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

10 Jul 11:25
60e61d2
Compare
Choose a tag to compare

What's Changed

  • Added support for L1 to L3 bridging, see EthL1L3Bridger and Erc20L1L3Bridger (@godzillaba in #409)
  • Removed support for Stylus Testnet v2 (@spsjvc in #510)

Full Changelog: v3.6.0...v3.7.0

v3.6.0

26 Jun 16:46
a125bed
Compare
Choose a tag to compare

What's Changed

Full Changelog: v3.5.1...v3.6.0

v3.5.1

17 Jun 09:42
e4361d2
Compare
Choose a tag to compare

What's Changed

  • Updated Erc20Bridger.isRegistered to skip token registration check for the standard gateway (@brtkx in #491)

Full Changelog: v3.5.0...v3.5.1

v3.5.0

14 Jun 09:44
635e832
Compare
Choose a tag to compare

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

v3.4.1

08 May 16:20
f6e7416
Compare
Choose a tag to compare

What's Changed

  • Added support for Stylus Testnet v2 (@spsjvc in #467)

Full Changelog: v3.4.0...v3.4.1

v3.4.0

30 Apr 17:21
869e8fe
Compare
Choose a tag to compare

What's Changed

  • Updated EthBridger.depositTo to a standard deposit where funds will arrive when the retryable ticket is redemed (@brtkx in #432)

Full Changelog: v3.3.3...v3.4.0