Class SeigniorageAllocation

  • Direct Known Subclasses:
    Delegator, Validator

    public class SeigniorageAllocation
    extends java.lang.Object
    Info about a seigniorage allocation for a validator
    Since:
    0.0.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean canEqual​(java.lang.Object other)  
      boolean equals​(java.lang.Object o)  
      java.math.BigInteger getAmount()
      Allocated amount
      protected java.lang.String getJsonAmount()  
      int hashCode()  
      void setAmount​(java.math.BigInteger amount)
      Allocated amount
      protected void setJsonAmount​(java.lang.String value)  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SeigniorageAllocation

        public SeigniorageAllocation()
    • Method Detail

      • getAmount

        public java.math.BigInteger getAmount()
        Allocated amount
      • setAmount

        public void setAmount​(java.math.BigInteger amount)
        Allocated amount
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object