Пример #1
0
 public CachedErc20TokenService(
     IErc20TokenService tokenService,
     IDistributedCache <IErc20Token, Erc20Token> cache)
 {
     _cache        = cache;
     _tokenService = tokenService;
 }
Пример #2
0
 public Erc20TokenAssetService(
     IAssetService assetService,
     IAssetExtendedInfoService assetExtendedInfoService,
     IErc20TokenService erc20TokenService)
 {
     _assetService             = assetService;
     _assetExtendedInfoService = assetExtendedInfoService;
     _erc20TokenService        = erc20TokenService;
 }