Class AuctionState
- java.lang.Object
-
- com.syntifi.casper.sdk.model.auction.AuctionState
-
public class AuctionState extends java.lang.Object
Data structure summarizing auction contract data- Since:
- 0.0.1
- See Also:
JsonBlockData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AuctionState.AuctionStateBuilder
-
Constructor Summary
Constructors Constructor Description AuctionState()
AuctionState(java.util.List<JsonBids> bids, long height, java.util.List<JsonEraValidators> eraValidators, java.lang.String stateRootHash)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AuctionState.AuctionStateBuilder
builder()
java.util.List<JsonBids>
getBids()
All bids contained within a vectorjava.util.List<JsonEraValidators>
getEraValidators()
long
getHeight()
Block heightjava.lang.String
getStateRootHash()
Global state hashvoid
setBids(java.util.List<JsonBids> bids)
All bids contained within a vectorvoid
setEraValidators(java.util.List<JsonEraValidators> eraValidators)
void
setHeight(long height)
Block heightvoid
setStateRootHash(java.lang.String stateRootHash)
Global state hash
-
-
-
Constructor Detail
-
AuctionState
public AuctionState(java.util.List<JsonBids> bids, long height, java.util.List<JsonEraValidators> eraValidators, java.lang.String stateRootHash)
-
AuctionState
public AuctionState()
-
-
Method Detail
-
builder
public static AuctionState.AuctionStateBuilder builder()
-
getBids
public java.util.List<JsonBids> getBids()
All bids contained within a vector- See Also:
JsonBids
-
getHeight
public long getHeight()
Block height
-
getEraValidators
public java.util.List<JsonEraValidators> getEraValidators()
- See Also:
JsonEraValidators
-
getStateRootHash
public java.lang.String getStateRootHash()
Global state hash
-
setBids
public void setBids(java.util.List<JsonBids> bids)
All bids contained within a vector- See Also:
JsonBids
-
setHeight
public void setHeight(long height)
Block height
-
setEraValidators
public void setEraValidators(java.util.List<JsonEraValidators> eraValidators)
- See Also:
JsonEraValidators
-
setStateRootHash
public void setStateRootHash(java.lang.String stateRootHash)
Global state hash
-
-