Synthetixio / synthetix-mintr

Synthetix's Mintr v2.0: Lock up SNX to mint sUSD, claim weekly SNX and sUSD rewards for staking in the system..
https://mintr.synthetix.io/
74 stars 70 forks source link

feat: add etherscan link to all events #378

Closed evgenyboxer closed 3 years ago

evgenyboxer commented 3 years ago

Jordan requested that we link out in even when the tx is pending, etc. I've used the "all" events to add the link to all (hash) events.

Also, I've made a little refactor to use the link reusable between the two functions.

vercel[bot] commented 3 years ago

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployment, click below or on the icon next to each commit.

🔍 Inspect: https://vercel.com/synthetixio/synthetix-mintr/4vj31wq2p
✅ Preview: https://synthetix-mintr-git-feat-bnc-notify-add-link-all.synthetixio.vercel.app