using System.Threading.Tasks; using Nethereum.Hex.HexTypes; using Nethereum.RPC.Eth.DTOs; namespace Nethereum.BlockchainProcessing.BlockStorage.Repositories { public interface ITransactionRepository { Task UpsertAsync(TransactionReceiptVO transactionReceiptVO, string code, bool failedCreatingContract); Task UpsertAsync(TransactionReceiptVO transactionReceiptVO); Task FindByBlockNumberAndHashAsync(HexBigInteger blockNumber, string hash); } }