Skip to content
This repository has been archived by the owner on Apr 25, 2024. It is now read-only.

Safe mode #162

Merged
merged 1 commit into from
Feb 14, 2024
Merged

Safe mode #162

merged 1 commit into from
Feb 14, 2024

Conversation

hensha256
Copy link
Collaborator

No description provided.

Copy link
Member

@ewilz ewilz left a comment

Choose a reason for hiding this comment

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

I like this approach.

Although, could add it to swapRouter.ts/swapRouterConfig that way safeMode applies to all trades (NFT included) not just uniswap trades, but this is fine too 🤷

but if we're finding safeMode needs to be applied to other types of trades down the line, might be worth abstracting this out to swapRouter as per above --^

Copy link
Collaborator

@dannythedawger dannythedawger left a comment

Choose a reason for hiding this comment

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

lgtm!

@hensha256 hensha256 merged commit 92950a5 into main Feb 14, 2024
5 checks passed
@hensha256 hensha256 deleted the feat/safe-mode branch February 14, 2024 14:58
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants