-
Notifications
You must be signed in to change notification settings - Fork 199
feat: add erc20Context to sdk #1561
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd the label graphite-merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
🌿 Documentation Preview
|
ed67088 to
64419e2
Compare
64419e2 to
5c4757e
Compare
6dc70b9 to
4d8ed14
Compare
jakehobbs
left a comment
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.
lgtm!
4d8ed14 to
fe4f552
Compare
fe4f552 to
918b990
Compare
Pull Request Checklist
yarn test)sitefolder, and guidelines for updating/adding docs can be found in the contribution guide)feat!: breaking change)yarn lint:check) and fix any issues? (yarn lint:write)tested on chain:
With Permit:
https://sepolia.etherscan.io/tx/0x57fc8bae157a9b45068d45de503f3f841c5f15732c4e8bf47f1e3ee4e09d26b3
Without Permit:
https://sepolia.etherscan.io/tx/0xd0dc1b2f8ea6255db3e103eeca052598ff2b06f9cbb9e7a76bc9d4d064fdf85e
PR-Codex overview
This PR introduces enhancements to the handling of ERC20 tokens within the Alchemy Smart Account Client, adding support for policy tokens, permit types, and related middleware adjustments for gas management.
Detailed summary
erc20Contexttotypes.tsfor token management.policyTokeninsmartAccountClient.tsfor ERC20 token details.alchemyGasAndPaymasterAndDataMiddlewareto handlepolicyToken.PermitTypes,EIP712NoncesAbi,PermitMessage, andPermitDomainingas-manager.ts.