Major Changes
-
18c32ed: Refactor warp route contracts for shallower inheritance tree and smaller bytecode size.
Deprecated
RouterandGasRouterinternal functions have been removed.FungibleTokenRouterhas been removed and functionality lifted intoTokenRouter.quoteTransferRemoteandtransferRemotecan no longer be overridden with optionalhookandhookMetadatafor simplicity.quoteTransferRemotereturns a consistent shape of[nativeMailboxDispatchFee, internalTokenFee, externalTokenFee].HypNativeandHypERC20Collateralinherit fromMovableCollateralandLpCollateralbut other extensions (egHypXERC20) do not. Storage layouts have been preserved to ensure upgrade compatibility. -
dd16e3d: Add LP interface to collateral routers
The
balanceOffunction has been removed fromTokenRouterto remove ambiguity betweenLpCollateralRouter.balanceOf.To migrate, use the new
TokenRouter.token()to get anIERC20orIERC721compliant address that you can callbalanceOfon.
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
metadatafrom return type of internalTokenRouter._transferFromSenderhookTo append
metadatatoTokenMessage, override theTokenRouter._beforeDispatchhook -
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