status-desktop/ui/app/img/exclamation_outline.svg
emizzle d8b0145eb3 feat: Add Sticker purchase transaction modal
Add gas estimate for sticker pack purchase.

Update transaction for sticker pack purchase.

Add GasValidator component which validates gas is selected correctly and displays an error message if not. This component is not visible until it is not valid (at which point the valdiation error message is displayed).

In a future PR, need to:
1. estimate gas for token txfer (sendTransaction) via a normalised method for estimating gas for EthSend
2. move sticker pack purchase to use an EthSend object so gas can be estimated and tx sent
2020-09-04 16:13:33 -04:00

6 lines
1.0 KiB
XML

<svg width="14" height="14" viewBox="0 0 14 14" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M6.99992 3.16671C7.27606 3.16671 7.49992 3.39057 7.49992 3.66671V8.33337C7.49992 8.60952 7.27606 8.83337 6.99992 8.83337C6.72378 8.83337 6.49992 8.60952 6.49992 8.33337V3.66671C6.49992 3.39057 6.72378 3.16671 6.99992 3.16671Z" fill="#FF2D55"/>
<path d="M6.99992 11.5C7.46016 11.5 7.83325 11.1269 7.83325 10.6667C7.83325 10.2065 7.46016 9.83337 6.99992 9.83337C6.53968 9.83337 6.16659 10.2065 6.16659 10.6667C6.16659 11.1269 6.53968 11.5 6.99992 11.5Z" fill="#FF2D55"/>
<path fill-rule="evenodd" clip-rule="evenodd" d="M0.333252 7.00004C0.333252 10.6819 3.31802 13.6667 6.99992 13.6667C10.6818 13.6667 13.6666 10.6819 13.6666 7.00004C13.6666 3.31814 10.6818 0.333374 6.99992 0.333374C3.31802 0.333374 0.333252 3.31814 0.333252 7.00004ZM1.33325 7.00004C1.33325 10.1297 3.8703 12.6667 6.99992 12.6667C10.1295 12.6667 12.6666 10.1297 12.6666 7.00004C12.6666 3.87043 10.1295 1.33337 6.99992 1.33337C3.8703 1.33337 1.33325 3.87043 1.33325 7.00004Z" fill="#FF2D55"/>
</svg>