Commit Graph

167 Commits (d8993883b7f50d17450319498cc6227ddd569398)

Author SHA1 Message Date
Dan J Miller d0df03b89a
Cancel transaction when swaps submission is failed because the simulation fails (#10288) 4 years ago
Dan J Miller 7f1f68399a
Do not publish swaps transaction if the estimateGas call made when adding the tx fails. (#9947) 4 years ago
Dan J Miller b1fc4addfd
Reset swaps routeState in navigateBackToBuildQuote (#10166) 4 years ago
Erik Marks 7077ee68dc
Add NETWORK_TYPE_RPC constant (#10203) 4 years ago
Erik Marks 7159dd6867
Fetch with a timeout everywhere (#10101) 4 years ago
Brad Decker b5fc1f9314
improve handling of last selected provider (#10093) 4 years ago
Dan J Miller 2957906101
Ensure that gas for swap tx submitted at same time as approval is in hex (#10135) 4 years ago
David Walsh c4aa0b3c9a Fetch swap quote refresh time from API (#10069) 4 years ago
David Walsh b801ccdb35 Fix 9874 - Improve gas maximum estimation (#10043) 4 years ago
David Walsh 88525ec392
Fetch swap quote refresh time from API (#10069) 4 years ago
David Walsh 1b19f5e7ad
Fix 9874 - Improve gas maximum estimation (#10043) 4 years ago
Erik Marks 54e9c53b27
Add web3 shim usage notification (#10039) 4 years ago
David Walsh 374dc0ffd8 Fix 9906 - Prevent unwanted 'no quotes available' message when going back to build quote screen while having insufficient funds (#9994) 4 years ago
David Walsh 5fd6d1a8a6
Fix 9906 - Prevent unwanted 'no quotes available' message when going back to build quote screen while having insufficient funds (#9994) 4 years ago
Mark Stacey cce690c3d8
Remove unused state from Redux `gas` slice (#9975) 4 years ago
David Walsh 42fd8b0ff0
Use strict equality in unit tests (#9966) 4 years ago
Dan J Miller 97d268c8ee
Remove use of ethgasstation; use metaswap /gasPrices api for gas price estimates (#9867) 4 years ago
Brad Decker 0653a489b0
add new MetaMetricsController (#9857) 4 years ago
David Walsh bf65c979d2
Use async storage instead of localstorage (#9919) 4 years ago
Dan J Miller 9849a9cf82
Fixes related to swaps custom gas limit (#9858) 4 years ago
Dan J Miller bcd5f2a7c1
Fix gas_fees properties collected for swaps analytics events (#9727) 4 years ago
Dan J Miller d094d2c227
Track total, performance and fee savings (and median metamask fee data) in metrics (#9833) 4 years ago
Brad Decker a49a4a066c
expand transaction constants coverage (#9790) 4 years ago
Patryk Łucka ee205b893f
Create custom addHexPrefix function (#9306) 4 years ago
David Walsh cce269b632 Lint 4 years ago
David Walsh 8a3dabb230 Use optional chaining for functions 4 years ago
Dan J Miller a0d7c71011
Switch gas price estimation in swaps to metaswap-api /gasPrices (#9599) 4 years ago
Brad Decker 026a06b39d
add shared transaction constants (#9459) 4 years ago
Brad Decker 2ebf8756a4
[RFC] add prettier to eslint (#8595) 4 years ago
Dan J Miller 557f9550d7
Use better value for average savings analytics (#9733) 4 years ago
Mark Stacey d6d02053ff
Log when attempt to fetch quotes fails (#9723) 4 years ago
David Walsh 5c1c9c8f16 Fix 9632 - Prevent old fetches from polluting the swap state 4 years ago
Dan J Miller 5cc40bff41
Gas metrics tweaks for swaps failed and completed events (#9676) 4 years ago
Dan J Miller 07c03e362e
Get swaps fee from api (#9677) 4 years ago
Dan J Miller 2c9a082af9
Add average_savings event to analytics (#9622) 4 years ago
Dan J Miller af018a2d74
Clear all gas slice state on entering and leaving swaps (#9609) 4 years ago
Dan J Miller 00c8609f95
Add data point to 'Swaps Completed' segment event: estimated vs used gas (#9571) 4 years ago
Dan J Miller f3bd717184
Account for approval gas costs in eth received (#9559) 4 years ago
Dan J Miller 0e37904692
Add useFastestButtons options to gas-customization modal and utilize it in swaps. (#9548) 4 years ago
Dan J Miller 436b01387c
Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps (#9537) 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
Dan J Miller 30d13422b5
Add MetaMask Swaps (#9482) 4 years ago
Erik Marks 088d4c34f1
Merge pull request from GHSA-c2xw-px2x-pr65 4 years ago
Erik Marks 3aaa41ef44
Replace abi-decoder with ethers (#9290) 4 years ago
Whymarrh Whitby b6ccd22d6c
Update ESLint shared config to v3 (#9274) 4 years ago
Whymarrh Whitby 6ab12001e3
Fix prefer-destructuring issues (#9263) 4 years ago
Whymarrh Whitby c1e3c229bc
Fix import/order issues (#9239) 4 years ago
Whymarrh Whitby 4357cda7b8
Fix no-shadow issues (#9246) 4 years ago
Whymarrh Whitby e803807dd9
Fix no-param-reassign issues (#9235) 4 years ago