@@ -540,7 +540,7 @@ export function ofcAlgoToken(
540540 kind : CoinKind = CoinKind . CRYPTO ,
541541 features : CoinFeature [ ] = OfcCoin . DEFAULT_FEATURES ,
542542 prefix = '' ,
543- suffix : string = name . toUpperCase ( ) ,
543+ suffix : string = name . replace ( / ^ o f c / , '' ) . toUpperCase ( ) ,
544544 network : OfcNetwork = Networks . main . ofc ,
545545 isToken = true ,
546546 addressCoin = 'algo' ,
@@ -590,7 +590,7 @@ export function tofcAlgoToken(
590590 kind : CoinKind = CoinKind . CRYPTO ,
591591 features : CoinFeature [ ] = OfcCoin . DEFAULT_FEATURES ,
592592 prefix = '' ,
593- suffix : string = name . toUpperCase ( ) ,
593+ suffix : string = name . replace ( / ^ o f c / , '' ) . toUpperCase ( ) ,
594594 network : OfcNetwork = Networks . test . ofc ,
595595 isToken = true ,
596596 addressCoin = 'talgo' ,
@@ -641,7 +641,7 @@ export function ofcHederaToken(
641641 kind : CoinKind = CoinKind . CRYPTO ,
642642 features : CoinFeature [ ] = OfcCoin . DEFAULT_FEATURES ,
643643 prefix = '' ,
644- suffix : string = name . toUpperCase ( ) ,
644+ suffix : string = name . replace ( / ^ o f c / , '' ) . toUpperCase ( ) ,
645645 network : OfcNetwork = Networks . main . ofc ,
646646 isToken = true ,
647647 addressCoin = 'hbar' ,
@@ -691,7 +691,7 @@ export function tofcHederaToken(
691691 kind : CoinKind = CoinKind . CRYPTO ,
692692 features : CoinFeature [ ] = OfcCoin . DEFAULT_FEATURES ,
693693 prefix = '' ,
694- suffix : string = name . toUpperCase ( ) ,
694+ suffix : string = name . replace ( / ^ o f c / , '' ) . toUpperCase ( ) ,
695695 network : OfcNetwork = Networks . test . ofc ,
696696 isToken = true ,
697697 addressCoin = 'thbar' ,
0 commit comments