@@ -40,26 +40,18 @@ models:
4040 description : " Ethereum transaction hash"
4141 tests :
4242 - not_null
43- - name : log_index
44- description : " Log index within the transaction"
45- tests :
46- - not_null
4743 - name : date_key
4844 description : " Date dimension key in YYYYMMDD format"
4945 tests :
5046 - not_null
51- - name : block_number
52- description : " Block number where transfer occurred"
53- tests :
54- - not_null
55- - name : block_timestamp
56- description : " Block timestamp in UTC"
57- tests :
58- - not_null
5947 - name : contract_address
6048 description : " Token contract address"
6149 tests :
6250 - not_null
51+ - name : chain
52+ description : " Blockchain identifier (currently 'ethereum')"
53+ tests :
54+ - not_null
6355 - name : from_address
6456 description : " Sender address (0x0 for mints)"
6557 tests :
@@ -68,22 +60,22 @@ models:
6860 description : " Recipient address (0x0 for burns)"
6961 tests :
7062 - not_null
71- - name : amount_raw
72- description : " Transfer amount in smallest unit (before decimal adjustment)"
73- - name : amount
74- description : " Transfer amount adjusted for decimals (assuming 6 decimals)"
75- - name : usd_value
76- description : " Approximate USD value (for stablecoins)"
7763 - name : transaction_type
7864 description : " Type of transaction: transfer, mint, or burn"
7965 tests :
8066 - not_null
8167 - accepted_values :
8268 arguments :
8369 values : ["transfer", "mint", "burn"]
84- # tests:
85- # - dbt_utils.unique_combination_of_columns:
86- # arguments:
87- # combination_of_columns:
88- # - transaction_hash
89- # - log_index
70+ - name : amount
71+ description : " Transfer amount adjusted for token decimals"
72+ tests :
73+ - not_null
74+ - name : block_timestamp
75+ description : " Block timestamp in UTC"
76+ tests :
77+ - not_null
78+ - name : dbt_loaded_at
79+ description : " Timestamp when record was loaded by dbt"
80+ tests :
81+ - not_null
0 commit comments