StabilityPool
function provideToSP(uint256 _amount) external
Deposits debt tokens into the pool, accrues rewards, and updates snapshots.
function withdrawFromSP(uint256 _amount) external
Withdraws debt tokens from the pool, claims rewards, and updates snapshots.
function claimCollateralGains(
address recipient,
uint256[] calldata collateralIndexes
) public
Claims collateral gains for specified tokens and sends them to the recipient.
Returns the pending Bit rewards for a depositor.
Returns:
Returns the total debt tokens deposited in the pool.
Returns:
Returns the collateral gains earned by a depositor.
Returns:
Returns the pending Bit rewards for a depositor.
Returns:
Calculates a depositor’s compounded debt deposit after rewards.
Returns:
Last updated