π¨βπ¬Tech deep dive: Interest Bearing {asset} token
An interest Bearing collateralised, streamable token earning yield via all Strategies involved in the Liquidity Direction Protocol of Alluo.
How is it interest-bearing?
/// @notice Updates the growingRatio
/// @dev If more than the updateTimeLimit has passed, call changeRatio from interestHelper to get correct index
/// Then update the index and set the lastInterestCompound date.
function updateRatio() public whenNotPaused {
if (block.timestamp >= lastInterestCompound + updateTimeLimit) {
growingRatio = changeRatio(
growingRatio,
interestPerSecond,
lastInterestCompound
);
lastInterestCompound = block.timestamp;
}
}Key functionality:
DepositingWithdrawalsIbAlluo on different chainsStIbAlluo and SuperfluidLiquidity Handler and adaptersLast updated