diff --git a/registry/1inch/eip712-1inch-aggregation-router.json b/registry/1inch/eip712-1inch-aggregation-router.json new file mode 100644 index 00000000..c1d958c4 --- /dev/null +++ b/registry/1inch/eip712-1inch-aggregation-router.json @@ -0,0 +1,133 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x111111125421ca6dc452d289314280a0f8842a65" + }, + { + "chainId": 10, + "address": "0x111111125421ca6dc452d289314280a0f8842a65" + }, + { + "chainId": 56, + "address": "0x111111125421ca6dc452d289314280a0f8842a65" + }, + { + "chainId": 137, + "address": "0x111111125421ca6dc452d289314280a0f8842a65" + }, + { + "chainId": 42161, + "address": "0x111111125421ca6dc452d289314280a0f8842a65" + } + ], + "domain": { + "name": "Permit2" + }, + "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": "1inch Aggregation Router" + }, + "display": { + "formats": { + "Order": { + "intent": "1inch Order", + "fields": [ + { + "path": "maker", + "label": "From", + "format": "raw" + }, + { + "path": "makingAmount", + "label": "Send", + "format": "tokenAmount", + "params": { + "tokenPath": "makerAsset" + } + }, + { + "path": "takingAmount", + "label": "Receive minimum", + "format": "tokenAmount", + "params": { + "tokenPath": "takerAsset" + } + }, + { + "path": "receiver", + "label": "To", + "format": "raw" + } + ], + "excluded": [ + "salt", + "makerTraits" + ] + } + } + } +} diff --git a/registry/1inch/eip712-1inch-ethereum.json b/registry/1inch/eip712-1inch-ethereum.json deleted file mode 100644 index 4d2524bd..00000000 --- a/registry/1inch/eip712-1inch-ethereum.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "context": { - "eip712": { - "deployments": [ - { - "chainId": 1, - "address": "0x111111125421ca6dc452d289314280a0f8842a65" - } - ], - "domain": { - "name": "Permit2", - "chainId": 1, - "verifyingContract": "0x111111125421ca6dc452d289314280a0f8842a65" - }, - "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": "1inch Aggregation Router" - }, - "display": { - "formats": { - "Order": { - "intent": "1inch 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" - } - ], - "excluded": [ - "salt", - "makerTraits" - ] - } - } - } - } \ No newline at end of file diff --git a/registry/1inch/eip712-1inch-limit-order.json b/registry/1inch/eip712-1inch-limit-order.json new file mode 100644 index 00000000..1dce4c7e --- /dev/null +++ b/registry/1inch/eip712-1inch-limit-order.json @@ -0,0 +1,201 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x119c71d3bbac22029622cbaec24854d3d32d2828" + }, + { + "chainId": 10, + "address": "0x11431a89893025d2a48dca4eddc396f8c8117187" + }, + { + "chainId": 56, + "address": "0x1e38eff998df9d3669e32f4ff400031385bf6362" + }, + { + "chainId": 137, + "address": "0x94bc2a1c732bcad7343b25af48385fe76e08734f" + }, + { + "chainId": 42161, + "address": "0x7f069df72b7a39bce9806e3afaf579e54d8cf2b9" + } + ], + "domain": { + "name": "Permit2" + }, + "schemas": [ + { + "primaryType": "OrderStructure", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "OrderStructure": [ + { + "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" + } + ] + } + }, + { + "primaryType": "OrderStructure", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "OrderStructure": [ + { + "name": "salt", + "type": "uint256" + }, + { + "name": "makerAsset", + "type": "address" + }, + { + "name": "takerAsset", + "type": "address" + }, + { + "name": "maker", + "type": "address" + }, + { + "name": "receiver", + "type": "address" + }, + { + "name": "allowedSender", + "type": "address" + }, + { + "name": "makingAmount", + "type": "uint256" + }, + { + "name": "takingAmount", + "type": "uint256" + }, + { + "name": "offsets", + "type": "uint256" + }, + { + "name": "interactions", + "type": "bytes" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "1inch Limit Order Protocol" + }, + "display": { + "formats": { + "OrderStructure": { + "intent": "1inch Order", + "fields": [ + { + "path": "maker", + "label": "From", + "format": "raw" + }, + { + "path": "makingAmount", + "label": "Send", + "format": "tokenAmount", + "params": { + "tokenPath": "makerAsset" + } + }, + { + "path": "takingAmount", + "label": "Receive minimum", + "format": "tokenAmount", + "params": { + "tokenPath": "takerAsset" + } + }, + { + "path": "receiver", + "label": "To", + "format": "raw" + } + ], + "excluded": [ + "salt", + "makerTraits", + "interactions", + "allowedSender", + "offsets" + ] + } + } + } +} diff --git a/registry/1inch/eip712-1inch-polygon-aggregation-router.json b/registry/1inch/eip712-1inch-polygon-aggregation-router.json deleted file mode 100644 index db1e5931..00000000 --- a/registry/1inch/eip712-1inch-polygon-aggregation-router.json +++ /dev/null @@ -1,118 +0,0 @@ -{ - "context": { - "eip712": { - "deployments": [ - { - "chainId": 137, - "address": "0x111111125421ca6dc452d289314280a0f8842a65" - } - ], - "domain": { - "name": "Permit2", - "chainId": 137, - "verifyingContract": "0x111111125421ca6dc452d289314280a0f8842a65" - }, - "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": "1inch Aggregation Router" - }, - "display": { - "formats": { - "Order": { - "intent": "1inch Order", - "fields": [ - { - "path": "maker", - "label": "From", - "format": "raw" - }, - { - "path": "makingAmount", - "label": "Send Amount", - "format": "tokenAmount", - "params": { - "tokenPath": "makerAsset" - } - }, - { - "path": "takingAmount", - "label": "Receive minimum", - "format": "tokenAmount", - "params": { - "tokenPath": "takerAsset" - } - }, - { - "path": "receiver", - "label": "To", - "format": "raw" - } - ], - "excluded": [ - "salt", - "makerTraits" - ] - } - } - } - } \ No newline at end of file diff --git a/registry/aave/calldata-lpv2.json b/registry/aave/calldata-lpv2.json index ec02ea46..43e74422 100644 --- a/registry/aave/calldata-lpv2.json +++ b/registry/aave/calldata-lpv2.json @@ -1,4 +1,5 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", "context": { "$id": "Lending Pool v2", "contract" : { diff --git a/registry/degate/eip712-degate.json b/registry/degate/eip712-degate.json index 48bc0d72..2f38bfbc 100644 --- a/registry/degate/eip712-degate.json +++ b/registry/degate/eip712-degate.json @@ -1,4 +1,5 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", "context": { "eip712": { "deployments": [ diff --git a/registry/dispatch/eip712-dispatch.json b/registry/dispatch/eip712-dispatch.json new file mode 100644 index 00000000..72a4da7a --- /dev/null +++ b/registry/dispatch/eip712-dispatch.json @@ -0,0 +1,93 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 137, + "address": "0xdb46d1dc155634fbc732f92e853b10b288ad5a1d" + } + ], + "domain": { + "name": "Dispatch", + "chainId": 137, + "verifyingContract": "0xdb46d1dc155634fbc732f92e853b10b288ad5a1d" + }, + "schemas": [ + { + "primaryType": "FollowWithSig", + "types": { + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ], + "FollowWithSig": [ + { + "name": "datas", + "type": "bytes[]" + }, + { + "name": "deadline", + "type": "uint256" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "profileIds", + "type": "uint256[]" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Dispatch.xyz" + }, + "display": { + "formats": { + "FollowWithSig": { + "intent": "Dispatch.xyz Follow Profile", + "fields": [ + { + "path": "profileIds.[]", + "label": "Profile Ids", + "format": "raw" + }, + { + "path": "datas.[]", + "label": "Data", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "deadline", + "label": "Expiration Date", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/ledgerquest/eip712-ledgerquest.json b/registry/ledgerquest/eip712-ledgerquest.json new file mode 100644 index 00000000..44f5bc89 --- /dev/null +++ b/registry/ledgerquest/eip712-ledgerquest.json @@ -0,0 +1,84 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 137, + "address": "0x33c6eec1723b12c46732f7ab41398de45641fa42" + } + ], + "domain": { + "name": "LedgerQuest", + "chainId": 137, + "verifyingContract": "0x33c6eec1723b12c46732f7ab41398de45641fa42" + }, + "schemas": [ + { + "primaryType": "mint", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "mint": [ + { + "name": "receiver", + "type": "address" + }, + { + "name": "categoryId", + "type": "uint256" + }, + { + "name": "collectionId", + "type": "uint256" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "LedgerQuest" + }, + "display": { + "formats": { + "mint": { + "intent": "Mint", + "fields": [ + { + "path": "receiver", + "label": "Receiver", + "format": "raw" + }, + { + "path": "categoryId", + "label": "Quest Type", + "format": "raw" + }, + { + "path": "collectionId", + "label": "Collection", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/lens/eip712-lens-lenshub.json b/registry/lens/eip712-lens-lenshub.json new file mode 100644 index 00000000..b12adbc3 --- /dev/null +++ b/registry/lens/eip712-lens-lenshub.json @@ -0,0 +1,1732 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 137, + "address": "0xdb46d1dc155634fbc732f92e853b10b288ad5a1d" + } + ], + "domain": { + "name": "LensHub", + "chainId": 137, + "verifyingContract": "0xdb46d1dc155634fbc732f92e853b10b288ad5a1d" + }, + "schemas": [ + { + "primaryType": "act", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "act": [ + { + "name": "publicationActedProfileId", + "type": "uint256" + }, + { + "name": "publicationActedId", + "type": "uint256" + }, + { + "name": "actorProfileId", + "type": "uint256" + }, + { + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "name": "actionModuleAddress", + "type": "address" + }, + { + "name": "actionModuleData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "burn", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "burn": [ + { + "name": "tokenId", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "ChangeDelegatedExecutorsConfig", + "types": { + "ChangeDelegatedExecutorsConfig": [ + { + "name": "delegatorProfileId", + "type": "uint256" + }, + { + "name": "delegatedExecutors", + "type": "address[]" + }, + { + "name": "approvals", + "type": "bool[]" + }, + { + "name": "configNumber", + "type": "uint64" + }, + { + "name": "switchToGivenConfig", + "type": "bool" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + }, + { + "primaryType": "collect", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "collect": [ + { + "name": "publicationCollectedProfileId", + "type": "uint256" + }, + { + "name": "publicationCollectedId", + "type": "uint256" + }, + { + "name": "collectorProfileId", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "collect_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "collect_with_sign": [ + { + "name": "publicationCollectedProfileId", + "type": "uint256" + }, + { + "name": "publicationCollectedId", + "type": "uint256" + }, + { + "name": "collectorProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "Comment", + "types": { + "Comment": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "contentURI", + "type": "string" + }, + { + "name": "pointedProfileId", + "type": "uint256" + }, + { + "name": "pointedPubId", + "type": "uint256" + }, + { + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "name": "referenceModuleData", + "type": "bytes" + }, + { + "name": "actionModules", + "type": "address[]" + }, + { + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "name": "referenceModule", + "type": "address" + }, + { + "name": "referenceModuleInitData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + }, + { + "primaryType": "comment_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "comment_with_sign": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "create_profile", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "create_profile": [ + { + "name": "to", + "type": "address" + }, + { + "name": "followModule", + "type": "address" + } + ] + } + }, + { + "primaryType": "Follow", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Follow": [ + { + "name": "followerProfileId", + "type": "uint256" + }, + { + "name": "idsOfProfilesToFollow", + "type": "uint256[]" + }, + { + "name": "followTokenIds", + "type": "uint256[]" + }, + { + "name": "datas", + "type": "bytes[]" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "follow_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "follow_with_sign": [ + { + "name": "followerProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "link", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "link": [ + { + "name": "handle_id", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "link_with_sig", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "link_with_sig": [ + { + "name": "handle_id", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "mint", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "mint": [ + { + "name": "to", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "Mirror", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Mirror": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "metadataURI", + "type": "string" + }, + { + "name": "pointedProfileId", + "type": "uint256" + }, + { + "name": "pointedPubId", + "type": "uint256" + }, + { + "name": "referrerProfileIds", + "type": "uint256[]" + }, + { + "name": "referrerPubIds", + "type": "uint256[]" + }, + { + "name": "referenceModuleData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "mirror_with_sig", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "mirror_with_sig": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "Post", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Post": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "contentURI", + "type": "string" + }, + { + "name": "actionModules", + "type": "address[]" + }, + { + "name": "actionModulesInitDatas", + "type": "bytes[]" + }, + { + "name": "referenceModule", + "type": "address" + }, + { + "name": "referenceModuleInitData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "post_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "post_with_sign": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "Quote", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Quote": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "contentURI", + "type": "string" + }, + { + "name": "pointedProfileId", + "type": "uint256" + }, + { + "name": "pointedPubId", + "type": "uint256" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "quote_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "quote_with_sign": [ + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "profile_id_pointed", + "type": "uint256" + }, + { + "name": "pubid_pointed", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "set_block_status", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_block_status": [ + { + "name": "byProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "SetProfileMetadataURI", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "SetProfileMetadataURI": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "metadataURI", + "type": "string" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "set_block_status_with_sig", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_block_status_with_sig": [ + { + "name": "byProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "SetFollowModule", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "SetFollowModule": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "followModule", + "type": "address" + }, + { + "name": "followModuleInitData", + "type": "bytes" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "set_profile_metadata_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "set_profile_metadata_with_sign": [ + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "Unfollow", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Unfollow": [ + { + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "name": "idsOfProfilesToUnfollow", + "type": "uint256[]" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "unfollow_with_sign", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "unfollow_with_sign": [ + { + "name": "unfollowerProfileId", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "LensHub" + }, + "display": { + "formats": { + "act": { + "intent": "act", + "fields": [ + { + "path": "actorProfileId", + "label": "actorProfileId", + "format": "raw" + }, + { + "path": "publicationActedId", + "label": "publicationActedId", + "format": "raw" + }, + { + "path": "publicationActedProfileId", + "label": "publicationActedProfileId", + "format": "raw" + } + ], + "excluded": [ + "deadline", + "actionModuleAddress", + "referrerProfileIds.[]", + "actionModuleData", + "referrerPubIds.[]" + ] + }, + "burn": { + "intent": "burn", + "fields": [ + { + "path": "tokenId", + "label": "tokenId", + "format": "raw" + } + ] + }, + "ChangeDelegatedExecutorsConfig": { + "intent": "ChangeDelegatedExecutorsConfig", + "fields": [ + { + "path": "delegatorProfileId", + "label": "Delegator ProfileId", + "format": "raw" + }, + { + "path": "delegatedExecutors.[]", + "label": "Delegated Executors", + "format": "raw" + }, + { + "path": "approvals.[]", + "label": "Approvals", + "format": "raw" + }, + { + "path": "configNumber", + "label": "configNumber", + "format": "raw" + }, + { + "path": "switchToGivenConfig", + "label": "switchToGivenConfig", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "deadline" + ] + }, + "collect": { + "intent": "collect", + "fields": [ + { + "path": "publicationCollectedProfileId", + "label": "Publication Collected ProfileId", + "format": "raw" + }, + { + "path": "publicationCollectedId", + "label": "Publication CollectedId", + "format": "raw" + }, + { + "path": "collectorProfileId", + "label": "collector ProfileId", + "format": "raw" + } + ] + }, + "collect_with_sign": { + "intent": "collect_with_sign", + "fields": [ + { + "path": "publicationCollectedProfileId", + "label": "publicationCollectedProfileId", + "format": "raw" + }, + { + "path": "publicationCollectedId", + "label": "publicationCollectedId", + "format": "raw" + }, + { + "path": "collectorProfileId", + "label": "collectorProfileId", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "Comment": { + "intent": "Comment", + "fields": [ + { + "path": "profileId", + "label": "Profile Id", + "format": "raw" + }, + { + "path": "contentURI", + "label": "content URI", + "format": "raw" + }, + { + "path": "pointedProfileId", + "label": "Pointed Profile Id", + "format": "raw" + }, + { + "path": "pointedPubId", + "label": "Pointed Pub Id", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "referenceModuleInitData", + "referenceModuleData", + "actionModules", + "deadline", + "referrerProfileIds", + "referenceModule", + "actionModulesInitDatas", + "referrerPubIds" + ] + }, + "comment_with_sign": { + "intent": "comment_with_sign", + "fields": [ + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "profile_id_pointed", + "label": "profile_id_pointed", + "format": "raw" + }, + { + "path": "pubid_pointed", + "label": "pubid_pointed", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "create_profile": { + "intent": "create_profile", + "fields": [ + { + "path": "to", + "label": "to", + "format": "raw" + }, + { + "path": "followModule", + "label": "followModule", + "format": "raw" + } + ] + }, + "Follow": { + "intent": "Follow", + "fields": [ + { + "path": "followerProfileId", + "label": "follower ProfileId", + "format": "raw" + }, + { + "path": "idsOfProfilesToFollow.[]", + "label": "ids Of Profiles To Follow", + "format": "raw" + }, + { + "path": "followTokenIds.[]", + "label": "follow TokenIds", + "format": "raw" + }, + { + "path": "datas.[]", + "label": "datas", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "deadline" + ] + }, + "follow_with_sign": { + "intent": "follow_with_sign", + "fields": [ + { + "path": "followerProfileId", + "label": "followerProfileId", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "link": { + "intent": "link", + "fields": [ + { + "path": "handle_id", + "label": "handle_id", + "format": "raw" + }, + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + } + ] + }, + "link_with_sig": { + "intent": "link_with_sig", + "fields": [ + { + "path": "handle_id", + "label": "handle_id", + "format": "raw" + }, + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "mint": { + "intent": "mint", + "fields": [ + { + "path": "to", + "label": "to", + "format": "raw" + }, + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "profile_id_pointed", + "label": "profile_id_pointed", + "format": "raw" + }, + { + "path": "pubid_pointed", + "label": "pubid_pointed", + "format": "raw" + } + ] + }, + "Mirror": { + "intent": "mirror", + "fields": [ + { + "path": "profileId", + "label": "profileId", + "format": "raw" + }, + { + "path": "metadataURI", + "label": "metadataURI", + "format": "raw" + }, + { + "path": "pointedProfileId", + "label": "pointedProfileId", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "deadline", + "pointedPubId", + "referenceModuleData", + "referrerProfileIds", + "referrerPubIds" + ] + }, + "mirror_with_sig": { + "intent": "mirror_with_sig", + "fields": [ + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "profile_id_pointed", + "label": "profile_id_pointed", + "format": "raw" + }, + { + "path": "pubid_pointed", + "label": "pubid_pointed", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "Post": { + "intent": "Post", + "fields": [ + { + "path": "profileId", + "label": "Profile Id", + "format": "raw" + }, + { + "path": "contentURI", + "label": "Post URI", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "referenceModuleInitData", + "actionModules", + "deadline", + "referenceModule", + "actionModulesInitDatas" + ] + }, + "post_with_sign": { + "intent": "post_with_sign", + "fields": [ + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "Quote": { + "intent": "Quote", + "fields": [ + { + "path": "profileId", + "label": "profileId", + "format": "raw" + }, + { + "path": "contentURI", + "label": "contentURI", + "format": "raw" + }, + { + "path": "pointedProfileId", + "label": "pointedProfileId", + "format": "raw" + }, + { + "path": "pointedPubId", + "label": "pointedPubId", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + }, + { + "path": "deadline", + "label": "deadline", + "format": "raw" + } + ] + }, + "quote_with_sign": { + "intent": "quote_with_sign", + "fields": [ + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "profile_id_pointed", + "label": "profile_id_pointed", + "format": "raw" + }, + { + "path": "pubid_pointed", + "label": "pubid_pointed", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "set_block_status": { + "intent": "set_block_status", + "fields": [ + { + "path": "byProfileId", + "label": "byProfileId", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "SetProfileMetadataURI": { + "intent": "SetProfileMetadataURI", + "fields": [ + { + "path": "profileId", + "label": "profileId", + "format": "raw" + }, + { + "path": "metadataURI", + "label": "metadataURI", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "deadline" + ] + }, + "set_block_status_with_sig": { + "intent": "set_block_status_with_sig", + "fields": [ + { + "path": "byProfileId", + "label": "byProfileId", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "SetFollowModule": { + "intent": "Set Follow Module", + "fields": [ + { + "path": "profileId", + "label": "profileId", + "format": "raw" + }, + { + "path": "followModule", + "label": "followModule", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "deadline", + "followModuleInitData" + ] + }, + "set_profile_metadata_with_sign": { + "intent": "set_profile_metadata_with_sign", + "fields": [ + { + "path": "profileId", + "label": "profileId", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "Unfollow": { + "intent": "Unfollow", + "fields": [ + { + "path": "unfollowerProfileId", + "label": "Unfollower ProfileId", + "format": "raw" + }, + { + "path": "idsOfProfilesToUnfollow.[]", + "label": "ids Of Profiles To Unfollow", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + }, + { + "path": "deadline", + "label": "deadline", + "format": "raw" + } + ] + }, + "unfollow_with_sign": { + "intent": "unfollow_with_sign", + "fields": [ + { + "path": "unfollowerProfileId", + "label": "unfollowerProfileId", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/lens/eip712-lens-token-handle-registry.json b/registry/lens/eip712-lens-token-handle-registry.json new file mode 100644 index 00000000..c14a38ed --- /dev/null +++ b/registry/lens/eip712-lens-token-handle-registry.json @@ -0,0 +1,148 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 137, + "address": "0xd4f2f33680fccb36748fa9831851643781608844" + } + ], + "domain": { + "name": "LensHub", + "chainId": 137, + "verifyingContract": "0xd4f2f33680fccb36748fa9831851643781608844" + }, + "schemas": [ + { + "primaryType": "unlink_with_sig", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "unlink_with_sig": [ + { + "name": "handle_id", + "type": "uint256" + }, + { + "name": "profile_id", + "type": "uint256" + }, + { + "name": "signatureDeadline", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "unlink", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "unlink": [ + { + "name": "handleId", + "type": "uint256" + }, + { + "name": "profileId", + "type": "uint256" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "deadline", + "type": "uint256" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "TokenHandleRegistry" + }, + "display": { + "formats": { + "unlink_with_sig": { + "intent": "unlink_with_sig", + "fields": [ + { + "path": "handle_id", + "label": "handle_id", + "format": "raw" + }, + { + "path": "profile_id", + "label": "profile_id", + "format": "raw" + }, + { + "path": "signatureDeadline", + "label": "signatureDeadline", + "format": "raw" + } + ] + }, + "unlink": { + "intent": "unlink", + "fields": [ + { + "path": "handleId", + "label": "handleId", + "format": "raw" + }, + { + "path": "profileId", + "label": "profileId", + "format": "raw" + }, + { + "path": "nonce", + "label": "nonce", + "format": "raw" + } + ], + "excluded": [ + "deadline" + ] + } + } + } +} diff --git a/registry/lido/calldata-stETH.json b/registry/lido/calldata-stETH.json index ace82762..fe9a4ca4 100644 --- a/registry/lido/calldata-stETH.json +++ b/registry/lido/calldata-stETH.json @@ -1,4 +1,6 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { "$id": "stETH", "contract": { diff --git a/registry/lido/calldata-wstETH.json b/registry/lido/calldata-wstETH.json index ffd1bd7b..417cabb6 100644 --- a/registry/lido/calldata-wstETH.json +++ b/registry/lido/calldata-wstETH.json @@ -1,4 +1,6 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { "$id": "wstETH", "contract": { diff --git a/registry/makerdao/eip712-permit-DAI.json b/registry/makerdao/eip712-permit-DAI.json index fe2170e7..f8d9cad3 100644 --- a/registry/makerdao/eip712-permit-DAI.json +++ b/registry/makerdao/eip712-permit-DAI.json @@ -1,4 +1,6 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { "eip712" : { "domain": { diff --git a/registry/opensea/eip712-opensea.json b/registry/opensea/eip712-opensea.json new file mode 100644 index 00000000..e30b7ab5 --- /dev/null +++ b/registry/opensea/eip712-opensea.json @@ -0,0 +1,190 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x7f268357a8c2552623316e2562d90e642bb538e5" + } + ], + "domain": { + "name": "OpenSea", + "chainId": 1, + "verifyingContract": "0x7f268357a8c2552623316e2562d90e642bb538e5" + }, + "schemas": [ + { + "primaryType": "Order", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Order": [ + { + "name": "exchange", + "type": "address" + }, + { + "name": "maker", + "type": "address" + }, + { + "name": "taker", + "type": "address" + }, + { + "name": "makerRelayerFee", + "type": "uint256" + }, + { + "name": "takerRelayerFee", + "type": "uint256" + }, + { + "name": "makerProtocolFee", + "type": "uint256" + }, + { + "name": "takerProtocolFee", + "type": "uint256" + }, + { + "name": "feeRecipient", + "type": "address" + }, + { + "name": "feeMethod", + "type": "uint8" + }, + { + "name": "side", + "type": "uint8" + }, + { + "name": "saleKind", + "type": "uint8" + }, + { + "name": "target", + "type": "address" + }, + { + "name": "howToCall", + "type": "uint8" + }, + { + "name": "calldata", + "type": "bytes" + }, + { + "name": "replacementPattern", + "type": "bytes" + }, + { + "name": "staticTarget", + "type": "address" + }, + { + "name": "staticExtradata", + "type": "bytes" + }, + { + "name": "paymentToken", + "type": "address" + }, + { + "name": "basePrice", + "type": "uint256" + }, + { + "name": "extra", + "type": "uint256" + }, + { + "name": "listingTime", + "type": "uint256" + }, + { + "name": "expirationTime", + "type": "uint256" + }, + { + "name": "salt", + "type": "uint256" + }, + { + "name": "nonce", + "type": "uint256" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Wyvern Exchange Contract" + }, + "display": { + "formats": { + "Order": { + "intent": "OpenSea Listing", + "fields": [ + { + "path": "exchange", + "label": "Contract address", + "format": "raw" + }, + { + "path": "basePrice", + "label": "Price", + "format": "raw" + }, + { + "path": "expirationTime", + "label": "Offer expiration", + "format": "raw" + } + ], + "excluded": [ + "side", + "extra", + "saleKind", + "staticTarget", + "target", + "howToCall", + "makerRelayerFee", + "feeMethod", + "replacementPattern", + "takerRelayerFee", + "taker", + "listingTime", + "staticExtradata", + "makerProtocolFee", + "takerProtocolFee", + "paymentToken", + "calldata", + "salt", + "feeRecipient", + "maker" + ] + } + } + } +} diff --git a/registry/paraswap/calldata-AugustusSwapper.json b/registry/paraswap/calldata-AugustusSwapper.json index 4ff6b194..1cc3c2b2 100644 --- a/registry/paraswap/calldata-AugustusSwapper.json +++ b/registry/paraswap/calldata-AugustusSwapper.json @@ -1,4 +1,5 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", "context": { "$id": "AugustusSwapper", "contract": { diff --git a/registry/paraswap/eip712-paraswap.json b/registry/paraswap/eip712-paraswap.json new file mode 100644 index 00000000..5ee4dc66 --- /dev/null +++ b/registry/paraswap/eip712-paraswap.json @@ -0,0 +1,263 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xe92b586627cca7a83dc919cc7127196d70f55a06" + }, + { + "chainId": 10, + "address": "0x0927fd43a7a87e3e8b81df2c44b03c4756849f6d" + }, + { + "chainId": 56, + "address": "0x8dcdfe88ef0351f27437284d0710cd65b20288bb" + }, + { + "chainId": 137, + "address": "0xf3cd476c3c4d3ac5ca2724767f269070ca09a043" + }, + { + "chainId": 42161, + "address": "0x0927fd43a7a87e3e8b81df2c44b03c4756849f6d" + } + ], + "domain": { + "name": "ParaSwap" + }, + "schemas": [ + { + "primaryType": "Order", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Order": [ + { + "name": "nonceAndMeta", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint128" + }, + { + "name": "makerAsset", + "type": "address" + }, + { + "name": "takerAsset", + "type": "address" + }, + { + "name": "maker", + "type": "address" + }, + { + "name": "taker", + "type": "address" + }, + { + "name": "makerAmount", + "type": "uint256" + }, + { + "name": "takerAmount", + "type": "uint256" + } + ] + } + }, + { + "primaryType": "OrderNFT", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "OrderNFT": [ + { + "name": "nonceAndMeta", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint128" + }, + { + "name": "makerAsset", + "type": "uint256" + }, + { + "name": "makerAssetId", + "type": "uint256" + }, + { + "name": "takerAsset", + "type": "uint256" + }, + { + "name": "takerAssetId", + "type": "uint256" + }, + { + "name": "maker", + "type": "address" + }, + { + "name": "taker", + "type": "address" + }, + { + "name": "makerAmount", + "type": "uint256" + }, + { + "name": "takerAmount", + "type": "uint256" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "AugustusRFQ" + }, + "display": { + "formats": { + "Order": { + "intent": "AugustusRFQ ERC20 order", + "fields": [ + { + "path": "nonceAndMeta", + "label": "Nonce and metadata", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiration time", + "format": "raw" + }, + { + "path": "makerAsset", + "label": "Maker asset address", + "format": "raw" + }, + { + "path": "takerAsset", + "label": "Taker asset address", + "format": "raw" + }, + { + "path": "maker", + "label": "Maker address", + "format": "raw" + }, + { + "path": "taker", + "label": "Taker address", + "format": "raw" + }, + { + "path": "makerAmount", + "label": "Maker amount", + "format": "raw" + }, + { + "path": "takerAmount", + "label": "Taker amount", + "format": "raw" + } + ] + }, + "OrderNFT": { + "intent": "AugustusRFQ NFT order", + "fields": [ + { + "path": "nonceAndMeta", + "label": "Nonce and metadata", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiration time", + "format": "raw" + }, + { + "path": "makerAsset", + "label": "Maker asset encoded", + "format": "raw" + }, + { + "path": "makerAssetId", + "label": "Maker asset NFT ID", + "format": "raw" + }, + { + "path": "takerAsset", + "label": "Taker asset encoded", + "format": "raw" + }, + { + "path": "takerAssetId", + "label": "Taker asset NFT ID", + "format": "raw" + }, + { + "path": "maker", + "label": "Maker address", + "format": "raw" + }, + { + "path": "taker", + "label": "Taker address", + "format": "raw" + }, + { + "path": "makerAmount", + "label": "Maker amount", + "format": "raw" + }, + { + "path": "takerAmount", + "label": "Taker amount", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/permit/eip712-permit-arbitrum-arb.json b/registry/permit/eip712-permit-arbitrum-arb.json new file mode 100644 index 00000000..1bafb9d4 --- /dev/null +++ b/registry/permit/eip712-permit-arbitrum-arb.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 42161, + "address": "0x912ce59144191c1204e64559fe8253a0e49e6548" + } + ], + "domain": { + "name": "Permit", + "chainId": 42161, + "verifyingContract": "0x912ce59144191c1204e64559fe8253a0e49e6548" + } + } + }, + "metadata": { + "owner": "Arbitrum" + } +} diff --git a/registry/permit/eip712-permit-arbitrum-bridged-usdc.json b/registry/permit/eip712-permit-arbitrum-bridged-usdc.json new file mode 100644 index 00000000..5545f32c --- /dev/null +++ b/registry/permit/eip712-permit-arbitrum-bridged-usdc.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 42161, + "address": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8" + } + ], + "domain": { + "name": "Permit", + "chainId": 42161, + "verifyingContract": "0xff970a61a04b1ca14834a43f5de4533ebddb5cc8" + } + } + }, + "metadata": { + "owner": "USDC (bridged)" + } +} diff --git a/registry/permit/eip712-permit-avalanche_c_chain-pangolin.json b/registry/permit/eip712-permit-avalanche_c_chain-pangolin.json new file mode 100644 index 00000000..c0647898 --- /dev/null +++ b/registry/permit/eip712-permit-avalanche_c_chain-pangolin.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 43114, + "address": "0x60781c2586d68229fde47564546784ab3faca982" + } + ], + "domain": { + "name": "Permit", + "chainId": 43114, + "verifyingContract": "0x60781c2586d68229fde47564546784ab3faca982" + } + } + }, + "metadata": { + "owner": "Pangolin" + } +} diff --git a/registry/permit/eip712-permit-avalanche_c_chain-yetiswap.json b/registry/permit/eip712-permit-avalanche_c_chain-yetiswap.json new file mode 100644 index 00000000..2bab3a13 --- /dev/null +++ b/registry/permit/eip712-permit-avalanche_c_chain-yetiswap.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 43114, + "address": "0x488f73cddda1de3664775ffd91623637383d6404" + } + ], + "domain": { + "name": "Permit", + "chainId": 43114, + "verifyingContract": "0x488f73cddda1de3664775ffd91623637383d6404" + } + } + }, + "metadata": { + "owner": "YetiSwap" + } +} diff --git a/registry/permit/eip712-permit-bsc-1inch-token.json b/registry/permit/eip712-permit-bsc-1inch-token.json new file mode 100644 index 00000000..cdf0c5d3 --- /dev/null +++ b/registry/permit/eip712-permit-bsc-1inch-token.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 56, + "address": "0x111111111117dc0aa78b770fa6a738034120c302" + } + ], + "domain": { + "name": "Permit", + "chainId": 56, + "verifyingContract": "0x111111111117dc0aa78b770fa6a738034120c302" + } + } + }, + "metadata": { + "owner": "1INCH Token" + } +} diff --git a/registry/permit/eip712-permit-bsc-polkastarter-token.json b/registry/permit/eip712-permit-bsc-polkastarter-token.json new file mode 100644 index 00000000..a52cc958 --- /dev/null +++ b/registry/permit/eip712-permit-bsc-polkastarter-token.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 56, + "address": "0x7e624fa0e1c4abfd309cc15719b7e2580887f570" + } + ], + "domain": { + "name": "Permit", + "chainId": 56, + "verifyingContract": "0x7e624fa0e1c4abfd309cc15719b7e2580887f570" + } + } + }, + "metadata": { + "owner": "PolkastarterToken" + } +} diff --git a/registry/permit/eip712-permit-ethereum-aave.json b/registry/permit/eip712-permit-ethereum-aave.json new file mode 100644 index 00000000..720d03ee --- /dev/null +++ b/registry/permit/eip712-permit-ethereum-aave.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9" + } + ], + "domain": { + "name": "Permit", + "chainId": 1, + "verifyingContract": "0x7fc66500c84a76ad7e9c93437bfc5ac33e2ddae9" + } + } + }, + "metadata": { + "owner": "Aave" + } +} diff --git a/registry/permit/eip712-permit-ethereum-dai.json b/registry/permit/eip712-permit-ethereum-dai.json new file mode 100644 index 00000000..4d0c9c85 --- /dev/null +++ b/registry/permit/eip712-permit-ethereum-dai.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x6b175474e89094c44da98b954eedeac495271d0f" + } + ], + "domain": { + "name": "Permit", + "chainId": 1, + "verifyingContract": "0x6b175474e89094c44da98b954eedeac495271d0f" + } + } + }, + "metadata": { + "owner": "Dai Stablecoin v2.0" + } +} diff --git a/registry/permit/eip712-permit-ethereum-usdc.json b/registry/permit/eip712-permit-ethereum-usdc.json new file mode 100644 index 00000000..11661716 --- /dev/null +++ b/registry/permit/eip712-permit-ethereum-usdc.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" + } + ], + "domain": { + "name": "Permit", + "chainId": 1, + "verifyingContract": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" + } + } + }, + "metadata": { + "owner": "USDC" + } +} diff --git a/registry/permit/eip712-permit-fantom-mimatic.json b/registry/permit/eip712-permit-fantom-mimatic.json new file mode 100644 index 00000000..128dc33c --- /dev/null +++ b/registry/permit/eip712-permit-fantom-mimatic.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 250, + "address": "0xfb98b335551a418cd0737375a2ea0ded62ea213b" + } + ], + "domain": { + "name": "Permit", + "chainId": 250, + "verifyingContract": "0xfb98b335551a418cd0737375a2ea0ded62ea213b" + } + } + }, + "metadata": { + "owner": "miMATIC" + } +} diff --git a/registry/permit/eip712-permit-fantom-wootrade.json b/registry/permit/eip712-permit-fantom-wootrade.json new file mode 100644 index 00000000..cc71920c --- /dev/null +++ b/registry/permit/eip712-permit-fantom-wootrade.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 250, + "address": "0x6626c47c00f1d87902fc13eecfac3ed06d5e8d8a" + } + ], + "domain": { + "name": "Permit", + "chainId": 250, + "verifyingContract": "0x6626c47c00f1d87902fc13eecfac3ed06d5e8d8a" + } + } + }, + "metadata": { + "owner": "Wootrade Network" + } +} diff --git a/registry/permit/eip712-permit-optimism-bob.json b/registry/permit/eip712-permit-optimism-bob.json new file mode 100644 index 00000000..a12ad3b1 --- /dev/null +++ b/registry/permit/eip712-permit-optimism-bob.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 10, + "address": "0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b" + } + ], + "domain": { + "name": "Permit", + "chainId": 10, + "verifyingContract": "0xb0b195aefa3650a6908f15cdac7d92f8a5791b0b" + } + } + }, + "metadata": { + "owner": "BOB" + } +} diff --git a/registry/permit/eip712-permit-optimism-op.json b/registry/permit/eip712-permit-optimism-op.json new file mode 100644 index 00000000..a34dd30d --- /dev/null +++ b/registry/permit/eip712-permit-optimism-op.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 10, + "address": "0x4200000000000000000000000000000000000042" + } + ], + "domain": { + "name": "Permit", + "chainId": 10, + "verifyingContract": "0x4200000000000000000000000000000000000042" + } + } + }, + "metadata": { + "owner": "Optimism" + } +} diff --git a/registry/permit/eip712-permit-polygon-aave-dai.json b/registry/permit/eip712-permit-polygon-aave-dai.json new file mode 100644 index 00000000..a3e8e342 --- /dev/null +++ b/registry/permit/eip712-permit-polygon-aave-dai.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 137, + "address": "0x27f8d03b3a2196956ed754badc28d73be8830a6e" + } + ], + "domain": { + "name": "Permit", + "chainId": 137, + "verifyingContract": "0x27f8d03b3a2196956ed754badc28d73be8830a6e" + } + } + }, + "metadata": { + "owner": "Aave Matic Market DAI" + } +} diff --git a/registry/permit/eip712-permit-polygon-aave-weth.json b/registry/permit/eip712-permit-polygon-aave-weth.json new file mode 100644 index 00000000..0c2fe5de --- /dev/null +++ b/registry/permit/eip712-permit-polygon-aave-weth.json @@ -0,0 +1,21 @@ +{ + "includes": "../../ercs/eip712-erc2612-permit.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 137, + "address": "0x28424507fefb6f7f8e9d3860f56504e4e5f5f390" + } + ], + "domain": { + "name": "Permit", + "chainId": 137, + "verifyingContract": "0x28424507fefb6f7f8e9d3860f56504e4e5f5f390" + } + } + }, + "metadata": { + "owner": "Aave Matic Market WETH" + } +} diff --git a/registry/rarible/eip712-rarible-erc-1155.json b/registry/rarible/eip712-rarible-erc-1155.json new file mode 100644 index 00000000..abaa4664 --- /dev/null +++ b/registry/rarible/eip712-rarible-erc-1155.json @@ -0,0 +1,104 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xb66a603f4cfe17e3d27b87a8bfcad319856518b8" + } + ], + "domain": { + "name": "Rarible", + "chainId": 1, + "verifyingContract": "0xb66a603f4cfe17e3d27b87a8bfcad319856518b8" + }, + "schemas": [ + { + "primaryType": "Mint1155", + "types": { + "Mint1155": [ + { + "name": "tokenId", + "type": "uint256" + }, + { + "name": "supply", + "type": "uint256" + }, + { + "name": "tokenURI", + "type": "string" + }, + { + "name": "creators", + "type": "Part[]" + }, + { + "name": "royalties", + "type": "Part[]" + } + ], + "Part": [ + { + "name": "account", + "type": "address" + }, + { + "name": "value", + "type": "uint96" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Rarible ERC-1155 Collection" + }, + "display": { + "formats": { + "Mint1155": { + "intent": "Lazy Mint ERC-1155", + "fields": [ + { + "path": "tokenId", + "label": "Token ID", + "format": "raw" + }, + { + "path": "tokenURI", + "label": "Token URI", + "format": "raw" + }, + { + "path": "supply", + "label": "Token Supply", + "format": "raw" + }, + { + "path": "creators.[].account", + "label": "Creator account address", + "format": "raw" + }, + { + "path": "creators.[].value", + "label": "Creator value (10000 = 100%)", + "format": "raw" + }, + { + "path": "royalties.[].account", + "label": "Royalties account address", + "format": "raw" + }, + { + "path": "royalties.[].value", + "label": "Royalties value (10000 = 100%)", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/rarible/eip712-rarible-erc-721.json b/registry/rarible/eip712-rarible-erc-721.json new file mode 100644 index 00000000..d8c50b1a --- /dev/null +++ b/registry/rarible/eip712-rarible-erc-721.json @@ -0,0 +1,95 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xc9154424b823b10579895ccbe442d41b9abd96ed" + } + ], + "domain": { + "name": "Rarible", + "chainId": 1, + "verifyingContract": "0xc9154424b823b10579895ccbe442d41b9abd96ed" + }, + "schemas": [ + { + "primaryType": "Mint721", + "types": { + "Mint721": [ + { + "name": "tokenId", + "type": "uint256" + }, + { + "name": "tokenURI", + "type": "string" + }, + { + "name": "creators", + "type": "Part[]" + }, + { + "name": "royalties", + "type": "Part[]" + } + ], + "Part": [ + { + "name": "account", + "type": "address" + }, + { + "name": "value", + "type": "uint96" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Rarible ERC-721 Collection" + }, + "display": { + "formats": { + "Mint721": { + "intent": "Lazy Mint ERC-721", + "fields": [ + { + "path": "tokenId", + "label": "Token ID", + "format": "raw" + }, + { + "path": "tokenURI", + "label": "Token URI", + "format": "raw" + }, + { + "path": "creators.[].account", + "label": "Creator account address", + "format": "raw" + }, + { + "path": "creators.[].value", + "label": "Creator value (10000 = 100%)", + "format": "raw" + }, + { + "path": "royalties.[].account", + "label": "Royalties account address", + "format": "raw" + }, + { + "path": "royalties.[].value", + "label": "Royalties value (10000 = 100%)", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/rarible/eip712-rarible-exchange-v2.json b/registry/rarible/eip712-rarible-exchange-v2.json new file mode 100644 index 00000000..f1429e2d --- /dev/null +++ b/registry/rarible/eip712-rarible-exchange-v2.json @@ -0,0 +1,209 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x9757f2d2b135150bbeb65308d4a91804107cd8d6" + }, + { + "chainId": 137, + "address": "0x7f19564c35c681099c0c857a7141836cf7edaa53" + } + ], + "domain": { + "name": "Rarible" + }, + "schemas": [ + { + "primaryType": "Order", + "types": { + "Asset": [ + { + "name": "assetType", + "type": "AssetType" + }, + { + "name": "value", + "type": "uint256" + } + ], + "AssetType": [ + { + "name": "assetClass", + "type": "bytes4" + }, + { + "name": "data", + "type": "bytes" + } + ], + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Order": [ + { + "name": "maker", + "type": "address" + }, + { + "name": "makeAsset", + "type": "Asset" + }, + { + "name": "taker", + "type": "address" + }, + { + "name": "takeAsset", + "type": "Asset" + }, + { + "name": "salt", + "type": "uint256" + }, + { + "name": "start", + "type": "uint256" + }, + { + "name": "end", + "type": "uint256" + }, + { + "name": "dataType", + "type": "bytes4" + }, + { + "name": "data", + "type": "bytes" + } + ] + } + }, + { + "primaryType": "MetaTransaction", + "types": { + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "salt", + "type": "bytes32" + } + ], + "MetaTransaction": [ + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "from", + "type": "address" + }, + { + "name": "functionSignature", + "type": "bytes" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Rarible ExchangeV2" + }, + "display": { + "formats": { + "Order": { + "intent": "List Order", + "fields": [ + { + "path": "maker", + "label": "Order maker address", + "format": "raw" + }, + { + "path": "makeAsset.value", + "label": "Order make asset value", + "format": "raw" + }, + { + "path": "taker", + "label": "Order taker address", + "format": "raw" + }, + { + "path": "takeAsset.value", + "label": "Order take asset value", + "format": "raw" + }, + { + "path": "start", + "label": "Order start time", + "format": "raw" + }, + { + "path": "end", + "label": "Order end time", + "format": "raw" + } + ], + "excluded": [ + "makeAsset.assetType.assetClass", + "dataType", + "makeAsset.assetType.data", + "takeAsset.assetType.data", + "takeAsset.assetType.assetClass", + "data", + "salt" + ] + }, + "MetaTransaction": { + "intent": "Meta Transaction", + "fields": [ + { + "path": "from", + "label": "User Address", + "format": "raw" + }, + { + "path": "nonce", + "label": "Meta Transaction Nonce", + "format": "raw" + } + ], + "excluded": [ + "functionSignature" + ] + } + } + } +} diff --git a/registry/rarible/eip712-rarible-exchange-wrapper.json b/registry/rarible/eip712-rarible-exchange-wrapper.json new file mode 100644 index 00000000..49647f18 --- /dev/null +++ b/registry/rarible/eip712-rarible-exchange-wrapper.json @@ -0,0 +1,152 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x7f19564c35c681099c0c857a7141836cf7edaa53" + } + ], + "domain": { + "name": "Rarible", + "chainId": 1, + "verifyingContract": "0x7f19564c35c681099c0c857a7141836cf7edaa53" + }, + "schemas": [ + { + "primaryType": "Order", + "types": { + "Asset": [ + { + "name": "assetType", + "type": "AssetType" + }, + { + "name": "value", + "type": "uint256" + } + ], + "AssetType": [ + { + "name": "assetClass", + "type": "bytes4" + }, + { + "name": "data", + "type": "bytes" + } + ], + "EIP712Domain": [ + { + "name": "name", + "type": "string" + }, + { + "name": "version", + "type": "string" + }, + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "verifyingContract", + "type": "address" + } + ], + "Order": [ + { + "name": "maker", + "type": "address" + }, + { + "name": "makeAsset", + "type": "Asset" + }, + { + "name": "taker", + "type": "address" + }, + { + "name": "takeAsset", + "type": "Asset" + }, + { + "name": "salt", + "type": "uint256" + }, + { + "name": "start", + "type": "uint256" + }, + { + "name": "end", + "type": "uint256" + }, + { + "name": "dataType", + "type": "bytes4" + }, + { + "name": "data", + "type": "bytes" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "RaribleExchangeWrapper" + }, + "display": { + "formats": { + "Order": { + "intent": "List Order", + "fields": [ + { + "path": "maker", + "label": "Order maker address", + "format": "raw" + }, + { + "path": "makeAsset.value", + "label": "Order make asset value", + "format": "raw" + }, + { + "path": "taker", + "label": "Order taker address", + "format": "raw" + }, + { + "path": "takeAsset.value", + "label": "Order take asset value", + "format": "raw" + }, + { + "path": "start", + "label": "Order start time", + "format": "raw" + }, + { + "path": "end", + "label": "Order end time", + "format": "raw" + } + ], + "excluded": [ + "makeAsset.assetType.assetClass", + "dataType", + "makeAsset.assetType.data", + "takeAsset.assetType.data", + "takeAsset.assetType.assetClass", + "data", + "salt" + ] + } + } + } +} diff --git a/registry/smartcredit/eip712-smartcredit.json b/registry/smartcredit/eip712-smartcredit.json new file mode 100644 index 00000000..860af9ae --- /dev/null +++ b/registry/smartcredit/eip712-smartcredit.json @@ -0,0 +1,120 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x72e9d9038ce484ee986fea183f8d8df93f9ada13" + } + ], + "domain": { + "name": "SmartCredit.io", + "chainId": 1, + "verifyingContract": "0x72e9d9038ce484ee986fea183f8d8df93f9ada13" + }, + "schemas": [ + { + "primaryType": "LoanRequest", + "types": { + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ], + "LoanRequest": [ + { + "name": "collateralAddress", + "type": "address" + }, + { + "name": "initialCollateralAmount", + "type": "uint256" + }, + { + "name": "loanAmount", + "type": "uint256" + }, + { + "name": "loanId", + "type": "bytes32" + }, + { + "name": "loanInterestRate", + "type": "uint64" + }, + { + "name": "loanTerm", + "type": "uint64" + }, + { + "name": "underlyingAddress", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "SMARTCREDIT" + }, + "display": { + "formats": { + "LoanRequest": { + "intent": "SmartCredit.io", + "fields": [ + { + "path": "collateralAddress", + "label": "Collateral address", + "format": "raw" + }, + { + "path": "initialCollateralAmount", + "label": "Initial Collateral Amount", + "format": "raw" + }, + { + "path": "loanAmount", + "label": "Loan Amount", + "format": "raw" + }, + { + "path": "loanId", + "label": "Loan ID", + "format": "raw" + }, + { + "path": "loanInterestRate", + "label": "Loan interest rate", + "format": "raw" + }, + { + "path": "loanTerm", + "label": "Load Term", + "format": "raw" + }, + { + "path": "underlyingAddress", + "label": "Underlying Address", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-arbitrum-arb-token.json b/registry/tally/eip712-tally-arbitrum-arb-token.json new file mode 100644 index 00000000..dd72f9e9 --- /dev/null +++ b/registry/tally/eip712-tally-arbitrum-arb-token.json @@ -0,0 +1,84 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 42161, + "address": "0x912ce59144191c1204e64559fe8253a0e49e6548" + } + ], + "domain": { + "name": "Tally", + "chainId": 42161, + "verifyingContract": "0x912ce59144191c1204e64559fe8253a0e49e6548" + }, + "schemas": [ + { + "primaryType": "Delegation", + "types": { + "Delegation": [ + { + "name": "delegatee", + "type": "address" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Arbitrum" + }, + "display": { + "formats": { + "Delegation": { + "intent": "ARB token", + "fields": [ + { + "path": "delegatee", + "label": "Delegatee", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiry", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-arbitrum-core-governor.json b/registry/tally/eip712-tally-arbitrum-core-governor.json new file mode 100644 index 00000000..b8ad1798 --- /dev/null +++ b/registry/tally/eip712-tally-arbitrum-core-governor.json @@ -0,0 +1,75 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 42161, + "address": "0xf07ded9dc292157749b6fd268e37df6ea38395b9" + } + ], + "domain": { + "name": "Tally", + "chainId": 42161, + "verifyingContract": "0xf07ded9dc292157749b6fd268e37df6ea38395b9" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "L2ArbitrumGovernor" + }, + "display": { + "formats": { + "Ballot": { + "intent": "Arbitrum Foundation: Core Governor", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-arbitrum-treasury-governor.json b/registry/tally/eip712-tally-arbitrum-treasury-governor.json new file mode 100644 index 00000000..467cf8b8 --- /dev/null +++ b/registry/tally/eip712-tally-arbitrum-treasury-governor.json @@ -0,0 +1,75 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 42161, + "address": "0x789fc99093b09ad01c34dc7251d0c89ce743e5a4" + } + ], + "domain": { + "name": "Tally", + "chainId": 42161, + "verifyingContract": "0x789fc99093b09ad01c34dc7251d0c89ce743e5a4" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "L2ArbitrumGovernor" + }, + "display": { + "formats": { + "Ballot": { + "intent": "Arbitrum Foundation: Treasury Governor", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-bitcoin-governor.json b/registry/tally/eip712-tally-ethereum-bitcoin-governor.json new file mode 100644 index 00000000..d4acb3b0 --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-bitcoin-governor.json @@ -0,0 +1,71 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xdbd27635a534a3d3169ef0498beb56fb9c937489" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0xdbd27635a534a3d3169ef0498beb56fb9c937489" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "GTC Governor Alpha" + }, + "display": { + "formats": { + "Ballot": { + "intent": "Gitcoin Governor", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-bravo-governor.json b/registry/tally/eip712-tally-ethereum-bravo-governor.json new file mode 100644 index 00000000..8cdfc0b3 --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-bravo-governor.json @@ -0,0 +1,71 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x408ed6354d4973f66138c91495f2f2fcbd8724c3" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0x408ed6354d4973f66138c91495f2f2fcbd8724c3" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Uniswap Governor Bravo" + }, + "display": { + "formats": { + "Ballot": { + "intent": "Uniswap Governor", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-ens-governor.json b/registry/tally/eip712-tally-ethereum-ens-governor.json new file mode 100644 index 00000000..d54f27a7 --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-ens-governor.json @@ -0,0 +1,75 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x323a76393544d5ecca80cd6ef2a560c6a395b7e3" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0x323a76393544d5ecca80cd6ef2a560c6a395b7e3" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "ENS Governor" + }, + "display": { + "formats": { + "Ballot": { + "intent": "ENS Governor", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-ens-token.json b/registry/tally/eip712-tally-ethereum-ens-token.json new file mode 100644 index 00000000..25b534f9 --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-ens-token.json @@ -0,0 +1,84 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xc18360217d8f7ab5e7c516566761ea12ce7f9d72" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0xc18360217d8f7ab5e7c516566761ea12ce7f9d72" + }, + "schemas": [ + { + "primaryType": "Delegation", + "types": { + "Delegation": [ + { + "name": "delegatee", + "type": "address" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + }, + { + "name": "version", + "type": "string" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Ethereum Name Service" + }, + "display": { + "formats": { + "Delegation": { + "intent": "ENS token", + "fields": [ + { + "path": "delegatee", + "label": "Delegatee", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiry", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-gtk-token.json b/registry/tally/eip712-tally-ethereum-gtk-token.json new file mode 100644 index 00000000..dce56a3b --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-gtk-token.json @@ -0,0 +1,80 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0xde30da39c46104798bb5aa3fe8b9e0e1f348163f" + }, + "schemas": [ + { + "primaryType": "Delegation", + "types": { + "Delegation": [ + { + "name": "delegatee", + "type": "address" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Gitcoin" + }, + "display": { + "formats": { + "Delegation": { + "intent": "GTK token", + "fields": [ + { + "path": "delegatee", + "label": "Delegatee", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiry", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-hop-governor.json b/registry/tally/eip712-tally-ethereum-hop-governor.json new file mode 100644 index 00000000..83faefc6 --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-hop-governor.json @@ -0,0 +1,71 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xed8bdb5895b8b7f9fdb3c087628fd8410e853d48" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0xed8bdb5895b8b7f9fdb3c087628fd8410e853d48" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "HOP Governor" + }, + "display": { + "formats": { + "Ballot": { + "intent": "Hop Governor", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-hop-token.json b/registry/tally/eip712-tally-ethereum-hop-token.json new file mode 100644 index 00000000..7db4f35d --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-hop-token.json @@ -0,0 +1,80 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0xc5102fe9359fd9a28f877a67e36b0f050d81a3cc" + }, + "schemas": [ + { + "primaryType": "Delegation", + "types": { + "Delegation": [ + { + "name": "delegatee", + "type": "address" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Hop" + }, + "display": { + "formats": { + "Delegation": { + "intent": "HOP token", + "fields": [ + { + "path": "delegatee", + "label": "Delegatee", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiry", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-pool-token.json b/registry/tally/eip712-tally-ethereum-pool-token.json new file mode 100644 index 00000000..d2280636 --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-pool-token.json @@ -0,0 +1,80 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x0cec1a9154ff802e7934fc916ed7ca50bde6844e" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0x0cec1a9154ff802e7934fc916ed7ca50bde6844e" + }, + "schemas": [ + { + "primaryType": "Delegation", + "types": { + "Delegation": [ + { + "name": "delegatee", + "type": "address" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "PoolTogether" + }, + "display": { + "formats": { + "Delegation": { + "intent": "POOL token", + "fields": [ + { + "path": "delegatee", + "label": "Delegatee", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiry", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-pooltogether-governor.json b/registry/tally/eip712-tally-ethereum-pooltogether-governor.json new file mode 100644 index 00000000..08090fac --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-pooltogether-governor.json @@ -0,0 +1,71 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0xb3a87172f555ae2a2ab79be60b336d2f7d0187f0" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0xb3a87172f555ae2a2ab79be60b336d2f7d0187f0" + }, + "schemas": [ + { + "primaryType": "Ballot", + "types": { + "Ballot": [ + { + "name": "proposalId", + "type": "uint256" + }, + { + "name": "support", + "type": "uint8" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "PoolTogether Governor Alpha" + }, + "display": { + "formats": { + "Ballot": { + "intent": "PoolTogether Governor Alpha", + "fields": [ + { + "path": "proposalId", + "label": "Proposal id", + "format": "raw" + }, + { + "path": "support", + "label": "Support", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tally/eip712-tally-ethereum-uni-token.json b/registry/tally/eip712-tally-ethereum-uni-token.json new file mode 100644 index 00000000..fa11fb4a --- /dev/null +++ b/registry/tally/eip712-tally-ethereum-uni-token.json @@ -0,0 +1,80 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { + "eip712": { + "deployments": [ + { + "chainId": 1, + "address": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984" + } + ], + "domain": { + "name": "Tally", + "chainId": 1, + "verifyingContract": "0x1f9840a85d5af5bf1d1762f925bdaddc4201f984" + }, + "schemas": [ + { + "primaryType": "Delegation", + "types": { + "Delegation": [ + { + "name": "delegatee", + "type": "address" + }, + { + "name": "nonce", + "type": "uint256" + }, + { + "name": "expiry", + "type": "uint256" + } + ], + "EIP712Domain": [ + { + "name": "chainId", + "type": "uint256" + }, + { + "name": "name", + "type": "string" + }, + { + "name": "verifyingContract", + "type": "address" + } + ] + } + } + ] + } + }, + "metadata": { + "owner": "Uniswap" + }, + "display": { + "formats": { + "Delegation": { + "intent": "UNI token", + "fields": [ + { + "path": "delegatee", + "label": "Delegatee", + "format": "raw" + }, + { + "path": "nonce", + "label": "Nonce", + "format": "raw" + }, + { + "path": "expiry", + "label": "Expiry", + "format": "raw" + } + ] + } + } + } +} diff --git a/registry/tether/calldata-usdt.json b/registry/tether/calldata-usdt.json index 18294d15..556ff059 100644 --- a/registry/tether/calldata-usdt.json +++ b/registry/tether/calldata-usdt.json @@ -1,4 +1,6 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { "$id": "Tether USD", "contract" : { diff --git a/registry/uniswap/calldata-UniswapV3Router02.json b/registry/uniswap/calldata-UniswapV3Router02.json index 1d70d1bd..8f3d649d 100644 --- a/registry/uniswap/calldata-UniswapV3Router02.json +++ b/registry/uniswap/calldata-UniswapV3Router02.json @@ -1,4 +1,6 @@ { + "$schema": "../../specs/erc7730-v1.schema.json", + "context": { "$id": "Uniswap v3 Router 2", "contract": { diff --git a/registry/uniswap/common-eip712.json b/registry/uniswap/common-eip712.json deleted file mode 100644 index 8c2dd421..00000000 --- a/registry/uniswap/common-eip712.json +++ /dev/null @@ -1,26 +0,0 @@ -{ - "$schema": "../../specs/erc7730-v1.schema.json", - - "context": { - "eip712": { - "domain": { - "name": "Permit2" - }, - "deployments": [ - { - "chainId": 1, - "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" - } - ] - } - }, - - "metadata": { - "owner": "Uniswap", - "info": { - "legalName": "Uniswap Labs", - "lastUpdate": "2021-12-14T00:00:00Z", - "url": "https://uniswap.org/" - } - } -} \ No newline at end of file diff --git a/registry/uniswap/eip712-UniswapX-DutchOrder.json b/registry/uniswap/eip712-UniswapX-DutchOrder.json index debec9e7..5831af38 100644 --- a/registry/uniswap/eip712-UniswapX-DutchOrder.json +++ b/registry/uniswap/eip712-UniswapX-DutchOrder.json @@ -1,7 +1,7 @@ { "$schema": "../../specs/erc7730-v1.schema.json", - "includes": "common-eip712.json", + "includes": "uniswap-common-eip712.json", "context": { "eip712": { diff --git a/registry/uniswap/eip712-UniswapX-ExclusiveDutchOrder.json b/registry/uniswap/eip712-UniswapX-ExclusiveDutchOrder.json index 5edac878..2a5355ec 100644 --- a/registry/uniswap/eip712-UniswapX-ExclusiveDutchOrder.json +++ b/registry/uniswap/eip712-UniswapX-ExclusiveDutchOrder.json @@ -1,7 +1,7 @@ { "$schema": "../../specs/erc7730-v1.schema.json", - "includes": "common-eip712.json", + "includes": "uniswap-common-eip712.json", "context": { "eip712": { diff --git a/registry/uniswap/eip712-UniswapX-LimitOrder.json b/registry/uniswap/eip712-UniswapX-LimitOrder.json index c8b985a0..27992ef3 100644 --- a/registry/uniswap/eip712-UniswapX-LimitOrder.json +++ b/registry/uniswap/eip712-UniswapX-LimitOrder.json @@ -1,6 +1,6 @@ { "$schema": "../../specs/erc7730-v1.schema.json", - "includes": "common-eip712.json", + "includes": "uniswap-common-eip712.json", "context": { "eip712": { "schemas": [ diff --git a/registry/uniswap/eip712-permit2.json b/registry/uniswap/eip712-uniswap-permit2.json similarity index 99% rename from registry/uniswap/eip712-permit2.json rename to registry/uniswap/eip712-uniswap-permit2.json index 8f582a6e..40beb2b1 100644 --- a/registry/uniswap/eip712-permit2.json +++ b/registry/uniswap/eip712-uniswap-permit2.json @@ -1,7 +1,7 @@ { "$schema": "../../specs/erc7730-v1.schema.json", - "includes": "common-eip712.json", + "includes": "uniswap-common-eip712.json", "context": { "eip712": { diff --git a/registry/uniswap/uniswap-common-eip712.json b/registry/uniswap/uniswap-common-eip712.json new file mode 100644 index 00000000..2a663c5a --- /dev/null +++ b/registry/uniswap/uniswap-common-eip712.json @@ -0,0 +1,78 @@ +{ + "$schema": "../../specs/erc7730-v1.schema.json", + + "context": { + "eip712": { + "domain": { + "name": "Permit2" + }, + "deployments": [ + { + "chainId": 1, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 10, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 56, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 137, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 8453, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 42161, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 42220, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 43114, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 80001, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 81457, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 84532, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 421614, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 11155111, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + }, + { + "chainId": 11155420, + "address": "0x000000000022D473030F116dDEE9F6B43aC78BA3" + } + ] + } + }, + + "metadata": { + "owner": "Uniswap", + "info": { + "legalName": "Uniswap Labs", + "lastUpdate": "2021-12-14T00:00:00Z", + "url": "https://uniswap.org/" + } + } +} \ No newline at end of file