[sdk,simplex]: Delegate EOA to SolverAccount using UserOp#778
Merged
Conversation
- Delegate the filler EOA to the SolverAccount contract via EIP-7702 and submit a no-op UserOp through the bundler to activate delegation - Use Circle Paymaster (USDC permit, EIP-2612) to pay gas in USDC on supported chains; fall back to EntryPoint native-token deposit where Circle is not deployed (e.g. BSC) - remove aerodrome support - clamp filler output for safety: cap computed output at user-requested × (1 + maxOverfillBps), reject fx orders where output USD ≥ input USD, and halt after N consecutive clamp activations; defaults 100 bps / 3 via [simplex.overfillProtection] in filler config
ec2254b to
2dd09c5
Compare
Wizdave97
reviewed
Apr 17, 2026
Wizdave97
left a comment
Member
There was a problem hiding this comment.
Let's update the simplex docs
seunlanlege
reviewed
Apr 17, 2026
seunlanlege
reviewed
Apr 17, 2026
seunlanlege
reviewed
Apr 17, 2026
seunlanlege
approved these changes
Apr 17, 2026
Collaborator
Author
Yes |
seunlanlege
approved these changes
Apr 17, 2026
Wizdave97
approved these changes
Apr 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ref: #768 (comment)
DelegationServicenow delegates via bundlerUserOpwith paymaster paying gas — solver needs zero native tokens. Supports Pimlico, Alchemy, and generic bundler gas pricing. Falls back to direct tx.ContractInteractionServiceapproval scoped to exact required amount instead ofmaxUint256