multisender
multisender copied to clipboard
add last failed tx processing
this fix checks last failed tx when user enters token address
so the issue was about to resend any failed tx by querying a tx hash
- Implement a new route to display input box to enter txhash
- verify if txhash is valid and it was sent to multisender contract address
- if it is, ask etherscan.io api for the reason of tx failure if it's out of gas, then
- parse tx input and move user to /3 screen where he can see all tx data like you do from screen 1 to 3
- send a transaction with higher gasLimit then the previous one.
added page /#/checktx enter tx hash, and if it failed, user may push btton "Resend transaction", and it redirects to /#/3 and he can process it and change gas in metamask.
I have done fixes for cleaning ( I forget to commit deleting of debug alerts and other fixes before last PR). I reviewed other classes, and I think that tokenStore and gasPriceStore should be refactored, because many methods violates The Single Responsibility Principle and it was hard to me make additional features and fixes.