public Task <string> GetTokenQueryAsync(string exchange, BlockParameter blockParameter = null) { var getTokenFunction = new GetTokenFunction(); getTokenFunction.Exchange = exchange; return(ContractHandler.QueryAsync <GetTokenFunction, string>(getTokenFunction, blockParameter)); }
public Task <GetTokenOutputDTO> GetTokenQueryAsync(BigInteger id, BlockParameter blockParameter = null) { var getTokenFunction = new GetTokenFunction(); getTokenFunction.Id = id; return(ContractHandler.QueryDeserializingToObjectAsync <GetTokenFunction, GetTokenOutputDTO>(getTokenFunction, blockParameter)); }
public Task <byte[]> GetTokenQueryAsyncTest( [PexAssumeUnderTest] GenericContractService target, GetTokenFunction getTokenFunction, BlockParameter blockParameter ) { Task <byte[]> result = target.GetTokenQueryAsync(getTokenFunction, blockParameter); Assert.IsNotNull(result); return(result); }
public Task <string> GetTokenQueryAsync(GetTokenFunction getTokenFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <GetTokenFunction, string>(getTokenFunction, blockParameter)); }
public Task <GetTokenOutputDTO> GetTokenQueryAsync(GetTokenFunction getTokenFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryDeserializingToObjectAsync <GetTokenFunction, GetTokenOutputDTO>(getTokenFunction, blockParameter)); }