Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added skale mainnet and immutable mainnet + testnet #231

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject

static inline TMap<int64, FString> NetworkIdToUrlMap = {
FIdName(1,TEXT("mainnet")),
FIdName(13371,TEXT("immutable-zkevm")),
FIdName(1482601649,TEXT("skale-nebula")),
FIdName(10,TEXT("optimism")),
FIdName(56,TEXT("bsc")),
FIdName(100,TEXT("gnosis")),
Expand All @@ -66,6 +68,7 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject
FIdName(81457,TEXT("blast")),
FIdName(660279,TEXT("xai")),

FIdName(13473,TEXT("immutable-zkevm-testnet")),
FIdName(97,TEXT("bsc-testnet")),
FIdName(1946,TEXT("soneium-minato")),
FIdName(1993,TEXT("b3-sepolia")),
Expand All @@ -86,6 +89,8 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject

static inline TMap<int64, FString> NetworkIdToNameMap = {
FIdName(1,TEXT("Ethereum")),
FIdName(13371,TEXT("Immutable")),
FIdName(1482601649,TEXT("SKALE Nebula")),
FIdName(10,TEXT("Optimism")),
FIdName(56,TEXT("BNB Smart Chain")),
FIdName(100,TEXT("Gnosis Chain")),
Expand All @@ -101,6 +106,7 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject
FIdName(81457,TEXT("Blast")),
FIdName(660279,TEXT("Xai")),

FIdName(13473,TEXT("Immutable Testnet")),
FIdName(97,TEXT("BNB Smart Chain Testnet")),
FIdName(1946,TEXT("Soneium Minato Testnet")),
FIdName(1993,TEXT("B3 Sepolia")),
Expand All @@ -121,6 +127,8 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject

static inline TMap<FString, int64> NetworkNameToIdMap = {
FNameId(TEXT("ethereum"),1),
FNameId(TEXT("immutable"),13371),
FNameId(TEXT("skale-nebula"),1482601649),
FNameId(TEXT("optimism"),10),
FNameId(TEXT("bnbsmartchain"),56),
FNameId(TEXT("gnosischain"),100),
Expand All @@ -136,6 +144,7 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject
FNameId(TEXT("blast"),81457),
FNameId(TEXT("xai"),660279),

FNameId(TEXT("immutable-testnet"),13473),
FNameId(TEXT("bnbsmartchaintestnet"),97),
FNameId(TEXT("soneiumminato"),1946),
FNameId(TEXT("b3sepolia"),1993),
Expand All @@ -156,6 +165,8 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject

static inline TMap<ENetwork, int64> NetworkEnumToIdMap = {
{ENetwork::Ethereum, 1},
{ENetwork::Immutable, 13371},
{ENetwork::SkaleNebula, 1482601649},
{ENetwork::Optimism, 10},
{ENetwork::BNBSmartChain, 56},
{ENetwork::GnosisChain, 100},
Expand All @@ -171,6 +182,7 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject
{ENetwork::Blast, 81457},
{ENetwork::Xai, 660279},

{ENetwork::ImmutableTestnet, 13473},
{ENetwork::BNBSmartChainTestnet, 97},
{ENetwork::SoneiumMinatoTestnet, 1946},
{ENetwork::B3Sepolia, 1993},
Expand All @@ -192,6 +204,8 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject

static inline TMap<ENetwork, FString> NetworkEnumToNameMap = {
{ENetwork::Ethereum, TEXT("Ethereum")},
{ENetwork::Immutable, TEXT("Immutable")},
{ENetwork::SkaleNebula, TEXT("SKALE Nebula")},
{ENetwork::Optimism, TEXT("Optimism")},
{ENetwork::BNBSmartChain, TEXT("BNB Smart Chain")},
{ENetwork::GnosisChain, TEXT("Gnosis Chain")},
Expand All @@ -207,6 +221,7 @@ class SEQUENCEPLUGIN_API USequenceSupport : public UObject
{ENetwork::Blast, TEXT("Blast")},
{ENetwork::Xai, TEXT("Xai")},

{ENetwork::ImmutableTestnet, TEXT("Immutable Testnet")},
{ENetwork::BNBSmartChainTestnet, TEXT("BNB Smart Chain Testnet")},
{ENetwork::SoneiumMinatoTestnet, TEXT("Soneium Minato Testnet")},
{ENetwork::B3Sepolia, TEXT("B3 Sepolia")},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ UENUM(BlueprintType)
enum ENetwork
{
Ethereum UMETA(DisplayName = "Ethereum"),
Immutable UMETA(DisplayName = "Immutable"),
SkaleNebula UMETA(DisplayName = "SKALE Nebula"),
Optimism UMETA(DisplayName = "Optimism"),
BNBSmartChain UMETA(DisplayName = "BNB Smart Chain"),
GnosisChain UMETA(DisplayName = "Gnosis Chain"),
Expand All @@ -31,7 +33,8 @@ enum ENetwork
Avalanche UMETA(DisplayName = "Avalanche"),
Blast UMETA(DisplayName = "Blast"),
Xai UMETA(DisplayName = "Xai"),


ImmutableTestnet UMETA(DisplayName = "Immutable Testnet"),
BNBSmartChainTestnet UMETA(DisplayName = "BNB Smart Chain Testnet"),
SoneiumMinatoTestnet UMETA(DisplayName = "Soneium Minato Testnet"),
B3Sepolia UMETA(DisplayName = "B3 Sepolia"),
Expand Down