Package com.syntifi.casper.sdk.model.bid
Class Delegator
- java.lang.Object
-
- com.syntifi.casper.sdk.model.bid.Delegator
-
public class Delegator extends java.lang.Object
Represents a party delegating their stake to a validator (or \"delegatee\")- Since:
- 0.0.1
-
-
Constructor Summary
Constructors Constructor Description Delegator()
-
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)
URef
getBondingPurse()
PublicKey
getDelegatorPublicKey()
protected java.lang.String
getJsonStakedAmount()
java.math.BigInteger
getStakedAmount()
ammountPublicKey
getValidatorPublicKey()
VestingSchedule
getVestingSchedule()
int
hashCode()
void
setBondingPurse(URef bondingPurse)
void
setDelegatorPublicKey(PublicKey delegatorPublicKey)
protected void
setJsonStakedAmount(java.lang.String value)
void
setStakedAmount(java.math.BigInteger stakedAmount)
ammountvoid
setValidatorPublicKey(PublicKey validatorPublicKey)
void
setVestingSchedule(VestingSchedule vestingSchedule)
java.lang.String
toString()
-
-
-
Method Detail
-
getJsonStakedAmount
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonStakedAmount()
-
setJsonStakedAmount
@ExcludeFromJacocoGeneratedReport protected void setJsonStakedAmount(java.lang.String value)
-
getVestingSchedule
public VestingSchedule getVestingSchedule()
- See Also:
VestingSchedule
-
getStakedAmount
public java.math.BigInteger getStakedAmount()
ammount
-
setValidatorPublicKey
public void setValidatorPublicKey(PublicKey validatorPublicKey)
- See Also:
PublicKey
-
setVestingSchedule
public void setVestingSchedule(VestingSchedule vestingSchedule)
- See Also:
VestingSchedule
-
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 classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-