Beispiel #1
0
        public Task <TransactionReceipt> DeleteDataFromAllRequestAndWaitForReceiptAsync(uint dbId, ulong tId, BigInteger dId, byte[] dataHash, CancellationTokenSource cancellationToken = null)
        {
            var deleteDataFromAllFunction = new DeleteDataFromAllFunction();

            deleteDataFromAllFunction.DbId     = dbId;
            deleteDataFromAllFunction.TId      = tId;
            deleteDataFromAllFunction.DId      = dId;
            deleteDataFromAllFunction.DataHash = dataHash;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(deleteDataFromAllFunction, cancellationToken));
        }
Beispiel #2
0
        public Task <string> DeleteDataFromAllRequestAsync(uint dbId, ulong tId, BigInteger dId, byte[] dataHash)
        {
            var deleteDataFromAllFunction = new DeleteDataFromAllFunction();

            deleteDataFromAllFunction.DbId     = dbId;
            deleteDataFromAllFunction.TId      = tId;
            deleteDataFromAllFunction.DId      = dId;
            deleteDataFromAllFunction.DataHash = dataHash;

            return(ContractHandler.SendRequestAsync(deleteDataFromAllFunction));
        }
Beispiel #3
0
 public Task <TransactionReceipt> DeleteDataFromAllRequestAndWaitForReceiptAsync(DeleteDataFromAllFunction deleteDataFromAllFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(deleteDataFromAllFunction, cancellationToken));
 }
Beispiel #4
0
 public Task <string> DeleteDataFromAllRequestAsync(DeleteDataFromAllFunction deleteDataFromAllFunction)
 {
     return(ContractHandler.SendRequestAsync(deleteDataFromAllFunction));
 }