From b200338e1938f1a05fc91432eaee9654619aae9c Mon Sep 17 00:00:00 2001 From: Pierre Pollastri Date: Thu, 17 Oct 2024 13:35:44 +0200 Subject: [PATCH] Test push (#60) --- registry/testp/eip712-testp-ethereum.json | 114 ++++++++++++++++++++++ 1 file changed, 114 insertions(+) create mode 100644 registry/testp/eip712-testp-ethereum.json diff --git a/registry/testp/eip712-testp-ethereum.json b/registry/testp/eip712-testp-ethereum.json new file mode 100644 index 0000000..04de382 --- /dev/null +++ b/registry/testp/eip712-testp-ethereum.json @@ -0,0 +1,114 @@ +{ + "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" + } + ] + } + } + } + } \ No newline at end of file