mirror of
https://github.com/urbit/shrub.git
synced 2024-12-19 16:51:42 +03:00
squash! naive: L2 csv thread refactor filters
This commit is contained in:
parent
28aa3c0e56
commit
417dc513e0
@ -145,11 +145,11 @@
|
||||
:: (pure:m !>(blocks))
|
||||
::
|
||||
++ filter-l2
|
||||
|= [logs=events naive-contract=@ux] ^- events
|
||||
%+ skim logs
|
||||
|= log=event-log:rpc:ethereum ^- ?
|
||||
?~ mined.log %.n
|
||||
=(naive-contract address.log)
|
||||
|= [logs=events naive-contract=@ux] ^- events
|
||||
%+ skim logs
|
||||
|= log=event-log:rpc:ethereum ^- ?
|
||||
?~ mined.log %.n
|
||||
=(naive-contract address.log)
|
||||
::
|
||||
++ get-block-numbers
|
||||
|= logs=events ^- (list @ud)
|
||||
|
Loading…
Reference in New Issue
Block a user