From 0546103665a1edb40612d6a6f0ab38e76cff33d4 Mon Sep 17 00:00:00 2001 From: Pierre Aoun Date: Mon, 20 Jan 2025 10:08:06 +0100 Subject: [PATCH] fix: slices end index is exclusive --- registry/uniswap/calldata-UniswapV3Router02.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/registry/uniswap/calldata-UniswapV3Router02.json b/registry/uniswap/calldata-UniswapV3Router02.json index 6293894..1e32052 100644 --- a/registry/uniswap/calldata-UniswapV3Router02.json +++ b/registry/uniswap/calldata-UniswapV3Router02.json @@ -21,13 +21,13 @@ "path": "params.amountIn", "label": "Amount to Send", "format": "tokenAmount", - "params": { "tokenPath": "params.path.[0:19]" } + "params": { "tokenPath": "params.path.[0:20]" } }, { "path": "params.amountOutMinimum", "label": "Minimum amount to Receive", "format": "tokenAmount", - "params": { "tokenPath": "params.path.[-20:-1]" } + "params": { "tokenPath": "params.path.[-20:]" } }, { "path": "params.recipient", @@ -67,13 +67,13 @@ "path": "params.amountInMaximum", "label": "Maximum Amount to Send", "format": "tokenAmount", - "params": { "tokenPath": "params.path.[0:19]" } + "params": { "tokenPath": "params.path.[0:20]" } }, { "path": "params.amountOut", "label": "Amount to Receive", "format": "tokenAmount", - "params": { "tokenPath": "params.path.[-20:-1]" } + "params": { "tokenPath": "params.path.[-20:]" } }, { "path": "params.recipient",