public SmartContractController() { this.smartContractDb = new SmartContractDb(); this.accountDb = new AccountDb(); this.logger = new BlockchainLogger(); this.smartContractManager = new SmartContractManager(this.smartContractDb, this.accountDb, this.logger); }
public SmartContractManager(ISmartContractDb smartContractDb, IAccountDb accountDb, IBlockchainLogger logger) { this.smartContractDb = smartContractDb; this.accountDb = accountDb; this.logger = logger; }
public TransactionBlocksController() { this.smartContractDb = new SmartContractDb(); this.blockManager = new BlockManager(this.smartContractDb); }
public BlockManager(ISmartContractDb smartContractDb) { this.smartContractDb = smartContractDb; }