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-8091 Core DAO App #3979

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions Tangem/App/Models/Config/SupportedBlockchains.swift
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ struct SupportedBlockchains {
[
.internetComputer,
.sei(testnet: false),
.core(testnet: false),
]
}

Expand Down
3 changes: 2 additions & 1 deletion Tangem/App/Services/ExchangeService/MercuryoService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,8 @@ private extension Blockchain {
.cyber,
.blast,
.filecoin,
.sei:
.sei,
.core:
// 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
2 changes: 2 additions & 0 deletions Tangem/App/Services/ExchangeService/MoonPayService.swift
Original file line number Diff line number Diff line change
Expand Up @@ -386,6 +386,7 @@ private extension Blockchain {
case .blast: return nil
case .filecoin: return "filecoin"
case .sei: return nil
case .core: 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 +463,7 @@ private extension Blockchain {
case .blast: return nil
case .filecoin: return "fil"
case .sei: return nil
case .core: 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,8 @@ private extension CommonExpressTransactionBuilder {
.internetComputer,
.cyber,
.blast,
.filecoin:
.filecoin,
.core:
throw ExpressTransactionBuilderError.blockchainDonNotSupportedExtraId
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ struct CustomTokenContractAddressConverter {
.cyber,
.blast,
.filecoin,
.sei:
.sei,
.core:
// 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,8 @@ struct TokenInteractionAvailabilityProvider {
.cyber,
.blast,
.filecoin,
.sei:
.sei,
.core:

// 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,8 @@ struct SendTransactionParametersBuilder {
.internetComputer,
.cyber,
.blast,
.filecoin:
.filecoin,
.core:
return nil
}
}
Expand Down
Loading