pancake-frontend
pancake-frontend copied to clipboard
feat: support smart account permit2 swap
PR-Codex overview
The focus of this PR is to update experimental features, add a new connector, and implement permit functionality.
Detailed summary
- Updated experimental feature percentage to 1
- Added
safe
connector inwagmi/connectors
- Implemented
useIsContract
hook - Added permit functionality using
@pancakeswap/permit2-sdk
- Updated
useWritePermit
hook with smart account check and permit logic
✨ Ask PR-Codex anything about this PR by commenting with
/codex {your question}