Class JsonBid


  • public class JsonBid
    extends java.lang.Object
    An entry in a founding validator map representing a bid.
    Since:
    0.0.1
    • Constructor Detail

      • JsonBid

        public JsonBid()
    • Method Detail

      • getBondingPurse

        public URef getBondingPurse()
        The purse that was used for bonding.
      • getDelegationRate

        public int getDelegationRate()
        Delegation rate
      • isInactive

        public boolean isInactive()
        Is this an innactive validator
      • getStakedAmount

        public java.math.BigInteger getStakedAmount()
        The amount of tokens staked by a validator (not including delegators).
      • setBondingPurse

        public void setBondingPurse​(URef bondingPurse)
        The purse that was used for bonding.
      • setDelegationRate

        public void setDelegationRate​(int delegationRate)
        Delegation rate
      • setInactive

        public void setInactive​(boolean inactive)
        Is this an innactive validator
      • setStakedAmount

        public void setStakedAmount​(java.math.BigInteger stakedAmount)
        The amount of tokens staked by a validator (not including delegators).
      • 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