github hyperlane-xyz/hyperlane-monorepo @hyperlane-xyz/core@10.0.0

Major Changes

  • 18c32ed: Refactor warp route contracts for shallower inheritance tree and smaller bytecode size.

    Deprecated Router and GasRouter internal functions have been removed.

    FungibleTokenRouter has been removed and functionality lifted into TokenRouter.

    quoteTransferRemote and transferRemote can no longer be overridden with optional hook and hookMetadata for simplicity.

    quoteTransferRemote returns a consistent shape of [nativeMailboxDispatchFee, internalTokenFee, externalTokenFee].

    HypNative and HypERC20Collateral inherit from MovableCollateral and LpCollateral but other extensions (eg HypXERC20) do not. Storage layouts have been preserved to ensure upgrade compatibility.

  • dd16e3d: Add LP interface to collateral routers

    The balanceOf function has been removed from TokenRouter to remove ambiguity between LpCollateralRouter.balanceOf.

    To migrate, use the new TokenRouter.token() to get an IERC20 or IERC721 compliant address that you can call balanceOf on.

Minor Changes

  • 5b17b0f: Add Everclear bridges for ETH and ERC20 tokens.

  • 2c65067: Implement support for CCTP v2 fast transfers

  • 7997516: Extend CCTP TokenBridge with GMP support via hook

  • e0c69e2: Implement token fees on FungibleTokenRouter

    Removes metadata from return type of internal TokenRouter._transferFromSender hook

    To append metadata to TokenMessage, override the TokenRouter._beforeDispatch hook

  • 737ea2b: feat: emit event on protocol fee payment

  • e0c69e2: Adds fees to FungibleTokenRouter

Patch Changes

  • 7a41068: Fix CCTP v2 transferRemote amount
  • 205bcae: Rebalancer covers all fees associated with rebalancing
  • f8da8cd: Remove ValueTransferBridge and use ITokenBridge. ValueTransferBridge is a deprecated name for the interface.
  • 1d46a82: Remove majority of virtual override functions
  • 826e837: Fix TokenBridgeCCTP.verify burn message sender enforcement
  • f930794: Update Yield Routes (HypERC4626OwnerCollateral and HypERC4626Collateral) to use safeApprove
  • 9a43cdc: Remove absolute imports. Fixes compilation for users who import from files under solidity/contracts.
  • Updated dependencies [419e169]
    • @hyperlane-xyz/utils@19.6.0

Don't miss a new hyperlane-monorepo release

NewReleases is sending notifications on new releases.