Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

feat: make_trade add optional route param#239

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
starascendin wants to merge4 commits intouniswap-python:master
base:master
Choose a base branch
Loading
fromstarascendin:master-no-version

Conversation

starascendin
Copy link

No description provided.

@@ -401,6 +402,7 @@ def make_trade(
fee: int = None,
slippage: float = None,
fee_on_transfer: bool = False,
route: Optional[List[AddressLike]] = None,
Copy link
Member

@ErikBjareErikBjareJul 13, 2022
edited
Loading

Choose a reason for hiding this comment

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

Might lead to unexpected behavior ifroute is specified but not respected (such as in the eth_to_token and token_to_eth cases).

@@ -652,6 +655,7 @@ def _token_to_token_swap_input(
fee: int,
slippage: float,
fee_on_transfer: bool = False,
route: Optional[List[AddressLike]] = None,
Copy link
Member

Choose a reason for hiding this comment

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

Same concern as above, needs to be respected in all cases, or raise an exception if it can't.

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ErikBjareErikBjareErikBjare left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@starascendin@ErikBjare

[8]ページ先頭

©2009-2025 Movatter.jp