-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
94fd566
commit b200338
Showing
1 changed file
with
114 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
{ | ||
Check warning on line 1 in registry/testp/eip712-testp-ethereum.json GitHub Actions / 🔎 validate descriptorsMissing Display field
Check warning on line 1 in registry/testp/eip712-testp-ethereum.json GitHub Actions / 🔎 validate descriptorsMissing Display field
|
||
"context": { | ||
"eip712": { | ||
"deployments": [ | ||
{ | ||
"chainId": 1, | ||
"address": "0x221111125421ca6dc452d289314280a0f8842a65" | ||
} | ||
], | ||
"domain": { | ||
"name": "Permit2", | ||
"chainId": 1, | ||
"verifyingContract": "0x221111125421ca6dc452d289314280a0f8842a65" | ||
}, | ||
"schemas": [ | ||
{ | ||
"primaryType": "Order", | ||
"types": { | ||
"EIP712Domain": [ | ||
{ | ||
"name": "name", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "version", | ||
"type": "string" | ||
}, | ||
{ | ||
"name": "chainId", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "verifyingContract", | ||
"type": "address" | ||
} | ||
], | ||
"Order": [ | ||
{ | ||
"name": "salt", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "maker", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "receiver", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "makerAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "takerAsset", | ||
"type": "address" | ||
}, | ||
{ | ||
"name": "makingAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "takingAmount", | ||
"type": "uint256" | ||
}, | ||
{ | ||
"name": "makerTraits", | ||
"type": "uint256" | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"metadata": { | ||
"owner": "TestP Aggregation Router" | ||
}, | ||
"display": { | ||
"formats": { | ||
"Order": { | ||
"intent": "TestP Order", | ||
"fields": [ | ||
{ | ||
"path": "maker", | ||
"label": "From", | ||
"format": "raw" | ||
}, | ||
{ | ||
"path": "makingAmount", | ||
"label": "Amount sent", | ||
"format": "tokenAmount", | ||
"params": { | ||
"tokenPath": "makerAsset" | ||
} | ||
}, | ||
{ | ||
"path": "takingAmount", | ||
"label": "Receive minimum", | ||
"format": "tokenAmount", | ||
"params": { | ||
"tokenPath": "takerAsset" | ||
} | ||
}, | ||
{ | ||
"path": "receiver", | ||
"label": "To", | ||
"format": "raw" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |