public Task <bool> HasVotedQueryAsync(string account, BlockParameter blockParameter = null) { var hasVotedFunction = new HasVotedFunction(); hasVotedFunction.Account = account; return(ContractHandler.QueryAsync <HasVotedFunction, bool>(hasVotedFunction, blockParameter)); }
public Task <bool> HasVotedQueryAsync(HasVotedFunction hasVotedFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <HasVotedFunction, bool>(hasVotedFunction, blockParameter)); }