Commit Graph

40 Commits (139a67fca40026ca0cafb585dc2d7029b5aec982)

Author SHA1 Message Date
Matthew Epps 8e6a0ff879
Send all swaps requests to api2, remove useNewSwapsApi boolean (#12792) 3 years ago
Daniel 61e0526d58 Fix "BigNumber Error: times() number type has more than 15 significant digits:" (#12802) 3 years ago
Daniel bf06025615
Fix "BigNumber Error: times() number type has more than 15 significant digits:" (#12802) 3 years ago
Alex Donesky e93b3b97d6 fix issue where contractExchangeRates are not available in swaps controller, make token address matching case insensitive (#12770) 3 years ago
Alex Donesky 6838a3d074
fix issue where contractExchangeRates are not available in swaps controller, make token address matching case insensitive (#12770) 3 years ago
白宦成 4ef7162656
fix typo (#12672) 3 years ago
Daniel 429025380c Fix parallel calls for quotes in swaps (#12484) 3 years ago
Daniel e85248aaf5
Fix parallel calls for quotes in swaps (#12484) 3 years ago
Matthew Epps 6526a423af Fix weth->eth direct wrapping allowance issue (#12405) 3 years ago
Matthew Epps 7b34c7263d
Fix weth->eth direct wrapping allowance issue (#12405) 3 years ago
Daniel 47dbb22024 Fix form prefilling in Swaps on the Build Quote page (#12244) 3 years ago
Daniel acce73c943
Fix form prefilling in Swaps on the Build Quote page (#12244) 3 years ago
Alex Donesky 9d968bae1e
Hook up shared TokenRatesController (#12066) 3 years ago
Daniel 28fc2d471f
Quotes prefetching in Swaps (#11915) 3 years ago
Dan J Miller 738d2722c5 Fixes updates on the confirm screen. (#11788) 3 years ago
Dan J Miller bfde5a1d77
Fixes updates on the confirm screen. (#11788) 3 years ago
Daniel 714170c7b8
EIP-1559 and Rinkeby Testnet support in Swaps (#11635) 3 years ago
Dan J Miller 62729c94a1 Retrieve state after async action before updating state in _setSwapsQuoteRefreshTime (#11538) 3 years ago
Dan J Miller ee925d0186
Retrieve state after async action before updating state in _setSwapsQuoteRefreshTime (#11538) 3 years ago
Daniel 54a6588628 Swaps: Add conditional routing to new APIs based on a feature flag (#11470) 3 years ago
Daniel d438439661
Swaps: Add conditional routing to new APIs based on a feature flag (#11470) 3 years ago
Brad Decker da9fb4636b
move conversion utils to shared folder (#11451) 3 years ago
ryanml 2bfc3a093f
Using values from shared/constants/time to represent timing values (#11241) 4 years ago
Brad Decker 29742b9519 remove the ui/app and ui/lib folders (#10911) 4 years ago
MetaMask Bot 333206ccb1
Version v9.5.0 RC (#10944) 4 years ago
Brad Decker 09d81ac5f2
remove the ui/app and ui/lib folders (#10911) 4 years ago
Daniel e7d7d24d83
Reduce calls of the `/featureFlag` API (#10859) 4 years ago
MetaMask Bot 14b5c389ed
Version v9.3.0 RC (#10739) 4 years ago
Dan J Miller 2dadf4374a
Use network specific swaps contract address when checking swap contract token approval (#10774) 4 years ago
Dan J Miller 480512d14f
Swaps support for local testnet (#10658) 4 years ago
Dan J Miller 153bbc6053
Move swaps constants to the shared constants directory (#10614) 4 years ago
Dan J Miller c86ceacfd9
Standard reference to ETH_SWAPS_TOKEN_ADDRESS via ETH_SWAPS_TOKEN_OBJECT.address (#10613) 4 years ago
Brad Decker 19fa2f5962
cancel unapproved confirmations on network change (#10357) 4 years ago
Erik Marks 76a2a9bb8b
@metamask/eslint config@5.0.0 (#10358) 4 years ago
Erik Marks e05be40d92
@metamask/obs-store@5.0.0 (#10092) 4 years ago
David Walsh c4aa0b3c9a Fetch swap quote refresh time from API (#10069) 4 years ago
David Walsh 88525ec392
Fetch swap quote refresh time from API (#10069) 4 years ago
Dan J Miller c044b6f2b4
Alternative savings fix (#9675) 4 years ago
Brad Decker 2ebf8756a4
[RFC] add prettier to eslint (#8595) 4 years ago
Mark Stacey 4086f7b4d6
Fix error when `fetchParams` is null (#9757) 4 years ago
Mark Stacey 1294955d81
Fix swaps when initial network not Mainnet (#9745) 4 years ago
Mark Stacey 3bbc1d1fa4
Fix fetching of swap quotes when initial network was testnet (#9726) 4 years ago
David Walsh 5c1c9c8f16 Fix 9632 - Prevent old fetches from polluting the swap state 4 years ago
Erik Marks 7de7e7d8c2
Add swaps savings calculation (#9611) 4 years ago
Dan J Miller 33b755fa66
Update #2 to the MetaSwap contract address (#9557) 4 years ago
Erik Marks d35db87447
Simplify _findTopQuoteAggId call in fetchAndSetQuotes (#9542) 4 years ago
Dan J Miller 5fd4657588
Stop calling _findTopQuoteAggId twice in _findTopQuoteAggId (#9530) 4 years ago
Dan J Miller 549140f6f5
Remove max mode for eth feature from swaps (#9531) 4 years ago
Dan J Miller 392f9eafc2
Stop passing a gas param to the estimateGas call initiated in the swaps controller (#9501) 4 years ago
Mark Stacey e8774f615d
Fix unbound function in swaps controller (#9496) 4 years ago