Esempio n. 1
0
        public Task <BigInteger> ApprovedHashesQueryAsync(string returnValue1, byte[] returnValue2, BlockParameter blockParameter = null)
        {
            var approvedHashesFunction = new ApprovedHashesFunction();

            approvedHashesFunction.ReturnValue1 = returnValue1;
            approvedHashesFunction.ReturnValue2 = returnValue2;

            return(ContractHandler.QueryAsync <ApprovedHashesFunction, BigInteger>(approvedHashesFunction, blockParameter));
        }
Esempio n. 2
0
 public Task <BigInteger> ApprovedHashesQueryAsync(ApprovedHashesFunction approvedHashesFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <ApprovedHashesFunction, BigInteger>(approvedHashesFunction, blockParameter));
 }