From e2a960459bfd53f0489a14753ece3157de9557e8 Mon Sep 17 00:00:00 2001 From: Aarif Khamdi Date: Fri, 1 Nov 2024 13:26:10 +0500 Subject: [PATCH] add sei methods (#586) --- .../dshackle/upstream/calls/DefaultEthereumMethods.kt | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt index 912015f3..24ed666c 100644 --- a/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt +++ b/src/main/kotlin/io/emeraldpay/dshackle/upstream/calls/DefaultEthereumMethods.kt @@ -450,6 +450,13 @@ class DefaultEthereumMethods( // "klay_isSenderTxHashIndexingEnabled" ) + private val seiMethods = listOf( + "sei_getCosmosTx", + "sei_getEvmTx", + "sei_getEVMAddress", + "sei_getSeiAddress", + ) + private val kaiaMethods = listOf( "kaia_accountCreated", "kaia_accounts", @@ -713,6 +720,8 @@ class DefaultEthereumMethods( Chain.FILECOIN__MAINNET, Chain.FILECOIN__CALIBRATION_TESTNET -> filecoinMethods + Chain.SEI__MAINNET, Chain.SEI__TESTNET, Chain.SEI__DEVNET -> seiMethods + else -> emptyList() } }