2024-01-29 16:02:47 +00:00
using Utils ;
namespace DiscordRewards
{
public class RewardRepo
{
private static string Tag = > RewardConfig . UsernameTag ;
public RewardConfig [ ] Rewards { get ; } = new RewardConfig [ ]
{
// Filled any slot
2024-01-31 16:18:22 +00:00
new RewardConfig ( 1187039439558541498 , $"{Tag} successfully filled their first slot!" , new CheckConfig
2024-01-29 16:02:47 +00:00
{
2024-06-17 13:34:08 +00:00
Type = CheckType . HostFilledSlot
2024-01-29 16:02:47 +00:00
} ) ,
// Finished any slot
2024-01-31 16:18:22 +00:00
new RewardConfig ( 1202286165630390339 , $"{Tag} successfully finished their first slot!" , new CheckConfig
2024-01-29 16:02:47 +00:00
{
2024-06-17 13:34:08 +00:00
Type = CheckType . HostFinishedSlot
2024-01-29 16:02:47 +00:00
} ) ,
// Finished a sizable slot
2024-03-27 14:49:08 +00:00
new RewardConfig ( 1202286218738405418 , $"{Tag} finished their first 1GB-24h slot! (10mb/5mins for test)" , new CheckConfig
2024-01-29 16:02:47 +00:00
{
2024-06-17 13:34:08 +00:00
Type = CheckType . HostFinishedSlot ,
2024-03-27 14:49:08 +00:00
MinSlotSize = 10. MB ( ) ,
MinDuration = TimeSpan . FromMinutes ( 5.0 ) ,
2024-01-29 16:02:47 +00:00
} ) ,
// Posted any contract
2024-01-31 16:18:22 +00:00
new RewardConfig ( 1202286258370383913 , $"{Tag} posted their first contract!" , new CheckConfig
2024-01-29 16:02:47 +00:00
{
2024-06-17 13:34:08 +00:00
Type = CheckType . ClientPostedContract
2024-01-29 16:02:47 +00:00
} ) ,
// Started any contract
2024-01-31 16:18:22 +00:00
new RewardConfig ( 1202286330873126992 , $"A contract created by {Tag} reached Started state for the first time!" , new CheckConfig
2024-01-29 16:02:47 +00:00
{
2024-06-17 13:34:08 +00:00
Type = CheckType . ClientStartedContract
2024-01-29 16:02:47 +00:00
} ) ,
// Started a sizable contract
2024-03-27 14:49:08 +00:00
new RewardConfig ( 1202286381670608909 , $"A large contract created by {Tag} reached Started state for the first time! (10mb/5mins for test)" , new CheckConfig
2024-01-29 16:02:47 +00:00
{
2024-06-17 13:34:08 +00:00
Type = CheckType . ClientStartedContract ,
2024-01-29 16:02:47 +00:00
MinNumberOfHosts = 4 ,
2024-03-27 14:49:08 +00:00
MinSlotSize = 10. MB ( ) ,
MinDuration = TimeSpan . FromMinutes ( 5.0 ) ,
2024-01-29 16:02:47 +00:00
} )
} ;
}
}