delvtech / hyperdrive

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

add MockEzEthPool.sol #1015

Closed sentilesdal closed 5 months ago

sentilesdal commented 5 months ago

Resolved Issues

No Issue

Description

Adds a MockEzEthPool to be used on testnet. It's uses Lido mechanics where it can, and Oracle functions are filled in where necessary.

Review Checklists

Please check each item before approving the pull request. While going through the checklist, it is recommended to leave comments on items that are referenced in the checklist to make sure that they are reviewed. If there are multiple reviewers, copy the checklists into sections titled ## [Reviewer Name]. If the PR doesn't touch Solidity and/or Rust, the corresponding checklist can be removed.

[[Reviewer Name]]

coveralls commented 5 months ago

Pull Request Test Coverage Report for Build 8940744698

Details


Totals Coverage Status
Change from base Build 8933353219: 0.0%
Covered Lines: 1833
Relevant Lines: 1966

šŸ’› - Coveralls
github-actions[bot] commented 5 months ago

Hyperdrive Gas Benchmark

Benchmark suite Current: 35a7fa35d92248cfe5e671cdc15a5ad2e1cd49da Previous: fee327731672c92ce71cc350a996016a30c5a617 Deviation Status
addLiquidity: min 33827 gas 33827 gas 0% šŸŸ°
addLiquidity: avg 156376 gas 156220 gas 0.0999% šŸšØ
addLiquidity: max 428439 gas 428439 gas 0% šŸŸ°
checkpoint: min 40270 gas 40270 gas 0% šŸŸ°
checkpoint: avg 142288 gas 142275 gas 0.0091% šŸšØ
checkpoint: max 253402 gas 253402 gas 0% šŸŸ°
closeLong: min 31361 gas 31361 gas 0% šŸŸ°
closeLong: avg 135250 gas 135375 gas -0.0923% āœ…
closeLong: max 2625774 gas 2625774 gas 0% šŸŸ°
closeShort: min 31349 gas 31349 gas 0% šŸŸ°
closeShort: avg 131707 gas 131559 gas 0.1125% šŸšØ
closeShort: max 402038 gas 401793 gas 0.0610% šŸšØ
initialize: min 31371 gas 31371 gas 0% šŸŸ°
initialize: avg 330356 gas 330281 gas 0.0227% šŸšØ
initialize: max 396281 gas 396281 gas 0% šŸŸ°
openLong: min 33370 gas 33370 gas 0% šŸŸ°
openLong: avg 173538 gas 173566 gas -0.0161% āœ…
openLong: max 306679 gas 306679 gas 0% šŸŸ°
openShort: min 33936 gas 33936 gas 0% šŸŸ°
openShort: avg 168009 gas 167896 gas 0.0673% šŸšØ
openShort: max 415379 gas 414945 gas 0.1046% šŸšØ
redeemWithdrawalShares: min 31251 gas 31251 gas 0% šŸŸ°
redeemWithdrawalShares: avg 74746 gas 74650 gas 0.1286% šŸšØ
redeemWithdrawalShares: max 209762 gas 209762 gas 0% šŸŸ°
removeLiquidity: min 31301 gas 31301 gas 0% šŸŸ°
removeLiquidity: avg 209194 gas 208656 gas 0.2578% šŸšØ
removeLiquidity: max 403574 gas 403574 gas 0% šŸŸ°

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