Пример #1
0
 public SmartContractRegistrationService(ISmartContractRegistrationCacheProvider smartContractRegistrationCacheProvider,
                                         ISmartContractExecutiveProvider smartContractExecutiveProvider,
                                         ISmartContractCodeHistoryService smartContractCodeHistoryService)
 {
     _smartContractRegistrationCacheProvider = smartContractRegistrationCacheProvider;
     _smartContractExecutiveProvider         = smartContractExecutiveProvider;
     _smartContractCodeHistoryService        = smartContractCodeHistoryService;
 }
Пример #2
0
 public TestingSmartContractExecutiveService(IDeployedContractAddressProvider deployedContractAddressProvider,
                                             IDefaultContractZeroCodeProvider defaultContractZeroCodeProvider,
                                             ISmartContractRunnerContainer smartContractRunnerContainer,
                                             IHostSmartContractBridgeContextService hostSmartContractBridgeContextService,
                                             IChainBlockLinkService chainBlockLinkService, IBlockchainService blockchainService,
                                             ISmartContractCodeHistoryService smartContractCodeHistoryService,
                                             ISmartContractRegistrationCacheProvider smartContractRegistrationCacheProvider,
                                             ISmartContractExecutiveProvider smartContractExecutiveProvider) : base(deployedContractAddressProvider,
                                                                                                                    defaultContractZeroCodeProvider,
                                                                                                                    smartContractRunnerContainer,
                                                                                                                    hostSmartContractBridgeContextService,
                                                                                                                    chainBlockLinkService,
                                                                                                                    blockchainService,
                                                                                                                    smartContractCodeHistoryService,
                                                                                                                    smartContractRegistrationCacheProvider,
                                                                                                                    smartContractExecutiveProvider)
 {
 }
        public SmartContractExecutiveService(IDeployedContractAddressProvider deployedContractAddressProvider,
                                             IDefaultContractZeroCodeProvider defaultContractZeroCodeProvider,
                                             ISmartContractRunnerContainer smartContractRunnerContainer,
                                             IHostSmartContractBridgeContextService hostSmartContractBridgeContextService,
                                             IChainBlockLinkService chainBlockLinkService, IBlockchainService blockchainService,
                                             ISmartContractCodeHistoryService smartContractCodeHistoryService,
                                             ISmartContractRegistrationCacheProvider smartContractRegistrationCacheProvider,
                                             ISmartContractExecutiveProvider smartContractExecutiveProvider)
        {
            _deployedContractAddressProvider       = deployedContractAddressProvider;
            _defaultContractZeroCodeProvider       = defaultContractZeroCodeProvider;
            _smartContractRunnerContainer          = smartContractRunnerContainer;
            _hostSmartContractBridgeContextService = hostSmartContractBridgeContextService;
            _chainBlockLinkService                  = chainBlockLinkService;
            _blockchainService                      = blockchainService;
            _smartContractCodeHistoryService        = smartContractCodeHistoryService;
            _smartContractRegistrationCacheProvider = smartContractRegistrationCacheProvider;
            _smartContractExecutiveProvider         = smartContractExecutiveProvider;

            Logger = new NullLogger <SmartContractExecutiveService>();
        }