diff --git a/src/telliot_core/apps/core.py b/src/telliot_core/apps/core.py index 378ad2ea..eb4b5642 100644 --- a/src/telliot_core/apps/core.py +++ b/src/telliot_core/apps/core.py @@ -83,6 +83,7 @@ 808813: "taraxa testnet", 534352: "scroll", 8453: "base", + 1135: "lisk", } LOGLEVEL_MAP = { diff --git a/src/telliot_core/data/contract_directory.json b/src/telliot_core/data/contract_directory.json index 6ed44401..c66785c7 100644 --- a/src/telliot_core/data/contract_directory.json +++ b/src/telliot_core/data/contract_directory.json @@ -158,7 +158,8 @@ "842": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", "808813": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", "534352": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", - "8453": "0x34Fae97547E990ef0E05e05286c51E4645bf1A85" + "8453": "0x34Fae97547E990ef0E05e05286c51E4645bf1A85", + "1135": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc" }, "abi_file": "tellor360-oracle-abi.json" }, @@ -214,7 +215,8 @@ "842": "0x89e44099f5E80484dcF48995080481214b9c2D7c", "808813": "0x89e44099f5E80484dcF48995080481214b9c2D7c", "534352": "0x9EA18BFDB50E9bb4A18F9d3Df7804E398F8fE0dc", - "8453": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE" + "8453": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", + "1135": "0x9EA18BFDB50E9bb4A18F9d3Df7804E398F8fE0dc" }, "abi_file": "tellor360-autopay-abi.json" }, @@ -275,7 +277,8 @@ "842": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", "808813": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", "534352": "0xfda87943Be918360413979ce7296E1249fcb987e", - "8453": "0xF8e9E61FFB2b491f7DF29823a76009743671CD96" + "8453": "0xF8e9E61FFB2b491f7DF29823a76009743671CD96", + "1135": "0x665060707c3Ea3c31b3eaBaD7F409072446E1D50" }, "abi_file": "trb-token-abi.json" }, @@ -431,7 +434,8 @@ "842": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", "808813": "0x6684E5DdbEe1b97E10847468cB5f4e38f3aB83FE", "534352": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81", - "8453": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc" + "8453": "0x896419Ed2E0dC848a1f7d2814F4e5Df4b9B9bFcc", + "1135": "0xC866DB9021fe81856fF6c5B3E3514BF9D1593D81" }, "abi_file": "tellor-governance-abi.json" } diff --git a/src/telliot_core/directory.py b/src/telliot_core/directory.py index b5b3d370..74bd988b 100644 --- a/src/telliot_core/directory.py +++ b/src/telliot_core/directory.py @@ -139,6 +139,8 @@ def get_abi(self, chain_id: int = 0, api_key: str = "") -> list[Any]: url = "https://rpc.scroll.io" elif chain_id == 8453: url = "https://base.llamarpc.com" + elif chain_id == 1135: + url = "https://blockscout.lisk.com/" 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 5701d85d..cd73adf2 100644 --- a/src/telliot_core/model/chain.py +++ b/src/telliot_core/model/chain.py @@ -381,6 +381,13 @@ class Chain(Base): network="mainnet", currency=EVMCurrency(name="Ether", symbol="ETH", decimals=18), ), + Chain( + chain_id=1135, + name="Lisk", + chain="lisk", + 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 39066708..7010a195 100644 --- a/src/telliot_core/model/endpoints.py +++ b/src/telliot_core/model/endpoints.py @@ -451,6 +451,13 @@ def connect(self) -> bool: url="https://base.llamarpc.com", explorer="https://basescan.org", ), + RPCEndpoint( + chain_id=1135, + provider="Lisk", + network="mainnet", + url="https://rpc.api.lisk.com", + explorer="https://blockscout.lisk.com/", + ), ]