Swap tokens

This commit is contained in:
2025-07-06 14:00:44 +07:00
parent 8096db495a
commit c7dec76809
21 changed files with 1124 additions and 173 deletions

View File

@@ -0,0 +1,38 @@
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace Managing.Infrastructure.Evm.Models.Proxy;
/// <summary>
/// Response model for GMX swap operations
/// </summary>
public class GmxSwapResponse : Web3ProxyBaseResponse
{
/// <summary>
/// Transaction hash if successful
/// </summary>
[JsonProperty("hash")]
[JsonPropertyName("hash")]
public string Hash { get; set; }
/// <summary>
/// Success message
/// </summary>
[JsonProperty("message")]
[JsonPropertyName("message")]
public string Message { get; set; }
/// <summary>
/// Error type if failed
/// </summary>
[JsonProperty("errorType")]
[JsonPropertyName("errorType")]
public string ErrorType { get; set; }
/// <summary>
/// Suggestion for error resolution
/// </summary>
[JsonProperty("suggestion")]
[JsonPropertyName("suggestion")]
public string Suggestion { get; set; }
}