public async Task GetChanges() { var newEvents = await _event.GetFilterChanges <T>(_filter); foreach (var newEvent in newEvents) { _callback(_contractAddress, newEvent.Event); } }
public async Task GetChanges() { var newEvents = await _event.GetFilterChanges <T>(_filter); foreach (var newEvent in newEvents) { _callback(_contractAddress, new BlockInfo(newEvent.Log.BlockNumber, DateTime.UtcNow), newEvent.Event); } }