com.casper.sdk.model.auction.AuctionState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casper-java-sdk Show documentation
Show all versions of casper-java-sdk Show documentation
SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.
The newest version!
package com.casper.sdk.model.auction;
import com.casper.sdk.model.bid.JsonBids;
import com.casper.sdk.model.era.JsonEraValidators;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.casper.sdk.model.block.JsonBlockData;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.util.List;
/**
* Data structure summarizing auction contract data
*
* @author Alexandre Carvalho
* @author Andre Bertolace
* @see JsonBlockData
* @since 0.0.1
*/
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class AuctionState {
/**
* All bids contained within a vector
*
* @see JsonBids
*/
private List bids;
/**
* Block height
*/
@JsonProperty("block_height")
private long height;
/**
* @see JsonEraValidators
*/
@JsonProperty("era_validators")
private List eraValidators;
/**
* Global state hash
*/
@JsonProperty("state_root_hash")
private String stateRootHash;
}