Table of Contents

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 Address
bencoded IValue

Bond(Address, List)

public Bond(Address address, List bencoded)

Parameters

address Address
bencoded 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

bool

LastDistributeHeight

public long? LastDistributeHeight { get; }

Property Value

long?

Share

public BigInteger Share { get; }

Property Value

BigInteger

Methods

Equals(Bond?)

Indicates whether the current object is equal to another object of the same type.

public bool Equals(Bond? other)

Parameters

other Bond

An object to compare with this object.

Returns

bool

true if the current object is equal to the other parameter; otherwise, false.

Equals(object?)

Determines whether the specified object is equal to the current object.

public override bool Equals(object? obj)

Parameters

obj object

The object to compare with the current object.

Returns

bool

true if the specified object is equal to the current object; otherwise, false.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.