Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Swaps: Gas fee range to use for native asset maxSwappableAmount buffer (
#5881) * wip * fix gesture button states * Safemath pt 2 (#5778) * add more fns * accept string or number * update errors * fix dynamic island overlap on recieve modal (#5672) * . * oop * oop * okay ty ben * change background opacity to 1 * . * oop * . * Gas optimizations (#5779) * perf * ✨ * useWhyDidYouUpdate * EstimatedSwapGasFee * keepPreviousData * AnimatedText * isSameAddress * fix other networks section (#5784) * Swaps: fix favorite button press (#5782) * fix * android fix * todo * remove console logs * Insufficient Funds * remove todo * move cache getter closer to fetcher implentation * fix * :) * 🍕 * or equal 🤌 * remove unused isSameAddress util * just reordering declarations * error i18n * useGasSharedValues * remove estimating * fix label flickering * fix review panel not prompting * Revert "Lint on pre-commit (#5836)" This reverts commit d56ed46. * fix a bunch of shit * fix? * opacity * on review panel we should show fetching status and quote errors too * remove error * useUserNativeNetworkAsset * less or equal * gas fee range * fixes * Fixes for review button states (#5873) * Fixes APP-1601: adds missing useThreshold for gas fee showing $0.00 * Tweak confirm button prop labels logic and ordering * Prep work: remove reliance of asset balance display in valueBasedDecimalFormatter * niceIncrementerFormatter returns asset balance if max swap * Update formattedInputValue Instead of using the niceIncrementFormatter for formatting slider-based values: for max: use the valueBasedDecimalFormatter on the input value which has already been set to maxSwappableAmount for everything else: add commas to the input value as it has already been formatted using the niceIncrementFormatter * merge * weird issues * fixes * fix out of sync issue * update input amount + quote when maxSwappableAmount changes * fix input formatting logic * fix wei conversion --------- Co-authored-by: gregs <[email protected]> Co-authored-by: Matthew Wall <[email protected]> Co-authored-by: Bruno Barbieri <[email protected]> Co-authored-by: brdy <[email protected]> Co-authored-by: Jin <[email protected]>
- Loading branch information