Пример #1
0
        public Task <byte[]> ShaBidQueryAsync(byte[] hash, string owner, BigInteger value, byte[] salt, BlockParameter blockParameter = null)
        {
            var shaBidFunction = new ShaBidFunction();

            shaBidFunction.Hash  = hash;
            shaBidFunction.Owner = owner;
            shaBidFunction.Value = value;
            shaBidFunction.Salt  = salt;

            return(ContractHandler.QueryAsync <ShaBidFunction, byte[]>(shaBidFunction, blockParameter));
        }
Пример #2
0
 public Task <byte[]> ShaBidQueryAsync(ShaBidFunction shaBidFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <ShaBidFunction, byte[]>(shaBidFunction, blockParameter));
 }