sky-lending: OP + Unichain savings, staking engine borrow side, fixed-rate market#2791
sky-lending: OP + Unichain savings, staking engine borrow side, fixed-rate market#2791techsqrt wants to merge 7 commits into
Conversation
- New pool: SKY staking engine rewards farm 0xB44c2Fb4181D7cb06BdFf34a46FdFE4A259b40Fc (StakingRewards; staked token lsSKY is the engine's 1:1 SKY wrapper, priced via SKY). - farmsAPY generalized: per-farm stake token/symbol/poolMeta/url instead of hardcoded USDS. - sUSDS pools get per-pool urls to the savings widget (ethereum / arbitrumone), replacing the project-level homepage fallback.
- USDS->SPK farm 0x173e314C7635B45322cd8Cb14f44b312e079F3af listed under
sky-lending with the ${address}-${chain} pool id form, alongside the
bare-address row the sparklend adapter owns - mirroring how
spark-savings lists this adapter's sUSDS pools on Arbitrum/Base with
suffixed ids.
- sUSDS on Base (0x5875eEE1...) added to the savings configs (bare
pool id; spark-savings holds the suffixed one).
An active farm with zero staked balance would divide by zero and emit apyReward Infinity; return 0 instead.
|
Warning Review limit reached
Next review available in: 11 minutes Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
The sky-lending adapter exports pools: Test Suites: 1 passed, 1 total |
|
Added one more pool in the latest commit: the USDS Chronicle Points farm ($15.4M staked, same StakingRewards pattern). Its rewards are off-chain points — the contract's |
|
The sky-lending adapter exports pools: Test Suites: 1 passed, 1 total |
Three additions to the sky-lending adapter, one commit:
LSEV2-SKY-Ailk. Standard MCD reads (jug duty → 8.25% stability fee, vat → $156M borrowed / $181M ceiling, spot → 0.833 max LTV), reusing the jug/vat/spot ABIs already in this adapter. Fields added onto the existing staking engine row.<pt-address>-ethereumto avoid the pendle adapter's bare-address ids; row is skipped after expiry.Stacked on #2789 (→ #2782 → #2781); only the last commit (7a8c58e-range head) is new here.
Suite run from repo root: 270/270 passed, 25 pools (verified all rows via direct apy() run).