Closed josojo closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated |
---|---|---|---|---|
llamaswap | ✅ Ready (Inspect) | Visit Preview | 💬 Add your feedback | Jan 23, 2023 at 9:27PM (UTC) |
Interesting, thank you @josojo!
Eth trading for cowswap is a special case. Instead of just handing in an eip712 signature, one has to create an ethereum transaction that places an EIP1271 order and send the eth along with this transaction.
One also has to create beforehand a quote that reflects this this will be an eip1271 order. This PR creates the necessary changes for it to work.
I ran: npx prettier --write ./src/components/Aggregator/adapters/cowswap/index.ts.
This Pr is in draft status, as I might not be aware of some other tests or lints that I have not done. Please feel free to just use this logic from this PR and build a new PR from it.