Cinnabar Product Release
This post is another entry in our regular series in which we fill you in every week or two on all the front-end updates we’ve made across our dApps and website. Stay tuned for more updates!
Mintr build details now accessible
Now, when you reach the landing page for Mintr, you can access the history of updates and releases, including what’s new with the latest release.
Event listeners for automatic refresh
We have deployed “event listeners” on Mintr, which means that the page now refreshes automatically so there is no need for a ‘Refresh’ button, which is now deprecated. The site now listens for new events to be emitted, both immediately after a function is called (e.g. after minting or burning) and every minute.
Call burnSynthsToTarget to avoid waiting period
When selecting "Fix your c-ratio" in the “Burn” screen, this button now calls the
burnSynthsToTarget function. This is important because there is no waiting period for this function, unlike the
The waiting period requires stakers to wait 3 minutes after burning Synths to combat stakers minting and burning in quick succession to beat the external price feeds being pushed on-chain. With this update, stakers won’t need to wait after simply fixing their C-Ratio .
Added Typescript to Mintr
Having earlier reformatted the Synthetix.Exchange code to Typescript, we are also now using it in Mintr. This change helps ours engineers catch bugs more easily because it won’t compile if there’s a bug, which creates a faster feedback loop.
Deprecated tokens page on Synthetix.io
Unlike the tokens list on our main site, the tokens list on our Developer Docs site is hardcoded to pull accurate information from the relevant smart contracts. We have deprecated that page on the main site and linked straight to the Docs version to ensure the information is always up-to-date.
Thanks for checking out what the front-end team has been accomplishing recently. If you’ve got any front-end requests or feedback to this series, please come join the conversation in Discord.