From 1ebd039fb106608cb5b99e07e370a56eefdeed7b Mon Sep 17 00:00:00 2001 From: hyeon Date: Wed, 30 Oct 2024 14:09:42 +0900 Subject: [PATCH] Add thor planet --- common/consts.py | 2 ++ common/utils/receipt.py | 2 ++ 2 files changed, 4 insertions(+) diff --git a/common/consts.py b/common/consts.py index f2ba427c..977b4f02 100644 --- a/common/consts.py +++ b/common/consts.py @@ -48,6 +48,8 @@ PlanetID.ODIN_INTERNAL: os.environ.get("ODIN_GQL_URL"), PlanetID.HEIMDALL: os.environ.get("HEIMDALL_GQL_URL"), PlanetID.HEIMDALL_INTERNAL: os.environ.get("HEIMDALL_GQL_URL"), + PlanetID.THOR: os.environ.get("THOR_GQL_URL"), + PlanetID.THOR_INTERNAL: os.environ.get("THOR_GQL_URL"), } ITEM_FUNGIBLE_ID_DICT = { diff --git a/common/utils/receipt.py b/common/utils/receipt.py index 7f0509c9..9d11b23d 100644 --- a/common/utils/receipt.py +++ b/common/utils/receipt.py @@ -5,7 +5,9 @@ class PlanetID(bytes, Enum): ODIN = b'0x000000000000' HEIMDALL = b'0x000000000001' IDUN = b'0x000000000002' + THOR = b'0x000000000003' ODIN_INTERNAL = b'0x100000000000' HEIMDALL_INTERNAL = b'0x100000000001' IDUN_INTERNAL = b'0x100000000002' + THOR_INTERNAL = b'0x100000000003'