Table of Contents

Class GoldDistribution

Namespace
Nekoyume.Action
Assembly
Lib9c.dll
[Serializable]
public class GoldDistribution : IEquatable<GoldDistribution>
Inheritance
GoldDistribution
Implements
Inherited Members

Constructors

GoldDistribution()

public GoldDistribution()

GoldDistribution(Dictionary)

public GoldDistribution(Dictionary serialized)

Parameters

serialized Dictionary

GoldDistribution(IValue)

public GoldDistribution(IValue serialized)

Parameters

serialized IValue

Fields

Address

[Ignore]
public Address Address

Field Value

Address

Properties

AddressString

[Index(0, -1)]
public string AddressString { get; set; }

Property Value

string

AmountPerBlock

[Index(1, -1)]
public BigInteger AmountPerBlock { get; set; }

Property Value

BigInteger

EndBlock

[Index(3, -1)]
public long EndBlock { get; set; }

Property Value

long

StartBlock

[Index(2, -1)]
public long StartBlock { get; set; }

Property Value

long

Methods

Equals(GoldDistribution)

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

public bool Equals(GoldDistribution other)

Parameters

other GoldDistribution

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.

GetAmount(long)

public BigInteger GetAmount(long blockIndex)

Parameters

blockIndex long

Returns

BigInteger

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

A hash code for the current object.

LoadInDescendingEndBlockOrder(string)

public static GoldDistribution[] LoadInDescendingEndBlockOrder(string csvPath)

Parameters

csvPath string

Returns

GoldDistribution[]

Serialize()

public Dictionary Serialize()

Returns

Dictionary