Class GoldDistribution
[Serializable]
public class GoldDistribution : IEquatable<GoldDistribution>
- Inheritance
-
GoldDistribution
- Implements
- Inherited Members
Constructors
GoldDistribution()
public GoldDistribution()
GoldDistribution(Dictionary)
public GoldDistribution(Dictionary serialized)
Parameters
serializedDictionary
GoldDistribution(IValue)
public GoldDistribution(IValue serialized)
Parameters
serializedIValue
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
otherGoldDistributionAn 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
objobjectThe object to compare with the current object.
Returns
GetAmount(long)
public BigInteger GetAmount(long blockIndex)
Parameters
blockIndexlong
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
csvPathstring
Returns
Serialize()
public Dictionary Serialize()
Returns
- Dictionary