org.cardanofoundation.rewards.calculation.domain.PoolState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cf-rewards-calculation Show documentation
Show all versions of cf-rewards-calculation Show documentation
This project aims to be a cardano reward calculation, java formula implementation and edge case
documentation
The newest version!
package org.cardanofoundation.rewards.calculation.domain;
import lombok.*;
import java.math.BigInteger;
import java.util.HashSet;
@Getter
@Setter
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PoolState {
private String poolId;
private BigInteger activeStake;
private String rewardAddress;
private HashSet owners;
private BigInteger ownerActiveStake;
private BigInteger poolFees;
private Double margin;
private BigInteger fixedCost;
private BigInteger pledge;
private HashSet delegators;
private int blockCount;
private int epoch;
}