Class Bid


  • public class Bid
    extends java.lang.Object
    An entry in the validator map.
    Since:
    0.0.1
    • Constructor Detail

      • Bid

        public Bid()
    • Method Detail

      • getBondingPurse

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

        public int getDelegationRate()
        Delegation rate
      • getDelegators

        public java.util.Map<PublicKey,​Delegator> getDelegators()
        This validator's delegators, indexed by their public keys
      • isInactive

        public boolean isInactive()
        `true` if validator has been \"evicted\"
      • getStakedAmount

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

        public PublicKey getValidatorPublicKey()
        Validator PublicKey
      • getVestingSchedule

        public VestingSchedule getVestingSchedule()
        Vesting schedule for a genesis validator. `None` if non-genesis validator.
      • setBondingPurse

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

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

        public void setDelegators​(java.util.Map<PublicKey,​Delegator> delegators)
        This validator's delegators, indexed by their public keys
      • setInactive

        public void setInactive​(boolean inactive)
        `true` if validator has been \"evicted\"
      • setStakedAmount

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

        public void setValidatorPublicKey​(PublicKey validatorPublicKey)
        Validator PublicKey
      • setVestingSchedule

        public void setVestingSchedule​(VestingSchedule vestingSchedule)
        Vesting schedule for a genesis validator. `None` if non-genesis validator.
      • 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