Class ValidatorCredit

  • All Implemented Interfaces:
    BidKind

    public class ValidatorCredit
    extends java.lang.Object
    implements BidKind
    Validator credit record.
    • 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.