Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(uniswapx-sdk): Implement Dutch V3 #84

Merged
merged 50 commits into from
Oct 24, 2024
Merged

feat(uniswapx-sdk): Implement Dutch V3 #84

merged 50 commits into from
Oct 24, 2024

Conversation

alanhwu
Copy link
Contributor

@alanhwu alanhwu commented Sep 3, 2024

Description

We are adding support for the new Dutch v3 orders in the UniswapX SDK

How Has This Been Tested?

Unit testing for all files so far, will include integration after contracts are completely finalized

Are there any breaking changes?

None. V3 was intentionally written in a way that guarantees V2 doesn't break. In the future, we should consider creating a CosignedDutch class that parents classes such as V2 and V3. This would require significant refactoring but would be cleaner.

@alanhwu alanhwu self-assigned this Sep 11, 2024
Copy link
Contributor

@zhongeric zhongeric left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looking great so far!

sdks/uniswapx-sdk/src/builder/V3DutchOrderBuilder.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/constants.test.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/V3DutchOrder.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/V3DutchOrder.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/index.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/types.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/utils/dutchBlockDecay.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/utils/dutchBlockDecay.ts Outdated Show resolved Hide resolved
Copy link
Contributor

@codyborn codyborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great! Left some small comments.

sdks/uniswapx-sdk/src/builder/V3DutchOrderBuilder.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/V3DutchOrder.test.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/V3DutchOrder.test.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/V3DutchOrder.test.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/order/V3DutchOrder.ts Outdated Show resolved Hide resolved
sdks/uniswapx-sdk/src/utils/order.ts Outdated Show resolved Hide resolved
@alanhwu alanhwu marked this pull request as ready for review September 19, 2024 21:57
@alanhwu alanhwu requested a review from a team as a code owner September 19, 2024 21:57
Copy link

graphite-app bot commented Sep 19, 2024

Graphite Automations

"Request reviewers once CI passes on sdks monorepo" took an action on this PR • (09/19/24)

1 reviewer was added to this PR based on 's automation.

@alanhwu alanhwu requested review from jsy1218 and a team as code owners October 11, 2024 18:00
@alanhwu alanhwu requested a review from codyborn October 11, 2024 18:27
Copy link
Contributor

@codyborn codyborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice job!

@alanhwu alanhwu merged commit 6a0d553 into main Oct 24, 2024
7 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.

3 participants