Equilibrium’s Smart Contracts: Some Updates For New Functionality

Equilibrium
Aug 16, 2019 · 2 min read

The smart contracts that drive the Equilibrium framework have been updated to provide users with new exciting features and opportunities. Here’s what you need to know.

Our rates contract has been updated for price feed redundancy.

We are in the process of becoming a dApps service provider (DSP) with the help of our partner dApp network, LiquidApps.

In preparation for price feed redundancy, we’ve refactored our rates table to include rates from multiple sources. We’ve also added support for different currencies, so users can go beyond USD for their rate calculations. Our queries table now shows the source of each quote, and we may add new sources there if we continue to diversify.

Our next steps on this front include implementing an on-chain rates medianizer in cases when one or several data sources become unavailable or outdated.

We’ve added on-chain margin call logic.

This not only speeds up the margin call process, but it allows for further reduction of the collateralization requirements and liquidation penalty at the same time. Our eosdtcntract has a new table called “ltvratios” that updates on every action — it contains the current collateralization ratios for all system positions sorted in ascending order.

A new on-chain margin call function checks the top position in this table on every action, automatically liquidating it when its collateralization falls below the critical level. This feature will significantly reduce the burden for arbitrators.

More explanations on how to use this new functionality for your daily trading are coming soon!

There you have it — the latest updates to the software that enables this entire system. EOSDT continues to make strides in its mission to be the first decentralized stablecoin that makes locked assets productive.

Follow Equilibrium

Website | Twitter | Reddit | Telegram

Equilibrium

Cross-chain Money Market

Medium is an open platform where 170 million readers come to find insightful and dynamic thinking. Here, expert and undiscovered voices alike dive into the heart of any topic and bring new ideas to the surface. Learn more

Follow the writers, publications, and topics that matter to you, and you’ll see them on your homepage and in your inbox. Explore

If you have a story to tell, knowledge to share, or a perspective to offer — welcome home. It’s easy and free to post your thinking on any topic. Write on Medium

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store