/// <summary>
 ///     Initializes a new instance of the <see cref="Mosaic" /> class.
 /// </summary>
 /// <param name="id">The mosaic identifier</param>
 /// <param name="amount">The mosaic account</param>
 public MosaicModifyLevy(MosaicLevyType levytype, Address recipent, IUInt64Id mosaicid, ulong fee)
 {
     Levytype = levytype;
     Recipent = recipent;
     Mosaicid = mosaicid;
     Fee      = fee;
 }
예제 #2
0
 /// <summary>
 ///     Constructor
 /// </summary>
 /// <param name="mosaicId"></param>
 /// <param name="mosaicAmount"></param>
 /// <param name="cost"></param>
 /// <param name="type"></param>
 /// <param name="duration"></param>
 public AddExchangeOffer(IUInt64Id mosaicId, ulong mosaicAmount, ulong cost, ExchangeOfferType type, ulong duration)
 {
     MosaicId     = mosaicId;
     MosaicAmount = mosaicAmount;
     Cost         = cost;
     Type         = type;
     Duration     = duration;
 }
 public ExchangeOffer(IUInt64Id mosaicId, ulong mosaicAmount, ulong cost, ExchangeOfferType type,
                      PublicAccount owner)
 {
     MosaicId     = mosaicId;
     MosaicAmount = mosaicAmount;
     Cost         = cost;
     Type         = type;
     Owner        = owner;
 }
 public RemoveExchangeOffer(IUInt64Id mosaicId, ExchangeOfferType type)
 {
     MosaicId = mosaicId;
     Type     = type;
 }
예제 #5
0
 public ModifyMetadataTransactionBuilder SetMetadataId(IUInt64Id metadataId)
 {
     MetadataId = metadataId;
     return(Self());
 }
예제 #6
0
 /// <summary>
 ///     Initializes a new instance of the <see cref="Mosaic" /> class.
 /// </summary>
 /// <param name="id">The mosaic identifier</param>
 /// <param name="amount">The mosaic account</param>
 public Mosaic(IUInt64Id id, ulong amount)
 {
     Id     = id;
     Amount = amount;
 }