diff --git a/src/main/tjava/com/r35157/libs/jupiter/perps/impl/anchoridl/AnchorIdlJupiterPerpsServiceImpl.tjava b/src/main/tjava/com/r35157/libs/jupiter/perps/impl/anchoridl/AnchorIdlJupiterPerpsServiceImpl.tjava index 6753137..c1a9d75 100644 --- a/src/main/tjava/com/r35157/libs/jupiter/perps/impl/anchoridl/AnchorIdlJupiterPerpsServiceImpl.tjava +++ b/src/main/tjava/com/r35157/libs/jupiter/perps/impl/anchoridl/AnchorIdlJupiterPerpsServiceImpl.tjava @@ -5,8 +5,8 @@ import com.r35157.libs.jupiter.perps.JupiterPerpsService; import com.r35157.libs.solana.SolanaAccountInfo; import com.r35157.libs.solana.SolanaBlockChain; import com.r35157.libs.solana.SolanaProgramAccountMemcmpFilter; -import com.r35157.libs.solana.valuetypes.WellKnownCurrencyTypes; import com.r35157.libs.valuetypes.basic.MoneyAmount; +import com.r35157.libs.valuetypes.basic.WellKnownCurrencyTypes; import org.jetbrains.annotations.NotNull; import org.jetbrains.annotations.Nullable; diff --git a/src/main/tjava/com/r35157/libs/solana/valuetypes/WellKnownCurrencyTypes.tjava b/src/main/tjava/com/r35157/libs/solana/valuetypes/WellKnownCurrencyTypes.tjava deleted file mode 100644 index 9fa417b..0000000 --- a/src/main/tjava/com/r35157/libs/solana/valuetypes/WellKnownCurrencyTypes.tjava +++ /dev/null @@ -1,52 +0,0 @@ -package com.r35157.libs.solana.valuetypes; - -import com.r35157.libs.valuetypes.basic.CurrencyType; - -import java.util.UUID; - -/** - * Defines well-known currency types used by the Solana integration. - * - *

Each enum value wraps a {@link CurrencyType} with a stable identifier and a - * human-readable currency name. These predefined values are intended for common - * currencies that the Solana-related modules need to reference consistently.

- */ -public enum WellKnownCurrencyTypes { - /** - * Native Solana currency. - */ - SOLANA(new CurrencyType( - UUID.fromString("019e0116-fce5-792f-a647-fa6da4dffec5"), - "Solana", - "SOL") - ), - - /** - * Syrup USDC token currency. - */ - SYRUPUSDC(new CurrencyType( - UUID.fromString("019e1d51-0600-7956-8231-f3b7058a91c2"), - "SyrupUSDC", - "SyrupUSDC") - ); - - /** - * Creates a well-known currency type entry. - * - * @param currencyType the currency type represented by this enum value - */ - WellKnownCurrencyTypes(CurrencyType currencyType) { - this.currencyType = currencyType; - } - - /** - * Returns the currency type represented by this enum value. - * - * @return the represented currency type - */ - public CurrencyType getCurrencyType() { - return currencyType; - } - - private final CurrencyType currencyType; -} \ No newline at end of file