- Don’t call /estimateGas if a user doesn’t have enough funds
- Hardcode block explorer URLs for Swaps
- Track the "stx_prev_user_opt_in" param
- Add fee estimates tracking for regular txs and STX
- Track estimated_gas and estimated_vs_used_gasRatio for STX
- Only track the "Error Smart Transactions" event once
- Don't overwrite "maxGasLimit" for STX on the View Quote page for better "balance needed" estimations
- Update description for Transak
- Fix styles for the input field on the Build Quote page
- Refactor variables for STX error types and add translation for each STX error type
- Do additional logging for the "current_stx_enabled" param
- Add a close icon for an STX notification, update STX content
"description":"$1 represents the cypto symbol to be purchased"
"description":"$1 represents the cypto symbol to be purchased"
},
},
"buyCryptoWithMoonPayDescription":{
"buyCryptoWithMoonPayDescription":{
"message":"MoonPay supports popular payment methods, including Visa, Mastercard, Apple / Google / Samsung Pay, and bank transfers in 146+ countries. Tokens deposit into your MetaMask account."
"message":"MoonPay supports popular payment methods, including Visa, Mastercard, Apple / Google / Samsung Pay, and bank transfers in 145+ countries. Tokens deposit into your MetaMask account."
},
},
"buyCryptoWithTransak":{
"buyCryptoWithTransak":{
"message":"Buy $1 with Transak",
"message":"Buy $1 with Transak",
"description":"$1 represents the cypto symbol to be purchased"
"description":"$1 represents the cypto symbol to be purchased"
},
},
"buyCryptoWithTransakDescription":{
"buyCryptoWithTransakDescription":{
"message":"Transak supports debit card and bank transfers (depending on location) in 59+ countries. $1 deposits into your MetaMask account.",
"message":"Transak supports credit & debit cards, Apple Pay, MobiKwik, and bank transfers (depending on location) in 100+ countries. $1 deposits directly into your MetaMask account.",
"description":"$1 represents the cypto symbol to be purchased"
"description":"$1 represents the crypto symbol to be purchased"
},
},
"buyEth":{
"buyEth":{
"message":"Buy ETH"
"message":"Buy ETH"
@ -2857,7 +2857,7 @@
"message":"Slow"
"message":"Slow"
},
},
"smartTransaction":{
"smartTransaction":{
"message":"Smart transaction"
"message":"Smart Transaction"
},
},
"snapAccess":{
"snapAccess":{
"message":"$1 snap has access to:",
"message":"$1 snap has access to:",
@ -3047,6 +3047,12 @@
"stxDescription":{
"stxDescription":{
"message":"MetaMask Swaps just got a whole lot smarter! Enabling Smart Transactions will allow MetaMask to programmatically optimize your Swap to help:"
"message":"MetaMask Swaps just got a whole lot smarter! Enabling Smart Transactions will allow MetaMask to programmatically optimize your Swap to help:"
},
},
"stxErrorNotEnoughFunds":{
"message":"Not enough funds for a smart transaction."
},
"stxErrorUnavailable":{
"message":"Smart Transactions are temporarily unavailable."
},
"stxFailure":{
"stxFailure":{
"message":"Swap failed"
"message":"Swap failed"
},
},
@ -3054,8 +3060,11 @@
"message":"Sudden market changes can cause failures. If the problem persists, please reach out to $1.",
"message":"Sudden market changes can cause failures. If the problem persists, please reach out to $1.",
"description":"This message is shown to a user if their swap fails. The $1 will be replaced by support.metamask.io"
"description":"This message is shown to a user if their swap fails. The $1 will be replaced by support.metamask.io"
},
},
"stxFallbackToNormal":{
"stxFallbackPendingTx":{
"message":"You can still swap using the normal method or wait for cheaper gas fees and less failures with smart transactions."
"message":"Smart Transactions are temporarily unavailable because you have a pending transaction."
},
"stxFallbackUnavailable":{
"message":"You can still swap your tokens even while Smart Transactions are unavailable."