Skip to content

Commit 87660a4

Browse files
authored
Merge branch 'main' into docs/readme
2 parents fe1e386 + 36a336b commit 87660a4

401 files changed

Lines changed: 1 addition & 31298 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/update-zkevm-api-package.yml

Lines changed: 0 additions & 101 deletions
This file was deleted.

Immutable.uplugin

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,6 @@
3030
"Name": "ImmutableEditor",
3131
"Type": "Editor",
3232
"LoadingPhase": "Default"
33-
},
34-
{
35-
"Name": "ImmutablezkEVMAPI",
36-
"Type": "Runtime",
37-
"LoadingPhase": "Default"
3833
}
3934
],
4035
"Plugins": [

Source/Immutable/Public/Immutable/ApplicationConfig.h

Lines changed: 1 addition & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -8,75 +8,14 @@
88
/**
99
* @class UApplicationConfig
1010
* @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.
1312
*/
1413
UCLASS(Abstract, Blueprintable, ClassGroup = Immutable)
1514
class IMMUTABLE_API UApplicationConfig : public UObject
1615
{
1716
GENERATED_BODY()
1817

1918
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-
8019
/**
8120
* Retrieves the Client ID used for Passport initialization.
8221
*
@@ -126,30 +65,6 @@ class IMMUTABLE_API UApplicationConfig : public UObject
12665
}
12766

12867
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-
15368
/** Passport Client ID. */
15469
UPROPERTY(EditDefaultsOnly, Category = "Passport")
15570
FString ClientID;

Source/ImmutablezkEVMAPI/.openapi-generator-ignore

Lines changed: 0 additions & 23 deletions
This file was deleted.

0 commit comments

Comments
 (0)