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

Commitf277370

Browse files
authored
Merge pull request#393 from liquid-8/dev
some more fixes
2 parents3deff6f +1a81999 commitf277370

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

‎uniswap/uniswap4.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
importtime
33
importlogging
44
importfunctools
5+
importdataclasses
56
fromtypingimportList,Any,Optional,Union,Tuple,Dict
67

78
fromweb3importWeb3
@@ -215,7 +216,7 @@ def get_quote_exact_input(
215216
:path is a swap route
216217
"""
217218

218-
quote_path= [item.astulpe()foriteminpath]
219+
quote_path= [dataclasses.astuple(item)foriteminpath]
219220
quote_params= {
220221
"exactCurrency":currency,
221222
"path":quote_path,
@@ -239,7 +240,7 @@ def get_quote_exact_output(
239240
:path is a swap route
240241
"""
241242

242-
quote_path= [item.astulpe()foriteminpath]
243+
quote_path= [dataclasses.astuple(item)foriteminpath]
243244
quote_params= {
244245
"exactCurrency":currency,
245246
"path":quote_path,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp