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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user