Skip to content

Commit

Permalink
fix: slices end index is exclusive (#134)
Browse files Browse the repository at this point in the history
  • Loading branch information
paoun-ledger authored Jan 20, 2025
1 parent a34a515 commit 011dd88
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions registry/uniswap/calldata-UniswapV3Router02.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 011dd88

Please sign in to comment.