Package com.syntifi.casper.sdk.model.bid
Class JsonDelegator
- java.lang.Object
-
- com.syntifi.casper.sdk.model.bid.JsonDelegator
-
public class JsonDelegator extends java.lang.Object
A delegator associated with the give validator- Since:
- 0.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JsonDelegator.JsonDelegatorBuilder
-
Constructor Summary
Constructors Constructor Description JsonDelegator()
JsonDelegator(URef bondingPurse, PublicKey delegatee, PublicKey publicKey, java.math.BigInteger stakedAmount)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JsonDelegator.JsonDelegatorBuilder
builder()
URef
getBondingPurse()
PublicKey
getDelegatee()
protected java.lang.String
getJsonStakedAmount()
PublicKey
getPublicKey()
java.math.BigInteger
getStakedAmount()
amountvoid
setBondingPurse(URef bondingPurse)
void
setDelegatee(PublicKey delegatee)
protected void
setJsonStakedAmount(java.lang.String value)
void
setPublicKey(PublicKey publicKey)
void
setStakedAmount(java.math.BigInteger stakedAmount)
amount
-
-
-
Method Detail
-
getJsonStakedAmount
@ExcludeFromJacocoGeneratedReport protected java.lang.String getJsonStakedAmount()
-
setJsonStakedAmount
@ExcludeFromJacocoGeneratedReport protected void setJsonStakedAmount(java.lang.String value)
-
builder
public static JsonDelegator.JsonDelegatorBuilder builder()
-
getStakedAmount
public java.math.BigInteger getStakedAmount()
amount
-
setStakedAmount
public void setStakedAmount(java.math.BigInteger stakedAmount)
amount
-
-