-
-
Notifications
You must be signed in to change notification settings - Fork 261
feat: CowSwap intent base swap #6547
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
Draft
dawnseeker8
wants to merge
103
commits into
main
Choose a base branch
from
wip/intent-swap-architecture-refactory
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,667
−85
Draft
Changes from 83 commits
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
da8e0be
feat: cow-swap
khanti42 0c8f25e
fix: include missing metadata on intent swap transaction
khanti42 cf9d91d
Merge branch 'main' into wip/cow-swap-intent
dawnseeker8 6cc5fe4
Fix all lint relative error and give proper type declaration.
dawnseeker8 c2bf9a2
Fix pipeline lint issue,
dawnseeker8 c76a00c
fix node 22 lint and build issue.
dawnseeker8 73604f1
Merge branch 'main' into wip/cow-swap-intent
dawnseeker8 63dc8ac
Update snapshot for unit tests.
dawnseeker8 331bec5
Fix all unit tests failure for bridge-status-controller.test.ts
dawnseeker8 37f72b5
Add stub module called `Intent-manager`
dawnseeker8 2493ab2
add ts-bridge as dev dependancies for build
dawnseeker8 1673f1f
wip: buildable version of intent manager and bridge-status-controller.
dawnseeker8 2ea099e
wip: fix the build issue.
dawnseeker8 74e6893
WIP: Remove the generateQuote and relative private method calls.
dawnseeker8 19fdb0e
feat: add a temp onlyIntent parameter.
dawnseeker8 dc76678
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 018cd69
rebase from main
dawnseeker8 fdf4f04
Rebase from main
dawnseeker8 4e200c7
revert back to main version
dawnseeker8 83a36c1
update lock file
dawnseeker8 6a6ee79
update lock file to fix the pipeline failure
dawnseeker8 608187f
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 7516d3b
fix unit tests and pipeline issue.
dawnseeker8 3e9f379
Try to fix the pipeline failure of lock file change.
dawnseeker8 9445620
try to avoid the pipeline failure of lock file change.
dawnseeker8 7f670b5
refactor: simplify logic for determining transaction hashes in Bridge…
dawnseeker8 e8eb450
Fix the lint error in node 22 version
dawnseeker8 ce7a2d1
Fix weird lock file change failure issue in pipeline.
dawnseeker8 7547553
Run prettier format the README.md file.
dawnseeker8 5d56313
change lock file again
dawnseeker8 07c15ac
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 c5a0678
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 60a4a13
update lock file after rebase from main to resolve conflict.
dawnseeker8 ae7c3cc
Reapply lock version with correct hash to pass the pipeline.
dawnseeker8 48b8230
Try to fix th lock file change pipeline broken
dawnseeker8 299f4c2
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 586dfe6
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 5863294
Resolve the conflict of merge from main
dawnseeker8 3930e27
Update Jest configuration to include the new `@metamask/intent-manage…
dawnseeker8 778df56
Remove temporary query parameters from `formatQueryParams` in `fetch.…
dawnseeker8 2fc981c
Fix the get order status sometimes the orderId contain url not friend…
dawnseeker8 cfbf731
Fix order ID formatting in CowSwapProvider by removing quotes from th…
dawnseeker8 d53f3e6
Update yarn.lock with new hash
dawnseeker8 1ca9d84
Merge branch 'main' into wip/intent-swap-architecture-refactory
dawnseeker8 0ab4bb0
Merge from `main` to resolve conflicts.
dawnseeker8 a4d00f9
feat: add SUBMITTED status type to enhance order status handling
dawnseeker8 312e0b2
Temprately disabled SSE after backend change is ready.
dawnseeker8 2e2ad4c
feat!: (wip) use crosschain api instead of intent manager for intent …
oscarwroche 3ad0d66
feat: update api call with new param and error handling
oscarwroche 0ea9cd2
refactor: remove obsolete cancelled intent order status
oscarwroche 370b984
Merge branch 'main' into wip/intent-swap-architecture-refactory
oscarwroche d5d03a4
fix: replace chain id with src chain id
oscarwroche ae0e4ec
refactor: delete intent manager
oscarwroche b92b97a
Merge branch 'main' into wip/intent-swap-architecture-refactory
oscarwroche cf7c71f
refactor: finish removing intent manager
oscarwroche 0b7c1fd
fix: fix linter errors
oscarwroche ee5be23
Merge remote-tracking branch 'origin' into wip/intent-swap-architectu…
Akaryatrh 5c507fe
feat: remove unnecessary intent check when adding a transaction
Akaryatrh 3bd6a6f
feat: remove useless linebreak
Akaryatrh 433ac44
feat: remove unused intent manager ref in tsconfig files
Akaryatrh 8fe3a7b
Merge remote-tracking branch 'origin/main' into wip/intent-swap-archi…
Akaryatrh 1dde2ef
feat: move changelog entry to unreleased section
Akaryatrh 84920fd
feat: update tx controller changelog
Akaryatrh 512aae9
fix: typo in bridge controller changelog
Akaryatrh 89dc6fd
Merge remote-tracking branch 'origin/main' into wip/intent-swap-archi…
Akaryatrh 38e5ace
fix: move tx controller changelog to proper section
Akaryatrh ff233d7
feat; update bridge ctrler changelog
Akaryatrh 4a32dec
fix: wrong link for changelog PRs
Akaryatrh 0accdc8
feat: remove unused declaration file
Akaryatrh 2763855
feat: remove unwanted changes
Akaryatrh b1888d8
feat: add back package resolutions
Akaryatrh e6740ec
feat: remove wrongly added eslint script
Akaryatrh 9a1941f
Merge remote-tracking branch 'origin/main' into wip/intent-swap-archi…
Akaryatrh 737ca58
feat: update lock file
Akaryatrh c8bfce8
fix: type issue with bridge status controller
Akaryatrh 565dfca
fix: more types in bridge status controller
Akaryatrh 989c057
chore: prune suppressions
oscarwroche fb520f4
fix: update snapshots for bridge-status-controller
Akaryatrh 213ad76
fix: adjust bridge status controller because of failing tests
Akaryatrh 8cfea65
Merge remote-tracking branch 'origin' into wip/intent-swap-architectu…
Akaryatrh 8a0c757
feat: update eslint suppressions
Akaryatrh ed79add
test: add tests for intent api
oscarwroche 0fdb78d
test: add tests for intent in bridge controller status
oscarwroche 3ccca38
chore: remove unused export
oscarwroche 4ef2bc6
refactor: change enum to generic string
oscarwroche 2cc3585
refactor: add validation for intent api + move to utils
oscarwroche 6bb1938
chore: add emacs files to .gitignore
oscarwroche b59021c
refactor: fix call to get account
oscarwroche 4686816
refactor: remove tx update
oscarwroche 6cfc1db
chore: remove duplicate comment
oscarwroche 1827df3
Merge branch 'main' into wip/intent-swap-architecture-refactory
oscarwroche 87b90ec
chore: fix import
oscarwroche 0b666be
chore: remove unneeded parameter
oscarwroche 550997b
doc: add jsdoc to schema
oscarwroche f2aa67e
fix: use superstruct type
oscarwroche 4b28212
refactor: fix imports, remove dead code
oscarwroche c0c42c9
test: fix tests
oscarwroche 749d063
fix: move skip gas estimate inside tx options
Akaryatrh b76343a
refactor: reinstate tracking for failed intent tx
oscarwroche 05b4eb4
chore: add comment for synthetic tx
oscarwroche f620f5d
fix: fix gas calculation
oscarwroche 44504c9
Merge branch 'main' into wip/intent-swap-architecture-refactory
oscarwroche bd12a28
test: add / fix tests
oscarwroche File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.