delvtech / hyperdrive

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

stUSD Integration #1154

Closed jalextowle closed 3 months ago

jalextowle commented 3 months ago

Description

This PR includes an instance test for the stUSD integration. This is an ERC4626 integration, so no new contracts needed to be added. This also includes the deployment script.

coveralls commented 3 months ago

Pull Request Test Coverage Report for Build 10642220824

Details


Totals Coverage Status
Change from base Build 10639517870: 0.0%
Covered Lines: 2354
Relevant Lines: 2634

💛 - Coveralls
github-actions[bot] commented 3 months ago

Hyperdrive Gas Benchmark

Benchmark suite Current: 199c61377f7e30167fe2ac6564c1c38a486d31fc Previous: bcffe9c41872682b6c033ad1454c9ae562decd0e Deviation Status
addLiquidity: min 33812 gas 33812 gas 0% 🟰
addLiquidity: avg 193334 gas 193066 gas 0.1388% 🚨
addLiquidity: max 474677 gas 474677 gas 0% 🟰
checkpoint: min 40338 gas 40338 gas 0% 🟰
checkpoint: avg 147793 gas 147701 gas 0.0623% 🚨
checkpoint: max 259386 gas 259386 gas 0% 🟰
closeLong: min 31390 gas 31390 gas 0% 🟰
closeLong: avg 130055 gas 129794 gas 0.2011% 🚨
closeLong: max 2539405 gas 2539405 gas 0% 🟰
closeShort: min 31378 gas 31378 gas 0% 🟰
closeShort: avg 124995 gas 124900 gas 0.0761% 🚨
closeShort: max 277300 gas 277300 gas 0% 🟰
initialize: min 31356 gas 31356 gas 0% 🟰
initialize: avg 355873 gas 355925 gas -0.0146% ✅
initialize: max 424766 gas 424766 gas 0% 🟰
openLong: min 33370 gas 33370 gas 0% 🟰
openLong: avg 174195 gas 173397 gas 0.4602% 🚨
openLong: max 339743 gas 339743 gas 0% 🟰
openShort: min 33936 gas 33936 gas 0% 🟰
openShort: avg 172714 gas 172815 gas -0.0584% ✅
openShort: max 415155 gas 414941 gas 0.0516% 🚨
redeemWithdrawalShares: min 31240 gas 31240 gas 0% 🟰
redeemWithdrawalShares: avg 74604 gas 75515 gas -1.2064% ✅
redeemWithdrawalShares: max 311190 gas 311190 gas 0% 🟰
removeLiquidity: min 31246 gas 31246 gas 0% 🟰
removeLiquidity: avg 215712 gas 216267 gas -0.2566% ✅
removeLiquidity: max 403507 gas 403392 gas 0.0285% 🚨

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