Class GoldDistribution
[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
AmountPerBlock
[Index(1, -1)]
public BigInteger AmountPerBlock { get; set; }
Property Value
EndBlock
[Index(3, -1)]
public long EndBlock { get; set; }
Property Value
StartBlock
[Index(2, -1)]
public long StartBlock { get; set; }
Property Value
Methods
Equals(GoldDistribution)
Indicates whether the current object is equal to another object of the same type.
public bool Equals(GoldDistribution other)
Parameters
other
GoldDistributionAn 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
GetAmount(long)
public BigInteger GetAmount(long blockIndex)
Parameters
blockIndex
long
Returns
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
Serialize()
public Dictionary Serialize()
Returns
- Dictionary