public class ConfigureBaker extends Payload
| Modifier and Type | Class and Description |
|---|---|
static class |
ConfigureBaker.ConfigureBakerBuilder |
| Constructor and Description |
|---|
ConfigureBaker(CCDAmount capital,
Boolean restakeEarnings,
OpenStatus openForDelegation,
ConfigureBakerKeysPayload keysWithProofs,
String metadataUrl,
PartsPerHundredThousand transactionFeeCommission,
PartsPerHundredThousand bakingRewardCommission,
PartsPerHundredThousand finalizationRewardCommission,
Boolean suspended) |
| Modifier and Type | Method and Description |
|---|---|
static ConfigureBaker.ConfigureBakerBuilder |
builder() |
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
PartsPerHundredThousand |
getBakingRewardCommission()
The commission the pool owner takes on baking rewards.
|
byte[] |
getBitMapBytes() |
CCDAmount |
getCapital()
The equity capital of the baker.
|
PartsPerHundredThousand |
getFinalizationRewardCommission()
The commission the pool owner takes on finalization rewards.
|
ConfigureBakerKeysPayload |
getKeysWithProofs()
The key/proof pairs to verify the baker.
|
String |
getMetadataUrl()
The URL referencing the baker's metadata.
|
OpenStatus |
getOpenForDelegation()
Whether the pool is open for delegators.
|
protected byte[] |
getPayloadBytes()
This must return the payload only.
|
Boolean |
getRestakeEarnings()
Whether the baker's earnings are restaked.
|
Boolean |
getSuspended()
Whether the validator is suspended.
|
PartsPerHundredThousand |
getTransactionFeeCommission()
The commission the pool owner takes on transaction fees.
|
int |
hashCode() |
public ConfigureBaker(@Nullable CCDAmount capital, @Nullable Boolean restakeEarnings, @Nullable OpenStatus openForDelegation, @Nullable ConfigureBakerKeysPayload keysWithProofs, @Nullable String metadataUrl, @Nullable PartsPerHundredThousand transactionFeeCommission, @Nullable PartsPerHundredThousand bakingRewardCommission, @Nullable PartsPerHundredThousand finalizationRewardCommission, @Nullable Boolean suspended)
public byte[] getBitMapBytes()
protected byte[] getPayloadBytes()
PayloadPayload.getBytes()getPayloadBytes in class Payloadpublic static ConfigureBaker.ConfigureBakerBuilder builder()
@Nullable public CCDAmount getCapital()
@Nullable public Boolean getRestakeEarnings()
@Nullable public OpenStatus getOpenForDelegation()
@Nullable public ConfigureBakerKeysPayload getKeysWithProofs()
@Nullable public PartsPerHundredThousand getTransactionFeeCommission()
@Nullable public PartsPerHundredThousand getBakingRewardCommission()
@Nullable public PartsPerHundredThousand getFinalizationRewardCommission()
@Nullable public Boolean getSuspended()
Copyright © 2026. All rights reserved.