✨ Publisher rewarding
This commit is contained in:
		
							
								
								
									
										12
									
								
								DysonNetwork.Sphere/Publisher/PublisherSettlementJob.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								DysonNetwork.Sphere/Publisher/PublisherSettlementJob.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
using Quartz;
 | 
			
		||||
using DysonNetwork.Sphere.Publisher;
 | 
			
		||||
 | 
			
		||||
namespace DysonNetwork.Sphere.Publisher;
 | 
			
		||||
 | 
			
		||||
public class PublisherSettlementJob(PublisherService publisherService) : IJob
 | 
			
		||||
{
 | 
			
		||||
    public async Task Execute(IJobExecutionContext context)
 | 
			
		||||
    {
 | 
			
		||||
        await publisherService.SettlePublisherRewards();
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user