Exemplo n.º 1
0
        public Task <string> SealedBidsQueryAsync(string returnValue1, byte[] returnValue2, BlockParameter blockParameter = null)
        {
            var sealedBidsFunction = new SealedBidsFunction();

            sealedBidsFunction.ReturnValue1 = returnValue1;
            sealedBidsFunction.ReturnValue2 = returnValue2;

            return(ContractHandler.QueryAsync <SealedBidsFunction, string>(sealedBidsFunction, blockParameter));
        }
Exemplo n.º 2
0
 public Task <string> SealedBidsQueryAsync(SealedBidsFunction sealedBidsFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <SealedBidsFunction, string>(sealedBidsFunction, blockParameter));
 }