Beispiel #1
0
        public Task <TransactionReceipt> ClaimPaymentRequestAndWaitForReceiptAsync(BigInteger amount, BigInteger noncePay, byte[] signature, CancellationTokenSource cancellationToken = null)
        {
            var claimPaymentFunction = new ClaimPaymentFunction();

            claimPaymentFunction.Amount    = amount;
            claimPaymentFunction.NoncePay  = noncePay;
            claimPaymentFunction.Signature = signature;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(claimPaymentFunction, cancellationToken));
        }
Beispiel #2
0
        public Task <string> ClaimPaymentRequestAsync(BigInteger amount, BigInteger noncePay, byte[] signature)
        {
            var claimPaymentFunction = new ClaimPaymentFunction();

            claimPaymentFunction.Amount    = amount;
            claimPaymentFunction.NoncePay  = noncePay;
            claimPaymentFunction.Signature = signature;

            return(ContractHandler.SendRequestAsync(claimPaymentFunction));
        }
Beispiel #3
0
 public Task <TransactionReceipt> ClaimPaymentRequestAndWaitForReceiptAsync(ClaimPaymentFunction claimPaymentFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(claimPaymentFunction, cancellationToken));
 }
Beispiel #4
0
 public Task <string> ClaimPaymentRequestAsync(ClaimPaymentFunction claimPaymentFunction)
 {
     return(ContractHandler.SendRequestAsync(claimPaymentFunction));
 }