public AssetController(IAssetService assetService,
                        IBlockService blockService,
                        ICachedMainChainService mainChainService,
                        IAssetBalanceChangesRepository assetBalanceChangesRepository)
 {
     _assetService             = assetService;
     _blockService             = blockService;
     _mainChainService         = mainChainService;
     _balanceChangesRepository = assetBalanceChangesRepository;
 }
 public AddressController(IAddressService addressProvider,
                          IAssetService assetService,
                          IBlockService blockService,
                          ICachedMainChainService mainChainService,
                          ICachedAddressService cachedAddressService,
                          IOffchainNotificationsService offchainNotificationsService)
 {
     _addressProvider              = addressProvider;
     _assetService                 = assetService;
     _blockService                 = blockService;
     _mainChainService             = mainChainService;
     _cachedAddressService         = cachedAddressService;
     _offchainNotificationsService = offchainNotificationsService;
 }
Example #3
0
 public MainChainFunctions(ICachedMainChainService cachedMainChainService)
 {
     _cachedMainChainService = cachedMainChainService;
 }