pancake-frontend icon indicating copy to clipboard operation
pancake-frontend copied to clipboard

feat(liquid-staking): Add swETH

Open chefilip opened this issue 9 months ago • 3 comments


PR-Codex overview

This PR enhances the Liquid Staking feature by updating token logos, request withdrawal function handling, and adding SWETH support.

Detailed summary

  • Updated tokenLogo to accept string | null
  • Added SWETH support in liquidStaking config
  • Modified useRequestWithdraw to handle requestWithdrawFn
  • Added getRate to Liquid Staking constants
  • Updated LiquidStakingStakePage to use getTokenLogoURL
  • Added swETHAbi to handle SWETH functionality

The following files were skipped due to too many changes: apps/web/src/config/abi/swETHAbi.ts

✨ Ask PR-Codex anything about this PR by commenting with /codex {your question}

chefilip avatar May 25 '24 14:05 chefilip