From 629753bf918e2fccf95d77978f03b05792a13f6c Mon Sep 17 00:00:00 2001 From: Frost Date: Wed, 8 Nov 2023 21:12:39 +0800 Subject: [PATCH] update --- src/checkpoints.json | 4 +-- src/config.json | 66 ++------------------------------------------ 2 files changed, 5 insertions(+), 65 deletions(-) diff --git a/src/checkpoints.json b/src/checkpoints.json index cef3566..5a9226a 100644 --- a/src/checkpoints.json +++ b/src/checkpoints.json @@ -1,6 +1,6 @@ [ { - "contract": "0x0759060edbce85ab703ecca246194f625387e44ef5b1b7b91e685e70b2a1c342", - "blocks": [889383] + "contract": "0x006388d8846a7a87f00b353112268f5e010335b2440175ba99717b6ff11545be", + "blocks": [368842] } ] diff --git a/src/config.json b/src/config.json index 2467d2f..cd82bb3 100644 --- a/src/config.json +++ b/src/config.json @@ -1,74 +1,14 @@ { - "network_node_url": "https://starknet-goerli.infura.io/v3/89d267bf72f346b78cf8a86415c6008a", + "network_node_url": "https://starknet-mainnet.infura.io/v3/fed2b947c42e4b51ab280d05d0cd030c", "sources": [ { - "contract": "0x0759060edbce85ab703ecca246194f625387e44ef5b1b7b91e685e70b2a1c342", - "start": 889383, + "contract": "0x006388d8846a7a87f00b353112268f5e010335b2440175ba99717b6ff11545be", + "start": 368842, "deploy_fn": "loot-survivor", "events": [ { "name": "StartGame", "fn": "startGame" - }, - { - "name": "SlayedBeast", - "fn": "slayedBeast" - }, - { - "name": "RewardDistribution", - "fn": "rewardDistribution" - }, - { - "name": "AdventurerLeveledUp", - "fn": "adventurerLeveledUp" - }, - { - "name": "UpgradesAvailable", - "fn": "upgradesAvailable" - }, - { - "name": "DiscoveredHealth", - "fn": "discoveredHealth" - }, - { - "name": "DiscoveredGold", - "fn": "discoveredGold" - }, - { - "name": "DodgedObstacle", - "fn": "dodgedObstacle" - }, - { - "name": "HitByObstacle", - "fn": "hitByObstacle" - }, - { - "name": "AmbushedByBeast", - "fn": "ambushedByBeast" - }, - { - "name": "DiscoveredBeast", - "fn": "discoveredBeast" - }, - { - "name": "AttackedBeast", - "fn": "attackedBeast" - }, - { - "name": "AttackedByBeast", - "fn": "attackedByBeast" - }, - { - "name": "FleeFailed", - "fn": "fleeFailed" - }, - { - "name": "FleeSucceeded", - "fn": "fleeSucceeded" - }, - { - "name": "PurchasedItems", - "fn": "purchasedItems" } ] }