Skip to content

Commit

Permalink
docs: update universal_router.py example (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
milkyklim authored Dec 2, 2024
1 parent 147a70d commit e1236e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion uniswap_sdk/universal_router.py
Original file line number Diff line number Diff line change
Expand Up @@ -602,7 +602,7 @@ class UniversalRouter(ManagerAccessMixin):
Usage example::
>>> ur = UniversalRouter()
>>> plan = Plan().wrap_eth("1 ether").unwrap_eth("1 ether")
>>> plan = Plan().wrap_eth(ur.contract, "1 ether").unwrap_weth(me, "1 ether")
>>> ur.execute(plan, sender=me, value="1 ether")
"""

Expand Down

0 comments on commit e1236e8

Please sign in to comment.