Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Lens contract to Optimism #171

Merged
merged 83 commits into from
Dec 6, 2024
Merged

Add Lens contract to Optimism #171

merged 83 commits into from
Dec 6, 2024

Conversation

maxweng
Copy link
Member

@maxweng maxweng commented Dec 8, 2023

No description provided.

twygod and others added 29 commits September 6, 2022 21:15
…t-test-for-all-assetmanager-and

# Conflicts:
#	deploy/config/index.ts
…all-assetmanager-and

Integration tests for AssetManager and adapters
…n-through-slither

# Conflicts:
#	test/integration/aaveV3Adapter.ts
…-opgoe-members-table-new' into develop

* feature/uni-1316-data-columns-missing-from-optimism-and-opgoe-members-table-new: (287 commits)
  new: add unionLens test.
  feat: added getBorrowerAddresses and getStakerAddresses functions
  chg: new op-goerli lens address
  feat: added new "getVouchInfo" function to union lens
  chg: add Optimism addresses
  chg: add opConnector deployment
  new: optimism deployment addresses
  chg: update optimism configs
  chg: uToken and adapters configs
  chg: update Comptroller's halfDecayPoint
  chg: update DAI address
  chg: add admin and pause guardian addresses
  chg: maxOverdue from 30 days to 60
  fix: test error.
  fix: failed tests
  chg: remove repayInterestWithPermit()
  fix: Member repays debt test error.
  new: add repayBorrowWithERC20Permit test.
  fix: slither filter
  new: deploy lens contract.
  ...

# Conflicts:
#	.gas-snapshot
#	.github/workflows/ci_pr.yml
#	contracts/asset/AssetManager.sol
#	contracts/asset/PureTokenAdapter.sol
#	contracts/market/UToken.sol
#	contracts/token/Comptroller.sol
#	deploy/config/mainnet.ts
#	package.json
#	slither.config.json
#	test/foundry/PureTokeAdapter.t.sol
#	test/integration/aaveV3Adapter.ts
Copy link

openzeppelin-code bot commented Dec 8, 2023

Add Lens contract to Optimism

Generated at commit: e9b293d8254021901a4a299ed00a5e6a2dc171a8

🚨 Report Summary

Severity Level Results
Contracts Critical
High
Medium
Low
Note
Total
1
1
0
7
33
42
Dependencies Critical
High
Medium
Low
Note
Total
0
0
0
0
0
0

For more details view the full report in OpenZeppelin Code Inspector

maxweng and others added 27 commits July 1, 2024 20:33
…sepolia-testnet' into finding/uni-1992-repaying-a-loan-with-permit-in-uerc20sol-wrongly-calculates

# Conflicts:
#	contracts/market/UToken.sol
#	slither.db.json
…loan-with-permit-in-uerc20sol-wrongly-calculates

Minimum borrow amount can be surpassed
(cherry picked from commit 7c119a0)
(cherry picked from commit 42da009)
(cherry picked from commit 75bc675)
…inding/uni-1989-wrong-calculation-of-accure-reward-in-comptrollersol

# Conflicts:
#	slither.db.json
…lation-of-accure-reward-in-comptrollersol

Wrong calculation of Accure Reward in Comptroller
…ase-sepolia-testnet

Deploy to Base and support USDC
Copy link

codecov bot commented Dec 6, 2024

Codecov Report

Attention: Patch coverage is 91.11969% with 23 lines in your changes missing coverage. Please review.

Project coverage is 87.99%. Comparing base (0ad0ecf) to head (e9b293d).
Report is 83 commits behind head on master.

Files with missing lines Patch % Lines
contracts/UnionLens.sol 61.53% 10 Missing ⚠️
contracts/market/UToken.sol 91.48% 8 Missing ⚠️
contracts/token/OpUNION.sol 0.00% 3 Missing ⚠️
contracts/user/UserManager.sol 98.11% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #171      +/-   ##
==========================================
+ Coverage   84.03%   87.99%   +3.95%     
==========================================
  Files          20       21       +1     
  Lines         952     1274     +322     
  Branches      191      179      -12     
==========================================
+ Hits          800     1121     +321     
- Misses         83      152      +69     
+ Partials       69        1      -68     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@maxweng maxweng merged commit e9b293d into master Dec 6, 2024
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants