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

IOS-7967 Enenrgy WEB EVM/X #3975

Merged
merged 10 commits into from
Oct 10, 2024
2 changes: 2 additions & 0 deletions Tangem/App/Models/Config/SupportedBlockchains.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ struct SupportedBlockchains {
[
.internetComputer,
.sei(testnet: false),
.energyWebChain(testnet: false),
.energyWebX(curve: ed25519Curve(for: version), testnet: false),
]
}

Expand Down
4 changes: 3 additions & 1 deletion Tangem/App/Services/ExchangeService/MercuryoService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,9 @@ private extension Blockchain {
.cyber,
.blast,
.filecoin,
.sei:
.sei,
.energyWebChain,
.energyWebX:
// Did you get a compilation error here? If so, check whether the network is supported at https://api.mercuryo.io/v1.6/lib/currencies
return nil
}
Expand Down
4 changes: 4 additions & 0 deletions Tangem/App/Services/ExchangeService/MoonPayService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,8 @@ private extension Blockchain {
case .blast: return nil
case .filecoin: return "filecoin"
case .sei: return nil
case .energyWebChain: return nil
case .energyWebX: return nil
// Did you get a compilation error here? If so, check whether the network is supported at https://api.moonpay.com/v3/currencies
}
}
Expand Down Expand Up @@ -462,6 +464,8 @@ private extension Blockchain {
case .blast: return nil
case .filecoin: return "fil"
case .sei: return nil
case .energyWebChain: return nil
case .energyWebX: return nil
// Did you get a compilation error here? If so, check whether the network is supported at https://api.moonpay.com/v3/currencies
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,9 @@ private extension CommonExpressTransactionBuilder {
.internetComputer,
.cyber,
.blast,
.filecoin:
.filecoin,
.energyWebChain,
.energyWebX:
throw ExpressTransactionBuilderError.blockchainDonNotSupportedExtraId
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,9 @@ struct CustomTokenContractAddressConverter {
.cyber,
.blast,
.filecoin,
.sei:
.sei,
.energyWebChain,
.energyWebX:
// Did you get a compilation error here? If so, check if the network supports multiple token contract address
// formats (as Hedera does, for example) and add the appropriate conversion logic here if needed
return originalAddress
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ struct TokenInteractionAvailabilityProvider {
.cyber,
.blast,
.filecoin,
.sei:
.sei,
.energyWebChain,
.energyWebX:

// Checking that we have at least one valid (non-empty) address
//
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,9 @@ struct SendTransactionParametersBuilder {
.internetComputer,
.cyber,
.blast,
.filecoin:
.filecoin,
.energyWebChain,
.energyWebX:
return nil
}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "fill.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "disabled.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "fill.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"images" : [
{
"filename" : "disabled.pdf",
"idiom" : "universal"
}
],
"info" : {
"author" : "xcode",
"version" : 1
},
"properties" : {
"preserves-vector-representation" : true
}
}
Binary file not shown.
Loading