Esempio n. 1
0
        public Task <TransactionReceipt> SetSubnodeOwnerRequestAndWaitForReceiptAsync(byte[] label, string owner, CancellationTokenSource cancellationToken = null)
        {
            var setSubnodeOwnerFunction = new SetSubnodeOwnerFunction();

            setSubnodeOwnerFunction.Label = label;
            setSubnodeOwnerFunction.Owner = owner;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setSubnodeOwnerFunction, cancellationToken));
        }
Esempio n. 2
0
        public Task <string> SetSubnodeOwnerRequestAsync(byte[] label, string owner)
        {
            var setSubnodeOwnerFunction = new SetSubnodeOwnerFunction();

            setSubnodeOwnerFunction.Label = label;
            setSubnodeOwnerFunction.Owner = owner;

            return(ContractHandler.SendRequestAsync(setSubnodeOwnerFunction));
        }
Esempio n. 3
0
 public Task <TransactionReceipt> SetSubnodeOwnerRequestAndWaitForReceiptAsync(SetSubnodeOwnerFunction setSubnodeOwnerFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setSubnodeOwnerFunction, cancellationToken));
 }
Esempio n. 4
0
 public Task <string> SetSubnodeOwnerRequestAsync(SetSubnodeOwnerFunction setSubnodeOwnerFunction)
 {
     return(ContractHandler.SendRequestAsync(setSubnodeOwnerFunction));
 }