diff --git a/src/telliot_core/apps/core.py b/src/telliot_core/apps/core.py index e488c139..cb0d6d4c 100644 --- a/src/telliot_core/apps/core.py +++ b/src/telliot_core/apps/core.py @@ -74,6 +74,7 @@ 5003: "mantle-sepolia", 84532: "Base Sepolia", 111: "puff-bob-jznbxtoq7h", + 60808: "BOB", } LOGLEVEL_MAP = { diff --git a/src/telliot_core/data/contract_directory.json b/src/telliot_core/data/contract_directory.json index 446cac15..cf78340c 100644 --- a/src/telliot_core/data/contract_directory.json +++ b/src/telliot_core/data/contract_directory.json @@ -142,7 +142,8 @@ "421614": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", "5003": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", "84532": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", - "111": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81" + "111": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", + "60808": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc" }, "abi_file": "tellor360-oracle-abi.json" }, @@ -189,7 +190,8 @@ "421614": "0xe331Afe3a8D7836bEdF1F09bC91549f4bc8c60C9", "5003": "0x89e44099f5E80484dcF48995080481214b9c2D7c", "84532": "0x89e44099f5E80484dcF48995080481214b9c2D7c", - "111": "0x89e44099f5E80484dcF48995080481214b9c2D7c" + "111": "0x89e44099f5E80484dcF48995080481214b9c2D7c", + "60808": "0x9EA18BFDB50E9bb4A18F9d3Df7804E398F8fE0dc" }, "abi_file": "tellor360-autopay-abi.json" }, @@ -241,7 +243,8 @@ "421614": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", "5003": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", "84532": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", - "111": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc" + "111": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", + "60808": "0x665060707c3Ea3c31b3eaBaD7F409072446E1D50" }, "abi_file": "trb-token-abi.json" }, @@ -382,7 +385,8 @@ "421614": "0x9EA18BFDB50E9bb4A18F9d3Df7804E398F8fE0dc", "5003": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", "84532": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", - "111": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE" + "111": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", + "60808": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81" }, "abi_file": "tellor-governance-abi.json" } diff --git a/src/telliot_core/directory.py b/src/telliot_core/directory.py index 3463d52b..a0c4232c 100644 --- a/src/telliot_core/directory.py +++ b/src/telliot_core/directory.py @@ -121,6 +121,8 @@ def get_abi(self, chain_id: int = 0, api_key: str = "") -> list[Any]: url = "https://api-sepolia.basescan.org/" elif chain_id == 111: url = "https://testnet-explorer.gobob.xyz:443" + elif chain_id == 60808: + url = "https://explorer.gobob.xyz:443" else: raise ValueError(f"Could not retrieve ABI using chain_id {chain_id}") diff --git a/src/telliot_core/model/chain.py b/src/telliot_core/model/chain.py index 2b5986ea..dac0b10e 100644 --- a/src/telliot_core/model/chain.py +++ b/src/telliot_core/model/chain.py @@ -325,6 +325,13 @@ class Chain(Base): network="testnet", currency=EVMCurrency(name="Ether", symbol="ETH", decimals=18), ), + Chain( + chain_id=60808, + name="BOB", + chain="BOB", + network="mainnet", + currency=EVMCurrency(name="Ether", symbol="ETH", decimals=18), + ), ] diff --git a/src/telliot_core/model/endpoints.py b/src/telliot_core/model/endpoints.py index 8eb33e67..4d989945 100644 --- a/src/telliot_core/model/endpoints.py +++ b/src/telliot_core/model/endpoints.py @@ -395,6 +395,13 @@ def connect(self) -> bool: url="https://l2-puff-bob-jznbxtoq7h.t.conduit.xyz", explorer="https://testnet-explorer.gobob.xyz:443", ), + RPCEndpoint( + chain_id=60808, + provider="BOB", + network="BOB", + url="https://rpc.gobob.xyz", + explorer="hhttps://explorer.gobob.xyz:443", + ), ]