1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/pages/swaps
Dan J Miller dc5edb5431
Fix calculation and display of eth received amounts in swaps (#9546)
* Update txMeta after postTxBalance has been retrieved

* Use gas used from txReceipt to calculate eth received

* Return null from getSwapsTokensReceivedFromTxMeta in tokenSymbol is ETH and txReceipt is missing

* Get latest txMeta before updating it with postTxBalance in case of a swaps tx in confirmTransaction

* Lint fix
2020-10-12 07:52:51 -02:30
..
actionable-message Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
awaiting-swap Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
build-quote Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps (#9537) 2020-10-09 12:17:56 -07:00
countdown-timer Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
dropdown-input-pair Prevent swaps value input placeholder from jumping when focused (#9520) 2020-10-08 13:38:36 -02:30
dropdown-search-list Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
exchange-rate-display Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
fee-card Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
intro-popup Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps (#9537) 2020-10-09 12:17:56 -07:00
loading-swaps-quotes Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
main-quote-summary format quotes consistently on main-view and list-view (#9495) 2020-10-06 22:07:38 -02:30
searchable-item-list Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
select-quote-popover Add margins between quote list columns (#9528) 2020-10-09 16:12:13 -02:30
slippage-buttons Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
swaps-footer Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
view-quote Add useSwapsEthToken hook and utilize wherever we need the ETH 'token' for swaps (#9537) 2020-10-09 12:17:56 -07:00
index.js Fix swap prop type errors (#9532) 2020-10-09 13:08:01 -02:30
index.scss Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
swaps-util-test-constants.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30
swaps.util.js Fix calculation and display of eth received amounts in swaps (#9546) 2020-10-12 07:52:51 -02:30
swaps.util.test.js Add MetaMask Swaps (#9482) 2020-10-06 15:58:38 -02:30