Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BACK-7120: Fix 1inch fusion EIP-712 token references #192

Merged
merged 1 commit into from
Jun 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions arbitrum/1inch/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -107,21 +107,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -212,7 +212,7 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makerAsset",
Expand All @@ -223,7 +223,7 @@
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takerAsset",
Expand Down
20 changes: 10 additions & 10 deletions bsc/1inch/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -107,21 +107,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -212,7 +212,7 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makerAsset",
Expand All @@ -223,7 +223,7 @@
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takerAsset",
Expand Down
26 changes: 18 additions & 8 deletions ethereum/1inch/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -105,13 +105,23 @@
"path": "maker"
},
{
"assetPath": "makingToken",
"format": "token",
"label": "Swap Token",
"path": "makerAsset"
},
{
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"assetPath": "takingToken",
"format": "token",
"label": "Receive Token",
"path": "takerAsset"
},
{
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -202,7 +212,7 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makerAsset",
Expand All @@ -213,7 +223,7 @@
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takerAsset",
Expand Down
20 changes: 10 additions & 10 deletions optimism/1inch/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -107,21 +107,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -212,7 +212,7 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makerAsset",
Expand All @@ -223,7 +223,7 @@
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takerAsset",
Expand Down
20 changes: 10 additions & 10 deletions polygon/1inch/eip712.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -107,21 +107,21 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makingToken",
"assetPath": "makerAsset",
"format": "amount",
"label": "Swap Amount",
"path": "makingAmount"
},
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takingToken",
"assetPath": "takerAsset",
"format": "amount",
"label": "Receive Minimum",
"path": "takingAmount"
Expand Down Expand Up @@ -212,7 +212,7 @@
{
"format": "token",
"label": "Swap Token",
"path": "makingToken"
"path": "makerAsset"
},
{
"assetPath": "makerAsset",
Expand All @@ -223,7 +223,7 @@
{
"format": "token",
"label": "Receive Token",
"path": "takingToken"
"path": "takerAsset"
},
{
"assetPath": "takerAsset",
Expand Down
Loading