credmark.cmf.types.ledger.LogTable

class LogTable(**kwargs)[source]

Bases: LedgerTable

Logs ledger data table Column names

Methods

as_

describe

Attributes

ADDRESS

BLOCK_HASH

BLOCK_NUMBER

BLOCK_TIMESTAMP

DATA

LOG_INDEX

TOPIC0

TOPIC1

TOPIC2

TOPIC3

TRANSACTION_HASH

TRANSACTION_INDEX

TYPE_MAPPER

alias

bigint_cols

colnames

Return the set of column names in the table.

columns

Return the set of column names for the table.

table_key

ADDRESS = 'address'
BLOCK_HASH = 'block_hash'
BLOCK_NUMBER = 'block_number'
BLOCK_TIMESTAMP = 'block_timestamp'
DATA = 'data'
LOG_INDEX = 'log_index'
TOPIC0 = 'topic0'
TOPIC1 = 'topic1'
TOPIC2 = 'topic2'
TOPIC3 = 'topic3'
TRANSACTION_HASH = 'transaction_hash'
TRANSACTION_INDEX = 'transaction_index'
property colnames: List[str]

Return the set of column names in the table. They can be used in the query.

property columns: List[str]

Return the set of column names for the table. They will be used in the database.

For contract ledger tables, the set will include all contract-specific columns.