docker files fixes from liaqat

This commit is contained in:
alirehmani
2024-05-03 16:39:25 +05:00
commit 464a8730e8
587 changed files with 44288 additions and 0 deletions

View File

@@ -0,0 +1,7 @@
namespace Managing.Domain.Evm;
public class GeckoToken
{
public string Id { get; set; }
public string Symbol { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System.Numerics;
using static Managing.Common.Enums;
namespace Managing.Infrastructure.Evm.Models.Gmx;
public class GmxOrder
{
public string CollateralToken { get; internal set; }
public string IndexToken { get; internal set; }
public string CollateralDelta { get; internal set; }
public string SizeDelta { get; internal set; }
public string PurchaseToken { get; internal set; }
public string PurchaseTokenAmount { get; internal set; }
public bool IsLong { get; internal set; }
public string TriggerPrice { get; internal set; }
public bool TriggerAboveThreshold { get; internal set; }
public GmxOrderType Type { get; internal set; }
public BigInteger Index { get; internal set; }
}

View File

@@ -0,0 +1,9 @@
namespace Managing.Infrastructure.Evm.Models.Gmx;
public class GmxOrderIndexes
{
public int SwapIndex { get; set; }
public int IncreaseIndex { get; set; }
public int DecreaseIndex { get; set; }
}

View File

@@ -0,0 +1,19 @@
using System.Numerics;
namespace Managing.Infrastructure.Evm.Models.Gmx;
public class GmxPosition
{
public string CollateralToken { get; set; }
public string IndexToken { get; set; }
public bool IsLong { get; set; }
public BigInteger SizeDelta { get; set; }
public BigInteger Collateral { get; set; }
public BigInteger AveragePrice { get; set; }
public BigInteger EntryFundingRate { get; set; }
public bool HasRealisedProfit { get; set; }
public BigInteger RealisedPnl { get; set; }
public BigInteger HasProfit { get; set; }
public BigInteger Delta { get; set; }
public BigInteger LastIncreasedTime { get; internal set; }
}

View File

@@ -0,0 +1,19 @@
namespace Managing.Infrastructure.Evm.Models.Gmx;
public class GmxPrices
{
public List<GmxOhlc> prices { get; set; }
public string period { get; set; }
public int updatedAt { get; set; }
}
public class GmxOhlc
{
public int t { get; set; }
public double o { get; set; }
public double c { get; set; }
public double h { get; set; }
public double l { get; set; }
}

View File

@@ -0,0 +1,20 @@
namespace Managing.Infrastructure.Evm.Models;
public class TradaoList
{
public IList<Row> row { get; set; }
public int total { get; set; }
public int updatetime { get; set; }
}
public class Row
{
public string user { get; set; }
public string pnl { get; set; }
public string roi { get; set; }
public string longSize { get; set; }
public string shortSize { get; set; }
public string openLatestCollateralSum { get; set; }
public string chainId { get; set; }
}

View File

@@ -0,0 +1,49 @@
namespace Managing.Infrastructure.Evm.Models;
public class TradaoUserDetails
{
public int updatetime { get; set; }
public Summary summary { get; set; }
public IList<Preference> preference { get; set; }
public IList<OpenPositions> openPositions { get; set; }
}
public class Summary
{
public string pnl { get; set; }
public string roi { get; set; }
public double winRate { get; set; }
public int trades { get; set; }
public int winTrades { get; set; }
public int lossTrades { get; set; }
public string averageWin { get; set; }
public string averageLoss { get; set; }
public string openCollateralSum { get; set; }
public string fee { get; set; }
}
public class Preference
{
public string tokenAddress { get; set; }
public int winTrades { get; set; }
public int lossTrades { get; set; }
public string pnl { get; set; }
}
public class OpenPositions
{
public string indexTokenAddress { get; set; }
public string collateralTokenAddress { get; set; }
public bool isLong { get; set; }
public string position { get; set; }
public string collateral { get; set; }
public string realizedPnl { get; set; }
public string averagePrice { get; set; }
public string totalFee { get; set; }
public string entryFundingRate { get; set; }
public string borrowFee { get; set; }
public string closeFee { get; set; }
public string liqPrice { get; set; }
}