Skip to content

Commit 7b0a23e

Browse files
committed
chore(spl): "SPL" -> "SOL" (we use both SPL and Token-2022 SOL tokens)
1 parent 71fa54d commit 7b0a23e

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

lib/db/isar/main_db.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -626,7 +626,7 @@ class MainDB {
626626

627627
// ========== Solana =========================================================
628628

629-
// Solana (SPL) tokens.
629+
// Solana tokens.
630630

631631
QueryBuilder<SplToken, SplToken, QWhere> getSplTokens() =>
632632
isar.splTokens.where();

lib/models/isar/models/blockchain_data/transaction.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,5 +261,5 @@ enum TransactionSubType {
261261
sparkSpend, // firo specific
262262
ordinal,
263263
mweb,
264-
splToken, // Solana token (SPL).
264+
splToken, // Solana token.
265265
}

lib/pages/add_wallet_views/add_token_view/add_custom_solana_token_view.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,7 @@ class _AddCustomSolanaTokenViewState
336336
Padding(
337337
padding: const EdgeInsets.only(left: 32),
338338
child: Text(
339-
"Add custom SPL token",
339+
"Add custom SOL token",
340340
style: STextStyles.desktopH3(context),
341341
),
342342
),
@@ -360,7 +360,7 @@ class _AddCustomSolanaTokenViewState
360360
children: [
361361
if (!isDesktop)
362362
Text(
363-
"Add custom SPL token",
363+
"Add custom SOL token",
364364
style: STextStyles.pageTitleH1(context),
365365
),
366366
if (!isDesktop) const SizedBox(height: 16),

lib/pages_desktop_specific/my_stack_view/wallet_view/sub_widgets/desktop_send_fee_form.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ class _DesktopSendFeeFormState extends ConsumerState<DesktopSendFeeForm> {
212212
.estimateFeeFor(amount, feeRate);
213213
}
214214
} else {
215-
// Token fee estimation (works for ERC20 and SPL tokens).
215+
// Token fee estimation (works for ERC20 and SOL tokens).
216216
try {
217217
final tokenWallet = ref.read(
218218
pCurrentTokenWallet,

lib/services/price.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ class PriceAPI {
301301
}
302302
}
303303

304-
/// Get prices and 24h change for Solana SPL tokens.
304+
/// Get prices and 24h change for Solana SOL tokens.
305305
///
306306
/// Uses CoinGecko API to fetch prices for tokens by their Solana mint addresses.
307307
/// Format: GET /api/v3/simple/token_price/solana?vs_currencies=usd&contract_addresses=mint1,mint2&include_24hr_change=true

lib/utilities/amount/amount_unit.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ extension AmountUnitExt on AmountUnit {
192192
case AmountUnit.yocto:
193193
case AmountUnit.ronto:
194194
case AmountUnit.quecto:
195-
// For SPL tokens, just use the symbol with the prefix if applicable.
195+
// For SOL tokens, just use the symbol with the prefix if applicable.
196196
return token.symbol;
197197
}
198198
}

0 commit comments

Comments
 (0)