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​(URef bondingPurse,
                       int delegationRate,
                       java.util.List<JsonDelegator> delegators,
                       boolean inactive,
                       java.math.BigInteger stakedAmount)
      • 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 inactive 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 inactive validator?
      • setStakedAmount

        public void setStakedAmount​(java.math.BigInteger stakedAmount)
        The amount of tokens staked by a validator (not including delegators).