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

EthTransmuterLooper Front End [WIP] #257

Draft
wants to merge 23 commits into
base: staging
Choose a base branch
from

Conversation

ButlerATTS
Copy link
Collaborator

  • 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
Copy link

vercel bot commented Nov 8, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
alchemix-v2-react ✅ Ready (Inspect) Visit Preview 💬 Add feedback Feb 13, 2025 6:03pm

@t0rbik t0rbik self-requested a review November 10, 2024 10:42
Copy link
Collaborator

@t0rbik t0rbik left a 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
@t0rbik t0rbik linked an issue Dec 23, 2024 that may be closed by this pull request
- Refactored the usePortal hooks and their implementation in the looper
  to better follow react conventions
- Addressed recent PR comments for types, assertions, etc.
- 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
@t0rbik t0rbik changed the base branch from main to staging January 21, 2025 16:16
* x

* simplify

* redeem, not withdraw
…ress state var to avoid undefined comparisons
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.

Transmuter Looper Integration
2 participants