Swap tokens
This commit is contained in:
37
src/Managing.Domain/Accounts/SwapInfos.cs
Normal file
37
src/Managing.Domain/Accounts/SwapInfos.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
namespace Managing.Domain.Accounts;
|
||||
|
||||
/// <summary>
|
||||
/// Domain model for swap operation information
|
||||
/// </summary>
|
||||
public class SwapInfos
|
||||
{
|
||||
/// <summary>
|
||||
/// Whether the swap operation was successful
|
||||
/// </summary>
|
||||
public bool Success { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Transaction hash if successful
|
||||
/// </summary>
|
||||
public string Hash { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Success message
|
||||
/// </summary>
|
||||
public string Message { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Error message if failed
|
||||
/// </summary>
|
||||
public string Error { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Error type if failed
|
||||
/// </summary>
|
||||
public string ErrorType { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Suggestion for error resolution
|
||||
/// </summary>
|
||||
public string Suggestion { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user