delvtech / hyperdrive

An automated market maker for fixed and variable yield with on-demand terms.
Apache License 2.0
33 stars 4 forks source link

Staking USDS Integrations #1182

Closed jalextowle closed 1 month ago

jalextowle commented 1 month ago

Description

This PR adds an integration for staked USDS and tests that validate that the integration works for the Sky rewards vault and the Chronicle rewards vault. Like Corn, this yield source doesn't accrue any interest.

github-actions[bot] commented 1 month ago

Hyperdrive Gas Benchmark

Benchmark suite Current: babf4ec5210d8c075cab38e17c3b447c9abb88cb Previous: e9fa772af7393e36b019c8e57cae4606a7b4c377 Deviation Status
addLiquidity: min 33812 gas 33812 gas 0% 🟰
addLiquidity: avg 192629 gas 193324 gas -0.3595% ✅
addLiquidity: max 474677 gas 474677 gas 0% 🟰
checkpoint: min 40338 gas 40338 gas 0% 🟰
checkpoint: avg 147741 gas 147731 gas 0.0068% 🚨
checkpoint: max 259386 gas 259386 gas 0% 🟰
closeLong: min 31390 gas 31390 gas 0% 🟰
closeLong: avg 129903 gas 129814 gas 0.0686% 🚨
closeLong: max 2539405 gas 2539405 gas 0% 🟰
closeShort: min 31378 gas 31378 gas 0% 🟰
closeShort: avg 124924 gas 125027 gas -0.0824% ✅
closeShort: max 277335 gas 277335 gas 0% 🟰
initialize: min 31356 gas 31356 gas 0% 🟰
initialize: avg 355892 gas 355857 gas 0.0098% 🚨
initialize: max 424801 gas 424801 gas 0% 🟰
openLong: min 33370 gas 33370 gas 0% 🟰
openLong: avg 174001 gas 173752 gas 0.1433% 🚨
openLong: max 339778 gas 339778 gas 0% 🟰
openShort: min 33936 gas 33936 gas 0% 🟰
openShort: avg 172636 gas 172608 gas 0.0162% 🚨
openShort: max 415179 gas 414950 gas 0.0552% 🚨
redeemWithdrawalShares: min 31240 gas 31240 gas 0% 🟰
redeemWithdrawalShares: avg 75070 gas 74408 gas 0.8897% 🚨
redeemWithdrawalShares: max 311225 gas 311225 gas 0% 🟰
removeLiquidity: min 31246 gas 31246 gas 0% 🟰
removeLiquidity: avg 215277 gas 217222 gas -0.8954% ✅
removeLiquidity: max 403683 gas 403683 gas 0% 🟰

This comment was automatically generated by workflow using github-action-benchmark.