Class Sale
public class Sale
- Inheritance
-
Sale
- Inherited Members
Properties
AdditionalProperties
[JsonExtensionData]
public IDictionary<string, object> AdditionalProperties { get; set; }
Property Value
Amount
The number of tokens to allocate to the sale.
[JsonProperty("amount", Required = Required.Always)]
public double Amount { get; set; }
Property Value
Currency
The currency to price this token sale in. Defaults to the native token.
[JsonProperty("currency", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string Currency { get; set; }
Property Value
DeveloperFeeBps
The bps fee on the token pool.
[JsonProperty("developerFeeBps", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public double DeveloperFeeBps { get; set; }
Property Value
DeveloperFeeRecipient
The address to send the developer fee to. Defaults to the token owner.
[JsonProperty("developerFeeRecipient", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public string DeveloperFeeRecipient { get; set; }
Property Value
StartingPrice
The initial token price in wei. This price is in the currency specified by currency
(or the native token if not specified).
[JsonProperty("startingPrice", Required = Required.Always)]
[Required(AllowEmptyStrings = true)]
public string StartingPrice { get; set; }
Property Value
Type
[JsonProperty("type", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[JsonConverter(typeof(StringEnumConverter))]
public SaleType Type { get; set; }