1515using Stratis . Bitcoin . Features . SmartContracts . Wallet ;
1616using Stratis . Bitcoin . Utilities ;
1717using Stratis . SmartContracts . CLR ;
18+ using Stratis . SmartContracts . CLR . Caching ;
19+ using Stratis . SmartContracts . CLR . Serialization ;
1820using FileMode = LiteDB . FileMode ;
1921
2022namespace Stratis . Features . Unity3dApi
@@ -65,7 +67,9 @@ public class NFTTransferIndexer : INFTTransferIndexer
6567 private IAsyncLoop indexingLoop ;
6668
6769 public NFTTransferIndexer ( DataFolder dataFolder , ILoggerFactory loggerFactory , IAsyncProvider asyncProvider , INodeLifetime nodeLifetime ,
68- ChainIndexer chainIndexer , Network network , ILocalExecutor localExecutor , Unity3dApiSettings apiSettings , ISmartContractTransactionService smartContractTransactionService = null )
70+ ChainIndexer chainIndexer , Network network , ILocalExecutor localExecutor , Unity3dApiSettings apiSettings ,
71+ ISmartContractTransactionService smartContractTransactionService = null , IContractPrimitiveSerializer contractPrimitiveSerializer = null ,
72+ IContractAssemblyCache contractAssemblyCache = null )
6973 {
7074 this . network = network ;
7175 this . dataFolder = dataFolder ;
@@ -74,7 +78,7 @@ public NFTTransferIndexer(DataFolder dataFolder, ILoggerFactory loggerFactory, I
7478 this . nodeLifetime = nodeLifetime ;
7579 this . chainIndexer = chainIndexer ;
7680
77- var localCallContract = new LocalCallContract ( network , smartContractTransactionService , chainIndexer , localExecutor ) ;
81+ var localCallContract = new LocalCallContract ( network , smartContractTransactionService , chainIndexer , localExecutor , contractPrimitiveSerializer , contractAssemblyCache ) ;
7882
7983 this . nftContractLocalClient = new NftContractLocalClient ( localCallContract , apiSettings . LocalCallSenderAddress ) ;
8084 this . smartContractTransactionService = smartContractTransactionService ;
0 commit comments