Skip to content

Commit

Permalink
🧨 Update doc
Browse files Browse the repository at this point in the history
  • Loading branch information
JustynaBroniszewska committed May 14, 2024
1 parent 322cba2 commit a15f092
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions contracts/StabilityPool.sol
Original file line number Diff line number Diff line change
Expand Up @@ -122,19 +122,6 @@ import "./Interfaces/IVesselManager.sol";
* Please see the implementation spec in the proof document, which closely follows on from the compounded deposit / Collateral amount gain derivations:
* https://github.com/liquity/liquity/blob/master/papers/Scalable_Reward_Distribution_with_Compounding_Stakes.pdf
*
*
* --- Trinity ISSUANCE TO STABILITY POOL DEPOSITORS ---
*
* An Trinity issuance event occurs at every deposit operation, and every liquidation.
*
* All deposits earn a share of the issued Trinity in proportion to the deposit as a share of total deposits.
*
* Please see the system Readme for an overview:
* https://github.com/liquity/dev/blob/main/README.md#lqty-issuance-to-stability-providers
*
* We use the same mathematical product-sum approach to track Trinity gains for depositors, where 'G' is the sum corresponding to Trinity gains.
* The product P (and snapshot P_t) is re-used, as the ratio P/P_t tracks a deposit's depletion due to liquidations.
*
*/
contract StabilityPool is ReentrancyGuardUpgradeable, UUPSUpgradeable, TrinityBase, IStabilityPool {
using SafeERC20Upgradeable for IERC20Upgradeable;
Expand Down

0 comments on commit a15f092

Please sign in to comment.