Package com.syntifi.casper.sdk.model.era
Class JsonValidatorWeight
- java.lang.Object
-
- com.syntifi.casper.sdk.model.era.JsonValidatorWeight
-
public class JsonValidatorWeight extends java.lang.Object
Casper block validator weight- Since:
- 0.0.1
- See Also:
JsonEraEnd
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonValidatorWeight.JsonValidatorWeightBuilder
-
Constructor Summary
Constructors Constructor Description JsonValidatorWeight()
JsonValidatorWeight(PublicKey publicKey, java.math.BigInteger weight)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonValidatorWeight.JsonValidatorWeightBuilder
builder()
protected java.lang.String
getJsonWeight()
PublicKey
getPublicKey()
java.math.BigInteger
getWeight()
Decimal representation of a 512-bit integerprotected void
setJsonWeight(java.lang.String value)
void
setPublicKey(PublicKey publicKey)
void
setWeight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer
-
-
-
Constructor Detail
-
JsonValidatorWeight
public JsonValidatorWeight(PublicKey publicKey, java.math.BigInteger weight)
-
JsonValidatorWeight
public JsonValidatorWeight()
-
-
Method Detail
-
getJsonWeight
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonWeight()
-
setJsonWeight
@ExcludeFromJacocoGeneratedReport protected void setJsonWeight(java.lang.String value)
-
builder
public static JsonValidatorWeight.JsonValidatorWeightBuilder builder()
-
getWeight
public java.math.BigInteger getWeight()
Decimal representation of a 512-bit integer
-
setWeight
public void setWeight(java.math.BigInteger weight)
Decimal representation of a 512-bit integer
-
-