Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: ensure queryparams are set to their correct default values #3552 #169

Merged
merged 1 commit into from
Jan 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,19 @@ struct IMMUTABLEMARKETPLACE_API FImmutableBridgeQueryParams
GENERATED_BODY()

public:
/** The ID of the source blockchain (default is null). */
/** The ID of the source blockchain (default: ""). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString FromChainID;

/** The address of the token being moved from (default is null). */
/** The address of the token being moved from (default: ""). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString FromTokenAddress;

/** The ID of the destination blockchain (default is null). */
/** The ID of the destination blockchain (default: ""). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString ToChainID;

/** The address of the token being moved to (default is null). */
/** The address of the token being moved to (default: ""). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString ToTokenAddress;
};
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,20 @@ struct IMMUTABLEMARKETPLACE_API FImmutableOnRampQueryParams
{
GENERATED_BODY()

public:
/** The cryptocurrency to purchase (default: "IMX"). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString DefaultCryptoCurrency;
FString DefaultCryptoCurrency = TEXT("IMX");

/** The amount of fiat currency to spend when purchasing cryptocurrency (default: "50"). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString DefaultFiatAmount;
FString DefaultFiatAmount = TEXT("50");

/** The fiat currency to use (default: "USD"). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString DefaultFiatCurrency;
FString DefaultFiatCurrency = TEXT("USD");

/** A comma-separated list of available cryptocurrencies for purchase (default: "imx,eth,usdc"). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString CryptoCurrencyList;
FString CryptoCurrencyList = TEXT("imx,eth,usdc");
};
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ struct IMMUTABLEMARKETPLACE_API FImmutableSwapQueryParams
GENERATED_BODY()

public:
/** The address of the token being swapped from (default is null). */
/** The address of the token being swapped from (default: ""). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString FromTokenAddress;

/** The address of the token being swapped to (default is null). */
/** The address of the token being swapped to (default: ""). */
UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = "Immutable|Marketplace")
FString ToTokenAddress;
};
Loading