sora-xor / sora2-network

SORA is a new economic system aimed at creating a supranational, world economic system with built-in tools for decentralized finance (DeFi). The SORA network implements a new way of parachain architecture on Polkadot and Kusama network, with the capability to bridge external blockchains (like Ethereum) to the Polkadot ecosystem.
Other
50 stars 22 forks source link

Feature/apollo update #1094

Closed DanijelCBS closed 2 weeks ago

DanijelCBS commented 2 weeks ago
Tieumsan commented 2 weeks ago
  • Added loan_to_value parameter in borrow extrinsic to make loan to value flexible not fixed

@DanijelCBS can you help me understand why you want the Loan To Value be flexible please ?

DanijelCBS commented 2 weeks ago
  • Added loan_to_value parameter in borrow extrinsic to make loan to value flexible not fixed

@DanijelCBS can you help me understand why you want the Loan To Value be flexible please ?

The Loan to Value (“LTV”) ratio defines the maximum amount of assets that can be borrowed with a specific collateral. It is expressed as a percentage (e.g., at LTV=75%, for every 1 ETH worth of collateral, borrowers will be able to borrow 0.75 ETH worth of the corresponding currency.

Each pool has a predefined loan-to-value (LTV) ratio, which currently restricts users to borrowing based solely on this fixed ratio. This approach presents drawbacks since the predefined LTV represents the maximum allowable for the pool, potentially resulting in a lower health factor and increased liquidation risk. Instead, the defined LTV should serve as a ceiling, allowing users flexibility to choose their preferred LTV. Opting for a lower LTV would result in reduced borrowing but also lower liquidation risk and a higher health factor.

DanijelCBS commented 2 weeks ago
  • Added loan_to_value parameter in borrow extrinsic to make loan to value flexible not fixed

@DanijelCBS can you help me understand why you want the Loan To Value be flexible please ?

The Loan to Value (“LTV”) ratio defines the maximum amount of assets that can be borrowed with a specific collateral. It is expressed as a percentage (e.g., at LTV=75%, for every 1 ETH worth of collateral, borrowers will be able to borrow 0.75 ETH worth of the corresponding currency.

Each pool has a predefined loan-to-value (LTV) ratio, which currently restricts users to borrowing based solely on this fixed ratio. This approach presents drawbacks since the predefined LTV represents the maximum allowable for the pool, potentially resulting in a lower health factor and increased liquidation risk. Instead, the defined LTV should serve as a ceiling, allowing users flexibility to choose their preferred LTV. Opting for a lower LTV would result in reduced borrowing but also lower liquidation risk and a higher health factor.

At the moment when user borrows it is always the riskiest borrow because LTV is fixed to the max LTV for the pool.

Tieumsan commented 2 weeks ago

@DanijelCBS that's clear, thanks