Class Delegator


  • public class Delegator
    extends java.lang.Object
    Represents a party delegating their stake to a validator (or \"delegatee\")
    Since:
    0.0.1
    • Constructor Detail

      • Delegator

        public Delegator()
    • Method Detail

      • getBondingPurse

        public URef getBondingPurse()
        See Also:
        URef
      • getStakedAmount

        public java.math.BigInteger getStakedAmount()
        ammount
      • setValidatorPublicKey

        public void setValidatorPublicKey​(PublicKey validatorPublicKey)
        See Also:
        PublicKey
      • setBondingPurse

        public void setBondingPurse​(URef bondingPurse)
        See Also:
        URef
      • setDelegatorPublicKey

        public void setDelegatorPublicKey​(PublicKey delegatorPublicKey)
        See Also:
        PublicKey
      • setStakedAmount

        public void setStakedAmount​(java.math.BigInteger stakedAmount)
        ammount
      • 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