pancake-frontend
pancake-frontend copied to clipboard
feat(liquid-staking): Add swETH
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 acceptstring | null
- Added SWETH support in
liquidStaking
config - Modified
useRequestWithdraw
to handlerequestWithdrawFn
- Added
getRate
to Liquid Staking constants - Updated
LiquidStakingStakePage
to usegetTokenLogoURL
- 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}