示例#1
0
        public Task <TransactionReceipt> ThrowLaterRequestAndWaitForReceiptAsync(bool throwDice1, bool throwDice2, bool throwDice3, bool throwDice4, bool throwDice5, CancellationTokenSource cancellationToken = null)
        {
            var throwLaterFunction = new ThrowLaterFunction();

            throwLaterFunction.ThrowDice1 = throwDice1;
            throwLaterFunction.ThrowDice2 = throwDice2;
            throwLaterFunction.ThrowDice3 = throwDice3;
            throwLaterFunction.ThrowDice4 = throwDice4;
            throwLaterFunction.ThrowDice5 = throwDice5;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(throwLaterFunction, cancellationToken));
        }
示例#2
0
        public Task <string> ThrowLaterRequestAsync(bool throwDice1, bool throwDice2, bool throwDice3, bool throwDice4, bool throwDice5)
        {
            var throwLaterFunction = new ThrowLaterFunction();

            throwLaterFunction.ThrowDice1 = throwDice1;
            throwLaterFunction.ThrowDice2 = throwDice2;
            throwLaterFunction.ThrowDice3 = throwDice3;
            throwLaterFunction.ThrowDice4 = throwDice4;
            throwLaterFunction.ThrowDice5 = throwDice5;

            return(ContractHandler.SendRequestAsync(throwLaterFunction));
        }
示例#3
0
 public Task <TransactionReceipt> ThrowLaterRequestAndWaitForReceiptAsync(ThrowLaterFunction throwLaterFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(throwLaterFunction, cancellationToken));
 }
示例#4
0
 public Task <string> ThrowLaterRequestAsync(ThrowLaterFunction throwLaterFunction)
 {
     return(ContractHandler.SendRequestAsync(throwLaterFunction));
 }