using CodexContractsPlugin.ChainMonitor; using DiscordRewards; namespace TestNetRewarder { public class RewardChecker { public RewardChecker(IRewardGiver giver) { var repo = new RewardRepo(); var checks = repo.Rewards.Select(r => new RewardCheck(r, giver)).ToArray(); Handler = new ChainStateChangeHandlerMux(checks); } public IChainStateChangeHandler Handler { get; } } }