From 88f36f5d63c7149a5c2b2704bb1f15f00be56ecf Mon Sep 17 00:00:00 2001 From: Neeraj Kashyap Date: Fri, 10 Nov 2023 10:20:40 -0800 Subject: [PATCH] Jobs for Twilight Tactics Updated Mumbai job, and added Polygon mainnet job. --- .../state_crawler/jobs/mumbai-jobs.json | 295 +++++----- .../state_crawler/jobs/polygon-jobs.json | 507 ++++++++++-------- 2 files changed, 431 insertions(+), 371 deletions(-) diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json index 2acd0bee..200896d7 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/mumbai-jobs.json @@ -1,156 +1,145 @@ [ - { - "type": "function", - "stateMutability": "view", - "inputs": [ + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "function", + "name": "totalSupply", + "outputs": [ { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "function", - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "address": "0x39858b1A4e48CfFB1019F0A15ff54899213B3f8b", - "inputs": [] - } + "internalType": "uint256", + "name": "", + "type": "uint256" } - ], - "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": { - "season_id": "1" - }, - "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 + ], + "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", + "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" + } +] diff --git a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json index 3f230278..b5d6eb33 100644 --- a/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json +++ b/crawlers/mooncrawl/mooncrawl/state_crawler/jobs/polygon-jobs.json @@ -1,223 +1,294 @@ [ - { - "type": "function", - "stateMutability": "view", - "inputs": [ + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "function", + "name": "totalSupply", + "outputs": [ { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "function", - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "address": "0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1f", - "inputs": [] - } + "internalType": "uint256", + "name": "", + "type": "uint256" } - ], - "name": "tokenURI", - "outputs": [ + ], + "address": "0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1f", + "inputs": [] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1f" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "queryAPI", + "query_url": "template_erc721_minting", + "blockchain": "polygon", + "params": { + "address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8" + }, + "keys": ["token_id"] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "function", + "name": "totalSupply", + "outputs": [ { - "internalType": "string", - "name": "", - "type": "string" + "internalType": "uint256", + "name": "", + "type": "uint256" } - ], - "address": "0xdC0479CC5BbA033B3e7De9F178607150B3AbCe1f" - }, - { - "type": "function", - "stateMutability": "view", - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "queryAPI", - "query_url": "template_erc721_minting", - "blockchain": "polygon", - "params": { - "address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8" - }, - "keys": [ - "token_id" - ] - } - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "address": "0xA2a13cE1824F3916fC84C65e559391fc6674e6e8" - }, - { - "type": "function", - "stateMutability": "view", - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "function", - "name": "totalSupply", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "address": "0x20B807b9AF56977EF475C089A0e7977540743560", - "inputs": [] - } - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "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": "uri", - "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": "uri", - "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": "uri", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "address": "0x44b3f42e2BF34F62868Ff9e9dAb7C2F807ba97Cb" - }, - { - "type": "function", - "stateMutability": "view", - "inputs": [ - { - "internalType": "uint256", - "name": "tokenId", - "type": "uint256", - "value": { - "type": "queryAPI", - "query_url": "template_erc721_minting", - "blockchain": "polygon", - "params": { - "address": "0xa7D50EE3D7485288107664cf758E877a0D351725" - }, - "keys": [ - "token_id" - ] - } - } - ], - "name": "tokenURI", - "outputs": [ - { - "internalType": "string", - "name": "", - "type": "string" - } - ], - "address": "0xa7D50EE3D7485288107664cf758E877a0D351725" - } -] \ No newline at end of file + ], + "address": "0x20B807b9AF56977EF475C089A0e7977540743560", + "inputs": [] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "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": "uri", + "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": "uri", + "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": "uri", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0x44b3f42e2BF34F62868Ff9e9dAb7C2F807ba97Cb" + }, + { + "type": "function", + "stateMutability": "view", + "inputs": [ + { + "internalType": "uint256", + "name": "tokenId", + "type": "uint256", + "value": { + "type": "queryAPI", + "query_url": "template_erc721_minting", + "blockchain": "polygon", + "params": { + "address": "0xa7D50EE3D7485288107664cf758E877a0D351725" + }, + "keys": ["token_id"] + } + } + ], + "name": "tokenURI", + "outputs": [ + { + "internalType": "string", + "name": "", + "type": "string" + } + ], + "address": "0xa7D50EE3D7485288107664cf758E877a0D351725" + }, + { + "inputs": [ + { + "internalType": "uint16", + "name": "seasonId", + "type": "uint16", + "value": { + "type": "queryAPI", + "query_url": "twilight_seasons", + "blockchain": "polygon", + "params": { + "address": "0xe570fAC6513A8018145aB398Ea71988C688F22C4" + }, + "keys": ["season_id"] + } + }, + { + "internalType": "address", + "name": "user", + "type": "address", + "value": { + "type": "queryAPI", + "query_url": "twilight_tactics_players", + "blockchain": "polygon", + "keys": ["player"] + } + } + ], + "name": "twtGetSeasonalDominationPointsByAccount", + "address": "0xe570fAC6513A8018145aB398Ea71988C688F22C4", + "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": "polygon", + "params": { + "address": "0xe570fAC6513A8018145aB398Ea71988C688F22C4" + }, + "keys": ["season_id"] + } + } + ], + "name": "twtGetSeasonalDominationPointsForAllRegions", + "address": "0xe570fAC6513A8018145aB398Ea71988C688F22C4", + "outputs": [ + { + "internalType": "uint56[5]", + "name": "shadowcornDominationPoints", + "type": "uint56[5]" + }, + { + "internalType": "uint56[5]", + "name": "unicornDominationPoints", + "type": "uint56[5]" + } + ], + "stateMutability": "view", + "type": "function", + "selector": "0xbddb218c" + } +]