Class UnbondingPurse


  • public class UnbondingPurse
    extends java.lang.Object
    Unbonding Purse
    Since:
    0.0.1
    • Constructor Detail

      • UnbondingPurse

        public UnbondingPurse​(java.math.BigInteger unbondingAmount,
                              URef bondingPurse,
                              java.math.BigInteger eraOfCreation,
                              PublicKey unbonderPublicKey,
                              PublicKey validatorPublicKey)
      • UnbondingPurse

        public UnbondingPurse()
    • Method Detail

      • getJsonUnbondingAmount

        @ExcludeFromJacocoGeneratedReport
        protected java.lang.String getJsonUnbondingAmount()
        getter for unbondingAmount json serialization
        Returns:
        cost as expected for json serialization
      • setJsonUnbondingAmount

        @ExcludeFromJacocoGeneratedReport
        protected void setJsonUnbondingAmount​(java.lang.String value)
        setter for unbondingAmount from json deserialized value
        Parameters:
        value - the deserialized value
      • getUnbondingAmount

        public java.math.BigInteger getUnbondingAmount()
        Unbonding amount
      • getBondingPurse

        public URef getBondingPurse()
        the bondingPurse's URef
      • getEraOfCreation

        public java.math.BigInteger getEraOfCreation()
        Era in which this unbonding request was created.
      • setUnbondingAmount

        public void setUnbondingAmount​(java.math.BigInteger unbondingAmount)
        Unbonding amount
      • setBondingPurse

        public void setBondingPurse​(URef bondingPurse)
        the bondingPurse's URef
      • setEraOfCreation

        public void setEraOfCreation​(java.math.BigInteger eraOfCreation)
        Era in which this unbonding request was created.
      • setUnbonderPublicKey

        public void setUnbonderPublicKey​(PublicKey unbonderPublicKey)
        Unbonders PublicKey
      • setValidatorPublicKey

        public void setValidatorPublicKey​(PublicKey validatorPublicKey)
        Validators PublicKey