Skip to content

feat: uniswapX executor - #19

Merged
1kresh merged 6 commits into
mainfrom
uni-refactor
Jul 24, 2026
Merged

feat: uniswapX executor#19
1kresh merged 6 commits into
mainfrom
uni-refactor

Conversation

@1kresh

@1kresh 1kresh commented Jul 23, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

@oxsteins oxsteins changed the title Uni refactor feat: uniswapX executor Jul 23, 2026
1kresh and others added 4 commits July 23, 2026 20:56
Resolves the README.md conflict by taking main's removal of the Deploy
section (dropping the branch's UniswapX deploy instructions with it).

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
reactorCallback looped over every resolved output and called
IERC20(token).allowance/forceApprove unconditionally. For a native
output the token is address(0), so the allowance staticcall reverted
with "call to non-contract address", reverting the whole fill.

Guard the approval on token != address(0), mirroring Executor.sol's
`token != NATIVE` check. Native output is still forwarded to the
Reactor via the existing sendValue path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Align DeployUniswapXExecutorScript with DeployExecutor: declare REACTOR,
ADMIN, PROXY_ADMIN_OWNER, and CALLER as `public constant` config fields
edited in-file instead of reading them from the environment.

Remove the msg.sender/origin owner fallbacks (env defaults and the
_scriptOwner helper); the constants are passed straight through, and
_validateParams reverts if any is left unset. Factor the base's inline
asserts and logging into _validateDeployment/_logDeployment to mirror
DeployExecutorBase.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@1kresh
1kresh merged commit 8b970bd into main Jul 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants