Exemplo n.º 1
0
        public Task <TransactionReceipt> ChangeThresholdRequestAndWaitForReceiptAsync(BigInteger threshold, CancellationTokenSource cancellationToken = null)
        {
            var changeThresholdFunction = new ChangeThresholdFunction();

            changeThresholdFunction.Threshold = threshold;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(changeThresholdFunction, cancellationToken));
        }
Exemplo n.º 2
0
        public Task <string> ChangeThresholdRequestAsync(BigInteger threshold)
        {
            var changeThresholdFunction = new ChangeThresholdFunction();

            changeThresholdFunction.Threshold = threshold;

            return(ContractHandler.SendRequestAsync(changeThresholdFunction));
        }
Exemplo n.º 3
0
 public Task <TransactionReceipt> ChangeThresholdRequestAndWaitForReceiptAsync(ChangeThresholdFunction changeThresholdFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(changeThresholdFunction, cancellationToken));
 }
Exemplo n.º 4
0
 public Task <string> ChangeThresholdRequestAsync(ChangeThresholdFunction changeThresholdFunction)
 {
     return(ContractHandler.SendRequestAsync(changeThresholdFunction));
 }