Skip to content

Mayan Integration#42

Draft
rac-sri wants to merge 25 commits into
mainfrom
mayan
Draft

Mayan Integration#42
rac-sri wants to merge 25 commits into
mainfrom
mayan

Conversation

@rac-sri
Copy link
Copy Markdown
Member

@rac-sri rac-sri commented Apr 20, 2026

No description provided.

@rac-sri rac-sri changed the title Mayan Mayan Integration Apr 20, 2026
@rac-sri rac-sri marked this pull request as draft April 20, 2026 19:00
rac-sri added 10 commits April 21, 2026 15:27
- Add swapAndForwardEth to IMayanForwarder interface
- Remove non-existent createOrderWithEth from IMayanSwiftV2 interface
- Update MayanRouter._processTransferV2 ETH branch to use swapAndForwardEth
  + createOrderWithToken(address(0), amountIn, orderParams, bytes(""))
- V1 path and V2 ERC20 path untouched
- Build compiles successfully (exit code 0)
- Decode swapProtocol, swapData, middleToken, minMiddleAmount from V2 route data
- Remove hardcoded address(0)/empty values in swapAndForwardEth call
- Update tests and script encoding for new route data fields
- Fix test signature helper to match Vault custom signature format
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.

1 participant