Class Bid
An entry in the validator map.
Inherited Members
Namespace: Casper.Network.SDK.Types
Assembly: Casper.Network.SDK.dll
Syntax
public class Bid
Properties
| Edit this page View SourceBondingPurse
The purse that was used for bonding.
Declaration
[JsonPropertyName("bonding_purse")]
[JsonConverter(typeof(GlobalStateKey.GlobalStateKeyConverter))]
public URef BondingPurse { get; init; }
Property Value
| Type | Description |
|---|---|
| URef |
DelegationRate
The delegation rate.
Declaration
[JsonPropertyName("delegation_rate")]
public uint DelegationRate { get; init; }
Property Value
| Type | Description |
|---|---|
| uint |
Delegators
Declaration
[JsonPropertyName("delegators")]
[JsonConverter(typeof(Delegator.PublicKeyAndDelegatorListConverter))]
public List<Delegator> Delegators { get; init; }
Property Value
| Type | Description |
|---|---|
| List<Delegator> |
Inactive
true if validator has been "evicted"
Declaration
[JsonPropertyName("inactive")]
public bool Inactive { get; init; }
Property Value
| Type | Description |
|---|---|
| bool |
PublicKey
Validator public key.
Declaration
[JsonPropertyName("validator_public_key")]
[JsonConverter(typeof(PublicKey.PublicKeyConverter))]
public PublicKey PublicKey { get; init; }
Property Value
| Type | Description |
|---|---|
| PublicKey |
StakedAmount
The amount of tokens staked by a validator (not including delegators).
Declaration
[JsonPropertyName("staked_amount")]
[JsonConverter(typeof(BigIntegerConverter))]
public BigInteger StakedAmount { get; init; }
Property Value
| Type | Description |
|---|---|
| BigInteger |
VestingSchedule
Vesting schedule for a genesis validator. None if non-genesis validator.
Declaration
[JsonPropertyName("vesting_schedule")]
public VestingSchedule VestingSchedule { get; init; }
Property Value
| Type | Description |
|---|---|
| VestingSchedule |