diff --git a/registry/demo-dapp/eip712-demo3.json b/registry/demo-dapp/eip712-demo3.json deleted file mode 100644 index 4860df4..0000000 --- a/registry/demo-dapp/eip712-demo3.json +++ /dev/null @@ -1,123 +0,0 @@ -{ - "$schema": "../../specs/erc7730-v1.schema.json", - - "context" : { - "eip712" : { - "deployments": [ - { - "chainId": 1, - "address": "0x4c415552454e5400000000000000000000000003" - } - ], - "domain": { - "name": "LedgerClearSigning" - }, - "schemas": [ - { - "primaryType": "PermitLike", - "types": { - "EIP712Domain": [ - { - "name": "name", - "type": "string" - }, - { - "name": "chainId", - "type": "uint256" - }, - { - "name": "verifyingContract", - "type": "address" - } - ], - "PermitLike": [ - { - "name": "token", - "type": "address" - }, - { - "name": "amount", - "type": "uint160" - }, - { - "name": "expiration", - "type": "uint48" - }, - { - "name": "nonce", - "type": "uint48" - }, - { - "name": "spender", - "type": "address" - }, - { - "name": "mode", - "type": "uint48" - } - ] - } - } - ] - } - }, - - "metadata" : { - "owner": "LedgerHackathon", - "info": { - "legalName": "Ledger Inc", - "url": "https://ledger.com" - }, - "enum": { - "mode": { - "0": "Strict", - "1": "Allow Delegation" - } - } - }, - - "display": { - "formats": { - "PermitLike": { - "intent": "Authorize spending", - "required": [ - "amount", "spender" - ], - "excluded": [ - "nonce" - ], - "fields": [ - { - "path": "amount", - "label": "Amount to delegate", - "format": "tokenAmount", - "params": { - "tokenPath": "token" - } - }, - { - "path": "Spend", - "label": "Allowed Spender", - "format": "addressName" - }, - { - "path": "expiration", - "label": "Expires", - "format": "date", - "params": { - "encoding": "timestamp" - } - }, - { - "path": "mode", - "label": "Delegation mode", - "format": "enum", - "params": { - "$ref": "$.metadata.mode" - } - } - ] - } - } - } -} \ No newline at end of file