-
Notifications
You must be signed in to change notification settings - Fork 599
Home
See an introduction of the Acala Foundation, the vision of the project, and a high level introduction of the Acala Network here.
token: while the balance module handles the native token on the Acala Network, the token
module supports additional multiple assets on the chain, to manage balance and transfer tokens.
currencies: makes the Acala Network a multi-currency chain by aggregating the srml-balances
and orml-tokens
oracle: is an implementation of DataProvider
, and a common price feeding module, storing incoming price in a key/value map.
prices: provides the price for an asset in chosen base currency; it uses asset prices in USD from DataProvider
auction: is a common auction interface for bidding on an item. How a particular auction is performed and settled is managed by individual implementation of AuctionHandler
The above modules are generic common good utilities that can be used for any projects. They reside in the Open Runtime Library.
honzon: is the proxy module that users will interact with for stablecoin functionalities such as create, update and transfer CDPs
cdp_engine: manages auctions, risks (to enforce stability fees, collateral ratio, debt ceiling, debt to asset ratio etc.), and liquidation
auction_manager: implements AuctionHandler
and handles collateral, surplus and deficit auctions, manages auction parameters such as increment size, and duration etc.
cdp: manages maps of debt positions for accounts and collaterals, updates debt positions by updates aUSD balance via the debit
module, and updates collateral balances
debits: accounts for debt balance for a given collateral when a loan or cdp is created/updated/closed, based on collateral to aUSD exchange rate; it also takes into account of stability fee (or interest rate) and updates the debit exchange ratio every period (e.g. every block)
other modules: primitives
module defines constants such as collateral currencies supported, support
module for defining types
Find more details here