public Task <BigInteger> HashProposalQueryAsync(List <string> targets, List <BigInteger> values, List <byte[]> calldatas, byte[] descriptionHash, BlockParameter blockParameter = null) { var hashProposalFunction = new HashProposalFunction(); hashProposalFunction.Targets = targets; hashProposalFunction.Values = values; hashProposalFunction.Calldatas = calldatas; hashProposalFunction.DescriptionHash = descriptionHash; return(ContractHandler.QueryAsync <HashProposalFunction, BigInteger>(hashProposalFunction, blockParameter)); }
public Task <BigInteger> HashProposalQueryAsync(HashProposalFunction hashProposalFunction, BlockParameter blockParameter = null) { return(ContractHandler.QueryAsync <HashProposalFunction, BigInteger>(hashProposalFunction, blockParameter)); }