-
Notifications
You must be signed in to change notification settings - Fork 2
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
EthTransmuterLooper Front End [WIP] #257
base: staging
Are you sure you want to change the base?
Conversation
ButlerATTS
commented
Nov 8, 2024
- Added an initial front end based on gALCX
- Added contract ABIs for mainnet, arb, and op
- Added transmuter config objects for the looper vaults
- Added an initial front end based on gALCX - Added contract ABIs for mainnet, arb, and op - Added transmuter config objects for the looper vaults
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good start!
Lmk if you have any particular questions and as I mentioned I'm down to elaborate on the EthTransmuterLooper
component rewrite.
As I've sent in dms, try to install those extensions and you will probably (?) see some places turn red (in transmuter config and in looper component) - we want no red places and no any
. I didn't put every place as there are more. Given you are in vscode, you can open terminal panel and select PROBLEMS tab. Let me know if your vscode still doesn't point at those issues.
- Removed unused contract ABIs - Removed reducer and watchEvent calls and replaced with watchQuery and a standard readContracts - Other minor adjustments like adding new types and addressing format/lint issues
- Added useEnsoBundler and usePortal hooks to facilitate tx bundling - Implemented portal bundling into a stock erc4626 vault (yvUSDC) in place of the Looper contract on Arb for testing - Minor other changes, such as added constants for WETH on various L2s
- Refactored the usePortal hooks and their implementation in the looper to better follow react conventions - Addressed recent PR comments for types, assertions, etc.
… enums to immutable constants
FEATURE-CHORE: Looper adjustments
…ic. Addressed TODOs
- Changed usePortal mutationCallback to use useWriteContractMutationCallback - Updated simulate hooks for depositConfig and redeemConfig to only be enabled based on currently selected asset and isWithdraw state - Replaced UI states shown through toasts to be shown as button states instead - Made the looper responsive - Fixed issue with responsiveness at 1024px on the gALCXWrapper component
* x * simplify * redeem, not withdraw
…n undefined default for useTokensQuery
…ress state var to avoid undefined comparisons
…updates FEAT: Looper suggestions