Skip to content

Commit

Permalink
fix(BACK-7599): fix UniswapX dutch orders wrong mappers (LedgerHQ#213)
Browse files Browse the repository at this point in the history
* fix(BACK-7599): fix UniswapX dutch orders wrong mappers

* fix(BACK-7599): fix UniswapX PermitWitnessTransferFrom wrong mappers
  • Loading branch information
jnicoulaud-ledger authored Aug 2, 2024
1 parent 3edfb3e commit 261be43
Show file tree
Hide file tree
Showing 14 changed files with 70 additions and 70 deletions.
10 changes: 5 additions & 5 deletions arbitrum/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions arbitrum_sepolia/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions avalanche/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions base/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions base_sepolia/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions blast/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions bsc/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions celo/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions ethereum/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
10 changes: 5 additions & 5 deletions ethereum_sepolia/uniswap/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
Expand Down Expand Up @@ -243,11 +243,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down Expand Up @@ -405,11 +405,11 @@
},
{
"label": "Tokens to receive",
"path": "witness.outputs.[].tokens"
"path": "witness.outputs.[].token"
},
{
"label": "Minimum amounts to receive",
"path": "witness.outputs.[].amount"
"path": "witness.outputs.[].endAmount"
},
{
"label": "On Addresses",
Expand Down
Loading

0 comments on commit 261be43

Please sign in to comment.