Exemplo n.º 1
0
        public Task <TransactionReceipt> SetUintRequestAndWaitForReceiptAsync(byte[] name, string key, BigInteger value, CancellationTokenSource cancellationToken = null)
        {
            var setUintFunction = new SetUintFunction();

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

            return(ContractHandler.SendRequestAndWaitForReceiptAsync(setUintFunction, cancellationToken));
        }
Exemplo n.º 2
0
        public Task <string> SetUintRequestAsync(byte[] name, string key, BigInteger value)
        {
            var setUintFunction = new SetUintFunction();

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

            return(ContractHandler.SendRequestAsync(setUintFunction));
        }
Exemplo n.º 3
0
 public Task <TransactionReceipt> SetUintRequestAndWaitForReceiptAsync(SetUintFunction setUintFunction, CancellationTokenSource cancellationToken = null)
 {
     return(ContractHandler.SendRequestAndWaitForReceiptAsync(setUintFunction, cancellationToken));
 }
Exemplo n.º 4
0
 public Task <string> SetUintRequestAsync(SetUintFunction setUintFunction)
 {
     return(ContractHandler.SendRequestAsync(setUintFunction));
 }