예제 #1
0
 public BotEngine(AppSettings appSettings,
                  IMessageParser messageParser,
                  IWithdrawalService withdrawalService,
                  IStatService statService,
                  IAmountHelper amountHelper,
                  LiteCollection <Reward> rewardCollection,
                  LiteCollection <FriendTagMap> friendTagMapCollection,
                  LiteCollection <UserTweetMap> userTweetMapCollection,
                  LiteCollection <MessageCursor> messageCursorCollection,
                  LiteCollection <AddressToUserMap> addressToUserMapCollection)
 {
     _appSettings                = appSettings;
     _messageParser              = messageParser;
     _withdrawalService          = withdrawalService;
     _statService                = statService;
     _amountHelper               = amountHelper;
     _rewardCollection           = rewardCollection;
     _friendTagMapCollection     = friendTagMapCollection;
     _userTweetMapCollection     = userTweetMapCollection;
     _messageCursorCollection    = messageCursorCollection;
     _addressToUserMapCollection = addressToUserMapCollection;
 }
 public WithdrawalService(INodeApi nodeApi, IAmountHelper amountHelper)
 {
     _nodeApi      = nodeApi;
     _amountHelper = amountHelper;
 }