コード例 #1
0
        public Task <TransactionReceipt> AddOwnerWithThresholdRequestAndWaitForReceiptAsync(string owner, BigInteger threshold, CancellationTokenSource cancellationToken = null)
        {
            var addOwnerWithThresholdFunction = new AddOwnerWithThresholdFunction();

            addOwnerWithThresholdFunction.Owner     = owner;
            addOwnerWithThresholdFunction.Threshold = threshold;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(addOwnerWithThresholdFunction, cancellationToken));
        }
コード例 #2
0
        public Task <string> AddOwnerWithThresholdRequestAsync(string owner, BigInteger threshold)
        {
            var addOwnerWithThresholdFunction = new AddOwnerWithThresholdFunction();

            addOwnerWithThresholdFunction.Owner     = owner;
            addOwnerWithThresholdFunction.Threshold = threshold;

            return(ContractHandler.SendRequestAsync(addOwnerWithThresholdFunction));
        }
コード例 #3
0
 public Task <TransactionReceipt> AddOwnerWithThresholdRequestAndWaitForReceiptAsync(AddOwnerWithThresholdFunction addOwnerWithThresholdFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(addOwnerWithThresholdFunction, cancellationToken));
 }
コード例 #4
0
 public Task <string> AddOwnerWithThresholdRequestAsync(AddOwnerWithThresholdFunction addOwnerWithThresholdFunction)
 {
     return(ContractHandler.SendRequestAsync(addOwnerWithThresholdFunction));
 }