Package com.casper.sdk.model.bid
Class ValidatorCredit
- java.lang.Object
-
- com.casper.sdk.model.bid.ValidatorCredit
-
-
Constructor Summary
Constructors Constructor Description ValidatorCredit()ValidatorCredit(PublicKey validatorPublicKey, long eraId, java.math.BigInteger amount)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.math.BigIntegergetAmount()The credit amount.longgetEraId()The era id the credit was created.PublicKeygetValidatorPublicKey()Validator public keyvoidsetAmount(java.math.BigInteger amount)The credit amount.voidsetEraId(long eraId)The era id the credit was created.voidsetValidatorPublicKey(PublicKey validatorPublicKey)Validator public key
-
-
-
Constructor Detail
-
ValidatorCredit
public ValidatorCredit(PublicKey validatorPublicKey, long eraId, java.math.BigInteger amount)
-
ValidatorCredit
public ValidatorCredit()
-
-
Method Detail
-
getValidatorPublicKey
public PublicKey getValidatorPublicKey()
Validator public key
-
getEraId
public long getEraId()
The era id the credit was created.
-
getAmount
public java.math.BigInteger getAmount()
The credit amount.
-
setValidatorPublicKey
public void setValidatorPublicKey(PublicKey validatorPublicKey)
Validator public key
-
setEraId
public void setEraId(long eraId)
The era id the credit was created.
-
setAmount
public void setAmount(java.math.BigInteger amount)
The credit amount.
-
-