sushi@7.2.0
Minor Changes
-
#495
0b4562eThanks @LufyCZ! - AllowAmountto carry application-defined currency types.BaseCurrencynow supports string or numeric identifiers while continuing to
default toChainId.Amount,Price, andsubtractSlippageaccept the new
AnyCurrencycontract, and amount serialization preserves an external
currency's serialized type. Blockchain-specific APIs and theCurrencytype
remain constrained to executable Sushi chain IDs.Application-defined currencies implement
wrap()like existing currencies and
may return themselves when no wrapped representation is needed.