mars-params

Crates.iomars-params
lib.rsmars-params
version1.0.7
sourcesrc
created_at2023-04-18 09:41:56.669675
updated_at2023-06-20 15:26:53.625997
descriptionContract storing the asset params for Credit Manager and Red Bank.
homepagehttps://marsprotocol.io
repositoryhttps://github.com/mars-protocol/red-bank
max_upload_size
id842335
size95,800
Gabe Rodriguez (grod220)

documentation

https://docs.marsprotocol.io/

README

Mars Params Contract

The Mars Params Contract is published to Crates.io

This contract holds the following values for all the assets in Mars Protocol:

  • Max Loan To Value: Max percentage of collateral that can be borrowed
  • Liquidation Threshold: LTV at which the loan is defined as under collateralized and can be liquidated
  • Liquidation Bonus: Percentage of extra collateral the liquidator gets as a bonus
  • Deposit Enabled: Is the asset able to be deposited into the Red Bank
  • Borrow Enabled: Is the asset able to be borrowed from the Red Bank
  • Deposit Cap: Max amount that can be deposited into the Red Bank
  • Asset Settings: Credit Manager and Red Bank Permission Settings

Note: Credit Manager Vaults only utilize max loan to value, liquidation threshold, and deposit cap parameters, while Red Bank Markets utilize all of the above parameters.

Commit count: 332

cargo fmt