Skip to content

Commit 49bf3b7

Browse files
Merge pull request #1138 from moonstream-to/add-raw-transactions
Add raw transactions
2 parents 1e97318 + c6f715e commit 49bf3b7

File tree

4 files changed

+1402
-1
lines changed

4 files changed

+1402
-1
lines changed

moonstreamdb-v3/moonstreamdbv3/alembic/env.py

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,72 +27,128 @@
2727
from moonstreamdbv3.models import (
2828
MOONSTREAM_DB_V3_SCHEMA_NAME,
2929
AmoyLabel,
30+
AmoyTransaction,
3031
ArbitrumNovaLabel,
32+
ArbitrumNovaTransaction,
3133
ArbitrumOneLabel,
34+
ArbitrumOneTransaction,
3235
ArbitrumSepoliaLabel,
36+
ArbitrumSepoliaTransaction,
3337
AvalancheFujiLabel,
38+
AvalancheFujiTransaction,
3439
AvalancheLabel,
40+
AvalancheTransaction,
3541
B3Label,
42+
B3Transaction,
3643
B3SepoliaLabel,
44+
B3SepoliaTransaction,
3745
BaseLabel,
46+
BaseTransaction,
3847
BlastLabel,
48+
BlastTransaction,
3949
BlastSepoliaLabel,
50+
BlastSepoliaTransaction,
4051
EthereumLabel,
52+
EthereumTransaction,
4153
Game7Label,
54+
Game7Transaction,
4255
Game7OrbitArbitrumSepoliaLabel,
56+
Game7OrbitArbitrumSepoliaTransaction,
4357
Game7TestnetLabel,
58+
Game7TestnetTransaction,
4459
ImxZkevmLabel,
60+
ImxZkevmTransaction,
4561
ImxZkevmSepoliaLabel,
62+
ImxZkevmSepoliaTransaction,
4663
MantleLabel,
64+
MantleTransaction,
4765
MantleSepoliaLabel,
66+
MantleSepoliaTransaction,
4867
MumbaiLabel,
68+
MumbaiTransaction,
4969
PolygonLabel,
70+
PolygonTransaction,
5071
ProofOfPlayApexLabel,
72+
ProofOfPlayApexTransaction,
5173
RoninLabel,
5274
RoninSaigonLabel,
5375
SepoliaLabel,
76+
SepoliaTransaction,
5477
StarknetLabel,
5578
StarknetSepoliaLabel,
5679
XaiLabel,
80+
XaiTransaction,
5781
XaiSepoliaLabel,
82+
XaiSepoliaTransaction,
5883
XDaiLabel,
84+
XDaiTransaction,
5985
ZkSyncEraLabel,
86+
ZkSyncEraTransaction,
6087
ZkSyncEraSepoliaLabel,
88+
ZkSyncEraSepoliaTransaction,
6189
)
6290

6391

6492
def include_symbol(tablename, schema):
6593
return tablename in {
6694
EthereumLabel.__tablename__,
95+
EthereumTransaction.__tablename__,
6796
SepoliaLabel.__tablename__,
97+
SepoliaTransaction.__tablename__,
6898
PolygonLabel.__tablename__,
99+
PolygonTransaction.__tablename__,
69100
MumbaiLabel.__tablename__,
101+
MumbaiTransaction.__tablename__,
70102
AmoyLabel.__tablename__,
103+
AmoyTransaction.__tablename__,
71104
XDaiLabel.__tablename__,
105+
XDaiTransaction.__tablename__,
72106
ZkSyncEraLabel.__tablename__,
107+
ZkSyncEraTransaction.__tablename__,
73108
ZkSyncEraSepoliaLabel.__tablename__,
109+
ZkSyncEraSepoliaTransaction.__tablename__,
74110
BaseLabel.__tablename__,
111+
BaseTransaction.__tablename__,
75112
ArbitrumNovaLabel.__tablename__,
113+
ArbitrumNovaTransaction.__tablename__,
76114
ArbitrumOneLabel.__tablename__,
115+
ArbitrumOneTransaction.__tablename__,
77116
ArbitrumSepoliaLabel.__tablename__,
117+
ArbitrumSepoliaTransaction.__tablename__,
78118
Game7Label.__tablename__,
119+
Game7Transaction.__tablename__,
79120
Game7OrbitArbitrumSepoliaLabel.__tablename__,
121+
Game7OrbitArbitrumSepoliaTransaction.__tablename__,
80122
Game7TestnetLabel.__tablename__,
123+
Game7TestnetTransaction.__tablename__,
81124
XaiLabel.__tablename__,
125+
XaiTransaction.__tablename__,
82126
XaiSepoliaLabel.__tablename__,
127+
XaiSepoliaTransaction.__tablename__,
83128
AvalancheLabel.__tablename__,
129+
AvalancheTransaction.__tablename__,
84130
AvalancheFujiLabel.__tablename__,
131+
AvalancheFujiTransaction.__tablename__,
85132
BlastLabel.__tablename__,
133+
BlastTransaction.__tablename__,
86134
BlastSepoliaLabel.__tablename__,
135+
BlastSepoliaTransaction.__tablename__,
87136
ProofOfPlayApexLabel.__tablename__,
137+
ProofOfPlayApexTransaction.__tablename__,
88138
StarknetLabel.__tablename__,
89139
StarknetSepoliaLabel.__tablename__,
90140
MantleLabel.__tablename__,
141+
MantleTransaction.__tablename__,
91142
MantleSepoliaLabel.__tablename__,
143+
MantleSepoliaTransaction.__tablename__,
92144
ImxZkevmLabel.__tablename__,
145+
ImxZkevmTransaction.__tablename__,
93146
ImxZkevmSepoliaLabel.__tablename__,
147+
ImxZkevmSepoliaTransaction.__tablename__,
94148
B3Label.__tablename__,
149+
B3Transaction.__tablename__,
95150
B3SepoliaLabel.__tablename__,
151+
B3SepoliaTransaction.__tablename__,
96152
RoninLabel.__tablename__,
97153
RoninSaigonLabel.__tablename__,
98154
}

0 commit comments

Comments
 (0)