Update SDK (#35)

* Update SDK for swap

* Fix web3proxy build

* Update types

* Fix swap

* Send token test and BASE transfer

* fix cache and hook

* Fix send

* Update health check with uiFeereceiver

* Fix sdk

* Fix get positions

* Fix timeoutloop

* Fix open position

* Fix closes positions

* Review
This commit is contained in:
Oda
2025-09-17 14:28:56 +07:00
committed by GitHub
parent 271dd70ad7
commit cee3902a4d
91 changed files with 21375 additions and 2831 deletions

View File

@@ -1,3 +1,4 @@
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace Managing.Infrastructure.Evm.Models.Proxy;
@@ -45,11 +46,17 @@ public class GmxPosition
[JsonProperty("liquidationPrice")] public double LiquidationPrice { get; set; }
[JsonProperty("stopLoss")] public GmxTrade StopLoss { get; set; }
[JsonProperty("StopLoss")]
[JsonPropertyName("StopLoss")]
public GmxTrade StopLoss { get; set; }
[JsonProperty("takeProfit1")] public GmxTrade TakeProfit1 { get; set; }
[JsonProperty("TakeProfit1")]
[JsonPropertyName("TakeProfit1")]
public GmxTrade TakeProfit1 { get; set; }
[JsonProperty("open")] public GmxTrade Open { get; set; }
[JsonProperty("Open")]
[JsonPropertyName("Open")]
public GmxTrade Open { get; set; }
}
public class GetGmxPositionsResponse : Web3ProxyBaseResponse