public Task <TransactionReceipt> RemoveOwnerRequestAndWaitForReceiptAsync(string owner, CancellationTokenSource cancellationToken = null)
        {
            var removeOwnerFunction = new RemoveOwnerFunction();

            removeOwnerFunction.Owner = owner;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(removeOwnerFunction, cancellationToken));
        }
        public Task <string> RemoveOwnerRequestAsync(string owner)
        {
            var removeOwnerFunction = new RemoveOwnerFunction();

            removeOwnerFunction.Owner = owner;

            return(ContractHandler.SendRequestAsync(removeOwnerFunction));
        }
示例#3
0
        public Task <TransactionReceipt> RemoveOwnerRequestAndWaitForReceiptAsync(string prevOwner, string owner, BigInteger threshold, CancellationTokenSource cancellationToken = null)
        {
            var removeOwnerFunction = new RemoveOwnerFunction();

            removeOwnerFunction.PrevOwner = prevOwner;
            removeOwnerFunction.Owner     = owner;
            removeOwnerFunction.Threshold = threshold;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(removeOwnerFunction, cancellationToken));
        }
示例#4
0
        public Task <string> RemoveOwnerRequestAsync(string prevOwner, string owner, BigInteger threshold)
        {
            var removeOwnerFunction = new RemoveOwnerFunction();

            removeOwnerFunction.PrevOwner = prevOwner;
            removeOwnerFunction.Owner     = owner;
            removeOwnerFunction.Threshold = threshold;

            return(ContractHandler.SendRequestAsync(removeOwnerFunction));
        }
 public Task <TransactionReceipt> RemoveOwnerRequestAndWaitForReceiptAsync(RemoveOwnerFunction removeOwnerFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(removeOwnerFunction, cancellationToken));
 }
 public Task <string> RemoveOwnerRequestAsync(RemoveOwnerFunction removeOwnerFunction)
 {
     return(ContractHandler.SendRequestAsync(removeOwnerFunction));
 }