コード例 #1
0
        public Task <TransactionReceipt> SetAddressRequestAndWaitForReceiptAsync(string name, string address, CancellationTokenSource cancellationToken = null)
        {
            var setAddressFunction = new SetAddressFunction();

            setAddressFunction.Name    = name;
            setAddressFunction.Address = address;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setAddressFunction, cancellationToken));
        }
コード例 #2
0
        public Task <string> SetAddressRequestAsync(string name, string address)
        {
            var setAddressFunction = new SetAddressFunction();

            setAddressFunction.Name    = name;
            setAddressFunction.Address = address;

            return(ContractHandler.SendRequestAsync(setAddressFunction));
        }
コード例 #3
0
        public Task <TransactionReceipt> SetAddressRequestAndWaitForReceiptAsync(byte[] name, string key, string value, CancellationTokenSource cancellationToken = null)
        {
            var setAddressFunction = new SetAddressFunction();

            setAddressFunction.Name  = name;
            setAddressFunction.Key   = key;
            setAddressFunction.Value = value;

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setAddressFunction, cancellationToken));
        }
コード例 #4
0
        public Task <string> SetAddressRequestAsync(byte[] name, string key, string value)
        {
            var setAddressFunction = new SetAddressFunction();

            setAddressFunction.Name  = name;
            setAddressFunction.Key   = key;
            setAddressFunction.Value = value;

            return(ContractHandler.SendRequestAsync(setAddressFunction));
        }
コード例 #5
0
 public Task <TransactionReceipt> SetAddressRequestAndWaitForReceiptAsync(SetAddressFunction setAddressFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setAddressFunction, cancellationToken));
 }
コード例 #6
0
 public Task <string> SetAddressRequestAsync(SetAddressFunction setAddressFunction)
 {
     return(ContractHandler.SendRequestAsync(setAddressFunction));
 }