Class Bond
- Namespace
- Nekoyume.Delegation
- Assembly
- Lib9c.dll
public sealed class Bond : IBencodable, IEquatable<Bond>
- Inheritance
-
Bond
- Implements
-
IBencodable
- Inherited Members
Constructors
Bond(Address)
public Bond(Address address)
Parameters
address
Address
Bond(Address, IValue)
public Bond(Address address, IValue bencoded)
Parameters
address
Addressbencoded
IValue
Bond(Address, List)
public Bond(Address address, List bencoded)
Parameters
address
Addressbencoded
List
Properties
Address
public Address Address { get; }
Property Value
- Address
Bencoded
public List Bencoded { get; }
Property Value
- List
IsEmpty
public bool IsEmpty { get; }
Property Value
LastDistributeHeight
public long? LastDistributeHeight { get; }
Property Value
- long?
Share
public BigInteger Share { get; }
Property Value
Methods
Equals(Bond?)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(Bond? other)
Parameters
other
BondAn object to compare with this object.
Returns
Equals(object?)
Determines whether the specified object is equal to the current object.
public override bool Equals(object? obj)
Parameters
obj
objectThe object to compare with the current object.
Returns
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
- int
A hash code for the current object.