|
8 | 8 | /** |
9 | 9 | * @class UApplicationConfig |
10 | 10 | * @brief Configuration settings for Passport and various APIs. |
11 | | - * @details This class stores configuration settings such as URLs, chain names, contract addresses, |
12 | | - * client IDs, and environment settings for the zkEVM API, Orderbook API, and Passport. |
| 11 | + * @details This class stores configuration settings such as client IDs and environment settings for Passport. |
13 | 12 | */ |
14 | 13 | UCLASS(Abstract, Blueprintable, ClassGroup = Immutable) |
15 | 14 | class IMMUTABLE_API UApplicationConfig : public UObject |
16 | 15 | { |
17 | 16 | GENERATED_BODY() |
18 | 17 |
|
19 | 18 | public: |
20 | | - /** |
21 | | - * Retrieves URL for the zkEVM API. |
22 | | - * |
23 | | - * @return A constant reference to an FString containing the name of the chain. |
24 | | - */ |
25 | | - const FString& GetzkEVMAPIURL() |
26 | | - { |
27 | | - return zkEVMAPIURL; |
28 | | - } |
29 | | - |
30 | | - /** |
31 | | - * Retrieves the name of the chain used to pass to the zkEVM API. |
32 | | - * |
33 | | - * @return A constant reference to an FString containing the name of the chain. |
34 | | - */ |
35 | | - const FString& GetzkEVMAPIChainName() |
36 | | - { |
37 | | - return zkEVMAPIChainName; |
38 | | - } |
39 | | - |
40 | | - /** |
41 | | - * Retrieves URL for the Orderbook API. |
42 | | - * |
43 | | - * @return A constant reference to an FString containing the name of the chain. |
44 | | - */ |
45 | | - const FString& GetOrderbookAPIURL() |
46 | | - { |
47 | | - return OrederbookAPIURL; |
48 | | - } |
49 | | - |
50 | | - /** |
51 | | - * Retrieves the name of the chain used to pass to the Orderbook API. |
52 | | - * |
53 | | - * @return A constant reference to an FString containing the name of the chain. |
54 | | - */ |
55 | | - const FString& GetOrderbookAPIChainName() |
56 | | - { |
57 | | - return OrderbookAPIChainName; |
58 | | - } |
59 | | - |
60 | | - /** |
61 | | - * @brief Retrieves the cryptocurrency contract address associated with the user's wallet balance. |
62 | | - * |
63 | | - * @return A string representing the contract address. |
64 | | - */ |
65 | | - const FString& GetTokenBalanceContractAddress() |
66 | | - { |
67 | | - return TokenBalanceContractAddress; |
68 | | - } |
69 | | - |
70 | | - /** |
71 | | - * Retrieves the list of NFT contracts used in the APIs' queries. |
72 | | - * |
73 | | - * @return A constant reference to an array of strings representing the contracts. |
74 | | - */ |
75 | | - const TArray<FString>& GetNFTContractAddresses() |
76 | | - { |
77 | | - return NFTContractAddress; |
78 | | - } |
79 | | - |
80 | 19 | /** |
81 | 20 | * Retrieves the Client ID used for Passport initialization. |
82 | 21 | * |
@@ -126,30 +65,6 @@ class IMMUTABLE_API UApplicationConfig : public UObject |
126 | 65 | } |
127 | 66 |
|
128 | 67 | protected: |
129 | | - /** The URL for the zkEVM API. */ |
130 | | - UPROPERTY(EditDefaultsOnly, Category = "zkEVM API") |
131 | | - FString zkEVMAPIURL; |
132 | | - |
133 | | - /** The name of the API chain used by the zkEVM API. */ |
134 | | - UPROPERTY(EditDefaultsOnly, Category = "zkEVM API") |
135 | | - FString zkEVMAPIChainName; |
136 | | - |
137 | | - /** The URL for the Orderbook API. */ |
138 | | - UPROPERTY(EditDefaultsOnly, Category = "Orderbook API") |
139 | | - FString OrederbookAPIURL; |
140 | | - |
141 | | - /** The name of the API chain used by Orderbook API. */ |
142 | | - UPROPERTY(EditDefaultsOnly, Category = "Orderbook API") |
143 | | - FString OrderbookAPIChainName; |
144 | | - |
145 | | - /** The address of the cryptocurrency contract in the blockchain. */ |
146 | | - UPROPERTY(EditDefaultsOnly, Category = "Contracts") |
147 | | - FString TokenBalanceContractAddress; |
148 | | - |
149 | | - /** An array of NFT contract addresses used for searching NFTs in the marketplace or displaying them in the player's inventory. */ |
150 | | - UPROPERTY(EditDefaultsOnly, Category = "Contracts") |
151 | | - TArray<FString> NFTContractAddress; |
152 | | - |
153 | 68 | /** Passport Client ID. */ |
154 | 69 | UPROPERTY(EditDefaultsOnly, Category = "Passport") |
155 | 70 | FString ClientID; |
|
0 commit comments