tron refactoring
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -2,7 +2,6 @@ enum ChainNetwork {
|
||||
unspecified,
|
||||
ethereumMainnet,
|
||||
arbitrumOne,
|
||||
otherEvm,
|
||||
tronMainnet,
|
||||
tronNile
|
||||
}
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user