public class ConfigureDelegation extends Payload
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigureDelegation.ConfigureDelegationBuilder |
| Constructor and Description |
|---|
ConfigureDelegation(CCDAmount capital,
Boolean restakeEarnings,
DelegationTarget delegationTarget) |
| Modifier and Type | Method and Description |
|---|---|
static ConfigureDelegation.ConfigureDelegationBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
static ConfigureDelegation |
fromBytes(ByteBuffer source) |
byte[] |
getBitMapBytes()
This method returns an array of bytes that represents the bitmap of the fields that are not null
in the ConfigureDelegationPayload object
|
CCDAmount |
getCapital()
The capital delegated to the pool.
|
DelegationTarget |
getDelegationTarget()
The target of the delegation.
|
protected byte[] |
getPayloadBytes()
This must return the payload only.
|
Boolean |
getRestakeEarnings()
Whether the delegator's earnings are restaked.
|
int |
hashCode() |
public byte[] getBitMapBytes()
protected byte[] getPayloadBytes()
PayloadPayload.getBytes()getPayloadBytes in class Payloadpublic static ConfigureDelegation fromBytes(ByteBuffer source)
public static ConfigureDelegation.ConfigureDelegationBuilder builder()
@Nullable public Boolean getRestakeEarnings()
@Nullable public DelegationTarget getDelegationTarget()
Copyright © 2026. All rights reserved.