From 4891f1b5fe77cacc7e3a59f5ac04398c96aec1b5 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 25 Jul 2023 09:41:41 +0300 Subject: [PATCH 1/2] Add erc1155 token_ids. --- .../state_crawler/jobs/polygon-jobs.json | 93 +++++++++++++++++++ 1 file changed, 93 insertions(+) diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json index 225dc5ac..eeed4a39 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json @@ -95,5 +95,98 @@ } ], "address": "0x20B807b9AF56977EF475C089A0e7977540743560" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "queryAPI", + "query_url": "template_erc1155_token_ids", + "blockchain": "polygon", + "params": { + "address": "0xd4D53d8D61adc3B8114C1cd17B89393640db9733" + }, + "keys": [ + "token_id" + ] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0xd4D53d8D61adc3B8114C1cd17B89393640db9733" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "queryAPI", + "query_url": "template_erc1155_token_ids", + "blockchain": "polygon", + "params": { + "address": "0x74d4567fd8B0b873B61FA180618a82183012F369" + }, + "keys": [ + "token_id" + ] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0x74d4567fd8B0b873B61FA180618a82183012F369" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "queryAPI", + "query_url": "template_erc1155_token_ids", + "blockchain": "polygon", + "params": { + "address": "0x44b3f42e2BF34F62868Ff9e9dAb7C2F807ba97Cb" + }, + "keys": [ + "token_id" + ] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0x44b3f42e2BF34F62868Ff9e9dAb7C2F807ba97Cb" } ] \ No newline at end of file From 9f38e19d9d0290ee775a3f046ae6e3606d899a08 Mon Sep 17 00:00:00 2001 From: Andrey Date: Tue, 25 Jul 2023 10:29:37 +0300 Subject: [PATCH 2/2] Fix URI method name. --- .../mooncrawl/state_crawler/jobs/polygon-jobs.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json index eeed4a39..43ff1fe1 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json @@ -117,7 +117,7 @@ } } ], - "name": "tokenURI", + "name": "uri", "outputs": [ { "internalType": "string", @@ -148,7 +148,7 @@ } } ], - "name": "tokenURI", + "name": "uri", "outputs": [ { "internalType": "string", @@ -179,7 +179,7 @@ } } ], - "name": "tokenURI", + "name": "uri", "outputs": [ { "internalType": "string",