public static SystemEventGenerator NeuraliumMiningPrimeElected(long blockId, decimal bounty, decimal TransactionTip, AccountId delegateAccountId) { NeuraliumSystemEventGenerator generator = new NeuraliumSystemEventGenerator(); generator.EventType = NeuraliumBlockchainSystemEventTypes.NeuraliumInstance.NeuraliumMiningPrimeElected; generator.Parameters = new object[] { new { blockId, bounty, TransactionTip, delegateAccountId = delegateAccountId?.ToString() } }; return(generator); }
public static SystemEventGenerator NeuraliumAccountTotalUpdated(long accountSequenceId, Enums.AccountTypes accountType, TotalAPI total) { NeuraliumSystemEventGenerator generator = new NeuraliumSystemEventGenerator(); generator.EventType = NeuraliumBlockchainSystemEventTypes.NeuraliumInstance.AccountTotalUpdated; generator.Parameters = new object[] { new { AccountId = new AccountId(accountSequenceId, accountType).ToString(), Total = total } }; return(generator); }