Class UnbondingSet
- Namespace
- Nekoyume.Delegation
- Assembly
- Lib9c.dll
public sealed class UnbondingSet : IBencodable
- Inheritance
-
UnbondingSet
- Implements
-
IBencodable
- Inherited Members
-
Constructors
UnbondingSet(IValue, IDelegationRepository)
public UnbondingSet(IValue bencoded, IDelegationRepository repository)
Parameters
bencoded IValue
repository IDelegationRepository
UnbondingSet(List, IDelegationRepository)
public UnbondingSet(List bencoded, IDelegationRepository repository)
Parameters
bencoded List
repository IDelegationRepository
UnbondingSet(IDelegationRepository)
public UnbondingSet(IDelegationRepository repository)
Parameters
repository IDelegationRepository
Properties
Address
public static Address Address { get; }
Property Value
- Address
Bencoded
public List Bencoded { get; }
Property Value
- List
FlattenedUnbondingRefs
public ImmutableArray<UnbondingRef> FlattenedUnbondingRefs { get; }
Property Value
- ImmutableArray<UnbondingRef>
IsEmpty
public bool IsEmpty { get; }
Property Value
- bool
Repository
public IDelegationRepository Repository { get; }
Property Value
- IDelegationRepository
UnbondingRefs
public ImmutableSortedDictionary<long, ImmutableSortedSet<UnbondingRef>> UnbondingRefs { get; }
Property Value
- ImmutableSortedDictionary<long, ImmutableSortedSet<UnbondingRef>>
Methods
SetUnbonding(IUnbonding)
public UnbondingSet SetUnbonding(IUnbonding unbonding)
Parameters
unbonding IUnbonding
Returns
- UnbondingSet
SetUnbondings(IEnumerable<IUnbonding>)
public UnbondingSet SetUnbondings(IEnumerable<IUnbonding> unbondings)
Parameters
unbondings IEnumerable<IUnbonding>
Returns
- UnbondingSet
UnbondingsToRelease(long)
public ImmutableArray<IUnbonding> UnbondingsToRelease(long height)
Parameters
height long
Returns
- ImmutableArray<IUnbonding>