From e1236e8f40e348a4e8ff0ca5148caed66758ba0e Mon Sep 17 00:00:00 2001 From: milkyklim <10698619+milkyklim@users.noreply.github.com> Date: Mon, 2 Dec 2024 19:02:46 +0000 Subject: [PATCH] docs: update universal_router.py example (#7) --- uniswap_sdk/universal_router.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uniswap_sdk/universal_router.py b/uniswap_sdk/universal_router.py index fadf2be..0a3c477 100644 --- a/uniswap_sdk/universal_router.py +++ b/uniswap_sdk/universal_router.py @@ -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") """