-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
93 lines (66 loc) · 3.38 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
.PHONY: build
build:
cargo build --target wasm32-unknown-unknown --release
.PHONY: stream
stream: build
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_transfers -s 12292922 -t +10
.PHONY: graph
graph:
substreams graph substreams.yaml
.PHONY: codegen
codegen:
substreams protogen ./substreams.yaml --exclude-paths="sf/substreams,google"
.PHONY: test_transfers
test_transfers:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_transfers --start-block 10914494 --stop-block +500
.PHONY: test-assign
test-assign:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_assigns --start-block 3919494 --stop-block +300 -o json
.PHONY: test-assign-store
test-assign-store:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml store_assigns --start-block 3919494 --stop-block +300 -o json
.PHONY: test-punks
test-punks:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml store_all_punks --start-block 3918997 --stop-block +1000 -o json
.PHONY: test-sales
test-sales:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_sales --start-block 10919494 --stop-block +300 -o json
.PHONY: test-sales-store
test-sales-store:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml store_sales --start-block 13922900 --stop-block +500 -o json
.PHONY: test-bids-store
test-bids-store:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml store_bids --start-block 13922900 --stop-block +500 -o json
.PHONY: test-volume
test-volume:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml store_volume --start-block 13922900 --stop-block +7000 -o json
.PHONY: test-punk-state
test-punk-state:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml punk_state --start-block 3914494 --stop-block +2000 -o json
.PHONY: test-bids-state
test-bids-state:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml bids_state --start-block 13922900 --stop-block +2000 -o json
.PHONY: test-asks-state
test-asks-state:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml asks_state --start-block 13922900 --stop-block +10000 -o json
.PHONY: test-wrap
test-wrap:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_wrapped_transfers --start-block 10951736 --stop-block +3000 -o json
PHONY: test-contract
test-contract:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml contract_metadata --start-block 3919681 --stop-block +300 -o json
PHONY: test-punk-metadata
test-punk-metadata:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_metadata --start-block 13047091 --stop-block +2
PHONY: test-store-metadata
test-store-metadata:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml store_metadata --start-block 13047091 --stop-block +12
PHONY: test-metadata-entities
test-metadata-entities:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_metadata_entities --start-block 13047091 --stop-block +12
PHONY: test-transfer-entities
test-transfer-entities:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml map_transfer_entities --start-block 13047091 --stop-block +2000 -o json
PHONY: test-graph-out
test-graph-out:
substreams run -e mainnet.eth.streamingfast.io:443 substreams.yaml graph_out --start-block 3914494 --stop-block +1000000 -o json