Contracts
Contracts table records all the smart contracts deployed on the blockchain. Each row represents a unique contract and contains information about its address, creator, creation code, deployed code, and the transaction and block details associated with its deployment.
ETL data class
Column Name | Data Type | Note |
---|---|---|
address | str | |
name | str | |
contract_creator | str | |
creation_code | str | |
deployed_code | str | |
block_number | int | |
block_hash | str | |
block_timestamp | timestamp | |
transaction_index | int | |
transaction_hash | str | |
transaction_from_address | str |
Examples
Model in the Database
Column Name | Data Type | Note |
---|---|---|
address | bytea | primary key |
name | varchar | |
contract_creator | bytea | |
creation_code | bytea | |
deployed_code | bytea | |
block_number | bigint | |
block_hash | bytea | |
block_timestamp | timestamp | |
transaction_index | integer | |
transaction_hash | bytea | |
transaction_from_address | bytea | |
create_time | timestamp | default now() |
update_time | timestamp | default now() |
Last updated