tron refactoring

This commit is contained in:
Stephan D
2025-12-24 13:20:25 +01:00
parent 2d735aa7f5
commit 03cd2f4784
30 changed files with 1525 additions and 322 deletions

View File

@@ -88,8 +88,6 @@ ChainNetwork chainNetworkFromValue(String? value) {
return ChainNetwork.ethereumMainnet;
case 'arbitrum_one':
return ChainNetwork.arbitrumOne;
case 'other_evm':
return ChainNetwork.otherEvm;
case 'tron_mainnet':
return ChainNetwork.tronMainnet;
case 'tron_nile':
@@ -107,8 +105,6 @@ String chainNetworkToValue(ChainNetwork chain) {
return 'ethereum_mainnet';
case ChainNetwork.arbitrumOne:
return 'arbitrum_one';
case ChainNetwork.otherEvm:
return 'other_evm';
case ChainNetwork.tronMainnet:
return 'tron_mainnet';
case ChainNetwork.tronNile:

View File

@@ -46,11 +46,6 @@
"description": "Label for the Arbitrum One network"
},
"chainNetworkOtherEvm": "Other EVM chain",
"@chainNetworkOtherEvm": {
"description": "Label for any other EVM-compatible network"
},
"chainNetworkTronMainnet": "Tron Mainnet",
"@chainNetworkTronMainnet": {
"description": "Label for the Tron mainnet network"

View File

@@ -46,11 +46,6 @@
"description": "Label for the Arbitrum One network"
},
"chainNetworkOtherEvm": "Другая EVM сеть",
"@chainNetworkOtherEvm": {
"description": "Label for any other EVM-compatible network"
},
"chainNetworkTronMainnet": "Tron Mainnet",
"@chainNetworkTronMainnet": {
"description": "Label for the Tron mainnet network"

View File

@@ -2,7 +2,6 @@ enum ChainNetwork {
unspecified,
ethereumMainnet,
arbitrumOne,
otherEvm,
tronMainnet,
tronNile
}

View File

@@ -13,8 +13,6 @@ extension ChainNetworkL10n on ChainNetwork {
return l10n.chainNetworkEthereumMainnet;
case ChainNetwork.arbitrumOne:
return l10n.chainNetworkArbitrumOne;
case ChainNetwork.otherEvm:
return l10n.chainNetworkOtherEvm;
case ChainNetwork.tronMainnet:
return l10n.chainNetworkTronMainnet;
case ChainNetwork.tronNile: