From 532e1bdae4cd22945eb78fcd87dbab98599f5f42 Mon Sep 17 00:00:00 2001 From: Andrey Date: Mon, 13 Nov 2023 17:34:36 +0200 Subject: [PATCH] Add changes. --- .../state_crawler/jobs/mumbai-jobs.json | 296 +++++++++--------- .../state_crawler/jobs/polygon-jobs.json | 38 ++- 2 files changed, 181 insertions(+), 153 deletions(-) diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json index 0286508e..e255672d 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json @@ -1,146 +1,156 @@ [ - { - "type": "function", - "stateMutability": "view", - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "function", - "name": "totalSupply", - "outputs": [ + { + "type": "function", + "stateMutability": "view", + "inputs": [ { - "internalType": "uint256", - "name": "", - "type": "uint256" + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "function", + "name": "totalSupply", + "outputs": [ + { + "internalType": "uint256", + "name": "", + "type": "uint256" + } + ], + "address": "0x39858b1A4e48CfFB1019F0A15ff54899213B3f8b", + "inputs": [] + } } - ], - "address": "0x39858b1A4e48CfFB1019F0A15ff54899213B3f8b", - "inputs": [] - } - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "address": "0x39858b1A4e48CfFB1019F0A15ff54899213B3f8b" - }, - { - "type": "function", - "stateMutability": "view", - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "queryAPI", - "query_url": "template_erc721_minting", - "blockchain": "mumbai", - "params": { - "address": "0x230E4e85d4549343A460F5dE0a7035130F62d74C" - }, - "keys": ["token_id"] - } - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "address": "0x230E4e85d4549343A460F5dE0a7035130F62d74C" - }, - { - "inputs": [ - { - "internalType": "uint16", - "name": "seasonId", - "type": "uint16", - "value": { - "type": "queryAPI", - "query_url": "twilight_seasons", - "blockchain": "mumbai", - "params": { - "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D" - }, - "keys": ["season_id"] - } - }, - { - "internalType": "address", - "name": "user", - "type": "address", - "value": { - "type": "queryAPI", - "query_url": "twilight_tactics_players", - "blockchain": "mumbai", - "params": {}, - "keys": ["player"] - } - } - ], - "name": "twtGetSeasonalDominationPointsByAccount", - "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D", - "outputs": [ - { - "internalType": "uint56[5]", - "name": "shadowcornDominationPoints", - "type": "uint56[5]" - }, - { - "internalType": "uint56[5]", - "name": "unicornDominationPoints", - "type": "uint56[5]" - } - ], - "stateMutability": "view", - "type": "function", - "selector": "0x0b4ef829" - }, - { - "inputs": [ - { - "internalType": "uint16", - "name": "seasonId", - "type": "uint16", - "value": { - "type": "queryAPI", - "query_url": "twilight_seasons", - "blockchain": "mumbai", - "params": { - "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D" - }, - "keys": ["season_id"] - } - } - ], - "name": "twtGetSeasonalDominationPointsForAllRegions", - "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D", - "outputs": [ - { - "internalType": "uint56[5]", - "name": "shadowcornDominationPoints", - "type": "uint56[5]" - }, - { - "internalType": "uint56[5]", - "name": "unicornDominationPoints", - "type": "uint56[5]" - } - ], - "stateMutability": "view", - "type": "function", - "selector": "0xbddb218c" - } -] + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0x39858b1A4e48CfFB1019F0A15ff54899213B3f8b" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "queryAPI", + "query_url": "template_erc721_minting", + "blockchain": "mumbai", + "params": { + "address": "0x230E4e85d4549343A460F5dE0a7035130F62d74C" + }, + "keys": [ + "token_id" + ] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0x230E4e85d4549343A460F5dE0a7035130F62d74C" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "seasonId", + "type": "uint16", + "value": { + "type": "queryAPI", + "query_url": "twilight_seasons", + "blockchain": "mumbai", + "params": { + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D" + }, + "keys": [ + "season_id" + ] + } + }, + { + "internalType": "address", + "name": "user", + "type": "address", + "value": { + "type": "queryAPI", + "query_url": "twilight_tactics_players", + "blockchain": "mumbai", + "params": { + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D" + }, + "keys": [ + "player" + ] + } + } + ], + "name": "twtGetSeasonalDominationPointsByAccount", + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D", + "outputs": [ + { + "internalType": "uint56[5]", + "name": "shadowcornDominationPoints", + "type": "uint56[5]" + }, + { + "internalType": "uint56[5]", + "name": "unicornDominationPoints", + "type": "uint56[5]" + } + ], + "stateMutability": "view", + "type": "function", + "selector": "0x0b4ef829" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "seasonId", + "type": "uint16", + "value": { + "type": "queryAPI", + "query_url": "twilight_seasons", + "blockchain": "mumbai", + "params": { + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D" + }, + "keys": [ + "season_id" + ] + } + } + ], + "name": "twtGetSeasonalDominationPointsForAllRegions", + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D", + "outputs": [ + { + "internalType": "uint56[5]", + "name": "shadowcornDominationPoints", + "type": "uint56[5]" + }, + { + "internalType": "uint56[5]", + "name": "unicornDominationPoints", + "type": "uint56[5]" + } + ], + "stateMutability": "view", + "type": "function", + "selector": "0xbddb218c" + } +] \ No newline at end of file diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json index 44e66d8a..9ed0986f 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json @@ -47,7 +47,9 @@ "params": { "address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8" }, - "keys": ["token_id"] + "keys": [ + "token_id" + ] } } ], @@ -109,7 +111,9 @@ "params": { "address": "0xd4D53d8D61adc3B8114C1cd17B89393640db9733" }, - "keys": ["token_id"] + "keys": [ + "token_id" + ] } } ], @@ -138,7 +142,9 @@ "params": { "address": "0x74d4567fd8B0b873B61FA180618a82183012F369" }, - "keys": ["token_id"] + "keys": [ + "token_id" + ] } } ], @@ -167,7 +173,9 @@ "params": { "address": "0x44b3f42e2BF34F62868Ff9e9dAb7C2F807ba97Cb" }, - "keys": ["token_id"] + "keys": [ + "token_id" + ] } } ], @@ -196,7 +204,9 @@ "params": { "address": "0xa7D50EE3D7485288107664cf758E877a0D351725" }, - "keys": ["token_id"] + "keys": [ + "token_id" + ] } } ], @@ -223,7 +233,9 @@ "params": { "address": "0xe570fAC6513A8018145aB398Ea71988C688F22C4" }, - "keys": ["season_id"] + "keys": [ + "season_id" + ] } }, { @@ -234,8 +246,12 @@ "type": "queryAPI", "query_url": "twilight_tactics_players", "blockchain": "polygon", - "params": {}, - "keys": ["player"] + "params": { + "address": "0x665B8Db5b9E3b396e2Ccb0Bd768dc74fC47Ec20D" + }, + "keys": [ + "player" + ] } } ], @@ -270,7 +286,9 @@ "params": { "address": "0xe570fAC6513A8018145aB398Ea71988C688F22C4" }, - "keys": ["season_id"] + "keys": [ + "season_id" + ] } } ], @@ -292,4 +310,4 @@ "type": "function", "selector": "0xbddb218c" } -] +] \ No newline at end of file