shapeshift / web

ShapeShift Web
https://app.shapeshift.com
MIT License
172 stars 185 forks source link

feat: limit orders signing #8133

Open woodenfurniture opened 6 days ago

woodenfurniture commented 6 days ago

Description

Implements signing of limit orders.

This feature is still work-in-progress, and deliberately skips implementation of the following:

Includes the following:

Issue (if applicable)

closes #6200

Risk

High Risk PRs Require 2 approvals

High risk. This PR makes changes to the types in cow swapper, so could result in broken trades for cowswap. Realistically the changes are low risk as the only affect typings, but we have to treat this as though it could impact trades.

What protocols, transaction types, wallets or contract interactions might be affected by this PR?

CoW swap.

Testing

Engineering

Operations

Screenshots (if applicable)

Successful cowswap trade with allowance approval https://jam.dev/c/a089fd18-aa78-4060-aca9-37cefe2f0d66