Skip to content

Commit

Permalink
Merge pull request #1645 from MixinNetwork/feature/wallet
Browse files Browse the repository at this point in the history
Show chain tag for Base chain
  • Loading branch information
over140 authored Oct 23, 2024
2 parents ae21c0f + cfc6a8e commit 08a1782
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Mixin/Service/API/Model/SwappableToken.swift
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ extension SwappableToken {
switch chain.chainID {
case ChainID.bnbSmartChain:
"BEP-20"
case ChainID.base:
"Base"
case assetID:
nil
case ChainID.ethereum:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,8 @@ extension TokenItem {
switch chainID {
case ChainID.bnbSmartChain:
"BEP-20"
case ChainID.base:
"Base"
case assetID:
nil
case ChainID.ethereum:
Expand Down
1 change: 1 addition & 0 deletions MixinServices/MixinServices/Services/ChainID.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,6 @@ public enum ChainID {
public static let arbitrum = "d0688ff7-6656-4a79-bd5f-d764bfa9bc46"
public static let optimism = "62d5b01f-24ee-4c96-8214-8e04981d05f2"
public static let solana = "64692c23-8971-4cf4-84a7-4dd1271dd887"
public static let base = "3fb612c5-6844-3979-ae4a-5a84e79da870"

}

0 comments on commit 08a1782

Please sign in to comment.