/// <summary> /// Constructor /// </summary> /// <param name="levytype"></param> /// <param name="recipent"></param> /// <param name="mosaicid"></param> /// <param name="amount"></param> public MosaicLevy(MosaicLevyType levytype, Recipient recipent, MosaicId mosaicid, ulong amount) { Levytype = levytype; Recipent = recipent; Mosaic = mosaicid; Amount = amount; }
/// <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; }
/// <summary> /// </summary> /// <param name="type"></param> /// <returns></returns> public static byte GetValueInByte(this MosaicLevyType type) { return((byte)type); }