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

Appearance settings

Commit c81e84c

Browse filesBrowse files
committed
fix: fixed typing
1 parent 9a1318f commit c81e84c
Copy full SHA for c81e84c

File tree

Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+2
-2
lines changed

‎uniswap/uniswap.py

Copy file name to clipboardExpand all lines: uniswap/uniswap.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1891,7 +1891,7 @@ def estimate_price_impact(
18911891
token_in: AddressLike,
18921892
token_out: AddressLike,
18931893
amount_in: int,
1894-
fee: Optional[int] = None,
1894+
fee: int,
18951895
route: Optional[List[AddressLike]] = None,
18961896
) -> float:
18971897
"""

‎uniswap/util.py

Copy file name to clipboardExpand all lines: uniswap/util.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def chunks(arr: Sequence[Any], n: int) -> Generator:
128128
yield arr[i : i + n]
129129

130130

131-
def fee_to_fraction(fee: int):
131+
def fee_to_fraction(fee: int) -> float:
132132
return fee / 1000000
133133

134134

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.