Index: events/src/main/java/geniusweb/actions/Action.java
===================================================================
--- events/src/main/java/geniusweb/actions/Action.java	(revision 29)
+++ events/src/main/java/geniusweb/actions/Action.java	(revision 30)
@@ -18,5 +18,7 @@
 		@JsonSubTypes.Type(value = ElicitComparison.class),
 		@JsonSubTypes.Type(value = Vote.class),
-		@JsonSubTypes.Type(value = Votes.class) })
+		@JsonSubTypes.Type(value = Votes.class),
+		@JsonSubTypes.Type(value = VoteWithValue.class),
+		@JsonSubTypes.Type(value = VotesWithValue.class) })
 public interface Action {
 	/**
Index: events/src/main/java/geniusweb/actions/VoteWithValue.java
===================================================================
--- events/src/main/java/geniusweb/actions/VoteWithValue.java	(revision 30)
+++ events/src/main/java/geniusweb/actions/VoteWithValue.java	(revision 30)
@@ -0,0 +1,127 @@
+package geniusweb.actions;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+import com.fasterxml.jackson.annotation.JsonTypeName;
+
+import geniusweb.issuevalue.Bid;
+
+/**
+ * A vote is an indication by a party that it conditionally accepts a bid. It's
+ * then up to the protocol to determine the outcome.
+ */
+@JsonTypeName("votewithvalue")
+public class VoteWithValue extends ActionWithBid {
+	private final Integer minPower;
+	private final Integer maxPower;
+	private final Integer value;
+
+	/**
+	 * @param id       the {@link PartyId} that does the action
+	 * @param bid      the bid that is voted on
+	 * @param minPower the minimum power this bid must get in order for the vote
+	 *                 to be valid. Power is the sum of the powers of the
+	 *                 parties that are in the deal. If power=1 for all
+	 *                 participants (usually the default) power can be
+	 *                 interpreted as number of votes
+	 * @param maxPower the maximum power this bid must get in order for the vote
+	 *                 to be valid. See {@link #minPower}
+	 * @param value    the value for this vote. An integer in [1,100]. Higher
+	 *                 means that the actor likes this bid better. Note: value 0
+	 *                 is reserved for "unacceptable" and therefore can not be
+	 *                 used as a valid value.
+	 */
+	@JsonCreator
+	public VoteWithValue(@JsonProperty("actor") PartyId id,
+			@JsonProperty("bid") Bid bid,
+			@JsonProperty("minPower") Integer minPower,
+			@JsonProperty("maxPower") Integer maxPower,
+			@JsonProperty("value") Integer value) {
+		super(id, bid);
+		this.minPower = minPower;
+		this.maxPower = maxPower;
+		this.value = value;
+		if (value < 1 || value > 100)
+			throw new IllegalArgumentException(
+					"value must be in [1,100] but got " + value);
+		if (bid == null || minPower == null || minPower < 1 || maxPower == null
+				|| maxPower < minPower) {
+			throw new IllegalArgumentException(
+					"Vote must have non-null bid and minVotes, and minPower must be >=1 and maxPower must be >=minPower");
+		}
+	}
+
+	/**
+	 * 
+	 * @return the minimum power this bid must get in order for the vote to be
+	 *         valid.
+	 */
+	public Integer getMinPower() {
+		return minPower;
+	}
+
+	/**
+	 * 
+	 * @return the max power this bid must get in order for the vote to be
+	 *         valid.
+	 */
+	public Integer getMaxPower() {
+		return maxPower;
+	}
+
+	/**
+	 * 
+	 * @return the value for this vote. An integer in [1,100]. Higher means that
+	 *         the actor likes this bid better.
+	 * 
+	 */
+	public Integer getValue() {
+		return value;
+	}
+
+	@Override
+	public String toString() {
+		return "VoteWithValue[" + getActor() + "," + getBid() + "," + minPower
+				+ "," + maxPower + "," + value + "]";
+	}
+
+	@Override
+	public int hashCode() {
+		final int prime = 31;
+		int result = super.hashCode();
+		result = prime * result
+				+ ((maxPower == null) ? 0 : maxPower.hashCode());
+		result = prime * result
+				+ ((minPower == null) ? 0 : minPower.hashCode());
+		result = prime * result + ((value == null) ? 0 : value.hashCode());
+		return result;
+	}
+
+	@Override
+	public boolean equals(Object obj) {
+		if (this == obj)
+			return true;
+		if (!super.equals(obj))
+			return false;
+		if (getClass() != obj.getClass())
+			return false;
+		VoteWithValue other = (VoteWithValue) obj;
+		if (maxPower == null) {
+			if (other.maxPower != null)
+				return false;
+		} else if (!maxPower.equals(other.maxPower))
+			return false;
+		if (minPower == null) {
+			if (other.minPower != null)
+				return false;
+		} else if (!minPower.equals(other.minPower))
+			return false;
+		if (value == null) {
+			if (other.value != null)
+				return false;
+		} else if (!value.equals(other.value))
+			return false;
+		return true;
+	}
+
+}
Index: events/src/main/java/geniusweb/actions/VotesWithValue.java
===================================================================
--- events/src/main/java/geniusweb/actions/VotesWithValue.java	(revision 30)
+++ events/src/main/java/geniusweb/actions/VotesWithValue.java	(revision 30)
@@ -0,0 +1,125 @@
+package geniusweb.actions;
+
+import java.util.Collections;
+import java.util.Map;
+import java.util.Map.Entry;
+import java.util.Optional;
+import java.util.Set;
+import java.util.stream.Collectors;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import geniusweb.issuevalue.Bid;
+
+/**
+ * Indicates that a party conditionally agrees with any of the
+ * {@link VoteWithValue}s provided.
+ */
+public class VotesWithValue extends AbstractAction {
+	private final Set<VoteWithValue> votes;
+
+	/**
+	 * 
+	 * @param id    party id
+	 * @param votes the {@link Vote}s that the party can agree on, if the
+	 *              condition of the Vote holds. Every {@link Vote#getActor()}
+	 *              should equal the id. The sum of the values must =100.
+	 */
+	@JsonCreator
+	public VotesWithValue(@JsonProperty("actor") PartyId id,
+			@JsonProperty("votes") Set<VoteWithValue> votes) {
+		super(id);
+		this.votes = votes;
+		if (votes == null)
+			throw new NullPointerException("votes must be not null");
+		for (VoteWithValue vote : votes) {
+			if (!vote.getActor().equals(id)) {
+				throw new IllegalArgumentException("All votes must come from "
+						+ id + " but found " + vote);
+			}
+		}
+		if (votes.stream().map(v -> v.getValue()).reduce(0,
+				Integer::sum) != 100)
+			throw new IllegalArgumentException(
+					"Sum of the placed votes must be 100");
+		// check for duplicate Vote's, possibly with different powers
+		Map<Bid, Long> counts = votes.stream().map(vote -> vote.getBid())
+				.collect(Collectors.groupingBy(bid -> bid,
+						Collectors.counting()));
+		Optional<Entry<Bid, Long>> nonunique = counts.entrySet().stream()
+				.filter(entry -> entry.getValue() > 1).findAny();
+		if (nonunique.isPresent())
+			throw new IllegalArgumentException(
+					"Votes contains multiple Vote's for "
+							+ nonunique.get().getKey());
+	}
+
+	/**
+	 * Test if Votes extends other votes. Extending means that for each vote on
+	 * bid B with power P in othervotes, this contains also a vote for bid B
+	 * with power at most P.
+	 * 
+	 * @param otherVotes the {@link VotesWithValue}, usually from a previous
+	 *                   round, that this should extend.
+	 * @return true iff this extends the otherVotes.
+	 */
+	public boolean isExtending(VotesWithValue otherVotes) {
+		if (!otherVotes.getActor().equals(getActor()))
+			return false;
+		for (VoteWithValue vote : otherVotes.getVotes()) {
+			VoteWithValue myvote = getVote(vote.getBid());
+			if (myvote == null || myvote.getMinPower() > vote.getMinPower()
+					|| myvote.getMaxPower() < vote.getMaxPower())
+				return false;
+		}
+		return true;
+	}
+
+	/**
+	 * 
+	 * @param bid the bid that we may have a vote for
+	 * @return myvote for bid, or null if no vote for that bid;
+	 */
+	public VoteWithValue getVote(Bid bid) {
+		for (VoteWithValue vote : votes) {
+			if (vote.getBid().equals(bid))
+				return vote;
+		}
+		return null;
+	}
+
+	public Set<VoteWithValue> getVotes() {
+		return Collections.unmodifiableSet(votes);
+	}
+
+	@Override
+	public int hashCode() {
+		final int prime = 31;
+		int result = super.hashCode();
+		result = prime * result + ((votes == null) ? 0 : votes.hashCode());
+		return result;
+	}
+
+	@Override
+	public boolean equals(Object obj) {
+		if (this == obj)
+			return true;
+		if (!super.equals(obj))
+			return false;
+		if (getClass() != obj.getClass())
+			return false;
+		VotesWithValue other = (VotesWithValue) obj;
+		if (votes == null) {
+			if (other.votes != null)
+				return false;
+		} else if (!votes.equals(other.votes))
+			return false;
+		return true;
+	}
+
+	@Override
+	public String toString() {
+		return "VotesWithValue[" + getActor() + "," + votes + "]";
+	}
+}
Index: events/src/main/java/geniusweb/inform/Agreements.java
===================================================================
--- events/src/main/java/geniusweb/inform/Agreements.java	(revision 29)
+++ events/src/main/java/geniusweb/inform/Agreements.java	(revision 30)
@@ -30,5 +30,5 @@
 
 	@JsonCreator
-	protected Agreements(Map<PartyId, Bid> agrees) {
+	public Agreements(Map<PartyId, Bid> agrees) {
 		this.agreements = agrees;
 	}
Index: events/src/main/java/geniusweb/inform/Inform.java
===================================================================
--- events/src/main/java/geniusweb/inform/Inform.java	(revision 29)
+++ events/src/main/java/geniusweb/inform/Inform.java	(revision 30)
@@ -16,5 +16,6 @@
 		@JsonSubTypes.Type(value = YourTurn.class),
 		@JsonSubTypes.Type(value = Voting.class),
-		@JsonSubTypes.Type(value = OptIn.class) })
+		@JsonSubTypes.Type(value = OptIn.class),
+		@JsonSubTypes.Type(value = OptInWithValue.class) })
 @JsonAutoDetect(fieldVisibility = Visibility.ANY, getterVisibility = Visibility.NONE, setterVisibility = Visibility.NONE)
 public interface Inform {
Index: events/src/main/java/geniusweb/inform/OptInWithValue.java
===================================================================
--- events/src/main/java/geniusweb/inform/OptInWithValue.java	(revision 30)
+++ events/src/main/java/geniusweb/inform/OptInWithValue.java	(revision 30)
@@ -0,0 +1,79 @@
+package geniusweb.inform;
+
+import java.util.Collections;
+import java.util.List;
+import java.util.Map;
+import java.util.Map.Entry;
+import java.util.Optional;
+import java.util.stream.Collectors;
+
+import com.fasterxml.jackson.annotation.JsonCreator;
+import com.fasterxml.jackson.annotation.JsonProperty;
+
+import geniusweb.actions.PartyId;
+import geniusweb.actions.VotesWithValue;
+
+/**
+ * Informs party that it's time to Opt-in.
+ */
+public class OptInWithValue implements Inform {
+
+	private final List<VotesWithValue> votes;
+
+	/**
+	 * @param votes a list of votes. There may be only one votes per party.
+	 */
+	@JsonCreator
+	public OptInWithValue(@JsonProperty("votes") List<VotesWithValue> votes) {
+		this.votes = votes;
+
+		Map<PartyId, Long> counts = votes.stream().map(vote -> vote.getActor())
+				.collect(Collectors.groupingBy(actor -> actor,
+						Collectors.counting()));
+		Optional<Entry<PartyId, Long>> nonunique = counts.entrySet().stream()
+				.filter(entry -> entry.getValue() > 1).findAny();
+		if (nonunique.isPresent())
+			throw new IllegalArgumentException(
+					"OptIn contains multiple Votes for party "
+							+ nonunique.get().getKey());
+
+	}
+
+	/**
+	 * @return list of votes that can be opted in to
+	 */
+	public List<VotesWithValue> getVotes() {
+		return Collections.unmodifiableList(votes);
+	}
+
+	@Override
+	public int hashCode() {
+		final int prime = 31;
+		int result = 1;
+		result = prime * result + ((votes == null) ? 0 : votes.hashCode());
+		return result;
+	}
+
+	@Override
+	public boolean equals(Object obj) {
+		if (this == obj)
+			return true;
+		if (obj == null)
+			return false;
+		if (getClass() != obj.getClass())
+			return false;
+		OptInWithValue other = (OptInWithValue) obj;
+		if (votes == null) {
+			if (other.votes != null)
+				return false;
+		} else if (!votes.equals(other.votes))
+			return false;
+		return true;
+	}
+
+	@Override
+	public String toString() {
+		return "OptInWithValue[" + votes + "]";
+	}
+
+}
