2024-01-29 11:02:47 -05:00
|
|
|
|
namespace DiscordRewards
|
2024-01-22 10:27:07 +01:00
|
|
|
|
{
|
|
|
|
|
public class GiveRewardsCommand
|
|
|
|
|
{
|
|
|
|
|
public RewardUsersCommand[] Rewards { get; set; } = Array.Empty<RewardUsersCommand>();
|
2024-04-07 14:04:31 +02:00
|
|
|
|
public MarketAverage[] Averages { get; set; } = Array.Empty<MarketAverage>();
|
2024-04-08 13:55:39 +02:00
|
|
|
|
public string[] EventsOverview { get; set; } = Array.Empty<string>();
|
2024-01-22 10:27:07 +01:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public class RewardUsersCommand
|
|
|
|
|
{
|
|
|
|
|
public ulong RewardId { get; set; }
|
|
|
|
|
public string[] UserAddresses { get; set; } = Array.Empty<string>();
|
|
|
|
|
}
|
2024-04-07 14:04:31 +02:00
|
|
|
|
|
|
|
|
|
public class MarketAverage
|
|
|
|
|
{
|
|
|
|
|
public int NumberOfFinished { get; set; }
|
2024-04-12 09:12:51 +02:00
|
|
|
|
public int TimeRangeSeconds { get; set; }
|
2024-04-07 14:04:31 +02:00
|
|
|
|
public float Price { get; set; }
|
|
|
|
|
public float Size { get; set; }
|
|
|
|
|
public float Duration { get; set; }
|
|
|
|
|
public float Collateral { get; set; }
|
|
|
|
|
public float ProofProbability { get; set; }
|
|
|
|
|
}
|
2024-01-22 10:27:07 +01:00
|
|
|
|
}
|