All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.casper.sdk.model.era.JsonEraReport Maven / Gradle / Ivy

Go to download

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.era;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.casper.sdk.model.key.PublicKey;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * Equivocation and reward information to be included in the terminal block.
 *
 * @author Alexandre Carvalho
 * @author Andre Bertolace
 * @see EraEndV1
 * @since 0.0.1
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class JsonEraReport {

    /**
     * List of @see PublicKey
     */
    @JsonProperty("inactive_validators")
    private List inactiveValidators;

    /**
     * List of @see PublicKey
     */
    private List equivocators;

    /**
     * List of @see Reward
     */
    private List rewards;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy