public TransferStarted(string txId, string fromAccount, string toAccount, Core.Quantity amount) { TxId = txId; FromAccount = fromAccount; ToAccount = toAccount; Amount = amount; }
public TransferCoins(string txId, string fromAddress, string toAddress, Core.Quantity quantity, Core.Quantity fee) { TxId = txId; FromAddress = fromAddress; ToAddress = toAddress; Quantity = quantity; Fee = fee; }
public CoinMined(Core.Quantity mineQuantity, string blockHash) { MineQuantity = mineQuantity; BlockHash = blockHash; }
public MineCoin(string address, Core.Quantity mineQuantity, string blockHash) { Address = address; MineQuantity = mineQuantity; BlockHash = blockHash; }
public WalletBalanceChanged(Core.Quantity delta, string txId) { Delta = delta; TxId = txId; }
public void MineCoin(Core.Quantity mineQuantity, string blockHash) { When(new Chronos.Coins.Events.CoinMined(mineQuantity, blockHash)); }
public void ApplyDelta(Core.Quantity delta, string txId) { When(new Chronos.Coins.Events.WalletBalanceChanged(delta, txId)); }
public Transfer(string txId, string fromAccount, string toAccount, Core.Quantity amount) : this() { When(new Chronos.Accounts.Events.TransferStarted(txId, fromAccount, toAccount, amount)); }
/// <summary> /// Creates the serializable. /// </summary> /// <param name="quantity">The quantity.</param> /// <returns>A new serializable <see cref="Quantity" />.</returns> public static Quantity ToSerializable(this Core.Quantity quantity) { return(new Quantity(quantity)); }
public Transfer(string txId, string fromAddress, string toAddress, Core.Quantity quantity, Core.Quantity fee) : this() { When(new Chronos.Coins.Events.CoinsTransferred(txId, fromAddress, toAddress, quantity, fee)); }
public ChangeWalletBalance(string address, Core.Quantity delta, string txId) { Address = address; Delta = delta; TxId = txId; }