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 Gearbox #423

Closed
8 tasks done
apeir99n opened this issue Dec 19, 2024 · 10 comments
Closed
8 tasks done

Add Gearbox #423

apeir99n opened this issue Dec 19, 2024 · 10 comments
Assignees

Comments

@apeir99n
Copy link

Entry type

  • New addition

App info

URL: https://app.gearbox.fi/

Manifest.json URL: https://app.gearbox.fi/manifest.json

Name: Gearbox

Description: Lending reimagined ✨ Building a permissionless credit layer for everyone to enjoy. Access 10x credit across DeFi or earn passive yields

Icon (PNG, 180x180):
gearbox_logo_180

It's minified via https://tinypng.com: yes

Homepage:
Twitter: https://x.com/GearboxProtocol
GitHub: https://github.com/Gearbox-protocol
Discord: https://discord.com/invite/gearbox

App supports batching multiple transactions via Safe: yes

Supported networks

- Mainnet
- Optimism
- Arbitrum

Revision checks

  • Used smart contracts were audited.
  • You have implemented the app using the Safe Apps SDK
  • Your Safe App includes a manifest.json file at the root with the required data
  • The app can be loaded as a custom Safe App in the Apps section of https://app.safe.global.
  • The app auto-connects to the Safe as a wallet
  • It doesn't try to connect to the browser wallet (e.g. MetaMask)
  • You are able to trigger and execute one transaction with a Safe.
  • RPC requests are optimized (not triggering many requests in a very short time period).

Audit document

https://github.com/Gearbox-protocol/security/tree/main/audits

Code for review

https://github.com/Gearbox-protocol/core-v3
https://github.com/Gearbox-protocol/periphery-v3
https://github.com/Gearbox-protocol/integrations-v3

Team information

Company:
Gearbox DAO

Official website:
https://gearbox.fi/

Point of contact:
apeir99n

Email/Telegram:
[email protected] / apeir99n

@kirkkonen
Copy link

The submission was checked and approved by the product team.

@PooyaRaki
Copy link
Contributor

@apeir99n Could you please share the link to your frontend repository? We need to review the contracts and the application before handing it over to the QA team.
Note: If the repository is private, kindly grant me access so I can review the code.

@PooyaRaki
Copy link
Contributor

@apeir99n I’m closing this issue for now due to inactivity. Please feel free to reopen it with any updates.

@PooyaRaki PooyaRaki added the Stale The issue has been inactive for some time. label Jan 10, 2025
@apeir99n
Copy link
Author

apeir99n commented Jan 11, 2025

sent you invite to repo.

Don't see re-open button @PooyaRaki @kirkkonen - could you help with it pls

@PooyaRaki PooyaRaki reopened this Jan 11, 2025
@PooyaRaki PooyaRaki added Ready for Review The app is ready to be reviewed by the reviewers. and removed Stale The issue has been inactive for some time. labels Jan 11, 2025
@PooyaRaki
Copy link
Contributor

Hi @apeir99n ,
I have reviewed your contracts and the app and identified the following issue:

  1. In this document, issue number 5.2 is only acknowledged. I see it more as a security improvement, but I would like to understand your plan for addressing it. Could you share your approach to resolving this issue?

The frontend repo:

  1. There are no unit tests, and you’ve used some potentially risky commands like ts-ignore. Do you have any plans to add unit tests?

Thanks

@PooyaRaki PooyaRaki added Waiting for Owner The submission is awaiting a response from the owner. and removed Ready for Review The app is ready to be reviewed by the reviewers. labels Jan 20, 2025
@PooyaRaki PooyaRaki self-assigned this Jan 20, 2025
@apeir99n
Copy link
Author

re frontend issue:
I saw only 1 usage of ts-ignore in this repo and it is used to implement custom component in MUI (like it is mentioned here).
All key logic / calculations / integration math are in sdk https://github.com/Gearbox-protocol/sdk and it is tested there (check this as an example). We also plan to cover this repo with integration tests, but will be able to do it only after migrating to a new sdk version (which are currently in progress).

re YT & duration issue:
We attempt to follow the interface of the original contracts in our adapters - that’s why the deadline is present in UniswapV2/V3 adapters, but not in others.
Gearbox generally does not use deadlines, but we have slippage protection that the user can set for a sequence of swaps.

@PooyaRaki please let me know if you have any more quesitons

@PooyaRaki
Copy link
Contributor

@apeir99n Thanks for you answer. I'm happy to send it to Q.A for review.

@PooyaRaki PooyaRaki added Ready for Q.A The submission is ready for Q.A. review. and removed Waiting for Owner The submission is awaiting a response from the owner. labels Jan 20, 2025
@francovenica francovenica added In Q.A The app is currently undergoing Q.A. review. and removed Ready for Q.A The submission is ready for Q.A. review. labels Jan 21, 2025
@francovenica francovenica self-assigned this Jan 21, 2025
@francovenica
Copy link

The app worked fine.
I didn't fine compatibility issues with the safe, with the networks is currently working on or the response to tx being signed/executed.

The app is good to be listed

@francovenica francovenica added Ready for Listing Safe app reviewed and ready to be listed. and removed In Q.A The app is currently undergoing Q.A. review. labels Jan 21, 2025
@PooyaRaki
Copy link
Contributor

@apeir99n The app has been listed. Thanks for your submission.

@PooyaRaki PooyaRaki removed the Ready for Listing Safe app reviewed and ready to be listed. label Jan 27, 2025
@apeir99n
Copy link
Author

Thank you!

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

No branches or pull requests

4 participants