Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.83 KB

README.md

File metadata and controls

39 lines (27 loc) · 1.83 KB

@sovryn-zero/sdk-contracts

GitHub license GitHub stars Zero README

SDK contract (Library) consisting of utilities for the Sovryn Zero Protocol

Quickstart

Installation:

npm install @sovryn-zero/contracts @sovryn-zero/sdk-contracts

To install early access releases (pre-releases) - specify a version:

npm install @sovryn-zero/sdk-contracts@1.0.0-early.access.0

The actual early access release version is here.

Project Description

Sovryn Zero Solidity Contracts SDK is a set of solidity libraries that users can import and use in their contracts.

Overview

All contracts are libraries, each containing set of functionalities related to utilities of the Sovryn Zero ecosystem.

The library cover several major utilities such as:

  1. BorrowerLib.sol - Borrower operations (Opening, Adjusting line of credit)
  2. LiquidationLib.sol - Liquidation & Redemption operations.
  3. StabilityPoolLib.sol - Pool Stability operations.
  4. TroveStatiscticsLib.sol - View function related to the troves (get nominal collateral ratio, borrowing fee calculation, get borrower's debt of the troves).

Zero Contracts Addresses

Demo

TestIntegration.sol provides a sample integration